Summary: | Kernel 2.6.30-gentoo-r4 breaks composite on nvidia-driver | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simon Gao <gao> |
Component: | [OLD] KDE | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | dflogeras2, gentoo, jer, spock |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | NVidia's hack-around patch adapted for the 180.60 driver |
Description
Simon Gao
2009-08-05 04:54:51 UTC
This bug hit me on my dell d820 laptop (Quadro NVS 110M/GeForce Go 7300 as reported by lspci) Two desktops with newer nvidia cards (one a 8800, one a GTS250) were unaffected. The patch indicated in that forum does not apply to 180.60, but its quite simple (they just disabled a hunk of code with an #if 0/#endif) I made a similar patch on the 180.60 driver. You can do this: 1. ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.60.ebuild unpack 2. mv 180.60.patch /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86-180.60-pkg0/usr/src/nv 3. cd /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86-180.60-pkg0/usr/src/nv 4. patch -p0 < 180.60.patch 5. ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.60.ebuild install 6. ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.60.ebuild merge 7. ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.60.ebuild clean PLEASE NOTE: I don't believe this is a fix, rather than a side step, but if you simply must run the 2.6.30 kernel with this problem, this will get around it. Created attachment 200427 [details, diff]
NVidia's hack-around patch adapted for the 180.60 driver
I don't believe this is a true fix, its just what Nvidia suggested someone try to get around the bug . A proper fix will likely be a combination of the next driver release or kernel release
Confirm this workaround patch fixed the issue. It seems that this patch is no longer needed w the 190.42 release candidate driver. See post #59 in the nvnews forum originally linked for more info if you like. with the 190.42 nvidia driver and Xorg 7.4, kernel 2.6.31, I have to disable composite in KDE4.3.4 as I get X to lock (have to ssh to the machine and "kill -9 <X-pid>" and then restart xdm. Using kernel 2.6.32 it will instead of lock X, crash the whole system. Have to say I haven't tried a similar hack. Would also like to test the new beta driver 195.22, but didn't manage to build it when I made a new ebuild by renameing the latest one. Unfortunately this bug has gotten stale due to slipping between the cracks. Please retest with the latest KDE, latest X and latest nvidia-drivers and all should be well. |