Skip to content

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.

Solution

Edited 1 Mar 2013. We only hold this version.

5 points8 comments
Open on Reddit
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/

2 points
unknown author1 hidden

Deleted before we saved it.

2 points

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.

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
Option         "Coolbits" "1"
Option         "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x1; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"
EndSection

Put that in your xorg.conf and PowerMizer should be fixed to the "High Performance" level even after Xserver restarts.

2 points

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.

1 points

seriously, I have to edit xorg.conf and reboot to change the resolution?!

Does nouveau not support xrandr?

2 points
unknown author2 hidden

Deleted before we saved it.

1 points

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.

1 points

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?

1 points

adding "video=vesa:off vga=normal" to the end of the linux kernel in grub.

Try adding "nomodeset" there and maybe take the other two off if that doesn't work.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.