X freezes after suspend with Nouveau driver [SOLVED]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

X freezes after suspend with Nouveau driver [SOLVED]

Post by GJones »

My Dell Precision 390 can be reliably frozen with the Nouveau driver. Reproducible by
- Suspending
- Resuming
- Launching Firefox
As soon as I try to launch Firefox, X will immediately freeze. The mouse moves, but nothing responds to mouse clicks. Magic sysrq keys work fine, but nothing else does.

(I've seen this before on Intel chipsets BTW, I believe this indicates the GPU hanging?)

Graphics card is a nVidia Quadro FX 550 (NV43GL chipset). Nothing unusual shows up in the Xorg logs. I've tried disabling IOAPIC (noapic) and disabling tickless mode (nohz=off highres=off), both of which I've found to help with Xorg issues in the past; neither helped at all.

Anyone know what might be going on? If not, how can I at least get some useful logs?

(I am considering using nVidia's proprietary driver, but I'd really rather not.)


Edit: Trying the nVidia drivers now, they seem to be totally useless - my monitor tells me the display settings are "Out of Range" with the proprietary driver, presumably because it can't figure out it's attached to a KVM switch and defaults to some absurdly high resolution. Absolutely pathetic, the FOSS driver actually seems to be higher quality. :(

Edit again: updated to reflect still-unsolved status.
Last edited by GJones on 31. Jul 2012, 22:08, edited 2 times in total.
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: X freezes after suspend with Nouveau driver [SOLVED]

Post by GJones »

Okay, solved. Answer is to put the following in /etc/pm/config.d/config:

Code: Select all

SUSPEND_MODULES="nouveau"
The nouveau module is apparently not suspend safe, and must be unloaded before suspend. If you do so, the crash will not occur.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: X freezes after suspend with Nouveau driver [SOLVED]

Post by Akuna »

Thanks for the info. :)
Image
What really matters is where you are going, not where you come from.
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: X freezes after suspend with Nouveau driver [SOLVED]

Post by GJones »

Blargh! Looks like I spoke too soon. Still getting crashes.

Maybe I should try disabling AIGLX next. Or does disabling Composite already disable AIGLX?

(I would just use the nv driver, but again, it does not recognize that I'm using a KVM switch - and thus gives me 640x480 resolution.)
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: X freezes after suspend with Nouveau driver [unsolved]

Post by GJones »

Okay, this actually is solved now, legit. Problem seems seems to be something that KDE's Plasma desktop (and also Razor-Qt) does with the 2D acceleration. Switch to Mate -> suspend works fine.
User avatar
pcbsd64
Posts: 21
Joined: 20. Apr 2012, 01:57
Location: in a van down by the river

Re: X freezes after suspend with Nouveau driver [unsolved]

Post by pcbsd64 »

Shouldn't the thread be marked [SOLVED] then. Whenever I have an error message that I can't figure out, I copy and paste in a forum or other search engine and I read the topics marked [SOLVED] first, hoping to find the answer.
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: X freezes after suspend with Nouveau driver [SOLVED]

Post by GJones »

Umm? I just did.
Post Reply