You are not logged in.

#1 2012-02-04 05:13:10

cazten
Member
Registered: 2010-03-02
Posts: 17

X-server crashes with Nvidia drivers?

So I've just done a fresh install of arch according to the begginers wiki. Put E17 on it and it ran great.

Graphics driver "were" Nouvea.

After everything worked great I tried switching to the actual nvidia drivers using the wiki "pacman -S nvidia nvidia-utils lib32-nvidia-utils"

ran nvidia-xconfig to generate a xorg.conf and it seemed fine.
/etc/X11/xorg.conf.d/20-nvidia.conf seemed okay as well

when i manually start x (which is how I have it set every bootup) it loads, runs for about 10-15 seconds, and then freezes/crashes. Required a hard reboot.

Removed those drivers and installed the beta drivers from AUR. Same problem.

Removed once again and now run Nouveau drivers. Works fine....

So what am i missing here? How do I get this running correctly with the actual nvidia drivers? I do plan and running some games and such so I want to be running the best drivers I can.

BTW, graphics card is a 8800GTSm, laptop.

Offline

#2 2012-02-04 05:25:05

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: X-server crashes with Nvidia drivers?

Did you check the logs?

Why did you run nvidia-xconfig at all? Didn't it work without it? Usually it's not necessary to run that command.
But also, usually "pacman -S nvidia nvidia-utils lib32-nvidia-utils" is all you have to do and nvidia-xconfig won't break it...btw: there is no need for a xorg.conf AND a 20-nvidia.conf

Offline

#3 2012-02-04 06:08:07

cazten
Member
Registered: 2010-03-02
Posts: 17

Re: X-server crashes with Nvidia drivers?

Let me clarify some of that for you then. I did the nvidia config to generate the xorg.conf because it didnt exist. The second time around when I installed the beta version of the AUR I did NOT run the nvidia config command and it ran just fine... Well except for the crashing part 15 seconds in. So no difference between running that command or not.

How would I check the logs to show you?

Offline

#4 2012-02-04 06:15:27

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: X-server crashes with Nvidia drivers?

Then let me clarify that: the xorg.conf is not necessary anymore, therefore running the nvidia-xconfig is only necessary for some special reasons: additional options or crashing X.
When you run it once, the xorg.conf is created and will stay there until deleted. This means you created it and therefore all your nvidia drivers use it, no matter whether you run the command again.
You COULD delete /etc/xorg.conf and check what happens wink

Logs are saved in /var/log/*.log

Offline

#5 2012-02-04 07:31:51

cazten
Member
Registered: 2010-03-02
Posts: 17

Re: X-server crashes with Nvidia drivers?

ill look up the logs. And yes, before installing the AUR drivers I deleted both locations of the xorg file.

Offline

#6 2012-02-04 07:36:03

cazten
Member
Registered: 2010-03-02
Posts: 17

Re: X-server crashes with Nvidia drivers?

Cant really find anything in logs hmm

Most are blank, and the ones with something in them I've no idea what im looking at lol

Offline

#7 2012-02-04 16:50:14

slimg00dy
Member
Registered: 2011-12-27
Posts: 50

Re: X-server crashes with Nvidia drivers?

Turn off iommu in bios or type in iommu=off in the kernel line of /boot/grub/menu.lst

Offline

#8 2012-02-04 19:23:13

vwyodajl
Member
Registered: 2012-01-21
Posts: 183

Re: X-server crashes with Nvidia drivers?

One thing you might want to do, is what I did just because of nvidia issues is give yourself a cleaner way to shutdown when X/nvidia feezes/messes up. Something like "alt+sysrq+R+E+I+S+U+B". Look up how to enable it on your system.

On my laptop I just have 20-gpudriver.conf

Section "Device"
	Identifier "Card0"
	Driver     "nvidia"
EndSection

, no xorg.conf. Check to make sure you do not have 20-gpu & 20-nvidia as they may be causing a conflict.

For the most part the nvidia blob works OK, I just still have shutdown/reboot I have to give it a minute when shutting down to make sure everything closes properly and X does not hang with a red screen or a blinking cursor.

HTH

Last edited by vwyodajl (2012-02-04 19:25:54)

Offline

#9 2012-02-04 21:58:48

cazten
Member
Registered: 2010-03-02
Posts: 17

Re: X-server crashes with Nvidia drivers?

slimg00dy wrote:

Turn off iommu in bios or type in iommu=off in the kernel line of /boot/grub/menu.lst

Didn't work for me hmm. actually made things a little slower responding and choppy before the eventual lockup

Still stuck on this problem!

Offline

#10 2012-02-05 20:49:28

slimg00dy
Member
Registered: 2011-12-27
Posts: 50

Re: X-server crashes with Nvidia drivers?

cazten wrote:
slimg00dy wrote:

Turn off iommu in bios or type in iommu=off in the kernel line of /boot/grub/menu.lst

Didn't work for me hmm. actually made things a little slower responding and choppy before the eventual lockup

Still stuck on this problem!


Sorry not exactly sure why yours is freezing up, my KDM doesn't start if I have iommu enabled.

Also are you just using startx or are you using a display manager (kdm, gdm?)

Offline

#11 2012-02-05 23:37:16

cazten
Member
Registered: 2010-03-02
Posts: 17

Re: X-server crashes with Nvidia drivers?

just startx

when i type startx everything loads up fine. Just crashes about 15 seconds in to using the desktop.

Offline

#12 2013-02-17 23:00:59

death__machine
Member
Registered: 2011-03-04
Posts: 69

Re: X-server crashes with Nvidia drivers?

@cazten Sorry for necro bumping this in 2013 tongue But I just wanted to ask if you ever found a solution to this?

Because I tried in 2011 and it led me to no solutions. The official nvidia driver is messed up afaik. Whatever I did my X ended up crashing > nvidia logo > log on screen
No such issue on nouveau though. The reason why I did not prefer using nouveau was because whenever I played videos (vlc) they were damn choppy. I had nothing else against nouveau (maybe the nvidia driver makes setting a external video output easy, but thats about it)

This is the reason I was happy when Torvalds flipped Nvidia off! big_smile

Offline

Board footer

Powered by FluxBB