Created attachment 349338 [details] Not refreshed desktop background after moving a window with fallback mode After installing libX11-1.5.99.902 and libXau-1.0.8 I see strange effects. The desktop background is set to a green gradient, but only a black background is shown at the first system which is a Thinkpad T61, where Systems settings reports Gallium 04 on NV86. At the second system, Systems settings says Gallium 0.4 on NVD9 Fallback modus On. And here the desktop background is not refreshed.
BTW., At a system with Gallium 0.4 on NV94 everything is fine.
If I remove the fallback mode at NVD9 system (NVIDIA Corporation GF119 [GeForce GT 520]) the background is again refreshed. But the 3D mode as this card was not stable in the past. And I prefer the fallback mode, because it is for me much more ergonomic than the new 3D mode.
If I force the system with NV86 (NVIDIA Corporation G86M [Quadro NVS 140M]) into the fallback mode, I can't login into Gnome. I get "O No! Something goes wrong!" How can I switch of the forced fallback mode, if I can't login into ?
OK, with an intermediate cinnamon session I was able to switch off the forced fallback modus and I can again login into a gnome session. But background is still back in contrast to the settings.
If I don't use the fallback mode for the NVIDIA Corporation GF119 [GeForce GT 520] card x11 is still often crashing. At the last crash dmesg showed: ... [ 1265.798097] nouveau E[ PFIFO][0000:01:00.0] write fault at 0x00024a0000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/PROP on channel 0x001fe10000 [Xorg[7980]] [ 1302.073460] nouveau E[ DRM] GPU lockup - switching to software fbcon [ 1305.089978] nouveau E[Xorg[7980]] failed to idle channel 0xcccc0001 [Xorg[7980]] [ 1308.091454] nouveau E[Xorg[7980]] failed to idle channel 0xcccc0001 [Xorg[7980]] [ 1310.092763] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1312.388980] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1313.093906] nouveau E[Xorg[7980]] failed to idle channel 0xcccc0000 [Xorg[7980]] [ 1316.095366] nouveau E[Xorg[7980]] failed to idle channel 0xcccc0000 [Xorg[7980]] [ 1316.095504] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1318.096517] nouveau E[ PFIFO][0000:01:00.0] channel 1 [Xorg[7980]] kick timeout [ 1318.096668] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1320.097685] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1320.097736] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000001: 0x0000000b [ 1320.173347] SHCLIP[10483]: segfault at 19075e00 ip 00007f07cf690073 sp 00007f07b4639a50 error 4 in libc-2.17.so[7f07cf655000+1a1000] [ 1324.395009] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1325.047764] nouveau E[gnome-shell[8797]] failed to idle channel 0xcccc0000 [gnome-shell[8797]] [ 1327.048926] nouveau E[ PFIFO][0000:01:00.0] channel 3 [gnome-shell[8797]] kick timeout [ 1327.049087] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1329.050104] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1329.135514] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1331.136560] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1331.146377] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1333.147398] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1335.443685] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1339.741004] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1344.038324] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1348.335641] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1352.632957] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1356.930272] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1360.479144] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000d [ 1362.480182] nouveau E[ PFIFO][0000:01:00.0] playlist update failed [ 1364.776416] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1369.073666] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1373.370948] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1377.668230] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1381.965513] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1386.262788] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1390.560077] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1394.857359] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1399.154641] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1403.451922] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a [ 1407.749193] nouveau W[ PFIFO][0000:01:00.0] INTR 0x00000100: 0x0000000a
Please also report this at https://bugs.freedesktop.org/ and provide the link here. Regarding nvd9 problems with acceleration you may want to try http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=f33d4326ace73b1f0a2c66f474924919aff29267
(In reply to Chí-Thanh Christopher Nguyễn from comment #6) > Please also report this at https://bugs.freedesktop.org/ and provide the > link here. > > Regarding nvd9 problems with acceleration you may want to try > http://cgit.freedesktop.org/nouveau/linux-2.6/commit/ > ?id=f33d4326ace73b1f0a2c66f474924919aff29267 After switching the NV9 system to 3D mode the desktop is again crashing every day several times. I will try the patches and report.
(In reply to Juergen Rose from comment #7) > (In reply to Chí-Thanh Christopher Nguyễn from comment #6) ... > > Regarding nvd9 problems with acceleration you may want to try > > http://cgit.freedesktop.org/nouveau/linux-2.6/commit/ > > ?id=f33d4326ace73b1f0a2c66f474924919aff29267 > > After switching the NV9 system to 3D mode the desktop is again crashing > every day several times. I will try the patches and report. If I understand http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=f33d4326ace73b1f0a2c66f474924919aff29267 correctly, the patches are kernel patches. What is the gentoo way to apply kernel patches?
You can apply the patch to the kernel source directory in /usr/src, or put it in /etc/portage/patches/sys-kernel/gentoo-sources where epatch_user can find it.
(In reply to Chí-Thanh Christopher Nguyễn from comment #9) > You can apply the patch to the kernel source directory in /usr/src, or put > it in /etc/portage/patches/sys-kernel/gentoo-sources where epatch_user can > find it. I used http://cgit.freedesktop.org/nouveau/linux-2.6/snapshot/linux-2.6-f33d4326ace73b1f0a2c66f474924919aff29267.tar.gz to install a linux-3.10.0-rc2. In the forced fallback mode I have the same problems as before, i.e. the gnome desktop background is not refreshed. So I am testing the 3D mode. Until now, for 30 minutes, the desktop is not yet crashed.
(In reply to Juergen Rose from comment #10) ... > I used > http://cgit.freedesktop.org/nouveau/linux-2.6/snapshot/linux-2.6- > f33d4326ace73b1f0a2c66f474924919aff29267.tar.gz > to install a linux-3.10.0-rc2. In the forced fallback mode I have the same > problems as before, i.e. the gnome desktop background is not refreshed. So I > am testing the 3D mode. Until now, for 30 minutes, the desktop is not yet > crashed. During the last week gnome desktop running under linux-3.10.0-rc2 was at least two times freezing. Last time was some minutes ago. At the end of /var/log/Xorg.0.log I found: ... [ 1365.575] (II) NOUVEAU(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 1365.575] (II) NOUVEAU(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e) [ 84332.614] (II) AIGLX: Suspending AIGLX clients for VT switch [ 84332.649] (II) NOUVEAU(0): NVLeaveVT is called.
BTW., nvidia-drivers-319.23 does not more compile with linux-3.10.0-rc2. It fails with: ... * Found kernel object directory: * /lib/modules/3.10.0-rc2/build * Found sources for kernel version: * 3.10.0-rc2 * Gentoo supports kernels which are supported by NVIDIA * which are limited to the following kernels: * <sys-kernel/gentoo-sources-3.10 * <sys-kernel/vanilla-sources-3.10 ... echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ ... In file included from /usr/src_leopard/linux-2.6-f33d4326ace73b1f0a2c66f474924919aff29267/arch/x86/include/asm/uaccess.h:539:0, from /usr/src_leopard/linux-2.6-f33d4326ace73b1f0a2c66f474924919aff29267/include/linux/poll.h:11, from /var/tmp/portage/x11-drivers/nvidia-drivers-319.23/work/kernel/nv-linux.h:115, from /var/tmp/portage/x11-drivers/nvidia-drivers-319.23/work/kernel/nv-mmap.c:15: /usr/src_leopard/linux-2.6-f33d4326ace73b1f0a2c66f474924919aff29267/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /usr/src_leopard/linux-2.6-f33d4326ace73b1f0a2c66f474924919aff29267/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-319.23/work/kernel] Error 2
There's not really anything Gentoo developers can do to solve this. Please ping the upstream bug.