I try to install a NVIDIA drivers on my Gentoo but it failed, below information about the video card :
01:00.0 3D controller: NVIDIA Corporation GM206GLM [Quadro M2200 Mobile] (rev a1)
Notebook : Lenovo Thinkpad P51
Dmesg log :
Xserver log :
VGA arbiter: cannot open kernel arbiter, no multi-card support
…
…
(WW) NVIDIA: No DRM device: No direct render devices found.
[ 25.482] (II) NVIDIA(0): NVIDIA GPU Quadro M2200 (GM206GL-A) at PCI:1:0:0 (GPU-0)
I’s a hybrid graphics notebook, primary graphics is the intel igpu. Please delete /etc/X11/xorg.conf.d/10-nvidia.conf and create a kernel that contains the i915 driver.
I created a kernel with the I915 drivers but the kernel unable to load the drivers during boot :
0.679881] Loading firmware: i915/skl_dmc_ver1_27.bin
[ 0.679909] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2
[ 0.679915] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management.
[ 0.679922] i915 0000:00:02.0: [drm] DMC firmware homepage: i915 - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel
[ 0.731541] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
If you baked i915 driver into the kernel without an initrd, you’ll need to add the needed firmware files to the kernel image using CONFIG_EXTRA_FIRMWARE
CONFIG_EXTRA_FIRMWARE_DIR
For your cpu, likely setting
CONFIG_EXTRA_FIRMWARE
to i915/skl_dmc_ver1_27.bin i915/skl_guc_70.1.1.bin i915/skl_huc_2.0.0.bin
and
CONFIG_EXTRA_FIRMWARE_DIR
to /lib/firmware
should be necessary.
Thank you for your reply, now with good option in make.conf the drivers is created :
willy@himalaya ~ $ ll /usr/lib64/dri/
total 140880
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 crocus_dri.so
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 i915_dri.so
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 iris_dri.so
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 kms_swrast_dri.so
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 nouveau_dri.so
-rwxr-xr-x 6 root root 24040184 28 févr. 20:11 swrast_dri.so
If I try to start Xserver or to use the xrandr command I get this error message :
(EE) Please also check the log file at “/home/willy/.local/share/xorg/Xorg.0.log” for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Impossible d’obtenir un descripteur de fichier faisant référence à la console.
willy@himalaya ~ $ xrandr
Can’t open display