Bug 71357 - [NVC1] After S3 resume X is broken and reboot needed
Summary: [NVC1] After S3 resume X is broken and reboot needed
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 9.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 21:26 UTC by Torsten Krah
Modified: 2015-10-22 02:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (50.10 KB, text/plain)
2013-11-07 21:26 UTC, Torsten Krah
Details
dmesg after kill -9 signal to X (79.46 KB, text/plain)
2013-11-07 21:27 UTC, Torsten Krah
Details
backtrace from gdb after kill -9 signal (1.32 KB, text/plain)
2013-11-07 21:27 UTC, Torsten Krah
Details
lspci -nn (2.21 KB, text/plain)
2013-11-07 21:34 UTC, Torsten Krah
Details
Xorg.0.log with patch applied (85.04 KB, text/plain)
2013-11-08 08:19 UTC, Torsten Krah
Details
dmesg with patch (82.51 KB, text/plain)
2013-11-08 08:20 UTC, Torsten Krah
Details
full bt with patch after trying to kill X (1.32 KB, text/plain)
2013-11-08 08:20 UTC, Torsten Krah
Details

Description Torsten Krah 2013-11-07 21:26:47 UTC
Created attachment 88845 [details]
Xorg.0.log

Got a Lenovo T530 notebook with a NVS 5400M card.
Suspending to RAM and resume from console only does work fine.

But doing it from X i've get a broken X system, starting X after the resume basic stuff from mdm display manager is ok, but as soon as cinnamon is starting its broken again.

Attached is the Xorg.0.log with errors logged.

dmesg is also there - the first 2 errors with cinnamon were logged when i did "service mdm stop", the other 4 were logged after "kill -9 7350".
Only a reboot did work and it was possible to reboot the box.
Attached is also a full backtrace from gdb after X was tried to shut down via "kill -9" which did not work.

Its a stock ubuntu 13.10 with mesa 9.2.1.
Comment 1 Torsten Krah 2013-11-07 21:27:29 UTC
Created attachment 88846 [details]
dmesg after kill -9 signal to X
Comment 2 Torsten Krah 2013-11-07 21:27:57 UTC
Created attachment 88847 [details]
backtrace from gdb after kill -9 signal
Comment 3 Torsten Krah 2013-11-07 21:34:26 UTC
Created attachment 88848 [details]
lspci -nn
Comment 4 Ilia Mirkin 2013-11-07 21:43:05 UTC
Can you see if applying http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=968a8d1b6c32c9f466f236032770b9165ece045a helps at all? (Or just run the nouveau/master kernel.)
Comment 5 Torsten Krah 2013-11-08 08:19:29 UTC
Its a little bit better - X is coming back from resume but things does still not work.
Stopping X does work and i can restart X once - but after login to cinnamon it hangs again, logs are attached.
Comment 6 Torsten Krah 2013-11-08 08:19:57 UTC
Created attachment 88881 [details]
Xorg.0.log with patch applied
Comment 7 Torsten Krah 2013-11-08 08:20:26 UTC
Created attachment 88882 [details]
dmesg with patch
Comment 8 Torsten Krah 2013-11-08 08:20:56 UTC
Created attachment 88883 [details]
full bt with patch after trying to kill X
Comment 9 Ilia Mirkin 2015-09-11 23:35:40 UTC
I'm not convinced that there have been changes which would fix this in the past ~2 years, but I highly recommend trying a more recent kernel and seeing if this persists. The driver's been rewritten ~twice since 3.11 (if you go directly for 4.3-rc), we've fixed a lot of ctxsw issues, and probably a host of other things.
Comment 10 Torsten Krah 2015-09-16 14:25:11 UTC
Hi,

i did what you've suggested and used 4.3.0-040300rc1-generic #201509160642 SMP build from ubuntu mainline ppa.
And i am really happy - did S3 twice and all works fine, its waking up and works - i can even do S3 twice, resume and it works. Even KernelModeSetting on console does work flawlessly now where 3.13 did work and 3.16 did not with my external monitors, thumbs up - seems fixed with 4.3-rc1.


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.