Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing /dev/dri on a fresh install
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
waterlaz
n00b
n00b


Joined: 22 Feb 2025
Posts: 2

PostPosted: Sat Feb 22, 2025 6:32 pm    Post subject: Missing /dev/dri on a fresh install Reply with quote

Making a fresh installation of Gentoo on a laptop with a "00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Graphics] (rev 08)" video card.

I am using a distribution kernel without any custom configuration tweaks and Xorg won't start with these errors in Xorg.0.log
Code:

[    24.054] (II) LoadModule: "modesetting"
[    24.054] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    24.055] (II) Module modesetting: vendor="X.Org Foundation"
[    24.055]    compiled for 1.21.1.15, module version = 1.21.1
[    24.055]    Module class: X.Org Video Driver
[    24.055]    ABI class: X.Org Video Driver, version 25.2
[    24.055] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    24.055] (EE) open /dev/dri/card0: No such file or directory
[    24.055] (WW) Falling back to old probe method for modesetting
[    24.055] (EE) open /dev/dri/card0: No such file or directory
[    24.055] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    24.055] (EE) Screen 0 deleted because of no matching config section.
[    24.055] (II) UnloadModule: "modesetting"
[    24.055] (EE) Device(s) detected, but none match those in the config file.

I can see that the /dev/dri folder is indeed missing

I have installed linux-firmware but still have these messages in dmesg:
Code:

[    1.677277] psmouse serio1: trackpoint: Elan TrackPoint firmware: 0x00, buttons: 3/3
[    3.572042] Loading firmware: vpu_37xx.bin
[    3.572394] Loading firmware: mtl_vpu.bin
[    3.572412] Loading firmware: intel/vpu/vpu_37xx_v0.0.bin
[    3.572479] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_request(): Failed to request firmware: -2
[    3.572481] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_dev_init(): Failed to initialize firmware: -2
[    3.608202] Loading firmware: regulatory.db
[    3.608447] Loading firmware: regulatory.db.p7s
[    3.617441] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.619941] Loading firmware: intel/ibt-0180-0041.sfi
[    3.621345] Bluetooth: hci0: Found device firmware: intel/ibt-0180-0041.sfi
[    3.628217] Loading firmware: iwlwifi-ma-b0-gf-a0-83.ucode
[    3.630740] Loading firmware: iwl-debug-yoyo.bin
[    3.630757] iwlwifi 0000:00:14.3: loaded firmware version 83.d24e06ed.0 ma-b0-gf-a0-83.ucode op_mode iwlmvm
[    4.012880] Loading firmware: iwlwifi-ma-b0-gf-a0.pnvm
[    5.279977] Bluetooth: hci0: Waiting for firmware download to complete
[    5.322499] Loading firmware: intel/ibt-0180-0041.ddc
[   64.647934] Loading firmware: intel/sof-ipc4/mtl/sof-mtl.ri
[   64.647976] sof-audio-pci-intel-mtl 0000:00:1f.3: Direct firmware load for intel/sof-ipc4/mtl/sof-mtl.ri failed with error -2
[   64.647980] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[   64.647984] sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed to load DSP firmware -2


What could be wrong?

lsmod
dmesg
Xorg./0.log

Thank you!
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1521
Location: Earth

PostPosted: Sat Feb 22, 2025 7:24 pm    Post subject: Reply with quote

Welcome to Gentoo,

from your dmesg:
Code:
[    3.769639] i915 0000:00:02.0: Your graphics device 7d45 is not properly supported by i915 in this
               kernel version. To force driver probe anyway, use i915.force_probe=7d45
               module parameter or CONFIG_DRM_I915_FORCE_PROBE=7d45 configuration option,
               or (recommended) check for kernel updates.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54908
Location: 56N 3W

PostPosted: Sat Feb 22, 2025 7:35 pm    Post subject: Reply with quote

waterlaz,

Welcome to Gentoo

Your Xord.).log tells
Code:
[    24.053] (--) PCI:*(0@0:2:0) 8086:7d45:17aa:2327 rev 8, Mem @ 0x4058000000/16777216, 0x4000000000/268435456, BIOS @ 0x????????/131072

That GPU needs DRM_XE in your kernel. It provides your missing /dev/dri/card0.

DRM_XE is a fairly new addition to the kernel and you have 6.6.74-gentoo-dist
cateee.net says
Code:
lkddb pci 8086 7d45 .... .... 03.... : CONFIG_DRM_XE : drivers/gpu/drm/xe/xe_pci.c # in 6.8–6.13, 6.14-rc+HEAD
so you need at least a 6.8 kernel.
Your kernel is too old.

Unmask the testing kernel and try that. If testing makes you nervous, use the 6.12.y kernel. Its the next LTS kernel and will be stable on Gentoo once testing is complete.

Code:
[    3.572479] intel_vpu 0000:00:0b.0: [drm] *ERROR*ls /librequest(): Failed to request firmware: -2
[    3.572481] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_dev_init(): Failed to initialize firmware: -2

The firmware intel/vpu/vpu_37xx_v0.0.bin is not in my testing linux-firware yet, so that will neeh to be tracked down and installed too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
waterlaz
n00b
n00b


Joined: 22 Feb 2025
Posts: 2

PostPosted: Sat Feb 22, 2025 8:47 pm    Post subject: Reply with quote

CooSee, NeddySeagoon, thank you!

6.13.3 did the trick for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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