Bug 118385

Summary: nvidia driver messes up frame buffer consoles after suspend/resume
Product: [openSUSE] SUSE LINUX 10.0 Reporter: jo de baer <jo.debaer>
Component: X11 3rd PartyAssignee: Lonni Friedman <lfriedman>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: aritger, lfriedman, novell, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: nvidia-bug-report.log
4 runs of nvidia bug report generator for suspend/resume with Xgl/Xorg

Description jo de baer 2005-09-22 12:58:40 UTC
after suspend/resume, when using the proprietary nvidia driver, the virtual
consoles are messed up. A workaround is to downgrade the nvidia driver to
version 1.0-7174, which can be obtained from the nvidia site.

Please contact the nvidia guys to inform them that their latest version has a
bug in it.
Comment 1 jo de baer 2005-09-23 07:14:00 UTC
When installing the version 1.0-7174 driver, the following steps are also needed :
http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html#19

Basically you want to add these lines to /etc/udev/static_devices.txt
and reboot:

nvidiactl c 195 255 666
nvidia0 c 195 0 666
nvidia1 c 195 1 666
nvidia2 c 195 2 666
nvidia3 c 195 3 666
nvidia4 c 195 4 666

Comment 2 jo de baer 2005-09-23 07:14:59 UTC
FYI, NVIDIA-Linux-x86-1.0-7664-pkg1.run  NVIDIA-Linux-x86-1.0-7667-pkg1.run 
NVIDIA-Linux-x86-1.0-7676-pkg1.run all have the problem of messing up the
framebuffer after a suspend. Tested them all.
Comment 3 Stefan Dirsch 2005-09-23 20:55:35 UTC
Please attach the output of nvidia-bug-report.sh.  
 
I won't add these entries mentioned above to  /etc/udev/static_devices.txt. 
This would become a security issue otherwise. 
Comment 4 jo de baer 2005-09-27 16:37:13 UTC
Created attachment 50962 [details]
nvidia-bug-report.log
Comment 5 Stefan Dirsch 2005-09-27 18:14:09 UTC
> NVRM: not using NVAGP, an AGPGART backend is loaded! 
    
Try the instructions on 
http://www.susewiki.org/index.php?title=Suspend_NVidia_HOWTO 
    
It might also help to add  "acpi_sleep=s3_bios" or even 
"acpi_sleep=s3_bios,s3_mode" on the kernel command line. 
 
Comment 6 jo de baer 2005-09-28 06:01:44 UTC
jo@linux:~> grep -i nvagp /etc/X11/xorg.conf
  Option       "NvAGP" "1"
jo@linux:~> lsmod | grep agp
agpgart                33096  1 nvidia
jo@linux:~>

This is how it is supposed to be according to ths susewiki, right? I only have
agpgart like it states now. Had to to that to make my resume work. Begore I also
had the intel_agp there.

Right now I am running the latest nvidia driver again and virtual tirminals are
again messed up. Will try those kernel parameters and if they don't help I'm
returning to the older version of the driver. Will post the results.
Comment 7 Matthias Hopf 2005-09-30 12:14:28 UTC
Maybe Andy Ritger has an idea whether this is a known regression?
Comment 8 Matthias Hopf 2005-10-04 09:55:07 UTC
Just checked with him - they are aware of the issue, though their kernel team is
currently under hefty load.

Knowing NVidia for some time now, I guess this will be fixed in the next driver
release.
Closing this as LATER, as we can't do anything about it and NVidia is working on it.
Comment 9 Stefan Dirsch 2006-01-25 13:01:53 UTC
reopen for retesting ...
Comment 10 Stefan Dirsch 2006-01-25 13:02:27 UTC
Could you retry again with 10.1 Beta and latest NVIDIA driver? Thanks.
Comment 11 Stefan Dirsch 2006-04-18 11:23:56 UTC
I suggest to give 1.0-8756 a try ...
Comment 12 jo de baer 2006-04-18 12:50:15 UTC
downloading for install on beta10 ... do you recommend patches or do you want me to test with driver as is ?
Comment 13 Stefan Dirsch 2006-04-18 13:13:06 UTC
Patches are no longer required for the new release. :-)
Comment 14 jo de baer 2006-04-19 08:52:20 UTC
Results are the same for Xgl / Xorg :

- hibernate works (consoles do come back :-) ) !!

- suspend : when he comes back, I see a black screen, with an occasional white flare ... which turn into white clouds ... and then the screen goes totally white ... 

Cool that it works without patches :-)
Comment 15 Stefan Dirsch 2006-04-19 08:55:08 UTC
Ok. Thanks for the update.
Comment 16 Patrick Smart 2006-06-14 21:10:57 UTC
Tried with driver version 1.0-8762. System seems to hangs on a black screen at resuming. Is there any winning recipe to have both "suspend to disk" and OpenGL acceleration enabled?
Comment 17 Matthias Hopf 2006-06-16 10:21:07 UTC
Nope, other than trying out a lot and hoping to have large can full of luck :-(

Nvidia is typically good here, at least with OpenGL apps running. Without OpenGL apps running during suspend, intel seems to be a bit better, though the driver has some issues with XVideo after resume.
Comment 18 Lonni Friedman 2006-09-25 14:36:58 UTC
Please test & verify whether this is fixed in the 1.0-9625 beta driver:
http://www.nzone.com/object/nzone_downloads_rel70betadriver.html

Thanks,
Lonni
Comment 19 Patrick Smart 2006-10-09 23:53:34 UTC
This driver doesn't work at all for me. I did an init 3, installed with the .run file, and init 5. Then I had a scrambled KDM screen. I decided to reboot and the system completely froze on the nVIDIA startup screen.

I am running an up to date SUSE 10.1. Please tell me if I can provide you with more info!
Comment 20 Lonni Friedman 2006-10-09 23:56:45 UTC
Patrick,
I'd suggesting submitting a new bug, as the problem you're describing doesn't match up with the bug reported here.  Please make sure to include an nvidia-bug-report.log with your new bug.

Thanks,
Lonni
Comment 21 Stefan Dirsch 2006-11-30 22:22:12 UTC
Looks like the reporter is no longer interested in any help to
investigate this issue. Assuming this problem is fixed with the new driver.
Comment 22 jo de baer 2006-12-01 18:49:06 UTC
Hi,

tried 9629 version :

- hibernate works both for Xgl and Xorg
- suspend worked for neither : gives me black screen on resume, in which I can type letters, but I cannot issue commands. All virtual terminals are broken.

Attaching the bug reports from all 4 cases ... for the suspend cases I of course had to reboot my system before I could run nvidia-bug-report.log.

I'll stress test hibernating in the next coming days ;-).

Jo





Comment 23 jo de baer 2006-12-01 18:51:03 UTC
Created attachment 107934 [details]
4 runs of nvidia bug report generator for suspend/resume with Xgl/Xorg