Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nouveau blank screen
Date: Wed, 13 Jan 2016 09:40:16
Message-Id: 56961B73.6020505@alstadheim.priv.no
In Reply to: Re: [gentoo-user] Nouveau blank screen by "Håkon Alstadheim"
1 Just for the record: Tried switcing off gfx_passthru, and over to
2 device-model qemu-xen. This gave me another (virtual) graphics-card on
3 this vm. After adding BusID "00:05:0" to the device section, I'm right
4 back where I started :-(
5
6
7
8 On 01/13/2016 10:19 AM, Håkon Alstadheim wrote:
9 >
10 > On 01/12/2016 10:17 PM, lee wrote:
11 >
12 > Thanks for helping, I' try to answer in-line.
13 >> Håkon Alstadheim <hakon@×××××××××××××××.no> writes:
14 >>
15 >>> I have an old but good graphics card, "NVIDIA Corporation GT200GL
16 >>> [Quadro FX 3800]". The proprietary driver is EOL, not supported after
17 >>> kernel 3.14.*, so I'd like to switch to nouveau. I'm having trouble
18 >>> getting nouveau to work at all, it is giving me a blank screen and
19 >>> apparently not grabbing my keyboard (ctrl:swapcaps has no effect).
20 >>>
21 >>> Nothing stands out as errors in Xorg.0.log, same errors are both under
22 >>> nvidia and nouveau, but nvidia gives me a useable desktop. Both seem
23 >>> to detect my monitor (benq) correctly.
24 >>>
25 >>> ---
26 >>> $ grep '(EE)' Xorg.0.log.nvidia Xorg.0.log.nouveau | grep -v '(WW)'
27 >>> Xorg.0.log.nvidia:[ 39.193] (EE) systemd-logind: failed to get
28 >>> session: PID 2112 does not belong to any known session
29 >>> Xorg.0.log.nouveau:[ 35.428] (EE) systemd-logind: failed to get
30 >>> session: PID 2167 does not belong to any known session
31 >>> Xorg.0.log.nouveau:[ 37.322] (EE) NOUVEAU(0): [COPY] failed to
32 >>> allocate class.
33 >>> ---
34 >>> The PID belongs to /usr/bin/X, see below.
35 >>> ---
36 >>> I'm running gentoo-sources-4.3.3 kernel with experimental feature to
37 >>> select Haswell architecture. The host is a virtual machine running
38 >>> under app-emulation/xen-4.6.0-r6. Driver is
39 >>> x11-drivers/xf86-video-nouveau-1.0.11, use-flag glamor enabled.
40 >> Have you passed the graphics card through to the VM?
41 > Yes, it is passed through. No audio on the card, so there is only one
42 > function, and X manages to get EDID data from the monitor, so there is
43 > obviously some kind of connection in place.
44 >> Is the user trying to run the X server in the video group?
45 > (pardon the LOCALE setting, should be intelligible none the less :-/ .
46 > -----
47 > $ ls -l /dev/dri/*
48 > crw-rw----+ 1 root video 226, 0 jan. 13 10:05 /dev/dri/card0
49 > crw-rw---- 1 root video 226, 64 jan. 13 10:05 /dev/dri/controlD64
50 > crw-rw----+ 1 root video 226, 128 jan. 13 10:05 /dev/dri/renderD128
51 > # id hakon
52 > uid=1001(hakon) gid=1001(hakon)
53 > grupper=1001(hakon),0(root),4(adm),7(lp),10(uucp),27(sudo),29(audio),37(operator),44(video),50(staff),60(games),100(users),1011(realtime),131(lpadmin),123(fuse),139(quaggavty),143(wireshark),162(davfs2),992(wheel),85(usb)
54 >
55 > ---
56 > Just for completeness, some more data:
57 > ---------
58 > gt ~ # dmesg | grep -i nou
59 > [ 0.000000] Build-time adjustment of leaf fanout to 64.
60 > [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64,
61 > nr_cpu_ids=15
62 > [ 14.036936] nouveau 0000:00:05.0: NVIDIA GT200 (0a0f80b1)
63 > [ 14.146653] nouveau 0000:00:05.0: bios: version 62.00.74.00.0b
64 > [ 14.312151] nouveau 0000:00:05.0: fb: 1024 MiB GDDR3
65 > [ 14.483500] nouveau 0000:00:05.0: DRM: VRAM: 1024 MiB
66 > [ 14.485210] nouveau 0000:00:05.0: DRM: GART: 1048576 MiB
67 > [ 14.487219] nouveau 0000:00:05.0: DRM: TMDS table version 2.0
68 > [ 14.489185] nouveau 0000:00:05.0: DRM: DCB version 4.0
69 > [ 14.491000] nouveau 0000:00:05.0: DRM: DCB outp 00: 04000320 00000028
70 > [ 14.493539] nouveau 0000:00:05.0: DRM: DCB outp 01: 01000322 00020030
71 > [ 14.495835] nouveau 0000:00:05.0: DRM: DCB outp 02: 01121336 0f220e00
72 > [ 14.498363] nouveau 0000:00:05.0: DRM: DCB outp 03: 01121332 00020e00
73 > [ 14.501005] nouveau 0000:00:05.0: DRM: DCB outp 04: 02132336 0f220d00
74 > [ 14.503523] nouveau 0000:00:05.0: DRM: DCB outp 05: 02132332 00020d00
75 > [ 14.505994] nouveau 0000:00:05.0: DRM: DCB conn 00: 00001030
76 > [ 14.507959] nouveau 0000:00:05.0: DRM: DCB conn 01: 0000a146
77 > [ 14.510084] nouveau 0000:00:05.0: DRM: DCB conn 02: 00050246
78 > [ 14.512625] nouveau 0000:00:05.0: DRM: DCB conn 03: 00000360
79 > [ 14.727073] nouveau 0000:00:05.0: DRM: MM: using CRYPT for buffer
80 > copies
81 > [ 15.344825] nouveau 0000:00:05.0: DRM: allocated 1920x1080 fb:
82 > 0x50000, bo ffff8803ae4fb800
83 > [ 15.349163] fbcon: nouveaufb (fb0) is primary device
84 > [ 16.026158] nouveau 0000:00:05.0: fb0: nouveaufb frame buffer device
85 > [ 16.140035] [drm] Initialized nouveau 1.3.0 20120801 for
86 > 0000:00:05.0 on minor 0
87 > ------------
88 > Grepping for "nv" just gets me a sata_nv
89 >>
90 >> Systemd appears to complicate things greatly. Have you tried to use
91 >> startx?
92 > Tried it now. Nvidia drivers gives me a useable twm , nouveau gives
93 > med no signal to the monitor (goes into sleep mode immediately).
94 >
95 > With nvidia-drivers:
96 > -------------
97 > 0:hakon@gt:~$ startx
98 > xauth: file /home/hakon/.serverauth.16044 does not exist
99 >
100 >
101 > X.Org X Server 1.17.4
102 > Release Date: 2015-10-28
103 > X Protocol Version 11, Revision 0
104 > Build Operating System: Linux 3.18.22-gentoo x86_64 Gentoo
105 > Current Operating System: Linux gt 4.3.3-gentoo #1 SMP Mon Jan 11
106 > 15:45:22 CET 2016 x86_64
107 > Kernel command line:
108 > BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.3.3-gentoo
109 > root=UUID=a202adf2-9b91-4d10-97ff-ab12aeb6009f ro intel_iommu=on
110 > init=/usr/lib/systemd/systemd tmem net.ifnames=0 console=tty0
111 > console=ttyS0,115200n8
112 > Build Date: 02 November 2015 01:48:49AM
113 >
114 > Current version of pixman: 0.32.8
115 > Before reporting problems, check http://wiki.x.org
116 > to make sure that you have the latest version.
117 > Markers: (--) probed, (**) from config file, (==) default setting,
118 > (++) from command line, (!!) notice, (II) informational,
119 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
120 > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 13 09:45:19 2016
121 > (==) Using config directory: "/etc/X11/xorg.conf.d"
122 > (==) Using system config directory "/usr/share/X11/xorg.conf.d"
123 > The XKEYBOARD keymap compiler (xkbcomp) reports:
124 > > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
125 > symbols
126 > > Ignoring extra symbols
127 > Errors from xkbcomp are not fatal to the X server
128 > ^Cxinit: connection to X server lost
129 >
130 > waiting for X server to shut down xterm: fatal IO error 104
131 > (Forbindelsen brutt i den andre enden) or KillClient on X server ":0"
132 > xterm: fatal IO error 11 (Ressursen midlertidig utilgjengelig) or
133 > KillClient on X server ":0"
134 > XIO: fatal IO error 0 (Suksess) on X server ":0"
135 > after 903 requests (903 known processed) with 0 events remaining.
136 > xterm: fatal IO error 104 (Forbindelsen brutt i den andre enden) or
137 > KillClient on X server ":0"
138 > (II) Server terminated successfully (0). Closing log file.
139 >
140 > xinit: unexpected signal 2
141 > Couldn't get a file descriptor referring to the console
142 > 1:hakon@gt:~$
143 >
144 > ------------ with nouveau drivers: --------------
145 > hakon@gammeltone:~$ ssh gt
146 > 0:hakon@gt:~$ startx
147 > xauth: file /home/hakon/.serverauth.2266 does not exist
148 >
149 >
150 > X.Org X Server 1.17.4
151 > Release Date: 2015-10-28
152 > X Protocol Version 11, Revision 0
153 > Build Operating System: Linux 3.18.22-gentoo x86_64 Gentoo
154 > Current Operating System: Linux gt 4.3.3-gentoo #1 SMP Mon Jan 11
155 > 15:45:22 CET 2016 x86_64
156 > Kernel command line:
157 > BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.3.3-gentoo
158 > root=UUID=a202adf2-9b91-4d10-97ff-ab12aeb6009f ro intel_iommu=on
159 > init=/usr/lib/systemd/systemd tmem net.ifnames=0 console=tty0
160 > console=ttyS0,115200n8
161 > Build Date: 02 November 2015 01:48:49AM
162 >
163 > Current version of pixman: 0.32.8
164 > Before reporting problems, check http://wiki.x.org
165 > to make sure that you have the latest version.
166 > Markers: (--) probed, (**) from config file, (==) default setting,
167 > (++) from command line, (!!) notice, (II) informational,
168 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
169 > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 13 09:49:27 2016
170 > (==) Using config directory: "/etc/X11/xorg.conf.d"
171 > (==) Using system config directory "/usr/share/X11/xorg.conf.d"
172 > resize called 1920 1080
173 > The XKEYBOARD keymap compiler (xkbcomp) reports:
174 > > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
175 > symbols
176 > > Ignoring extra symbols
177 > Errors from xkbcomp are not fatal to the X server
178 > ^Cxinit: connection to X server lost
179 >
180 > waiting for X server to shut down XIO: fatal IO error 0 (Suksess) on
181 > X server ":0"
182 > after 1219 requests (1219 known processed) with 0 events remaining.
183 > xterm: fatal IO error 104 (Forbindelsen brutt i den andre enden) or
184 > KillClient on X server ":0"
185 > xterm: fatal IO error 104 (Forbindelsen brutt i den andre enden) or
186 > KillClient on X server ":0"
187 > xterm: fatal IO error 104 (Forbindelsen brutt i den andre enden) or
188 > KillClient on X server ":0"
189 > (II) Server terminated successfully (0). Closing log file.
190 >
191 > xinit: unexpected signal 2
192 > --------------
193 >
194 >
195 >> Can you attach x11vnc to the session (assuming that one does exist) to
196 >> see what would be on the screen from a remote machine?
197 >>
198 >>
199 > If this issue last long enough, I'll try that. For now the proprietary
200 > driver is working, even under recent kernels.
201 >