You are not logged in.

#1 2015-03-31 01:12:49

srange
Member
Registered: 2015-03-22
Posts: 3

Xorg won't start with nvidia driver, GLX fails to initialize

Hi all,

Just installed arch on a new machine, and I'm having trouble running X with the nvidia driver.  Following a clean install, installed X and nvidia

sudo pacman -S xorg-server xorg-server-utils xorg-apps xorg-xinit
sudo pacman -S nvidia

Rebooted and used "startx" to test X per the wiki. No joy.  Made a few changes suggested by the wiki

sudo nvidia-xconfig
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.d/20-nvidia.conf
sudo cp /usr/lib/modprobe.d/nvidia.conf /etc/modprobe.d/
sudo mkinitcpio -p linux

Rebooting again, startx again fails.  Installing gdm and gnome and starting gdm, a loop of X failure and restarts develops.

I've tried adding nvidia to /etc/mkinitcpio.conf

MODULES="nvidia"

And rebuilding the initramfs, which also didn't work.

I've extracted errors from the Xorg logs from starmtx:

[    15.963] (**) NVIDIA(0): Enabling 2D acceleration
[    15.963] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    15.963] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    15.963] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    15.963] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    15.963] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[    21.123] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[    21.123] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 970 (GM204-A) at PCI:1:0:0 (GPU-0)
[    21.123] (--) NVIDIA(0): Memory: 4194304 kBytes
[    21.123] (--) NVIDIA(0): VideoBIOS: 84.04.2f.00.81
[    21.123] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    21.130] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 970 at PCI:1:0:0
[    21.157] (--) Depth 24 pixmap format is 32 bpp
[    21.157] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    21.157] (II) NVIDIA:     access.
[    24.159] (EE) NVIDIA(GPU-0): Failed to initialize DMA.
[    24.159] (EE)  *** Aborting ***
[    30.364] (EE) 
Fatal server error:
[    30.364] (EE) AddScreen/ScreenInit failed for driver 0
[    30.364] (EE) 
[    30.364] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    30.364] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    30.364] (EE) 
[    30.365] (EE) Server terminated with error (1). Closing log file.

Full Xorg log: http://paste.debian.net/163890

Additionally, dmesg: http://paste.debian.net/163892

I'm out of ideas.  I feel like this is something obvious about loading GLX, but I can't find information about how to do that.

Offline

#2 2015-03-31 04:53:32

srange
Member
Registered: 2015-03-22
Posts: 3

Re: Xorg won't start with nvidia driver, GLX fails to initialize

More searching, made some progress.  From this https://bbs.archlinux.org/viewtopic.php?id=166854 thread, replaced nvidia-mesa

sudo pacman -S nvidia-libgl

That fixed the GLX module problem.  Still remaining, failure to initialize DMA

[   244.059] (EE) NVIDIA(GPU-0): Failed to initialize DMA.
[   244.059] (EE)  *** Aborting ***
[   250.259] (EE) 
Fatal server error:
[   250.259] (EE) AddScreen/ScreenInit failed for driver 0
[   250.259] (EE) 
[   250.259] (EE) 

New Xorg log: http://paste.debian.net/164042

Offline

#3 2015-04-10 01:49:34

srange
Member
Registered: 2015-03-22
Posts: 3

Re: Xorg won't start with nvidia driver, GLX fails to initialize

Necrobump for anyone googling this:

The error seems to be the result of a hardware fault.  Replacing with another GTX 970 leads to successful startup after installing packages per the wiki.

Offline

Board footer

Powered by FluxBB