Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Xserver: /dev/dri/card0 -- no such file.
Date: Sat, 08 Jul 2017 15:23:18
Message-Id: CAJ1xhMVokONYx=ne6KBA-Ri9s=uHOnY=axiQB0BvamAWsYWZsg@mail.gmail.com
In Reply to: [gentoo-user] Xserver: /dev/dri/card0 -- no such file. by "Ста Деюс"
1 On Sat, Jul 8, 2017 at 9:05 AM, Ста Деюс <sthu.deus@×××××××××××.org> wrote:
2 > Hi.
3 >
4 > I'm fighting already days the problem of "/dev/dri/card0 -- no such
5 > file" (old AGP card, NVIDIA GeForce4 MX 440) -- as x-server states in
6 > its log file.
7 >
8 > I have installed my system w/ hardened profile, it's being 32bit-system,
9 > and then added x-programs to use it as desktop (i didn't install desktop
10 > profile). Also, i didn't notice, that i set up testing version of the
11 > distro (~86), and now want not to recompile all it to turn to stable
12 > (86).
13 >
14 > The problem lays -- as i suppose -- in the kernel configuration that
15 > does not create the /dev/dri/card0 device, required by x-server. I
16 > exhausted all my ideas on which options to turn on to make it create
17 > the device. I even compiled the general kernel -- but it was not
18 > sufficient for that too.
19 >
20 > So, do you have any idea on which kernel's configuration option lets
21 > kernel to create such a device?
22 >
23 > Thank you for your time,
24 > Sthu.
25 >
26
27 On my system, card0 is set up by the nouveau driver:
28
29 :; ls -l /dev/dri/card0
30 crw-rw----+ 1 root video 226, 0 Jul 8 08:28 /dev/dri/card0
31
32 :; ls /sys/class/drm/card0/device/driver/module/drivers/
33 pci:nouveau
34
35 Hope this helps.