[elrepo] nvidia and centos7

doug schmidt douglas.j.schmidt at gmail.com
Sun Jul 8 14:02:24 EDT 2018


Hi,
Trying to get centos7 installed on my laptop (Thinkpad P70). Currently,
windows10 is installed on main sata hdd. I'm installing centos7 to a usb
thumb drive. Once everything is working, I'll reinstall centos on an
external sdd and have dual boot system. The install is fine (well not
really yet) (using centos7 minimal .iso) I'm able to yum update all updates
and upgrade kernel. 3.10.0.862.6.3.el7. I installed gnome desktop.
Currently, the bios graphics is set to hybrid graphics and secure boot is
disabled. gnome was working prior to nvidia driver setup.

Issues I ran into, initial OS install locked up, I restarted the install,
that completed.
During yum install of updates and kernel the system would freeze every now
and then and then would unfreeze and I was able to input commands again at
the prompt. Searching around about the freezing, I found nouveau might be
the issue and to blacklist it and install nvidia drivers. The install went
good, see attached output, just seems something is not right in the
configuration. I have used nvidia-xconfig for xorg.conf

I'm having an issue when using startx; screen found, but none have a usable
configuration. In the xorg.2.log output (attached) I'm able to ctrl+c then
get control
back at the prompt. If I set AllowEmptyInitialConfiguration, reboot, startx
it locks up, I'm able to ssh into my laptop then reboot. Even with nouveau
blacklisted and nvidia drivers loaded, the system still freezes momentarily
(10-15 seconds) then I have control at the prompt again. This freezing
happens quite a few times.

The output in nvidia.driver.txt (attached) should be ok, I just needed to
fix formatting from transferring it from cent -> win.

Any suggestions/ideas on what I can try to get x/gnome working and also the
system freezes?

Thanks
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20180708/14d5b88d/attachment.html>
-------------- next part --------------
uname -r

3.10.0-862.6.3.el7.x86_64



rpm -qa | grep -i kernel

kernel-3.10.0-862.6.3.el7.x86_64

kernel-devel-3.10.0-862.6.3.el7.x86_64

kernel-3.10.0-862.el7.x86_64

kernel-tools-libs-3.10.0-862.6.3.el7.x86_64

abrt-addon-kerneloops-2.1.11-50.el7.centos.x86_64

kernel-headers-3.10.0-862.6.3.el7.x86_64

kernel-tools-3.10.0-862.6.3.el7.x86_64



lspci | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation HD Graphics P530 (rev 06)

01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M600M] (rev a2)



nvidia-detect

kmod-nvidia

An Intel display adaptor was also detected



rpm -qa | grep -i nvidia
kmod-nvidia-390.67-1.el7_5.elrepo.x86_64

yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch

nvidia-x11-drv-390.67-1.el7_5.elrepo.x86_64

nvidia-detect-390.59-1.el7.elrepo.x86_64



lsmod | grep -i nvidia

nvidia_drm             39676  0 

nvidia_modeset       1104417  1 nvidia_drm

nvidia              14364138  1 nvidia_modeset

drm_kms_helper        177166  2 i915,nvidia_drm

drm                   397988  4 i915,drm_kms_helper,nvidia_drm

ipmi_msghandler        46608  2 ipmi_devintf,nvidia

i2c_core               63151  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev



nvidia-smi

Sun Jul  8 10:36:46 2018

+-----------------------------------------------------------------------------+

| NVIDIA-SMI 390.67                 Driver Version: 390.67                    |

|-------------------------------+----------------------+----------------------+

| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |

| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |

|===============================+======================+======================|

|   0  Quadro M600M        Off  | 00000000:01:00.0 Off |                  N/A |

| N/A   52C    P0    N/A /  N/A |      0MiB /  2002MiB |      0%      Default |

+-------------------------------+----------------------+----------------------+

                                                                               
+-----------------------------------------------------------------------------+

| Processes:                                                       GPU Memory |

|  GPU       PID   Type   Process name                             Usage      |

|=============================================================================|

|  No running processes found                                                 |

+-----------------------------------------------------------------------------+

modinfo nvidia | egrep -i 'filename|version'

filename:       /lib/modules/3.10.0-862.6.3.el7.x86_64/weak-updates/nvidia/nvidia.ko

version:        390.67

rhelversion:    7.5

srcversion:     209B1D0CB123DE466F700AD

vermagic:       3.10.0-862.el7.x86_64 SMP mod_unload modversions 



cat /etc/default/grub | grep nouveau

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev"



cat /etc/sysconfig/grub | grep nouveau

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev"



cat /usr/lib/modprobe.d/blacklist-nouveau.conf | grep blacklist

# /usr/lib/modprobe.d/blacklist-nouveau.conf provided by http://elrepo.org

blacklist nouveau



dmesg | egrep -i 'nvidia|nouveau|elrepo'

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.6.3.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev

[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.6.3.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev

[    2.087168] Request for unknown module key 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key: f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11

[    2.087177] nvidia: loading out-of-tree module taints kernel.

[    2.087181] nvidia: module license 'NVIDIA' taints kernel.

[    2.142125] nvidia: module verification failed: signature and/or required key missing - tainting kernel

[    2.196159] nvidia-nvlink: Nvlink Core is being initialized, major device number 240

[    2.196388] nvidia 0000:01:00.0: enabling device (0000 -> 0003)

[    2.196576] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.67  Fri Jun  1 04:04:27 PDT 2018 (using threaded interrupts)

[    2.197037] Request for unknown module key 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key: f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11

[    2.199105] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.67  Fri Jun  1 03:15:43 PDT 2018

[    2.199816] Request for unknown module key 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key: f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11

[    2.200845] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver

[    2.200847] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0



cat /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig:  version 390.67  (buildmeister at swio-display-x64-rhel04-18)  Fri Jun  1 04:26:22 PDT 2018


# /etc/X11/nvidia-xorg.conf provided by http://elrepo.org


Section "ServerLayout"


    Identifier     "Default Layout"

    Screen      0  "Screen0"

    InputDevice    "Keyboard0" "CoreKeyboard"

    InputDevice    "Mouse0" "CorePointer"

EndSection



Section "InputDevice"



    # generated from default

    Identifier     "Keyboard0"

    Driver         "keyboard"

EndSection



Section "InputDevice"



    # generated from default

    Identifier     "Mouse0"

    Driver         "mouse"

    Option         "Protocol" "auto"

    Option         "Device" "/dev/input/mice"

    Option         "Emulate3Buttons" "no"

    Option         "ZAxisMapping" "4 5"

EndSection



Section "Monitor"


    Identifier     "Monitor0"

    VendorName     "Unknown"

    ModelName      "Unknown"

    HorizSync       28.0 - 33.0

    VertRefresh     43.0 - 72.0

    Option         "DPMS"

EndSection



Section "Device"


    Identifier     "Device0"

    Driver         "nvidia"

    VendorName     "NVIDIA Corporation"

    BoardName      "Quadro M600M"

    BusID          "PCI:1:0:0"

EndSection



Section "Screen"

    Identifier     "Screen0"

    Device         "Device0"

    Monitor        "Monitor0"

    DefaultDepth    24

    SubSection     "Display"

        Depth       24

    EndSubSection

EndSection



starx

xauth:  file /home/doug/.serverauth.3142 does not exist




X.Org X Server 1.19.5

Release Date: 2017-10-12

X Protocol Version 11, Revision 0

Build Operating System:  3.10.0-693.17.1.el7.x86_64 

Current Operating System: Linux localhost.localdomain 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 16:32:21 UTC 2018 x86_64

Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.6.3.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev

Build Date: 11 April 2018  04:40:54PM

Build ID: xorg-x11-server 1.19.5-5.el7 

Current version of pixman: 0.34.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.2.log", Time: Sun Jul  8 09:26:59 2018

(==) Using config file: "/etc/X11/xorg.conf"

(==) Using config directory: "/etc/X11/xorg.conf.d"

(==) Using system config directory "/usr/share/X11/xorg.conf.d"

(EE) 

Fatal server error:

(EE) no screens found(EE) 
(EE) 

Please consult the The X.Org Foundation support
 
	 at http://wiki.x.org

 for help. 

(EE) Please also check the log file at "/var/log/Xorg.2.log" for additional information.

(EE) 

(EE) Server terminated with error (1). Closing log file.

xinit: giving up

xinit: unable to connect to X server: Connection refused

xinit: unexpected signal 2



cat /var/log/Xorg.2.log

[  2947.241] 

X.Org X Server 1.19.5

Release Date: 2017-10-12

[  2947.241] X Protocol Version 11, Revision 0

[  2947.241] Build Operating System:  3.10.0-693.17.1.el7.x86_64 

[  2947.241] Current Operating System: Linux localhost.localdomain 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 16:32:21 UTC 2018 x86_64

[  2947.241] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.6.3.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev

[  2947.241] Build Date: 11 April 2018  04:40:54PM

[  2947.241] Build ID: xorg-x11-server 1.19.5-5.el7 

[  2947.241] Current version of pixman: 0.34.0

[  2947.241] 	Before reporting problems, check http://wiki.x.org

	to make sure that you have the latest version.

[  2947.241] Markers: (--) probed, (**) from config file, (==) default setting,

	(++) from command line, (!!) notice, (II) informational,

	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[  2947.241] (==) Log file: "/var/log/Xorg.2.log", Time: Sun Jul  8 09:26:59 2018

[  2947.241] (==) Using config file: "/etc/X11/xorg.conf"

[  2947.241] (==) Using config directory: "/etc/X11/xorg.conf.d"

[  2947.241] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[  2947.241] (==) ServerLayout "Default Layout"

[  2947.241] (**) |-->Screen "Screen0" (0)

[  2947.241] (**) |   |-->Monitor "Monitor0"

[  2947.241] (**) |   |-->Device "Device0"

[  2947.241] (**) |-->Input Device "Keyboard0"

[  2947.241] (**) |-->Input Device "Mouse0"

[  2947.241] (==) Automatically adding devices

[  2947.241] (==) Automatically enabling devices

[  2947.241] (==) Automatically adding GPU devices

[  2947.241] (==) Automatically binding GPU devices

[  2947.241] (==) Max clients allowed: 256, resource mask: 0x1fffff

[  2947.241] (==) FontPath set to:

	catalogue:/etc/X11/fontpath.d,

	built-ins

[  2947.241] (**) ModulePath set to "/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules"

[  2947.241] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.

[  2947.241] (WW) Disabling Keyboard0

[  2947.241] (WW) Disabling Mouse0

[  2947.241] (II) Loader magic: 0x555f610de020

[  2947.241] (II) Module ABI versions:

[  2947.241] 	X.Org ANSI C Emulation: 0.4

[  2947.241] 	X.Org Video Driver: 23.0

[  2947.241] 	X.Org XInput driver : 24.1

[  2947.241] 	X.Org Server Extension : 10.0

[  2947.242] (II) xfree86: Adding drm device (/dev/dri/card0)

[  2947.242] (II) xfree86: Adding drm device (/dev/dri/card1)

[  2947.266] (--) PCI:*(0:0:2:0) 8086:191d:17aa:222d rev 6, Mem @ 0xc2000000/16777216, 0x60000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072

[  2947.266] (--) PCI: (0:1:0:0) 10de:13b2:17aa:222d rev 162, Mem @ 0xc3000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288

[  2947.266] (II) LoadModule: "glx"

[  2947.266] (II) Loading /usr/lib64/xorg/modules/extensions/nvidia/libglx.so

[  2947.274] (II) Module glx: vendor="NVIDIA Corporation"

[  2947.274] 	compiled for 4.0.2, module version = 1.0.0

[  2947.274] 	Module class: X.Org Server Extension

[  2947.274] (II) NVIDIA GLX Module  390.67  Fri Jun  1 03:10:40 PDT 2018

[  2947.274] (II) LoadModule: "nvidia"

[  2947.274] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so

[  2947.274] (II) Module nvidia: vendor="NVIDIA Corporation"

[  2947.274] 	compiled for 4.0.2, module version = 1.0.0

[  2947.274] 	Module class: X.Org Video Driver

[  2947.274] (II) NVIDIA dlloader X Driver  390.67  Fri Jun  1 02:45:19 PDT 2018

[  2947.274] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[  2947.274] (++) using VT number 1


[  2947.274] (II) Loading sub module "fb"

[  2947.274] (II) LoadModule: "fb"

[  2947.275] (II) Loading /usr/lib64/xorg/modules/libfb.so

[  2947.275] (II) Module fb: vendor="X.Org Foundation"

[  2947.275] 	compiled for 1.19.5, module version = 1.0.0

[  2947.275] 	ABI class: X.Org ANSI C Emulation, version 0.4

[  2947.275] (II) Loading sub module "wfb"

[  2947.275] (II) LoadModule: "wfb"

[  2947.275] (II) Loading /usr/lib64/xorg/modules/libwfb.so

[  2947.275] (II) Module wfb: vendor="X.Org Foundation"

[  2947.275] 	compiled for 1.19.5, module version = 1.0.0

[  2947.275] 	ABI class: X.Org ANSI C Emulation, version 0.4

[  2947.275] (II) Loading sub module "ramdac"

[  2947.275] (II) LoadModule: "ramdac"

[  2947.275] (II) Module "ramdac" already built-in

[  2947.276] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32

[  2947.276] (==) NVIDIA(0): RGB weight 888

[  2947.276] (==) NVIDIA(0): Default visual is TrueColor

[  2947.276] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)

[  2947.276] (**) NVIDIA(0): Enabling 2D acceleration

[  2947.680] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0

[  2947.680] (--) NVIDIA(0):     DFP-0

[  2947.680] (--) NVIDIA(0):     DFP-1

[  2947.680] (--) NVIDIA(0):     DFP-2

[  2947.680] (--) NVIDIA(0):     DFP-3

[  2947.680] (--) NVIDIA(0):     DFP-4

[  2947.680] (--) NVIDIA(0):     DFP-5

[  2947.694] (II) NVIDIA(0): NVIDIA GPU Quadro M600M (GM107GL-A) at PCI:1:0:0 (GPU-0)

[  2947.694] (--) NVIDIA(0): Memory: 2097152 kBytes

[  2947.694] (--) NVIDIA(0): VideoBIOS: 82.07.82.00.0a

[  2947.694] (II) NVIDIA(0): Detected PCI Express Link width: 16X

[  2947.694] (--) NVIDIA(GPU-0): DFP-0: disconnected

[  2947.694] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS

[  2947.694] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0): 

[  2947.695] (--) NVIDIA(GPU-0): DFP-1: disconnected

[  2947.695] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS

[  2947.695] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0): 

[  2947.695] (--) NVIDIA(GPU-0): DFP-2: disconnected

[  2947.695] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS

[  2947.695] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0):

[  2947.695] (--) NVIDIA(GPU-0): DFP-3: disconnected

[  2947.695] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort

[  2947.695] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0): 

[  2947.695] (--) NVIDIA(GPU-0): DFP-4: disconnected

[  2947.695] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort

[  2947.695] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0): 

[  2947.695] (--) NVIDIA(GPU-0): DFP-5: disconnected

[  2947.695] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort

[  2947.695] (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock

[  2947.695] (--) NVIDIA(GPU-0): 

[  2947.695] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 

[  2947.695] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server

[  2947.695] (EE) NVIDIA(0):     to start anyway

[  2947.695] (EE) NVIDIA(0): Failing initialization of X screen 0

[  2947.745] (II) UnloadModule: "nvidia"

[  2947.745] (II) UnloadSubModule: "wfb"

[  2947.745] (II) UnloadSubModule: "fb"

[  2947.745] (EE) Screen(s) found, but none have a usable configuration.

[  2947.745] (EE) 

Fatal server error:

[  2947.745] (EE) no screens found(EE) 

[  2947.745] (EE) 

Please consult the The X.Org Foundation support
 
	 at http://wiki.x.org
 for help. 

[  2947.745] (EE)
 Please also check the log file at "/var/log/Xorg.2.log" for additional information.

[  2947.745] (EE)

[  2947.801] (EE) Server terminated with error (1). Closing log file.


More information about the elrepo mailing list