Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i914 firmware error - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Mon Jul 25, 2022 8:04 pm    Post subject: i914 firmware error - SOLVED Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3961

PostPosted: Mon Jul 25, 2022 8:21 pm    Post subject: Reply with quote

Quote:

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

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
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Mon Jul 25, 2022 9:29 pm    Post subject: Thanks alamahant - SOLVED Reply with quote

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
View user's profile Send private message
MZH
n00b
n00b


Joined: 27 May 2023
Posts: 4

PostPosted: Thu Aug 17, 2023 4:54 am    Post subject: Reply with quote

Sorry for noob question, but how to I add i915 as a module? :|
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 398
Location: USA

PostPosted: Fri Aug 18, 2023 6:34 pm    Post subject: Sorry for the late answer, I was traveling -jankom Reply with quote

(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:
Code:
CONFIG_DRM_I915=m
It is in Display Drivers --> Intel 8xx/9xx/G3x/Gex/HD Graphics section.
Back to top
View user's profile Send private message
MZH
n00b
n00b


Joined: 27 May 2023
Posts: 4

PostPosted: Sat Aug 19, 2023 1:45 pm    Post subject: Reply with quote

My kernel was already configured like this, turns out I just forgot to regenerate the initramfs :oops:.
Thanks anyway, I hope you have a good day :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum