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