You are not logged in.

#1 2017-12-30 14:21:33

ytsejam
Member
Registered: 2012-02-10
Posts: 56

Nvidia xconfig Undefined Device "Device0" referenced by Screen "Screen

Hello ,
I use Lenovo Z510 i5 laptop with two graphics cards :

0:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
07:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

When I try to config nvidia card using "nvidia-xonfig" I get error

Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                  Undefined Device "Device0" referenced by Screen "Screen0".

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

my xorg.conf is :

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 "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

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

log files of X11:

[   123.291]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   123.292] X Protocol Version 11, Revision 0
[   123.293] Build Operating System: Linux 4.9.71-1-lts x86_64
[   123.293] Current Operating System: Linux ytsejam 4.14.9-1-ARCH #1 SMP PREEMPT Tue Dec 26 00:18:37 UTC 2017 x86_64
[   123.293] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=48f63f70-8a7d-4bf8-b5d5-a871c0b42851 rw quiet
[   123.294] Build Date: 25 December 2017  02:02:38PM
[   123.295]
[   123.295] Current version of pixman: 0.34.0
[   123.296]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   123.296] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   123.298] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 30 15:24:21 2017
[   123.299] (==) Using config file: "/etc/X11/xorg.conf"
[   123.299] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   123.300] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   123.300] (==) ServerLayout "Layout0"
[   123.300] (**) |-->Screen "Screen0" (0)
[   123.300] (**) |   |-->Monitor "Monitor0"
[   123.300] (**) |   |-->Device "Device0"
[   123.300] (**) |   |-->GPUDevice "Device0"
[   123.300] (**) |-->Input Device "Keyboard0"
[   123.300] (**) |-->Input Device "Mouse0"
[   123.300] (==) Automatically adding devices
[   123.300] (==) Automatically enabling devices
[   123.300] (==) Automatically adding GPU devices
[   123.300] (==) Automatically binding GPU devices
[   123.300] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   123.300] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   123.300]    Entry deleted from font path.
[   123.300] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   123.300]    Entry deleted from font path.
[   123.300]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   123.300] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/100dpi/

[   123.300] (==) ModulePath set to "/usr/lib/xorg/modules"
[   123.300] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   123.300] (WW) Disabling Keyboard0
[   123.300] (WW) Disabling Mouse0
[   123.300] (II) Loader magic: 0x55b658ffbd60
[   123.300] (II) Module ABI versions:
[   123.300]    X.Org ANSI C Emulation: 0.4
[   123.300]    X.Org Video Driver: 23.0
[   123.300]    X.Org XInput driver : 24.1
[   123.300]    X.Org Server Extension : 10.0
[   123.301] (++) using VT number 3

[   123.301] (--) controlling tty is VT number 3, auto-enabling KeepTty
[   123.302] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c5
[   123.302] (II) xfree86: Adding drm device (/dev/dri/card0)
[   123.303] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   123.304] (--) PCI:*(0:0:2:0) 8086:0416:17aa:380a rev 6, Mem @ 0xb5000000/4194304, 0xc0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[   123.304] (--) PCI: (0:7:0:0) 10de:1292:17aa:380a rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128
[   123.304] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   123.304] (II) "glx" will be loaded by default.
[   123.304] (II) LoadModule: "modesetting"
[   123.304] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   123.304] (II) Module modesetting: vendor="X.Org Foundation"
[   123.304]    compiled for 1.19.6, module version = 1.19.6
[   123.304]    Module class: X.Org Video Driver
[   123.304]    ABI class: X.Org Video Driver, version 23.0
[   123.304] (II) LoadModule: "glx"
[   123.304] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   123.305] (II) Module glx: vendor="X.Org Foundation"
[   123.305]    compiled for 1.19.6, module version = 1.0.0
[   123.305]    ABI class: X.Org Server Extension, version 10.0
[   123.305] (II) LoadModule: "nvidia"
[   123.305] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   123.305] (II) Module nvidia: vendor="NVIDIA Corporation"
[   123.305]    compiled for 4.0.2, module version = 1.0.0
[   123.305]    Module class: X.Org Video Driver
[   123.305] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   123.305] (II) NVIDIA dlloader X Driver  387.22  Wed Oct 25 22:14:47 PDT 2017
[   123.305] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   123.305] (WW) Falling back to old probe method for modesetting
[   123.305] (WW) Falling back to old probe method for modesetting
[   123.305] (II) modeset(G0): using drv /dev/dri/card0
[   123.305] (EE) No devices detected.
[   123.305] (EE)
Fatal server error:
[   123.305] (EE) no screens found(EE)
[   123.305] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   123.305] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   123.305] (EE)
[   123.325] (EE) Server terminated with error (1). Closing log file.

can you help me to solve my problem ? Thanks

Offline

#2 2017-12-30 15:12:22

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Nvidia xconfig Undefined Device "Device0" referenced by Screen "Screen

Why do you have an xorg.conf?

Get rid of it and try again.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB