Created attachment 139223 [details] i915 skylake firmware 27 loading issue 4.17.0-rc3 Firmware is not getting loaded with the new kernel 4.17-rc3 [drm] Replacing VGA console driver Apr 29 19:44:45 mk-y700 kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Apr 29 19:44:45 mk-y700 kernel: [drm] Driver supports precise vblank timestamp query. Apr 29 19:44:45 mk-y700 kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem Apr 29 19:44:45 mk-y700 kernel: i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2 Apr 29 19:44:45 mk-y700 kernel: i915 0000:00:02.0: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management. Apr 29 19:44:45 mk-y700 kernel: i915 0000:00:02.0: DMC firmware homepage: https://01.org/linuxgraphics/downloads/firmware Apr 29 19:44:45 mk-y700 kernel: ACPI: Battery Slot [BAT0] (battery present) Apr 29 19:44:45 mk-y700 kernel: [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0 Apr 29 19:44:45 mk-y700 kernel: [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS Apr 29 19:44:45 mk-y700 kernel: ACPI: Video Device [PEGP] (multi-head: yes rom: yes post: no) Apr 29 19:44:45 mk-y700 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input4 Apr 29 19:44:45 mk-y700 kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) Apr 29 19:44:45 mk-y700 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input5
Can you check first that you have FW in right place as you seems to be trying to use latest from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915. FW's should be in /lib/firmware/i915 that are used in our i915 driver. If this fails try using FW with latest drm-tip: https://cgit.freedesktop.org/drm-tip and send dmesg with drm.debug=0x1e log_buf_len=4M?
I've all the files in lib/firmware/i915. I'm running arch and trying new kernel for testing I don't know all the details about what changed in kernel and drm so i raised this bug. If you think I can wait for the kernel to be mainline and also arch linux to update drm then you can close this bug.
Testing with drm-tip would confirm whether or not the issue is already fixed. Would you be able to check that?
Created attachment 139291 [details] dmesg - drm-tip kernel dmesg - drm-tip kernel
my laptop is Ideapad Y700-15isk
ok, [ 0.345268] [drm:intel_csr_ucode_init] Loading i915/skl_dmc_ver1_27.bin [ 0.345464] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2 [ 0.345468] i915 0000:00:02.0: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management. [ 0.345472] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915 Imre, Anusha, any idea why fails?
Documenting CPU too: CPU0: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (family: 0x6, model: 0x5e, stepping: 0x3)
(In reply to Jani Saarinen from comment #6) > [ 0.345468] i915 0000:00:02.0: Failed to load DMC firmware > i915/skl_dmc_ver1_27.bin. Disabling runtime power management. That's -ENOENT, so presumably it just can't find the firmware file.
(In reply to Ville Syrjala from comment #8) > (In reply to Jani Saarinen from comment #6) > > [ 0.345468] i915 0000:00:02.0: Failed to load DMC firmware > > i915/skl_dmc_ver1_27.bin. Disabling runtime power management. > > That's -ENOENT, so presumably it just can't find the firmware file. Quoted the wrong part: [ 0.345464] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2
(In reply to Mohit Keswani from comment #4) > Created attachment 139291 [details] > dmesg - drm-tip kernel > > dmesg - drm-tip kernel Hi Mohit, Since you are using arch there is a possibility that the by the time the kernel is loaded the firmware is not available and it throws this message. Can you add DMC to the FILES section in /etc/mkinitcpio.conf and try? I have seen this work before. Thanks, Anusha
adding DMC will not solve any issue as the files loaded is just config, as far as i understand, grub is loading kernel from /boot and executing it. The kernel then is mounting root filesystem in KMS mode, because without that it can never find the firmware files as they are always residing in /lib/firmware/i915 path. When kernel completes loading it will then call initramfs. At this point the KMS video driver should already be initialized. Please correct me if im wrong.
(In reply to Mohit Keswani from comment #11) > adding DMC will not solve any issue as the files loaded is just config, > as far as i understand, grub is loading kernel from /boot and executing it. > The kernel then is mounting root filesystem in KMS mode, because without > that it can never find the firmware files as they are always residing in > /lib/firmware/i915 path. > When kernel completes loading it will then call initramfs. At this point the > KMS video driver should already be initialized. > > Please correct me if im wrong. If you build i915 into the kernel you need to also build the firmware into the kernel (or at least that's what I assume, never tried it with i915 myself). If OTOH you have i915 in initramfs then you also need the firmware in initramfs. The third option is to not include i915 into the kernel nor the initramfs. I use that last option myself because it avoids all this silly hassle with firmwares.
ok changing i915 from kernel mode to Module config on fixed the issue thanks for the insight and looking into the issue.
Thank you reporting back. Closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.