X Server keeps crashing due to nvidia drivers.
FIXED Solution Below.
Hello /r/archlinux
Still a newbie to arch, but i'm having a real tough time figuring out how to resolve these crashes. Computer is stable otherwise..
My X Server keeps crashing randomly.. I've googled as much as possible, but everything i've tried doesn't seem to fix it.
System: Arch Linux with KDE and Nvidia proprietary drivers. Dual booted with UEFI/GPT.
Output of "dmesg | grep NVRM" : http://pastebin.com/uf2D8SBb
Bottom section of Xorg.0.log : http://pastebin.com/7Y76gtyP
Crashes only seem to happen during certain events.. Switching Windows, Clicking on Links in Chromium, Closing tabs in Chromium. (not sure about other browsers) If i leave my computer unattended, it will not crash.. (Left it running last night, and in 7 hours it never crashed..). In 5 minutes of use it crashed again though.
Things i've tried:
adding "video=vesa:off vga=normal" to the end of the linux kernel in grub.
changing versions. (nvidia, nvidia-304-xx, nvidia-beta (from AUR))
installing acpicd. (nvidia was complaining about it in Xorg)
Any ideas? I've seen multiple reports of this, but the above solutions seem to be about the only things i keep seeing.
Solution
Thanks to user keyNONE for the suggestion on PowerMizer, I believe the X Server crashes are gone. I'm still unsure if the Option lines can be removed from Xorg.conf, but i'll update the post in a few days with my results.
Edited 1 Mar 2013. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 100% up
- Kind
- Text
- ID
- 19deom
11 comments
You could try to disable the Nvidia PowerMizer or change it so that it does not switch power levels. On some Nvidia cards, especially older ones, PowerMizer is known to cause crashes on Linux and Windows.
http://guilleml.wordpress.com/2011/04/27/nvidia-powermizer-on-linux/
Deleted before we saved it.
The "Coolbits" option was used in ancient nvidia hardware to enable overclocking. I don't know if it's needed when changing powermizer settings, but I don't think it hurts to have it enabled.
Put that in your xorg.conf and PowerMizer should be fixed to the "High Performance" level even after Xserver restarts.
I was having a similar issue and ended up switching to nouveau driver. I miss the nvidia tray icon that allows resolution changing and monitor switching (seriously, I have to edit xorg.conf and reboot to change the resolution?!), but no crashes since the switch.
Does nouveau not support xrandr?
Totally forgot about xrandr. Thanks.
Deleted before we saved it.
It doesn't seem to make a difference for games like FTL, but you might see differences with TF2 or SS:BFE. I think it would be worth it to benchmark the performance of each driver in the main games you play. A 10fps difference isn't really worth it if you're getting random reboots.
nouveau drivers don't support 3d very well, so a lot of 3d rendering is done through the MESA software stack. So, anything that's 3d heavy will run like a dog.
I've had problems with KDE 4.10 and the plasma desktop freezing up. A few updates seemed to have fixed that.
Have you tried using a xorg.conf generated from the nvidia control panel? Do you have a xorg.conf at all?
Try adding "nomodeset" there and maybe take the other two off if that doesn't work.
Deleted before we saved it.