after installing CUDA drivers, console goes blank, Centos 6.10

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by TrevorH » 2019/07/25 15:50:28

You are still using the 'nv' driver for your nvidia card. That's nouveau. Perhaps you meant 'nvidia'?
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

RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by RobbieTheK » 2019/07/25 15:55:43

This is just what was created after reboot, where would I change that?

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by TrevorH » 2019/07/25 16:28:23

It's in your xorg.conf file that you just posted.
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

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by chemal » 2019/07/25 17:13:17

It seems you also haven't taken the advice to use elrepo's rpms. Otherwise your Xorg log would show a different kernel command line.

RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by RobbieTheK » 2019/07/25 18:29:32

chemal wrote:
2019/07/25 17:13:17
It seems you also haven't taken the advice to use elrepo's rpms. Otherwise your Xorg log would show a different kernel command line.
Since we are using Rocks Cluster I wasn't sure of any conflicts that might happen enabling them, as for example. kernel-devel was already there and enabling elrepo caused another kernel-devel to install.

RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by RobbieTheK » 2019/07/25 18:31:34

TrevorH wrote:
2019/07/25 15:50:28
You are still using the 'nv' driver for your nvidia card. That's nouveau. Perhaps you meant 'nvidia'?
I see now, I added

Code: Select all

nomodeset 
into

Code: Select all

/boot/grub/grub.conf
, I'll have to check when I'm on site if either the NVIDIA card's DisplayPort or in the internal VGA now work. That's all I really care about.

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by chemal » 2019/07/25 19:07:00

RobbieTheK wrote:
2019/07/25 18:29:32
enabling elrepo caused another kernel-devel to install.
The driver rpms from elrepo don't require kernel-devel at all. Only rebuilding from the source rpm requires a kernel-devel package. You are of course supposed to deploy the ready-made binary rpm. It will also contain an xorg.conf to which you just have to add the BusID line.

Your addition of 'nomodeset' won't make anything work.

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by TrevorH » 2019/07/25 20:28:58

Sounds like you enabled the disabled-by-default elrepo-kernel repo and were being offered their kernel-ml packages. That repo should be disabled unless you want to change kernels.
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

RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by RobbieTheK » 2019/07/31 15:31:14

After a reboot, I am at least now able to use the NVIDIA with the bare bones non-GUI console. Running startx fails with:

Code: Select all

[216126.163] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[216126.164] X Protocol Version 11, Revision 0
[216126.164] Build Operating System: x86-01 3.10.0-693.17.1.el7.x86_64 
[216126.165] Current Operating System: Linux puppet.cis.fordham.edu 2.6.32-754.6.3.el6.x86_64 #1 SMP Tue Oct 9 17:27:49 UTC 2018 x86_64
[216126.165] Kernel command line: ro root=UUID=353257d1-738d-446e-8852-f74154ae80ab rd_NO_LUKS rd_NO_LVM LANG=en_US.iso885915 rd_NO_MD SYSFONT=lat0-sun16  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet crashkernel=131M@48M nomodeset
[216126.165] Build Date: 19 June 2018  03:15:18PM
[216126.166] Build ID: xorg-x11-server 1.17.4-17.el6.centos 
[216126.166] Current version of pixman: 0.32.8
[216126.166] 	Before reporting problems, check https://wiki.centos.org/Documentation
	to make sure that you have the latest version.
[216126.166] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[216126.168] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 31 09:08:27 2019
[216126.168] (==) Using config file: "/etc/X11/xorg.conf"
[216126.169] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[216126.174] (==) No Layout section.  Using the first Screen section.
[216126.174] (==) No screen section available. Using defaults.
[216126.174] (**) |-->Screen "Default Screen Section" (0)
[216126.174] (**) |   |-->Monitor "<default monitor>"
[216126.174] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[216126.174] (**) |   |-->Device "Videocard0"
[216126.174] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[216126.174] (==) Automatically adding devices
[216126.174] (==) Automatically enabling devices
[216126.174] (==) Not automatically adding GPU devices
[216126.175] (==) Max clients allowed: 256, resource mask: 0x1fffff
[216126.175] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[216126.175] (==) ModulePath set to "/usr/lib64/xorg/modules"
[216126.175] (II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
[216126.175] (II) Loader magic: 0x5582f94bb020
[216126.175] (II) Module ABI versions:
[216126.175] 	X.Org ANSI C Emulation: 0.4
[216126.175] 	X.Org Video Driver: 19.0
[216126.175] 	X.Org XInput driver : 21.0
[216126.175] 	X.Org Server Extension : 9.0
[216126.178] (--) PCI: (0:1:4:0) 102b:0532:15d9:bc11 rev 10, Mem @ 0xdb000000/16777216, 0xddffc000/16384, 0xde000000/8388608, BIOS @ 0x????????/65536
[216126.178] (--) PCI:*(0:3:0:0) 10de:1c81:1458:3747 rev 161, Mem @ 0xdf000000/16777216, 0xc0000000/268435456, 0xbe000000/33554432, I/O @ 0x0000d800/128, BIOS @ 0x????????/524288
[216126.178] (II) LoadModule: "glx"
[216126.184] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[216126.274] (II) Module glx: vendor="X.Org Foundation"
[216126.274] 	compiled for 1.17.4, module version = 1.0.0
[216126.274] 	ABI class: X.Org Server Extension, version 9.0
[216126.274] (==) AIGLX enabled
[216126.274] (II) LoadModule: "nvidia"
[216126.274] (WW) Warning, couldn't open module nvidia
[216126.274] (II) UnloadModule: "nvidia"
[216126.274] (II) Unloading nvidia
[216126.275] (EE) Failed to load module "nvidia" (module does not exist, 0)
[216126.275] (EE) No drivers available.
[216126.275] (EE) 
Fatal server error:
[216126.275] (EE) no screens found(EE) 
The internal VGA still does not work, black screen.

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

Re: after installing CUDA drivers, console goes blank, Centos 6.10

Post by TrevorH » 2019/07/31 15:32:57

[216126.274] (WW) Warning, couldn't open module nvidia
So apparently you do not have the nvidia proprietary driver installed.
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

Post Reply