You are not logged in.

#1 2016-06-25 00:41:38

Yackback
Member
Registered: 2015-12-28
Posts: 2

[SOLVED] Nvidia xorg.conf "no screens found"

I have a Y50 with optimus enabled, currently, I am trying to get it to work with steam.

xorg.conf generated by nvidia-xconfig (only added BusID line as suggested by the wiki):

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 367.27  (buildmeister@swio-display-x64-rhel04-12)  Thu Jun  9 19:24:36 PDT 2016

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

Section "Files"
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"
    BusID	   "1:0:0"
    VendorName     "NVIDIA Corporation"
EndSection

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

~/.local/share/xorg/Xorg.0.log:

[    37.938] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[    37.938] X Protocol Version 11, Revision 0
[    37.938] Build Operating System: Linux 4.5.1-1-ARCH x86_64 
[    37.938] Current Operating System: Linux Zyxx 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64
[    37.938] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0989c9f8-f061-4725-a352-de96945aed5f rw quiet
[    37.938] Build Date: 03 June 2016  07:28:24AM
[    37.938]  
[    37.939] Current version of pixman: 0.34.0
[    37.939] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    37.939] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    37.939] (==) Log file: "/home/yackback/.local/share/xorg/Xorg.0.log", Time: Fri Jun 24 20:36:43 2016
[    37.940] (==) Using config file: "/etc/X11/xorg.conf"
[    37.940] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    37.941] (==) ServerLayout "Layout0"
[    37.941] (**) |-->Screen "Screen0" (0)
[    37.941] (**) |   |-->Monitor "Monitor0"
[    37.942] (**) |   |-->Device "Device0"
[    37.942] (**) |-->Input Device "Keyboard0"
[    37.942] (**) |-->Input Device "Mouse0"
[    37.942] (==) Automatically adding devices
[    37.942] (==) Automatically enabling devices
[    37.942] (==) Automatically adding GPU devices
[    37.942] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    37.942] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    37.942] 	Entry deleted from font path.
[    37.943] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    37.943] (==) ModulePath set to "/usr/lib/xorg/modules"
[    37.943] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    37.943] (WW) Disabling Keyboard0
[    37.943] (WW) Disabling Mouse0
[    37.943] (II) Loader magic: 0x821d20
[    37.943] (II) Module ABI versions:
[    37.943] 	X.Org ANSI C Emulation: 0.4
[    37.943] 	X.Org Video Driver: 20.0
[    37.943] 	X.Org XInput driver : 22.1
[    37.943] 	X.Org Server Extension : 9.0
[    37.944] (++) using VT number 1

[    37.944] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    37.945] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    37.945] (II) xfree86: Adding drm device (/dev/dri/card0)
[    37.945] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[    37.947] (--) PCI:*(0:0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    37.947] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    37.947] (II) LoadModule: "glx"
[    37.948] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    37.956] (II) Module glx: vendor="X.Org Foundation"
[    37.956] 	compiled for 1.18.3, module version = 1.0.0
[    37.956] 	ABI class: X.Org Server Extension, version 9.0
[    37.956] (==) AIGLX enabled
[    37.956] (II) LoadModule: "nvidia"
[    37.956] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    37.961] (II) Module nvidia: vendor="NVIDIA Corporation"
[    37.961] 	compiled for 4.0.2, module version = 1.0.0
[    37.961] 	Module class: X.Org Video Driver
[    37.961] (II) NVIDIA dlloader X Driver  367.27  Thu Jun  9 17:57:30 PDT 2016
[    37.961] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    37.961] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    37.961] (EE) No devices detected.
[    37.961] (EE) 
Fatal server error:
[    37.961] (EE) no screens found(EE) 
[    37.961] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    37.961] (EE) Please also check the log file at "/home/yackback/.local/share/xorg/Xorg.0.log" for additional information.
[    37.961] (EE) 

lspci -k:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
	Kernel modules: nouveau, nvidia_drm, nvidia
08:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
	Subsystem: Intel Corporation Dual Band Wireless AC 3160
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
	Subsystem: Lenovo Device 380d
	Kernel driver in use: r8169
	Kernel modules: r8169
0a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
	Subsystem: Lenovo Device 3801
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

What is the issue with my config? Running xorg without the BusID line gives me the same result, as does changing it to "PCI:1:0:0"

E: Adding output of lspci -k, if you need any more outputs, ask. smile

Last edited by Yackback (2016-06-25 01:26:05)

Offline

#2 2016-06-25 01:06:39

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Nvidia xorg.conf "no screens found"

Search the Wiki for Optimus. Read it. Don't use nvidia-xconfig.


Matt

"It is very difficult to educate the educated."

Offline

#3 2016-06-25 01:25:11

Yackback
Member
Registered: 2015-12-28
Posts: 2

Re: [SOLVED] Nvidia xorg.conf "no screens found"

mrunion wrote:

Search the Wiki for Optimus. Read it. Don't use nvidia-xconfig.


Went back and read a third time, this time actually read the first part where it says bumblebee is a completely different article. Installed primus instead of lib32-primus, and steam uses the nvidia drivers. I'm an idiot sometimes.

Marking as solved.

Offline

Board footer

Powered by FluxBB