View previous topic :: View next topic |
Author |
Message |
jankom Guru

Joined: 30 Aug 2021 Posts: 398 Location: USA
|
Posted: Mon Jul 25, 2022 8:04 pm Post subject: i914 firmware error - SOLVED |
|
|
I accidentally discovered that
Code: | dmesg | grep -i firmware | gives Quote: | [ 0.158830] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.675785] Loading firmware: i915/bxt_dmc_ver1_07.bin
[ 0.675837] i915 0000:00:02.0: Direct firmware load for i915/bxt_dmc_ver1_07.bin failed with error -2
[ 0.675848] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/bxt_dmc_ver1_07.bin. Disabling runtime power management.
[ 0.675856] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
| So I followed the Gentoo documentation Quote: | KERNEL (Since Linux 4.18) Build firmware blobs into the kernel binary
Device Drivers --->
Generic Driver Options --->
Firmware loader --->
-*- Firmware loading facility
(i915/skl_dmc_ver1_27.bin) Build named firmware blobs into the kernel binary
(/lib/firmware) Firmware blobs root directory
| but after recompiling the kernel the error is still there.
Is this serious? How can I fix it?
Otherwise things seem OK. glgears works fine, glxinfo shows (partially quoted): Quote: | Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 500 (APL 2) (0x5a85)
Version: 22.0.5
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
|
Last edited by jankom on Mon Jul 25, 2022 9:30 pm; edited 1 time in total |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3961
|
Posted: Mon Jul 25, 2022 8:21 pm Post subject: |
|
|
Quote: |
So I followed the Gentoo documentation
Quote:
KERNEL (Since Linux 4.1 Build firmware blobs into the kernel binary
Device Drivers --->
Generic Driver Options --->
Firmware loader --->
-*- Firmware loading facility
(i915/skl_dmc_ver1_27.bin) Build named firmware blobs into the kernel binary
(/lib/firmware) Firmware blobs root directory
|
Dmesg complains about a different firmware namely
Code: |
/lib/firmware/i915/bxt_dmc_ver1_07.bin
|
I feel it would be infinitely simpler if you had configured i915 as a module (=m) in your .config _________________
 |
|
Back to top |
|
 |
jankom Guru

Joined: 30 Aug 2021 Posts: 398 Location: USA
|
Posted: Mon Jul 25, 2022 9:29 pm Post subject: Thanks alamahant - SOLVED |
|
|
Super good - thanks!
I recompiled the kernel as module, eliminated "build kernel blobs..." settings, and the dmesg error is gone.
Lessons learned: "stay with modules" |
|
Back to top |
|
 |
MZH n00b

Joined: 27 May 2023 Posts: 4
|
Posted: Thu Aug 17, 2023 4:54 am Post subject: |
|
|
Sorry for noob question, but how to I add i915 as a module?  |
|
Back to top |
|
 |
jankom Guru

Joined: 30 Aug 2021 Posts: 398 Location: USA
|
Posted: Fri Aug 18, 2023 6:34 pm Post subject: Sorry for the late answer, I was traveling -jankom |
|
|
(a) Copy from ..config file of kernel source: Quote: | #
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER is not set
# CONFIG_FW_LOADER_COMPRESS is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader
| (b) I'm using "make menuconfig" command, and the setting for i915 is:It is in Display Drivers --> Intel 8xx/9xx/G3x/Gex/HD Graphics section. |
|
Back to top |
|
 |
MZH n00b

Joined: 27 May 2023 Posts: 4
|
Posted: Sat Aug 19, 2023 1:45 pm Post subject: |
|
|
My kernel was already configured like this, turns out I just forgot to regenerate the initramfs .
Thanks anyway, I hope you have a good day  |
|
Back to top |
|
 |
|