Install CentOS 7 on R730 with GPU

Issues related to hardware problems
scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/21 17:56:11

Hi There,

I have an Dell PE R730 machine equipped with Nvidia Telsa K20xm GPU card. I tried to installed CentOS 7 on that server and I need CUDA programming support. My problem is, after installing NVIDIA 346.59 driver, I can no longer startX. Here is my rough procedure of installation:

1. Install CentOS 7.1 using everything ISO via iDrac 8, with Server GUI as selected installation default
2. Change back to multi-user target and reboot
3. "yum erase xorg-x11-drv-nouveau" to remove nouveau
4. "yum upgrade" to install new kernel without nouveau
5. download Nvidia driver v346.59 from Nvidia site and successfully installed it (note that the Telsa K20Xm GPU do not have screen output)
6. startX and failed, no screen section was reported on log.

Can anyone help me on this regard? Do I need Nvidia driver in this scenerio? Or just install CUDA toolkit 7 suffices and leave X display with built-in Matrox display driver?

Thanks in advance for any help.

SC

scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Re: Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/24 16:31:26

Hi There,

Here I post my Xorg.0.log. Note that I run "startx" from iDrac 8 remote console. Any helps or hints are highly appreciated.

Code: Select all

[265570.888] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[265570.905] X Protocol Version 11, Revision 0
[265570.911] Build Operating System:  2.6.32-220.17.1.el6.x86_64 
[265570.918] Current Operating System: Linux r730.localdomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64
[265570.918] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-229.4.2.el7.x86_64 root=/dev/mapper/centos_r730-root ro crashkernel=auto rd.lvm.lv=centos_r730/swap rd.lvm.lv=centos_r730/root rhgb quiet LANG=en_US.UTF-8 systemd.debug
[265570.938] Build Date: 10 April 2015  11:44:42AM
[265570.945] Build ID: xorg-x11-server 1.15.0-33.el7_1 
[265570.952] Current version of pixman: 0.32.4
[265570.966] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[265570.966] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[265570.994] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 25 00:22:53 2015
[265571.001] (==) Using config file: "/etc/X11/xorg.conf"
[265571.008] (==) Using config directory: "/etc/X11/xorg.conf.d"
[265571.015] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[265571.060] (==) ServerLayout "Layout0"
[265571.060] (**) |-->Screen "Screen0" (0)
[265571.060] (**) |   |-->Monitor "Monitor0"
[265571.079] (**) |   |-->Device "Device0"
[265571.079] (**) |-->Input Device "Keyboard0"
[265571.079] (**) |-->Input Device "Mouse0"
[265571.079] (==) Automatically adding devices
[265571.079] (==) Automatically enabling devices
[265571.079] (==) Automatically adding GPU devices
[265571.079] (**) FontPath set to:
	/usr/share/fonts/default/Type1,
	catalogue:/etc/X11/fontpath.d,
	built-ins
[265571.079] (==) ModulePath set to "/usr/lib64/xorg/modules"
[265571.079] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[265571.079] (WW) Disabling Keyboard0
[265571.079] (WW) Disabling Mouse0
[265571.087] (II) Loader magic: 0x7f2863f50020
[265571.087] (II) Module ABI versions:
[265571.087] 	X.Org ANSI C Emulation: 0.4
[265571.087] 	X.Org Video Driver: 15.0
[265571.087] 	X.Org XInput driver : 20.0
[265571.087] 	X.Org Server Extension : 8.0
[265571.087] (II) xfree86: Adding drm device (/dev/dri/card1)
[265571.088] (II) xfree86: Adding drm device (/dev/dri/card0)
[265571.106] (--) PCI: (0:4:0:0) 10de:1021:10de:097d rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, BIOS @ 0x????????/65536
[265571.106] (--) PCI:*(0:10:0:0) 102b:0534:1028:0600 rev 1, Mem @ 0xa2000000/16777216, 0xa4800000/16384, 0xa4000000/8388608, BIOS @ 0x????????/131072
[265571.120] Initializing built-in extension Generic Event Extension
[265571.128] Initializing built-in extension SHAPE
[265571.135] Initializing built-in extension MIT-SHM
[265571.142] Initializing built-in extension XInputExtension
[265571.149] Initializing built-in extension XTEST
[265571.156] Initializing built-in extension BIG-REQUESTS
[265571.162] Initializing built-in extension SYNC
[265571.169] Initializing built-in extension XKEYBOARD
[265571.175] Initializing built-in extension XC-MISC
[265571.182] Initializing built-in extension XINERAMA
[265571.188] Initializing built-in extension XFIXES
[265571.194] Initializing built-in extension RENDER
[265571.200] Initializing built-in extension RANDR
[265571.206] Initializing built-in extension COMPOSITE
[265571.212] Initializing built-in extension DAMAGE
[265571.218] Initializing built-in extension MIT-SCREEN-SAVER
[265571.224] Initializing built-in extension DOUBLE-BUFFER
[265571.229] Initializing built-in extension RECORD
[265571.234] Initializing built-in extension DPMS
[265571.240] Initializing built-in extension Present
[265571.245] Initializing built-in extension X-Resource
[265571.250] Initializing built-in extension XVideo
[265571.255] Initializing built-in extension XVideo-MotionCompensation
[265571.260] Initializing built-in extension SELinux
[265571.266] Initializing built-in extension XFree86-VidModeExtension
[265571.270] Initializing built-in extension XFree86-DGA
[265571.275] Initializing built-in extension XFree86-DRI
[265571.280] Initializing built-in extension DRI2
[265571.280] (II) "glx" will be loaded by default.
[265571.280] (II) LoadModule: "dri2"
[265571.280] (II) Module "dri2" already built-in
[265571.280] (II) LoadModule: "glamoregl"
[265571.280] (WW) Warning, couldn't open module glamoregl
[265571.280] (II) UnloadModule: "glamoregl"
[265571.280] (II) Unloading glamoregl
[265571.280] (EE) Failed to load module "glamoregl" (module does not exist, 0)
[265571.280] (II) LoadModule: "glx"
[265571.280] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[265571.652] (II) Module glx: vendor="NVIDIA Corporation"
[265571.652] 	compiled for 4.0.2, module version = 1.0.0
[265571.652] 	Module class: X.Org Server Extension
[265571.661] (II) NVIDIA GLX Module  346.59  Tue Mar 31 13:38:58 PDT 2015
[265571.667] Loading extension GLX
[265571.667] (II) LoadModule: "nvidia"
[265571.667] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[265571.748] (II) Module nvidia: vendor="NVIDIA Corporation"
[265571.748] 	compiled for 4.0.2, module version = 1.0.0
[265571.748] 	Module class: X.Org Video Driver
[265571.755] (II) NVIDIA dlloader X Driver  346.59  Tue Mar 31 13:17:41 PDT 2015
[265571.755] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[265571.763] (++) using VT number 1

[265571.766] (EE) No devices detected.
[265571.766] (EE) 
Fatal server error:
[265571.766] (EE) no screens found(EE) 
[265571.766] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[265571.766] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[265571.766] (EE) 
Thanks in advance.

SC

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Install CentOS 7 on R730 with GPU

Post by TrevorH » 2015/05/24 16:33:05

Do you have a /etc/X11/xorg.conf? Try renaming it to something else.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Re: Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/24 17:09:18

No hope.

Here is the Xorg.0.log after renaming /etc/X11/xorg.conf

Code: Select all

[267833.277] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[267833.289] X Protocol Version 11, Revision 0
[267833.293] Build Operating System:  2.6.32-220.17.1.el6.x86_64 
[267833.297] Current Operating System: Linux r730.localdomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64
[267833.298] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-229.4.2.el7.x86_64 root=/dev/mapper/centos_r730-root ro crashkernel=auto rd.lvm.lv=centos_r730/swap rd.lvm.lv=centos_r730/root rhgb quiet LANG=en_US.UTF-8 systemd.debug
[267833.313] Build Date: 10 April 2015  11:44:42AM
[267833.318] Build ID: xorg-x11-server 1.15.0-33.el7_1 
[267833.323] Current version of pixman: 0.32.4
[267833.333] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[267833.333] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[267833.356] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 25 01:00:35 2015
[267833.362] (==) Using config directory: "/etc/X11/xorg.conf.d"
[267833.368] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[267833.368] (==) No Layout section.  Using the first Screen section.
[267833.368] (==) No screen section available. Using defaults.
[267833.368] (**) |-->Screen "Default Screen Section" (0)
[267833.368] (**) |   |-->Monitor "<default monitor>"
[267833.368] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[267833.368] (==) Automatically adding devices
[267833.368] (==) Automatically enabling devices
[267833.368] (==) Automatically adding GPU devices
[267833.368] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[267833.368] (==) ModulePath set to "/usr/lib64/xorg/modules"
[267833.368] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[267833.368] (II) Loader magic: 0x7f251eca6020
[267833.368] (II) Module ABI versions:
[267833.368] 	X.Org ANSI C Emulation: 0.4
[267833.368] 	X.Org Video Driver: 15.0
[267833.368] 	X.Org XInput driver : 20.0
[267833.368] 	X.Org Server Extension : 8.0
[267833.369] (II) xfree86: Adding drm device (/dev/dri/card1)
[267833.369] (II) xfree86: Adding drm device (/dev/dri/card0)
[267833.383] (--) PCI: (0:4:0:0) 10de:1021:10de:097d rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, BIOS @ 0x????????/65536
[267833.383] (--) PCI:*(0:10:0:0) 102b:0534:1028:0600 rev 1, Mem @ 0xa2000000/16777216, 0xa4800000/16384, 0xa4000000/8388608, BIOS @ 0x????????/131072
[267833.388] Initializing built-in extension Generic Event Extension
[267833.394] Initializing built-in extension SHAPE
[267833.400] Initializing built-in extension MIT-SHM
[267833.406] Initializing built-in extension XInputExtension
[267833.412] Initializing built-in extension XTEST
[267833.417] Initializing built-in extension BIG-REQUESTS
[267833.423] Initializing built-in extension SYNC
[267833.429] Initializing built-in extension XKEYBOARD
[267833.434] Initializing built-in extension XC-MISC
[267833.440] Initializing built-in extension XINERAMA
[267833.445] Initializing built-in extension XFIXES
[267833.450] Initializing built-in extension RENDER
[267833.456] Initializing built-in extension RANDR
[267833.461] Initializing built-in extension COMPOSITE
[267833.466] Initializing built-in extension DAMAGE
[267833.471] Initializing built-in extension MIT-SCREEN-SAVER
[267833.477] Initializing built-in extension DOUBLE-BUFFER
[267833.482] Initializing built-in extension RECORD
[267833.487] Initializing built-in extension DPMS
[267833.492] Initializing built-in extension Present
[267833.497] Initializing built-in extension X-Resource
[267833.502] Initializing built-in extension XVideo
[267833.507] Initializing built-in extension XVideo-MotionCompensation
[267833.512] Initializing built-in extension SELinux
[267833.517] Initializing built-in extension XFree86-VidModeExtension
[267833.522] Initializing built-in extension XFree86-DGA
[267833.527] Initializing built-in extension XFree86-DRI
[267833.532] Initializing built-in extension DRI2
[267833.532] (II) "glx" will be loaded by default.
[267833.532] (II) LoadModule: "dri2"
[267833.532] (II) Module "dri2" already built-in
[267833.532] (II) LoadModule: "glamoregl"
[267833.532] (WW) Warning, couldn't open module glamoregl
[267833.532] (II) UnloadModule: "glamoregl"
[267833.532] (II) Unloading glamoregl
[267833.532] (EE) Failed to load module "glamoregl" (module does not exist, 0)
[267833.532] (II) LoadModule: "glx"
[267833.532] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[267833.541] (II) Module glx: vendor="NVIDIA Corporation"
[267833.541] 	compiled for 4.0.2, module version = 1.0.0
[267833.541] 	Module class: X.Org Server Extension
[267833.541] (II) NVIDIA GLX Module  346.59  Tue Mar 31 13:38:58 PDT 2015
[267833.546] Loading extension GLX
[267833.546] (==) Matched nouveau as autoconfigured driver 0
[267833.546] (==) Matched modesetting as autoconfigured driver 1
[267833.546] (==) Matched fbdev as autoconfigured driver 2
[267833.546] (==) Matched vesa as autoconfigured driver 3
[267833.546] (==) Assigned the driver to the xf86ConfigLayout
[267833.546] (II) LoadModule: "nouveau"
[267833.546] (WW) Warning, couldn't open module nouveau
[267833.546] (II) UnloadModule: "nouveau"
[267833.546] (II) Unloading nouveau
[267833.546] (EE) Failed to load module "nouveau" (module does not exist, 0)
[267833.546] (II) LoadModule: "modesetting"
[267833.546] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[267833.622] (II) Module modesetting: vendor="X.Org Foundation"
[267833.622] 	compiled for 1.15.0, module version = 0.8.0
[267833.622] 	Module class: X.Org Video Driver
[267833.622] 	ABI class: X.Org Video Driver, version 15.0
[267833.622] (II) LoadModule: "fbdev"
[267833.622] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[267833.624] (II) Module fbdev: vendor="X.Org Foundation"
[267833.624] 	compiled for 1.15.0, module version = 0.4.3
[267833.624] 	Module class: X.Org Video Driver
[267833.624] 	ABI class: X.Org Video Driver, version 15.0
[267833.624] (II) LoadModule: "vesa"
[267833.624] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[267833.630] (II) Module vesa: vendor="X.Org Foundation"
[267833.630] 	compiled for 1.15.0, module version = 2.3.2
[267833.630] 	Module class: X.Org Video Driver
[267833.630] 	ABI class: X.Org Video Driver, version 15.0
[267833.630] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[267833.630] (II) FBDEV: driver for framebuffer: fbdev
[267833.630] (II) VESA: driver for VESA chipsets: vesa
[267833.630] (++) using VT number 1

[267833.633] (II) modesetting(0): using drv /dev/dri/card0
[267833.633] (WW) Falling back to old probe method for fbdev
[267833.633] (II) Loading sub module "fbdevhw"
[267833.633] (II) LoadModule: "fbdevhw"
[267833.633] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[267833.647] (II) Module fbdevhw: vendor="X.Org Foundation"
[267833.647] 	compiled for 1.15.0, module version = 0.0.2
[267833.647] 	ABI class: X.Org Video Driver, version 15.0
[267833.647] (WW) Falling back to old probe method for vesa
[267833.647] (II) modesetting(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[267833.647] (==) modesetting(0): Depth 24, (==) framebuffer bpp 32
[267833.647] (==) modesetting(0): RGB weight 888
[267833.647] (==) modesetting(0): Default visual is TrueColor
[267833.647] (II) modesetting(0): ShadowFB: preferred YES, enabled YES
[267833.648] (II) modesetting(0): Output VGA-0 has no monitor section
[267833.650] (II) modesetting(0): EDID for output VGA-0
[267833.650] (II) modesetting(0): Printing probed modes for output VGA-0
[267833.650] (II) modesetting(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[267833.650] (II) modesetting(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[267833.650] (II) modesetting(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[267833.650] (II) modesetting(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[267833.650] (II) modesetting(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[267833.650] (II) modesetting(0): Output VGA-0 connected
[267833.650] (II) modesetting(0): Using exact sizes for initial modes
[267833.650] (II) modesetting(0): Output VGA-0 using initial mode 1024x768 +0+0
[267833.650] (II) modesetting(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[267833.650] (==) modesetting(0): DPI set to (96, 96)
[267833.650] (II) Loading sub module "fb"
[267833.650] (II) LoadModule: "fb"
[267833.650] (II) Loading /usr/lib64/xorg/modules/libfb.so
[267833.746] (II) Module fb: vendor="X.Org Foundation"
[267833.746] 	compiled for 1.15.0, module version = 1.0.0
[267833.746] 	ABI class: X.Org ANSI C Emulation, version 0.4
[267833.746] (II) Loading sub module "shadow"
[267833.746] (II) LoadModule: "shadow"
[267833.746] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[267833.746] (II) Module shadow: vendor="X.Org Foundation"
[267833.746] 	compiled for 1.15.0, module version = 1.1.0
[267833.746] 	ABI class: X.Org ANSI C Emulation, version 0.4
[267833.746] (II) UnloadModule: "fbdev"
[267833.746] (II) Unloading fbdev
[267833.746] (II) UnloadSubModule: "fbdevhw"
[267833.746] (II) Unloading fbdevhw
[267833.746] (II) UnloadModule: "vesa"
[267833.746] (II) Unloading vesa
[267833.746] (==) Depth 24 pixmap format is 32 bpp
[267833.748] (==) modesetting(0): Backing store enabled
[267833.748] (==) modesetting(0): Silken mouse enabled
[267833.748] (II) modesetting(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[267833.748] (==) modesetting(0): DPMS enabled
[267834.116] (--) RandR disabled
[267834.126] (II) SELinux: Disabled by boolean
[267834.137] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[267834.137] (II) modesetting(0): Damage tracking initialized
[267834.137] (II) modesetting(0): Setting screen physical size to 270 x 203
[267834.463] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[267834.463] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[267834.463] (**) Power Button: Applying InputClass "system-keyboard"
[267834.463] (II) LoadModule: "evdev"
[267834.463] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[267834.500] (II) Module evdev: vendor="X.Org Foundation"
[267834.500] 	compiled for 1.15.0, module version = 2.8.2
[267834.500] 	Module class: X.Org XInput Driver
[267834.500] 	ABI class: X.Org XInput driver, version 20.0
[267834.500] (II) Using input driver 'evdev' for 'Power Button'
[267834.500] (**) Power Button: always reports core events
[267834.500] (**) evdev: Power Button: Device: "/dev/input/event0"
[267834.500] (--) evdev: Power Button: Vendor 0 Product 0x1
[267834.500] (--) evdev: Power Button: Found keys
[267834.500] (II) evdev: Power Button: Configuring as keyboard
[267834.500] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[267834.500] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[267834.500] (**) Option "xkb_rules" "evdev"
[267834.500] (**) Option "xkb_model" "pc104"
[267834.500] (**) Option "xkb_layout" "us"
[267834.528] (II) config/udev: Adding drm device (/dev/dri/card1)
[267834.528] (II) config/udev: Adding input device Avocent Keyboard/Mouse Function (/dev/input/event1)
[267834.528] (**) Avocent Keyboard/Mouse Function: Applying InputClass "evdev keyboard catchall"
[267834.528] (**) Avocent Keyboard/Mouse Function: Applying InputClass "system-keyboard"
[267834.528] (II) Using input driver 'evdev' for 'Avocent Keyboard/Mouse Function'
[267834.528] (**) Avocent Keyboard/Mouse Function: always reports core events
[267834.528] (**) evdev: Avocent Keyboard/Mouse Function: Device: "/dev/input/event1"
[267834.528] (--) evdev: Avocent Keyboard/Mouse Function: Vendor 0x624 Product 0x249
[267834.528] (--) evdev: Avocent Keyboard/Mouse Function: Found keys
[267834.528] (II) evdev: Avocent Keyboard/Mouse Function: Configuring as keyboard
[267834.528] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.1/3-12.1:1.0/input/input1/event1"
[267834.528] (II) XINPUT: Adding extended input device "Avocent Keyboard/Mouse Function" (type: KEYBOARD, id 7)
[267834.528] (**) Option "xkb_rules" "evdev"
[267834.528] (**) Option "xkb_model" "pc104"
[267834.528] (**) Option "xkb_layout" "us"
[267834.529] (II) config/udev: Adding input device Avocent Keyboard/Mouse Function (/dev/input/event2)
[267834.529] (**) Avocent Keyboard/Mouse Function: Applying InputClass "evdev pointer catchall"
[267834.529] (II) Using input driver 'evdev' for 'Avocent Keyboard/Mouse Function'
[267834.529] (**) Avocent Keyboard/Mouse Function: always reports core events
[267834.529] (**) evdev: Avocent Keyboard/Mouse Function: Device: "/dev/input/event2"
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Vendor 0x624 Product 0x249
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found 3 mouse buttons
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found scroll wheel(s)
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found relative axes
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found absolute axes
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found x and y absolute axes
[267834.529] (--) evdev: Avocent Keyboard/Mouse Function: Found absolute touchscreen
[267834.529] (II) evdev: Avocent Keyboard/Mouse Function: Configuring as touchscreen
[267834.529] (II) evdev: Avocent Keyboard/Mouse Function: Adding scrollwheel support
[267834.529] (**) evdev: Avocent Keyboard/Mouse Function: YAxisMapping: buttons 4 and 5
[267834.529] (**) evdev: Avocent Keyboard/Mouse Function: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[267834.529] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.1/3-12.1:1.1/input/input2/event2"
[267834.529] (II) XINPUT: Adding extended input device "Avocent Keyboard/Mouse Function" (type: TOUCHSCREEN, id 8)
[267834.529] (WW) evdev: Avocent Keyboard/Mouse Function: touchpads, tablets and touchscreens ignore relative axes.
[267834.529] (II) evdev: Avocent Keyboard/Mouse Function: initialized for absolute axes.
[267834.529] (**) Avocent Keyboard/Mouse Function: (accel) keeping acceleration scheme 1
[267834.529] (**) Avocent Keyboard/Mouse Function: (accel) acceleration profile 0
[267834.529] (**) Avocent Keyboard/Mouse Function: (accel) acceleration factor: 2.000
[267834.529] (**) Avocent Keyboard/Mouse Function: (accel) acceleration threshold: 4
[267834.530] (II) config/udev: Adding input device Avocent Keyboard/Mouse Function (/dev/input/mouse0)
[267834.530] (II) No input driver specified, ignoring this device.
[267834.530] (II) This device may have been added with another device file.
[267834.530] (II) config/udev: Adding input device Avocent Keyboard/Mouse Function (/dev/input/event3)
[267834.530] (**) Avocent Keyboard/Mouse Function: Applying InputClass "evdev pointer catchall"
[267834.530] (II) Using input driver 'evdev' for 'Avocent Keyboard/Mouse Function'
[267834.530] (**) Avocent Keyboard/Mouse Function: always reports core events
[267834.530] (**) evdev: Avocent Keyboard/Mouse Function: Device: "/dev/input/event3"
[267834.530] (--) evdev: Avocent Keyboard/Mouse Function: Vendor 0x624 Product 0x249
[267834.530] (--) evdev: Avocent Keyboard/Mouse Function: Found 3 mouse buttons
[267834.530] (--) evdev: Avocent Keyboard/Mouse Function: Found scroll wheel(s)
[267834.530] (--) evdev: Avocent Keyboard/Mouse Function: Found relative axes
[267834.530] (--) evdev: Avocent Keyboard/Mouse Function: Found x and y relative axes
[267834.530] (II) evdev: Avocent Keyboard/Mouse Function: Configuring as mouse
[267834.530] (II) evdev: Avocent Keyboard/Mouse Function: Adding scrollwheel support
[267834.530] (**) evdev: Avocent Keyboard/Mouse Function: YAxisMapping: buttons 4 and 5
[267834.530] (**) evdev: Avocent Keyboard/Mouse Function: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[267834.530] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.1/3-12.1:1.2/input/input3/event3"
[267834.530] (II) XINPUT: Adding extended input device "Avocent Keyboard/Mouse Function" (type: MOUSE, id 9)
[267834.530] (II) evdev: Avocent Keyboard/Mouse Function: initialized for relative axes.
[267834.531] (**) Avocent Keyboard/Mouse Function: (accel) keeping acceleration scheme 1
[267834.531] (**) Avocent Keyboard/Mouse Function: (accel) acceleration profile 0
[267834.531] (**) Avocent Keyboard/Mouse Function: (accel) acceleration factor: 2.000
[267834.531] (**) Avocent Keyboard/Mouse Function: (accel) acceleration threshold: 4
[267834.531] (II) config/udev: Adding input device Avocent Keyboard/Mouse Function (/dev/input/mouse1)
[267834.531] (II) No input driver specified, ignoring this device.
[267834.531] (II) This device may have been added with another device file.
[267834.531] (II) config/udev: Adding drm device (/dev/dri/card0)
[267834.531] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[267834.531] (II) No input driver specified, ignoring this device.
[267834.531] (II) This device may have been added with another device file.
Any further clues?

Thanks very much

SC

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Install CentOS 7 on R730 with GPU

Post by chemal » 2015/05/24 17:32:27

Two remarks: 1) You shouldn't have used the installer from nvidia's web site. Elrepo has properly packaged RPMs for CentOS 7. 2) You don't need to run X if you only want to use cuda. Only the nvidia kernel module needs to be loaded, which should happen automatically after driver installation.

scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Re: Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/25 04:00:02

Hi there,

I need to run X as I have Matlab installed for image & signal processing. Do you have idea why X cannot start in this scenario?

Thanks in advance.

SC

scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Re: Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/25 05:46:54

Hi There,

Once again, I reinstalled CentOS7 and applied ELrepo version of kmod-nvidia, but the X still cannot start. Here is again my rough installation procedure:

1. Install CentOS 7.1 using everything ISO via iDrac 8
2. Switch to multi-user target and reboot
3. Without update kernel, i run : yum erase xorg-x11-glamor xorg-x11-drv-nouveau
4. Run : yum install http://www.elrepo.org/elrepo-release-7. ... noarch.rpm
5. Run : yum install nvidia-detect and the output of nvidia-detect is kmod-nvidia
6. Run : yum install kmod-nvidia nvidia-x11-drv
7. Run : yum upgrade to use an updated kernel with nouveau removed and kmod-nvidia installed.
8. Reboot and run startx, no hope!

Again, I attached the Xorg.0.log here:

Code: Select all

[   479.006] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[   479.006] X Protocol Version 11, Revision 0
[   479.006] Build Operating System:  2.6.32-220.17.1.el6.x86_64 
[   479.007] Current Operating System: Linux r730.localhost 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64
[   479.007] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-229.4.2.el7.x86_64 root=/dev/mapper/centos_r730-root ro crashkernel=auto rd.lvm.lv=centos_r730/swap rd.lvm.lv=centos_r730/root rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau systemd.debug
[   479.008] Build Date: 10 April 2015  11:44:42AM
[   479.008] Build ID: xorg-x11-server 1.15.0-33.el7_1 
[   479.009] Current version of pixman: 0.32.4
[   479.009] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   479.009] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   479.010] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 25 13:30:12 2015
[   479.046] (==) Using config file: "/etc/X11/xorg.conf"
[   479.047] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   479.047] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   479.109] (==) No Layout section.  Using the first Screen section.
[   479.109] (==) No screen section available. Using defaults.
[   479.109] (**) |-->Screen "Default Screen Section" (0)
[   479.109] (**) |   |-->Monitor "<default monitor>"
[   479.110] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   479.110] (**) |   |-->Device "Videocard0"
[   479.110] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   479.110] (==) Automatically adding devices
[   479.110] (==) Automatically enabling devices
[   479.110] (==) Automatically adding GPU devices
[   479.110] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[   479.110] (**) ModulePath set to "/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules"
[   479.110] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   479.110] (II) Loader magic: 0x7f8ddec3d020
[   479.110] (II) Module ABI versions:
[   479.110] 	X.Org ANSI C Emulation: 0.4
[   479.110] 	X.Org Video Driver: 15.0
[   479.110] 	X.Org XInput driver : 20.0
[   479.110] 	X.Org Server Extension : 8.0
[   479.111] (II) xfree86: Adding drm device (/dev/dri/card1)
[   479.112] (II) xfree86: Adding drm device (/dev/dri/card0)
[   479.129] (--) PCI: (0:4:0:0) 10de:1021:10de:097d rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, BIOS @ 0x????????/65536
[   479.129] (--) PCI:*(0:10:0:0) 102b:0534:1028:0600 rev 1, Mem @ 0xa2000000/16777216, 0xa4800000/16384, 0xa4000000/8388608, BIOS @ 0x????????/131072
[   479.129] Initializing built-in extension Generic Event Extension
[   479.130] Initializing built-in extension SHAPE
[   479.130] Initializing built-in extension MIT-SHM
[   479.130] Initializing built-in extension XInputExtension
[   479.130] Initializing built-in extension XTEST
[   479.130] Initializing built-in extension BIG-REQUESTS
[   479.130] Initializing built-in extension SYNC
[   479.137] Initializing built-in extension XKEYBOARD
[   479.144] Initializing built-in extension XC-MISC
[   479.150] Initializing built-in extension XINERAMA
[   479.157] Initializing built-in extension XFIXES
[   479.163] Initializing built-in extension RENDER
[   479.169] Initializing built-in extension RANDR
[   479.176] Initializing built-in extension COMPOSITE
[   479.182] Initializing built-in extension DAMAGE
[   479.187] Initializing built-in extension MIT-SCREEN-SAVER
[   479.193] Initializing built-in extension DOUBLE-BUFFER
[   479.199] Initializing built-in extension RECORD
[   479.204] Initializing built-in extension DPMS
[   479.210] Initializing built-in extension Present
[   479.215] Initializing built-in extension X-Resource
[   479.220] Initializing built-in extension XVideo
[   479.225] Initializing built-in extension XVideo-MotionCompensation
[   479.230] Initializing built-in extension SELinux
[   479.235] Initializing built-in extension XFree86-VidModeExtension
[   479.240] Initializing built-in extension XFree86-DGA
[   479.245] Initializing built-in extension XFree86-DRI
[   479.250] Initializing built-in extension DRI2
[   479.250] (II) LoadModule: "glx"
[   479.288] (II) Loading /usr/lib64/xorg/modules/extensions/nvidia/libglx.so
[   479.841] (II) Module glx: vendor="NVIDIA Corporation"
[   479.841] 	compiled for 4.0.2, module version = 1.0.0
[   479.841] 	Module class: X.Org Server Extension
[   479.849] (II) NVIDIA GLX Module  346.59  Tue Mar 31 13:38:58 PDT 2015
[   479.869] Loading extension GLX
[   479.869] (II) LoadModule: "nvidia"
[   479.897] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   479.968] (II) Module nvidia: vendor="NVIDIA Corporation"
[   479.968] 	compiled for 4.0.2, module version = 1.0.0
[   479.968] 	Module class: X.Org Video Driver
[   479.976] (II) NVIDIA dlloader X Driver  346.59  Tue Mar 31 13:17:41 PDT 2015
[   479.976] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   479.986] (++) using VT number 1

[   479.989] (EE) No devices detected.
[   479.989] (EE) 
Fatal server error:
[   479.989] (EE) no screens found(EE) 
[   479.989] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   479.989] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   479.989] (EE) 
Thanks very much for any help in advance.

SC

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Install CentOS 7 on R730 with GPU

Post by chemal » 2015/05/25 18:45:42

That Dell is located in your machine room, nobody is sitting in front of it, right? Then you don't need to run an X server there (neither for cuda nor for Matlab), unless you also want to use the Tesla for remote visualisation via VirtualGL or something similar. You also cannot run an X server on the built-in matrox chip after you installed the nvidia drivers because you are now using nvidia's OpenGL stack.

So your options are:

1) Don't run a (real) X server on this machine,

2) Configure X to use the Teslas only.

Option 2 requires a specially crafted xorg.conf and (the easiest way) a plain X server not managed by any display manager. If you don't want to do remote visualisation, option 1 is the way to go.

scyau
Posts: 8
Joined: 2015/05/21 17:39:39

Re: Install CentOS 7 on R730 with GPU

Post by scyau » 2015/05/26 11:58:35

Thanks very much for your kind advice.

I opted the first option, i.e. no X server. though I need more effort in administering that server.

By the way, is there any relevant resources that I can still start X on the built-in matrox display output? I don't know if the remote visualization is needed in future.

Thanks

SC

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Install CentOS 7 on R730 with GPU

Post by chemal » 2015/05/26 16:39:38

I have a similar machine with a built-in Matrox chip and two Teslas. The Matrox was once convenient to run the graphical installer. But since then, it only drives a text mode console. I don't know why you would want to run an X server on it. It might be possible to do it, but I've never tried it and there will be problems. What I did was to setup X for the Teslas with VirtualGL, so that's something I could offer some details.

If you want to have a full desktop for administrative work, you'd better use a VNC server instead of mirroring a console desktop session via KVM (or whatever you have in mind).

While we're at it: as for installing cuda, my recommendations for doing it are here:

viewtopic.php?f=14&t=44262#p188496

Post Reply