Bug 58305

Summary: Kernel crashes if nVidia card is powered off and X restartted
Product: xorg Reporter: Dimitar Kosev <buboleck>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: daniel, jean-louis
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Kernel message for the crash none

Description Dimitar Kosev 2012-12-14 16:45:08 UTC
Created attachment 71512 [details]
Kernel message for the crash

In Optimus system if the Nvidia card is powered off and X is restarted kernel crashes. 

Info:

Distribution: Gentoo x86_64, stable up to date.
Kernel: Gentoo 3.7 
System: Acer Aspire 5742G (RAM 8G ,CPU Intel Core i5 480M, nVidia GT540 with 1G RAM, latest BIOS v1.30)

In the kernel messages when the nouveu driver is loaded it reports that the nVidia card is with 512MB of ram.

I can provide full dmesg if needed.
Comment 2 Dimitar Kosev 2012-12-17 18:53:14 UTC
Thank you. Then I suppose there is already anoter bug or something. If this is the case this one can be closed.
Comment 3 Marcin Slusarz 2012-12-17 19:07:02 UTC
No, there's no other open bug report for this. It's better to keep this one open as long as it's not fixed upstream.
Comment 4 Dimitar Kosev 2012-12-17 19:51:34 UTC
Ok, I can provide any additional information needed.
Comment 5 Jean-Louis Dupond 2012-12-25 21:28:47 UTC
I had the exact same crash today.
After disabling my vga card, and shutdown I got the following trace:
http://ubuntu.dupondje.be/20121225_114737.jpg
Comment 6 Daniel J Blueman 2013-01-01 14:43:55 UTC
This is still present in 3.8-rc1.
Comment 7 Ilia Mirkin 2013-08-31 03:07:18 UTC
Can you confirm that this issue still exists in the latest kernel (3.11-rc7)? A bunch of locking/ordering stuff has been redone since 3.8, I think.
Comment 8 Dimitar Kosev 2013-09-13 06:54:10 UTC
(In reply to comment #7)
> Can you confirm that this issue still exists in the latest kernel
> (3.11-rc7)? A bunch of locking/ordering stuff has been redone since 3.8, I
> think.

I just tested with 3.11 and I can can confirm that suspend/resume works, however still crashes on shut down/reboot.
Comment 9 Ilia Mirkin 2013-09-13 12:22:34 UTC
Can you supply a full kernel log that includes the backtrace from 3.11? You can probably trigger the issue by unloading the nouveau module -- see how to do this at http://nouveau.freedesktop.org/wiki/KernelModeSetting/ (you can't just rmmod it, you have to unbind the console first)
Comment 10 Dimitar Kosev 2013-11-18 21:33:34 UTC
Ok, I had some time to try 3.12... it's even worse, kernel crashesh short time after loading nouveau module. Starting X completely locks the system.
Comment 11 Ilia Mirkin 2014-08-22 04:50:21 UTC
Is this still an issue in 3.13.x or later? The runpm stuff should be there and working, with the card automatically powering off when not in use.
Comment 12 Dimitar Kosev 2014-08-22 07:35:49 UTC
Hello,

I can't confirm, I don't use this laptop anymore
Comment 13 Jean-Louis Dupond 2014-08-22 07:37:42 UTC
Didn't had the crash anymore the last months.
So seems to be fine now indeed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.