You are not logged in.

#1 2022-04-13 16:36:12

greembow
Member
Registered: 2022-02-23
Posts: 35

[SOLVED] Nvidia drivers load, but can't assign a screen

Hi! I have a Dell Precision M6800 with an i7-4940MX and a Nvidia Quadro K3100M. I decided to try and get Optimus working, so I installed bumblebee and primusrun. After setting the BusID in the bumblebee configuration, I verified that it worked with glxinfo. I rebooted, and my boot hung at "[OK] Started Hostname Service". I switched to TTY2 and checked the xorg.0.log file. I had errors about missing screens, so I edited /etc/X11/xorg.conf to include the BusID. I rebooted again, and I got to where I am now. Nvidia detects the card, and then says it can't assign the card to any displays.

Xorg log:

[    10.968] (--) Log file renamed from "/var/log/Xorg.pid-603.log" to "/var/log/Xorg.0.log"
[    10.968] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    10.968] Current Operating System: Linux CrackBook 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64
[    10.968] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f2e608d0-c2dc-474a-9381-96acc1064d5d rw loglevel=3
[    10.968]  
[    10.968] Current version of pixman: 0.40.0
[    10.968] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.968] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.968] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 13 09:19:24 2022
[    10.968] (==) Using config file: "/etc/X11/xorg.conf"
[    10.968] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.968] (==) ServerLayout "Layout0"
[    10.968] (**) |-->Screen "Screen0" (0)
[    10.968] (**) |   |-->Monitor "Monitor0"
[    10.968] (**) |   |-->Device "Device0"
[    10.968] (**) |-->Input Device "Keyboard0"
[    10.968] (**) |-->Input Device "Mouse0"
[    10.968] (==) Automatically adding devices
[    10.968] (==) Automatically enabling devices
[    10.968] (==) Automatically adding GPU devices
[    10.968] (==) Automatically binding GPU devices
[    10.968] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.968] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    10.968] 	Entry deleted from font path.
[    10.968] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    10.968] 	Entry deleted from font path.
[    10.968] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    10.968] 	Entry deleted from font path.
[    10.968] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    10.968] (**) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[    10.968] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    10.968] (WW) Disabling Keyboard0
[    10.968] (WW) Disabling Mouse0
[    10.968] (II) Module ABI versions:
[    10.968] 	X.Org ANSI C Emulation: 0.4
[    10.968] 	X.Org Video Driver: 25.2
[    10.968] 	X.Org XInput driver : 24.4
[    10.968] 	X.Org Server Extension : 10.0
[    10.969] (++) using VT number 1

[    10.969] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.969] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.969] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    10.983] (--) PCI:*(0@0:2:0) 8086:0416:1028:05cd rev 6, Mem @ 0xf5400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    10.983] (--) PCI: (1@0:0:0) 10de:11b6:1028:15cd rev 161, Mem @ 0xf4000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    10.983] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    10.983] (II) LoadModule: "glx"
[    10.983] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[    10.986] (II) Module glx: vendor="NVIDIA Corporation"
[    10.986] 	compiled for 4.0.2, module version = 1.0.0
[    10.986] 	Module class: X.Org Server Extension
[    10.986] (II) NVIDIA GLX Module  390.147  Mon Dec 13 13:55:15 UTC 2021
[    10.986] (II) LoadModule: "nvidia"
[    10.986] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    10.987] (II) Module nvidia: vendor="NVIDIA Corporation"
[    10.987] 	compiled for 4.0.2, module version = 1.0.0
[    10.987] 	Module class: X.Org Video Driver
[    10.987] (II) NVIDIA dlloader X Driver  390.147  Mon Dec 13 13:57:26 UTC 2021
[    10.987] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    11.001] (II) Loading sub module "fb"
[    11.001] (II) LoadModule: "fb"
[    11.001] (II) Module "fb" already built-in
[    11.001] (II) Loading sub module "wfb"
[    11.001] (II) LoadModule: "wfb"
[    11.001] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    11.001] (II) Module wfb: vendor="X.Org Foundation"
[    11.001] 	compiled for 1.21.1.3, module version = 1.0.0
[    11.001] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    11.001] (II) Loading sub module "ramdac"
[    11.001] (II) LoadModule: "ramdac"
[    11.001] (II) Module "ramdac" already built-in
[    11.001] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    11.001] (==) NVIDIA(0): RGB weight 888
[    11.002] (==) NVIDIA(0): Default visual is TrueColor
[    11.002] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    11.002] (**) NVIDIA(0): Enabling 2D acceleration
[    11.222] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    11.222] (--) NVIDIA(0):     DFP-0
[    11.222] (--) NVIDIA(0):     DFP-1
[    11.222] (--) NVIDIA(0):     DFP-2
[    11.222] (--) NVIDIA(0):     DFP-3
[    11.222] (--) NVIDIA(0):     DFP-4
[    11.222] (--) NVIDIA(0):     DFP-5
[    11.232] (II) NVIDIA(0): NVIDIA GPU Quadro K3100M (GK104GL) at PCI:1:0:0 (GPU-0)
[    11.232] (--) NVIDIA(0): Memory: 4194304 kBytes
[    11.232] (--) NVIDIA(0): VideoBIOS: 80.04.e8.00.1c
[    11.232] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    11.232] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    11.232] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    11.232] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[    11.232] (--) NVIDIA(GPU-0): 
[    11.232] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    11.232] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    11.232] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    11.232] (--) NVIDIA(GPU-0): 
[    11.233] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    11.233] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    11.233] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    11.233] (--) NVIDIA(GPU-0): 
[    11.233] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    11.233] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    11.233] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
[    11.233] (--) NVIDIA(GPU-0): 
[    11.233] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    11.233] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    11.233] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[    11.233] (--) NVIDIA(GPU-0): 
[    11.233] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    11.233] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    11.233] (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
[    11.233] (--) NVIDIA(GPU-0): 
[    11.233] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[    11.233] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[    11.233] (EE) NVIDIA(0):     to start anyway
[    11.233] (EE) NVIDIA(0): Failing initialization of X screen 0
[    11.282] (II) UnloadModule: "nvidia"
[    11.282] (II) UnloadSubModule: "wfb"
[    11.282] (EE) Screen(s) found, but none have a usable configuration.
[    11.282] (EE) 
Fatal server error:
[    11.282] (EE) no screens found(EE) 
[    11.282] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    11.282] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    11.282] (EE) 
[    11.350] (EE) Server terminated with error (1). Closing log file.

/etc/X11/xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.147  (dvs-builder@U64-E08-29-1)  Mon Dec 13 13:50:12 UTC 2021


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
	ModulePath "/usr/lib/nvidia/xorg"
	ModulePath "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
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"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by greembow (2022-04-13 16:49:56)

Offline

#2 2022-04-13 16:52:39

greembow
Member
Registered: 2022-02-23
Posts: 35

Re: [SOLVED] Nvidia drivers load, but can't assign a screen

Ok so I figured it out. I had to delete /etc/X11/xorg.conf
I moved it to /etc/x11/xorg.conf.bak, and my system booted just fine! glxinfo verified that I had optimus working correctly!

Offline

Board footer

Powered by FluxBB