nvidia driver installation and loss of gui

joe.k

New Member
Sep 15, 2013
2
0
1
Dear Proxmox Community,

I am trying to install a nvidia graphics card onto my proxmox server. I use the server as a desktop and high-end workstation to perform statistical processing, as well as serving openvz and kmv machines. It has a geforce GT 640 Graphic Processing Unit (GPU), which is capable of parallel processing using nvidia's CUDA software and R or other languages.

To utilize these capabilities, I believe it is necessary to install the proprietary nvidia video driver. Unfortunately, in attempting to do this, I lost all GUI capacity and only have command line terminal abilities.

Details

I followed the directions on https://wiki.debian.org/NvidiaGraphicsDrivers and when I rebooted, I lost graphics.

The kernel according to "uname -a" is 2.6.32.23-pve.

pve-headers-2.6.32.23-pve and nvidia.glx were successfully installed. I verify this by running sudo apt-get install and it confirms that both are installed with the latest versions.

"lspci -nn | grep -i nvidia" reports:

====================================================
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 640] [10de:0fc1] (rev a1)
03:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0e1b] (rev a1)
====================================================

"lspci -nn | grep -i nouveau" reports no instance of nouveau

startx reports:

====================================================
X.Org X Server 1.12.4 Release Date: 2012-08-27
X Protocol Version 11, Revision 0 Build Operating
System: Linux 3.2.0-4-amd64 x86_64 Debian Current
Operating System: Linux coventure 2.6.32-23-pve #1
SMP Tue Aug 6 07:04:06 CEST 2013 x86_64 Kernel
command line: BOOT_IMAGE=/vmlinuz-2.6.32-23-pve
root=/dev/mapper/root-root ro quiet Build Date: 17
April 2013 10:22:47AM xorg-server 2:1.12.4-6 (Julien
Cristau <jcristau@debian.org>) Current version of
pixman: 0.26.0
Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest
version. Markers: (--) probed, (**) from config
file, (==) default setting,
(++) from command line, (!!) notice, (II)
informational,
(WW) warning, (EE) error, (NI) not
implemented, (??) unknown.
(==) Log file:
"/var/log/Xorg.0.log", Time: Sun Sep 15 11:20:00 2013
(==) Using config directory:
"/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
FATAL: Module nvidia not found. Fatal server error: no screens
found Please consult the The X.Org Foundation support
at http://wiki.x.org
for help. Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
Server terminated with error (1). Closing log file.
xinit: giving up xinit: unable to connect to X
server: Connection refused xinit: server error
====================================================

I do not understand why lspci reports the nvidia driver, yet startx cannot find the nvidia module. I suspect therein lies the problem, so if you understand why this is happening, it may be the key to the problem.

Here is what “sudo X -configure” reports:

===================================================
X.Org X Server
1.12.4 Release Date: 2012-08-27 X Protocol Version
11, Revision 0 Build Operating System: Linux
3.2.0-4-amd64 x86_64 Debian Current Operating
System: Linux coventure 2.6.32-23-pve #1 SMP Tue Aug
6 07:04:06 CEST 2013 x86_64 Kernel command line:
BOOT_IMAGE=/vmlinuz-2.6.32-23-pve
root=/dev/mapper/root-root ro quiet Build Date: 17
April 2013 10:22:47AM xorg-server 2:1.12.4-6 (Julien
Cristau <jcristau@debian.org>) Current version of
pixman: 0.26.0
Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest
version. Markers: (--) probed, (**) from config
file, (==) default setting,
(++) from command line, (!!) notice, (II)
informational,
(WW) warning, (EE) error, (NI) not
implemented, (??) unknown. (==) Log file:
"/var/log/Xorg.0.log", Time: Sun Sep 15 11:35:03
2013 List of video drivers:
rendition
intel
s3
sisusb
trident
mach64
cirrus
vmware
r128
tseng
chips
ark
savage
nouveau
openchrome
radeon
neomagic
voodoo
sis
tdfx
apm
s3virge
ati
i128
siliconmotion
nvidia
mga
fbdev
vesa FATAL: Module nvidia not found. (++)
Using config file: "/root/xorg.conf.new" (==) Using
config directory: "/etc/X11/xorg.conf.d" (==) Using
system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of
detected devices.
Configuration failed. Server terminated with error
(2). Closing log file.
====================================================

I think the key message here is "Number of created screens does not match number of detected devices."

Could the solution be to simply edit the xorg configuration files? And if so, in what way?

Lastly, I list below the tail 200 lines of /var/log/Xorg.0.log. This confuses me because it seems to be successfully loading many of the video drivers listed in the "X -configure" report, but that the nvidia driver could not load. My confusion is why this contradicts the lspci report. Also, why is it loading all of these unnecessary drivers and which ones can I get rid of?

Could anyone help me to resolve this problem and get me back to my KDE gui?

Thanks for your help,

Cheers,

Joe

/var/log/Xorg.0.log
===================================================
[ 5279.403] compiled for 1.12.4, module version = 0.2.906
[ 5279.403] Module class: X.Org Video Driver
[ 5279.403] ABI class: X.Org Video Driver, version 12.1
[ 5279.403] (II) LoadModule: "radeon"
[ 5279.403] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 5279.404] (II) Module radeon: vendor="X.Org Foundation"
[ 5279.404] compiled for 1.12.4, module version = 6.14.99
[ 5279.404] Module class: X.Org Video Driver
[ 5279.404] ABI class: X.Org Video Driver, version 12.1
[ 5279.404] (II) LoadModule: "neomagic"
[ 5279.404] (II) Loading /usr/lib/xorg/modules/drivers/neomagic_drv.so
[ 5279.404] (II) Module neomagic: vendor="X.Org Foundation"
[ 5279.404] compiled for 1.12.1, module version = 1.2.6
[ 5279.404] Module class: X.Org Video Driver
[ 5279.404] ABI class: X.Org Video Driver, version 12.0
[ 5279.404] (II) LoadModule: "voodoo"
[ 5279.404] (II) Loading /usr/lib/xorg/modules/drivers/voodoo_drv.so
[ 5279.404] (II) Module voodoo: vendor="X.Org Foundation"
[ 5279.404] compiled for 1.12.1, module version = 1.1.0
[ 5279.404] Module class: X.Org Video Driver
[ 5279.404] ABI class: X.Org Video Driver, version 12.0
[ 5279.404] (II) LoadModule: "sis"
[ 5279.404] (II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
[ 5279.404] (II) Module sis: vendor="X.Org Foundation"
[ 5279.404] compiled for 1.12.1, module version = 0.10.4
[ 5279.404] Module class: X.Org Video Driver
[ 5279.404] ABI class: X.Org Video Driver, version 12.0
[ 5279.404] (II) LoadModule: "tdfx"
[ 5279.405] (II) Loading /usr/lib/xorg/modules/drivers/tdfx_drv.so
[ 5279.405] (II) Module tdfx: vendor="X.Org Foundation"
[ 5279.405] compiled for 1.12.1, module version = 1.4.4
[ 5279.405] Module class: X.Org Video Driver
[ 5279.405] ABI class: X.Org Video Driver, version 12.0
[ 5279.405] (II) LoadModule: "apm"
[ 5279.405] (II) Loading /usr/lib/xorg/modules/drivers/apm_drv.so
[ 5279.405] (II) Module apm: vendor="X.Org Foundation"
[ 5279.405] compiled for 1.12.1, module version = 1.2.3
[ 5279.405] Module class: X.Org Video Driver
[ 5279.405] ABI class: X.Org Video Driver, version 12.0
[ 5279.405] (II) LoadModule: "s3virge"
[ 5279.405] (II) Loading /usr/lib/xorg/modules/drivers/s3virge_drv.so
[ 5279.405] (II) Module s3virge: vendor="X.Org Foundation"
[ 5279.405] compiled for 1.12.1, module version = 1.10.4
[ 5279.405] Module class: X.Org Video Driver
[ 5279.405] ABI class: X.Org Video Driver, version 12.0
[ 5279.405] (II) LoadModule: "ati"
[ 5279.405] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 5279.405] (II) Module ati: vendor="X.Org Foundation"
[ 5279.405] compiled for 1.12.4, module version = 6.14.99
[ 5279.405] Module class: X.Org Video Driver
[ 5279.405] ABI class: X.Org Video Driver, version 12.1
[ 5279.405] (II) LoadModule: "i128"
[ 5279.405] (II) Loading /usr/lib/xorg/modules/drivers/i128_drv.so
[ 5279.406] (II) Module i128: vendor="X.Org Foundation"
[ 5279.406] compiled for 1.12.1, module version = 1.3.5
[ 5279.406] Module class: X.Org Video Driver
[ 5279.406] ABI class: X.Org Video Driver, version 12.0
[ 5279.406] (II) LoadModule: "siliconmotion"
[ 5279.406] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[ 5279.406] (II) Module siliconmotion: vendor="X.Org Foundation"
[ 5279.406] compiled for 1.12.1, module version = 1.7.6
[ 5279.406] Module class: X.Org Video Driver
[ 5279.406] ABI class: X.Org Video Driver, version 12.0
[ 5279.406] (II) LoadModule: "nvidia"
[ 5279.406] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 5279.406] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5279.406] compiled for 4.0.2, module version = 1.0.0
[ 5279.406] Module class: X.Org Video Driver
[ 5279.408] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 5279.408] (EE) NVIDIA: system's kernel log for additional error messages.
[ 5279.408] (II) UnloadModule: "nvidia"
[ 5279.408] (II) Unloading nvidia
[ 5279.408] (EE) Failed to load module "nvidia" (module-specific error, 0)
[ 5279.408] (II) LoadModule: "mga"
[ 5279.408] (II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so
[ 5279.408] (II) Module mga: vendor="X.Org Foundation"
[ 5279.408] compiled for 1.12.4, module version = 1.5.0
[ 5279.408] Module class:
X.Org Video Driver
[ 5279.408] ABI class: X.Org Video Driver, version 12.1
[ 5279.408] (II) LoadModule: "fbdev"
[ 5279.408] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5279.408] (II) Module fbdev: vendor="X.Org Foundation"
[ 5279.408] compiled for 1.12.1, module version = 0.4.2
[ 5279.408] ABI class: X.Org Video Driver, version 12.0
[ 5279.408] (II) LoadModule: "vesa"
[ 5279.409] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5279.409] (II) Module vesa: vendor="X.Org Foundation"
[ 5279.409] compiled for 1.12.1, module version = 2.3.1
[ 5279.409] Module class: X.Org Video Driver
[ 5279.409] ABI class: X.Org Video Driver, version 12.0
[ 5279.409] (WW) Falling back to old probe method for s3
[ 5279.409] (WW) Falling back to old probe method for sisusb
[ 5279.409] (WW) Falling back to old probe method for trident
[ 5279.409] (WW) Falling back to old probe method for cirrus
[ 5279.409] (II) Loading sub module "cirrus_laguna"
[ 5279.409] (II) LoadModule: "cirrus_laguna"
[ 5279.409] (II) Loading /usr/lib/xorg/modules/drivers/cirrus_laguna.so
[ 5279.409] (II) Module cirrus_laguna: vendor="X.Org Foundation"
[ 5279.409] compiled for 1.12.1.902, module version = 1.0.0
[ 5279.409] ABI class: X.Org Video Driver, version 12.0
[ 5279.409] (II) Loading sub module "cirrus_alpine"
[ 5279.409] (II) LoadModule: "cirrus_alpine"
[ 5279.409] (II) Loading /usr/lib/xorg/modules/drivers/cirrus_alpine.so
[ 5279.409] (II) Module cirrus_alpine: vendor="X.Org Foundation"
[ 5279.409] compiled for 1.12.1.902, module version = 1.0.0
[ 5279.409] ABI class: X.Org Video Driver, version 12.0
[ 5279.409] (WW) Falling back to old probe method for tseng
[ 5279.409] (WW) Falling back to old probe method for ark
[ 5279.409] (II) NOUVEAU driver Date: Fri Jul 6 16:23:50 2012 +1000
[ 5279.409] (II) NOUVEAU driver for NVIDIA chipset families :
[ 5279.409] RIVA TNT (NV04)
[ 5279.409] RIVA TNT2 (NV05)
[ 5279.409] GeForce 256 (NV10)
[ 5279.409] GeForce 2 (NV11, NV15)
[ 5279.409] GeForce 4MX (NV17, NV18)
[ 5279.409] GeForce 3 (NV20)
[ 5279.409] GeForce 4Ti (NV25, NV28)
[ 5279.409] GeForce FX (NV3x)
[ 5279.409] GeForce 6 (NV4x)
[ 5279.409] GeForce 7 (G7x)
[ 5279.409] GeForce 8 (G8x)
[ 5279.409] GeForce GTX 200 (NVA0)
[ 5279.409] GeForce GTX 400 (NVC0)
[ 5279.410] (WW) Falling back to old probe method for neomagic
[ 5279.410] (WW) Falling back to old probe method for voodoo
[ 5279.410] (WW) Falling back to old probe method for sis
[ 5279.410] (WW) Falling back to old probe method for apm
[ 5279.410] (WW) Falling back to old probe method for s3virge
[ 5279.410] (WW) Falling back to old probe method for i128
[ 5279.410] (WW) Falling back to old probe method for siliconmotion
[ 5279.410] (II) FBDEV: driver for framebuffer: fbdev
[ 5279.410] (II) VESA: driver for VESA chipsets: vesa
[ 5279.454] (++) Using config file: "/root/xorg.conf.new"
[ 5279.454] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 5279.454] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5279.454] (==) ServerLayout "X.org Configured"
[ 5279.454] (**) |-->Screen "Screen0" (0)
[ 5279.454] (**) | |-->Monitor "Monitor0"
[ 5279.454] (**) | |-->Device "Card0"
[ 5279.454] (**) |-->Screen "Screen1" (1)
[ 5279.454] (**) | |-->Monitor "Monitor1"
[ 5279.454] (**) | |-->Device "Card1"
[ 5279.454] (**) |-->Screen "Screen2" (2)
[ 5279.454] (**) | |-->Monitor "Monitor2"
[ 5279.454] (**) | |-->Device "Card2"
[ 5279.454] (**) |-->Screen "Screen3" (3)
[ 5279.454] (**) | |-->Monitor "Monitor3"
[ 5279.454] (**) | |-->Device "Card3"
[ 5279.454] (**) |-->Screen "Screen4" (4)
[ 5279.454] (**) | |-->Monitor "Monitor4"
[ 5279.454] (**) | |-->Device "Card4"
[ 5279.454] (**) |-->Input Device "Mouse0"
[ 5279.454] (**) |-->Input Device "Keyboard0"
[ 5279.454] (==) Automatically adding devices
[ 5279.454] (==) Automatically enabling devices
[ 5279.454] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5279.454] Entry deleted from font path.
[ 5279.454] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 5279.454] Entry deleted from font path.
[ 5279.454] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5279.454] Entry deleted from font path.
[ 5279.454] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 5279.454] Entry deleted from font path.
[ 5279.454] (**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 5279.454] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 5279.454] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 5279.454] (WW) Disabling Mouse0
[ 5279.454] (WW) Disabling Keyboard0
[ 5279.454] (EE) [drm] No DRICreatePCIBusID symbol
[ 5279.454] (II) Loading sub module "fbdevhw"
[ 5279.454] (II) LoadModule: "fbdevhw"
[ 5279.454] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5279.454] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 5279.454] compiled for 1.12.4, module version = 0.0.2
[ 5279.454] ABI class: X.Org Video Driver, version 12.1
[ 5279.454] (EE) open /dev/fb0: No such file or directory
[ 5279.454] (II) Loading sub module "fbdevhw"
[ 5279.454] (II) LoadModule: "fbdevhw"
[ 5279.454] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5279.454] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 5279.454] compiled for 1.12.4, module version = 0.0.2
[ 5279.454] ABI class: X.Org Video Driver, version 12.1
[ 5279.454] (EE) open /dev/fb0: No such file or directory
[ 5279.454] (WW) Falling back to old probe method for fbdev
[ 5279.454] Number of created screens does not match number of detected devices.
Configuration failed.
 
I solved this problem!!

The problem was caused because when I first started, I tried to install nvidia and / or CUDA through debian / proxmox repositories. I solved the problem (mostly) by removing all packages with "nvidia" in their name and reinstalling according to nvidia instructions and downloads.

I say "mostly" because in the process, I lost audio, which is annoying, but I can at least get my work done. Hopefully I will resolve that in the near future.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!