[nvidia-glx-new] CharacterConsole+Compiz/Beryl crash

Bug #115267 reported by CarloBaldassi
4
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.20 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm using Ubuntu Feisty on a HP nw9440 laptop, with latest nVidia drivers and Beryl running.
When I switch to the character console, going back to graphics (Alt+F7) just gives a black screen with only the mouse arrow. The system does not respond to the keyboard or mouse button. I can go back to screen 1 and again to screen 7, once. At this point I cannot leave anymore the black screen and have to do a hard manual shutdown. This behavior is systematic.
This didn't happen with Edgy, and doesn't happen without Beryl or Compiz.
I did't find anything useful in the logs, sorry.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Thank you for your bug report.

CarloBaldassi:
Can you see whether disabling sync to vblank as described in https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/96240/comments/28 makes any difference?

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Setting to needsinfo pending reply from CarloBaldassi.

Revision history for this message
CarloBaldassi (carlobaldassi) wrote :

It makes a lot of difference!

Complete description:
I un-ticked the "Sync to VBlank" option in Beryl Settings Manager. This made it work... once. The second time, the black screen appeared again and hard reboot was still necessary.
Then, I updated metacity and tried several times again. Now it still works perfectly only once, but then on successive trials the system is up again, just with metacity running instead of Beryl, so that I just need to manually restart Beryl and everything's ok again. I hope this can give a clue about what's going on.

Thanks for the hard work!

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

This sounds similar to bug #96240 ...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Perhaps closer to Bug #105673 ...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

CarloBaldassi:
What is the output of
dpkg -l nvidia-glx\* | grep ii
?

Revision history for this message
CarloBaldassi (carlobaldassi) wrote :

here it is:

ii nvidia-glx-new 1.0.9755+2.6.20.5-15.20 NVIDIA binary XFree86 4.x/X.Org 'new' driver

Revision history for this message
CarloBaldassi (carlobaldassi) wrote :

Problem solved!
It amounted at adding these two lines to /etc/modprobe.d/options

options nvidia NVreg_SoftEDIDs=0
options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"

this also solves screen flickering and other strange hangs which occur with the generic kernel.
I found this in [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/53060 #53060]

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Carlo:
Do you actually need both of the parameters? Does using
options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"
alone resolve the problem?

The only information I could really find about the PerlLevelSrc parameter was in this thread: http://www.nvnews.net/vbulletin/showthread.php?t=80888 . It seems that it is set in the Windows driver .inf files provided by some laptop manufacturers. So far it is only reported to help laptop machines (and it does not necessarily make a difference in every case). Further, it is unclear what side effects this parameter might have (e.g. can it damage hardware?) and what purpose it serves aside from "GPU tuning"...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Setting to needsinfo pending reply from CarloBaldassi.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Punting from Ubuntu -> linux-restricted-modules-2.6.20)

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Carlo:
Can you also include the output of
lspci -nn | grep -i nv
?

Revision history for this message
CarloBaldassi (carlobaldassi) wrote :

First question: the second line is probably the needed one, the other being metioned in the beryl "troubleshooting nVidia" section as a workaround for suspend2disk to work properly (I have a HP nw9440 laptop), but I can't reboot and perform the test at the moment, sorry.

Second: here is the output to the required command:

01:00.0 VGA compatible controller [0300]: nVidia Corporation G71 [Quadro FX 1500M] [10de:029b] (rev a1)

BTW, before modifying /etc/modprobe.d/options I upgraded to the latest nvidia drivers 100.14.09, and the problem was still there

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Carlo:
OK I'll leave this in needsinfo until you can get around to testing it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-restricted-modules-2.6.20 (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.