You are not logged in.

#1 2019-10-14 13:16:00

tomhoef
Member
Registered: 2019-10-14
Posts: 1

Xorg freezes after a few seconds xinit (nvidia optimus)

Hi all,

I still can't find why my xorg is freezing after a few seconds of loading, I think is still has something to do with my nvidia quadro p1000 (mobile), I disabled the onboard gpu.
I added my config and log output:

xorg.conf:

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

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"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option         "AllowEmptyInitialConfiguration"
EndSection

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

Xorg.0.log:

   572.169] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   572.170]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   572.173] Build Operating System: Linux Arch Linux
[   572.173] Current Operating System: Linux TomPC 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 2019 x86_64
[   572.173] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d902cb3b-816c-41e1-a6d7-db2ccbef8535 rw loglevel=3 i915.modeset=1 nouveau.modeset=0
[   572.175] Build Date: 30 June 2019  09:52:01AM
[   572.176]
[   572.177] Current version of pixman: 0.38.4
[   572.178]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   572.178] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   572.182] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 14 14:54:19 2019
[   572.184] (==) Using config file: "/etc/X11/xorg.conf"
[   572.185] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   572.186] (==) ServerLayout "Layout0"
[   572.186] (**) |-->Screen "Screen0" (0)
[   572.186] (**) |   |-->Monitor "Monitor0"
[   572.187] (==) No device specified for screen "Screen0".
        Using the first device section listed.
[   572.187] (**) |   |-->Device "nvidia"
[   572.187] (**) |-->Input Device "Keyboard0"
[   572.187] (**) |-->Input Device "Mouse0"
[   572.187] (==) Automatically adding devices
[   572.187] (==) Automatically enabling devices
[   572.187] (==) Automatically adding GPU devices
[   572.187] (==) Automatically binding GPU devices
[   572.187] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   572.189] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   572.189]    Entry deleted from font path.
[   572.189]    (Run 'mkfontdir' on "/usr/share/fonts/misc").
[   572.189] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   572.189]    Entry deleted from font path.
[   572.189] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   572.189]    Entry deleted from font path.
[   572.189] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   572.189]    Entry deleted from font path.
[   572.190] (==) FontPath set to:
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[   572.190] (==) ModulePath set to "/usr/lib/xorg/modules"
[   572.190] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   572.190] (WW) Disabling Keyboard0
[   572.190] (WW) Disabling Mouse0
[   572.190] (II) Module ABI versions:
[   572.190]    X.Org ANSI C Emulation: 0.4
[   572.190]    X.Org Video Driver: 24.0
[   572.190]    X.Org XInput driver : 24.1
[   572.190]    X.Org Server Extension : 10.0
[   572.191] (--) using VT number 2

[   572.191] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   572.191] (II) xfree86: Adding drm device (/dev/dri/card0)
[   572.192] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   572.192] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[   572.193] (--) PCI:*(1@0:0:0) 10de:1cbb:103c:8429 rev 161, Mem @ 0xe8000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   572.193] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   572.193] (II) LoadModule: "glx"
[   572.195] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   572.201] (II) Module glx: vendor="X.Org Foundation"
[   572.201]    compiled for 1.20.5, module version = 1.0.0
[   572.201]    ABI class: X.Org Server Extension, version 10.0
[   572.201] (II) LoadModule: "nvidia"
[   572.201] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   572.205] (II) Module nvidia: vendor="NVIDIA Corporation"
[   572.205]    compiled for 1.6.99.901, module version = 1.0.0
[   572.205]    Module class: X.Org Video Driver
[   572.205] (II) NVIDIA dlloader X Driver  435.21  Sun Aug 25 08:17:08 CDT 2019
[   572.205] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   572.209] (II) Loading sub module "fb"
[   572.209] (II) LoadModule: "fb"
[   572.209] (II) Loading /usr/lib/xorg/modules/libfb.so
[   572.209] (II) Module fb: vendor="X.Org Foundation"
[   572.209]    compiled for 1.20.5, module version = 1.0.0
[   572.209]    ABI class: X.Org ANSI C Emulation, version 0.4
[   572.209] (II) Loading sub module "wfb"
[   572.209] (II) LoadModule: "wfb"
[   572.209] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   572.210] (II) Module wfb: vendor="X.Org Foundation"
[   572.210]    compiled for 1.20.5, module version = 1.0.0
[   572.210]    ABI class: X.Org ANSI C Emulation, version 0.4
[   572.210] (II) Loading sub module "ramdac"
[   572.210] (II) LoadModule: "ramdac"
[   572.210] (II) Module "ramdac" already built-in
[   572.211] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   572.211] (==) NVIDIA(0): RGB weight 888
[   572.211] (==) NVIDIA(0): Default visual is TrueColor
[   572.211] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   572.211] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   572.211] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   572.211] (**) NVIDIA(0): Enabling 2D acceleration
[   572.211] (II) Loading sub module "glxserver_nvidia"
[   572.211] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   572.233] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   572.233]    compiled for 1.6.99.901, module version = 1.0.0
[   572.233]    Module class: X.Org Server Extension
[   572.233] (II) NVIDIA GLX Module  435.21  Sun Aug 25 08:14:27 CDT 2019
[   572.234] (II) NVIDIA: The X server does not support PRIME Render Offload.
[   572.812] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   572.812] (--) NVIDIA(0):     DFP-0
[   572.812] (--) NVIDIA(0):     DFP-1 (boot)
[   572.812] (--) NVIDIA(0):     DFP-2
[   572.812] (--) NVIDIA(0):     DFP-3
[   572.813] (II) NVIDIA(0): NVIDIA GPU Quadro P1000 (GP107GL-A) at PCI:1:0:0 (GPU-0)
[   572.813] (--) NVIDIA(0): Memory: 4194304 kBytes
[   572.813] (--) NVIDIA(0): VideoBIOS: 86.07.67.00.11
[   572.813] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   572.813] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   572.813] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   572.813] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   572.813] (--) NVIDIA(GPU-0):
[   572.813] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): connected
[   572.813] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): Internal DisplayPort
[   572.813] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): 1440.0 MHz maximum pixel clock
[   572.813] (--) NVIDIA(GPU-0):
[   572.813] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   572.813] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   572.813] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   572.813] (--) NVIDIA(GPU-0):
[   572.813] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   572.813] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   572.813] (--) NVIDIA(GPU-0): DFP-3: 1440.0 MHz maximum pixel clock
[   572.813] (--) NVIDIA(GPU-0):
[   572.814] (==) NVIDIA(0):
[   572.814] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   572.815] (==) NVIDIA(0):     will be used as the requested mode.
[   572.815] (==) NVIDIA(0):
[   572.815] (II) NVIDIA(0): Validated MetaModes:
[   572.815] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
[   572.815] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   572.817] (--) NVIDIA(0): DPI set to (143, 144); computed from "UseEdidDpi" X config
[   572.817] (--) NVIDIA(0):     option
[   572.817] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   572.817] (II) NVIDIA:     access.
[   572.820] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   572.820] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   572.820] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   572.820] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   572.820] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   572.820] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   572.820] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   572.820] (II) NVIDIA(0):     Config Options in the README.
[   572.834] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[   573.934] (==) NVIDIA(0): Disabling shared memory pixmaps
[   573.934] (==) NVIDIA(0): Backing store enabled
[   573.934] (==) NVIDIA(0): Silken mouse disabled
[   573.934] (**) NVIDIA(0): DPMS enabled
[   573.934] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   573.934] (II) Loading sub module "dri2"
[   573.934] (II) LoadModule: "dri2"
[   573.934] (II) Module "dri2" already built-in
[   573.934] (II) NVIDIA(0): [DRI2] Setup complete
[   573.934] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   573.934] (II) Initializing extension Generic Event Extension
[   573.934] (II) Initializing extension SHAPE
[   573.934] (II) Initializing extension MIT-SHM
[   573.934] (II) Initializing extension XInputExtension
[   573.934] (II) Initializing extension XTEST
[   573.934] (II) Initializing extension BIG-REQUESTS
[   573.934] (II) Initializing extension SYNC
[   573.934] (II) Initializing extension XKEYBOARD
[   573.934] (II) Initializing extension XC-MISC
[   573.934] (II) Initializing extension SECURITY
[   573.934] (II) Initializing extension XFIXES
[   573.934] (II) Initializing extension RENDER
[   573.934] (II) Initializing extension RANDR
[   573.934] (II) Initializing extension COMPOSITE
[   573.934] (II) Initializing extension DAMAGE
[   573.934] (II) Initializing extension MIT-SCREEN-SAVER
[   573.934] (II) Initializing extension DOUBLE-BUFFER
[   573.934] (II) Initializing extension RECORD
[   573.934] (II) Initializing extension DPMS
[   573.934] (II) Initializing extension Present
[   573.934] (II) Initializing extension DRI3
[   573.935] (II) Initializing extension X-Resource
[   573.935] (II) Initializing extension XVideo
[   573.935] (II) Initializing extension XVideo-MotionCompensation
[   573.935] (II) Initializing extension GLX
[   573.935] (II) Initializing extension GLX
[   573.935] (II) Indirect GLX disabled.
[   573.935] (II) GLX: Another vendor is already registered for screen 0
[   573.935] (II) Initializing extension XFree86-VidModeExtension
[   573.935] (II) Initializing extension XFree86-DGA
[   573.935] (II) Initializing extension XFree86-DRI
[   573.935] (II) Initializing extension DRI2
[   573.935] (II) Initializing extension NV-GLX
[   573.935] (II) Initializing extension NV-CONTROL
[   573.935] (II) Initializing extension XINERAMA
[   573.997] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   573.997] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   573.997] (II) LoadModule: "libinput"
[   573.998] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   574.001] (II) Module libinput: vendor="X.Org Foundation"
[   574.001]    compiled for 1.20.5, module version = 0.29.0
[   574.001]    Module class: X.Org XInput Driver
[   574.001]    ABI class: X.Org XInput driver, version 24.1
[   574.001] (II) Using input driver 'libinput' for 'Power Button'
[   574.001] (**) Power Button: always reports core events
[   574.001] (**) Option "Device" "/dev/input/event3"
[   574.001] (**) Option "_source" "server/udev"
[   574.006] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   574.006] (II) event3  - Power Button: device is a keyboard
[   574.006] (II) event3  - Power Button: device removed
[   574.030] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   574.030] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   574.031] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   574.031] (II) event3  - Power Button: device is a keyboard
[   574.031] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[   574.031] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   574.031] (II) Using input driver 'libinput' for 'Video Bus'
[   574.031] (**) Video Bus: always reports core events
[   574.031] (**) Option "Device" "/dev/input/event4"
[   574.031] (**) Option "_source" "server/udev"
[   574.032] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   574.032] (II) event4  - Video Bus: device is a keyboard
[   574.032] (II) event4  - Video Bus: device removed
[   574.097] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:06/LNXVIDEO:00/input/input4/event4"
[   574.097] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   574.099] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   574.099] (II) event4  - Video Bus: device is a keyboard
[   574.101] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   574.101] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   574.101] (II) Using input driver 'libinput' for 'Power Button'
[   574.101] (**) Power Button: always reports core events
[   574.101] (**) Option "Device" "/dev/input/event2"
[   574.101] (**) Option "_source" "server/udev"
[   574.102] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   574.103] (II) event2  - Power Button: device is a keyboard
[   574.103] (II) event2  - Power Button: device removed
[   574.120] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[   574.120] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   574.122] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   574.122] (II) event2  - Power Button: device is a keyboard
[   574.124] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   574.124] (II) No input driver specified, ignoring this device.
[   574.124] (II) This device may have been added with another device file.
[   574.125] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   574.125] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   574.125] (II) Using input driver 'libinput' for 'Sleep Button'
[   574.125] (**) Sleep Button: always reports core events
[   574.125] (**) Option "Device" "/dev/input/event0"
[   574.125] (**) Option "_source" "server/udev"
[   574.127] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   574.127] (II) event0  - Sleep Button: device is a keyboard
[   574.127] (II) event0  - Sleep Button: device removed
[   574.163] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[   574.163] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   574.166] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   574.166] (II) event0  - Sleep Button: device is a keyboard
[   574.167] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[   574.167] (II) No input driver specified, ignoring this device.
[   574.167] (II) This device may have been added with another device file.
[   574.168] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[   574.168] (II) No input driver specified, ignoring this device.
[   574.168] (II) This device may have been added with another device file.
[   574.169] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[   574.169] (II) No input driver specified, ignoring this device.
[   574.169] (II) This device may have been added with another device file.
[   574.170] (II) config/udev: Adding input device HP HD Camera: HP HD Camera (/dev/input/event12)
[   574.171] (**) HP HD Camera: HP HD Camera: Applying InputClass "libinput keyboard catchall"
[   574.171] (II) Using input driver 'libinput' for 'HP HD Camera: HP HD Camera'
[   574.171] (**) HP HD Camera: HP HD Camera: always reports core events
[   574.171] (**) Option "Device" "/dev/input/event12"
[   574.171] (**) Option "_source" "server/udev"
[   574.173] (II) event12 - HP HD Camera: HP HD Camera: is tagged by udev as: Keyboard
[   574.173] (II) event12 - HP HD Camera: HP HD Camera: device is a keyboard
[   574.173] (II) event12 - HP HD Camera: HP HD Camera: device removed
[   574.217] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input24/event12"
[   574.217] (II) XINPUT: Adding extended input device "HP HD Camera: HP HD Camera" (type: KEYBOARD, id 10)
[   574.220] (II) event12 - HP HD Camera: HP HD Camera: is tagged by udev as: Keyboard
[   574.220] (II) event12 - HP HD Camera: HP HD Camera: device is a keyboard
[   574.222] (II) config/udev: Adding input device HP HD Camera: HP IR Camera (/dev/input/event13)
[   574.222] (**) HP HD Camera: HP IR Camera: Applying InputClass "libinput keyboard catchall"
[   574.222] (II) Using input driver 'libinput' for 'HP HD Camera: HP IR Camera'
[   574.222] (**) HP HD Camera: HP IR Camera: always reports core events
[   574.222] (**) Option "Device" "/dev/input/event13"
[   574.222] (**) Option "_source" "server/udev"
[   574.224] (II) event13 - HP HD Camera: HP IR Camera: is tagged by udev as: Keyboard
[   574.224] (II) event13 - HP HD Camera: HP IR Camera: device is a keyboard
[   574.225] (II) event13 - HP HD Camera: HP IR Camera: device removed
[   574.270] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/input/input25/event13"
[   574.270] (II) XINPUT: Adding extended input device "HP HD Camera: HP IR Camera" (type: KEYBOARD, id 11)
[   574.273] (II) event13 - HP HD Camera: HP IR Camera: is tagged by udev as: Keyboard
[   574.273] (II) event13 - HP HD Camera: HP IR Camera: device is a keyboard
[   574.275] (II) config/udev: Adding input device SYNA307B:00 06CB:CD46 Touchpad (/dev/input/event11)
[   574.275] (**) SYNA307B:00 06CB:CD46 Touchpad: Applying InputClass "libinput touchpad catchall"
[   574.275] (II) Using input driver 'libinput' for 'SYNA307B:00 06CB:CD46 Touchpad'
[   574.275] (**) SYNA307B:00 06CB:CD46 Touchpad: always reports core events
[   574.275] (**) Option "Device" "/dev/input/event11"
[   574.275] (**) Option "_source" "server/udev"
[   574.280] (II) event11 - SYNA307B:00 06CB:CD46 Touchpad: is tagged by udev as: Touchpad
[   574.282] (II) event11 - SYNA307B:00 06CB:CD46 Touchpad: device is a touchpad
[   574.282] (II) event11 - SYNA307B:00 06CB:CD46 Touchpad: device removed
[   574.324] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA307B:00/0018:06CB:CD46.0001/input/input22/event11"
[   574.324] (II) XINPUT: Adding extended input device "SYNA307B:00 06CB:CD46 Touchpad" (type: TOUCHPAD, id 12)
[   574.327] (**) Option "AccelerationScheme" "none"
[   574.327] (**) SYNA307B:00 06CB:CD46 Touchpad: (accel) selected scheme none/0
[   574.327] (**) SYNA307B:00 06CB:CD46 Touchpad: (accel) acceleration factor: 2.000
[   574.327] (**) SYNA307B:00 06CB:CD46 Touchpad: (accel) acceleration threshold: 4
[   574.330] (II) event11 - SYNA307B:00 06CB:CD46 Touchpad: is tagged by udev as: Touchpad
[   574.333] (II) event11 - SYNA307B:00 06CB:CD46 Touchpad: device is a touchpad
[   574.335] (II) config/udev: Adding input device SYNA307B:00 06CB:CD46 Touchpad (/dev/input/mouse0)
[   574.335] (II) No input driver specified, ignoring this device.
[   574.335] (II) This device may have been added with another device file.
[   574.336] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[   574.336] (II) No input driver specified, ignoring this device.
[   574.336] (II) This device may have been added with another device file.
[   574.337] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event9)
[   574.337] (II) No input driver specified, ignoring this device.
[   574.337] (II) This device may have been added with another device file.
[   574.338] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[   574.338] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   574.338] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   574.338] (**) AT Translated Set 2 keyboard: always reports core events
[   574.338] (**) Option "Device" "/dev/input/event5"
[   574.338] (**) Option "_source" "server/udev"
[   574.340] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   574.341] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   574.342] (II) event5  - AT Translated Set 2 keyboard: device removed
[   574.357] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[   574.357] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[   574.360] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   574.360] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   574.362] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event18)
[   574.362] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   574.362] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   574.362] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   574.362] (**) Option "Device" "/dev/input/event18"
[   574.362] (**) Option "_source" "server/udev"
[   574.364] (II) event18 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   574.365] (II) event18 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[   574.367] (II) event18 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   574.367] (II) event18 - SynPS/2 Synaptics TouchPad: device removed
[   574.424] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio3/input/input13/event18"
[   574.424] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 14)
[   574.426] (**) Option "AccelerationScheme" "none"
[   574.426] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   574.426] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   574.426] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   574.428] (II) event18 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   574.429] (II) event18 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[   574.431] (II) event18 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   574.432] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[   574.432] (II) No input driver specified, ignoring this device.
[   574.432] (II) This device may have been added with another device file.
[   574.433] (II) config/udev: Adding input device ST LIS3LV02DL Accelerometer (/dev/input/event17)
[   574.433] (II) No input driver specified, ignoring this device.
[   574.433] (II) This device may have been added with another device file.
[   574.434] (II) config/udev: Adding input device ST LIS3LV02DL Accelerometer (/dev/input/js0)
[   574.434] (II) No input driver specified, ignoring this device.
[   574.434] (II) This device may have been added with another device file.
[   574.435] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   574.435] (II) No input driver specified, ignoring this device.
[   574.435] (II) This device may have been added with another device file.
[   574.436] (II) config/udev: Adding input device HP Wireless hotkeys (/dev/input/event6)
[   574.436] (**) HP Wireless hotkeys: Applying InputClass "libinput keyboard catchall"
[   574.436] (II) Using input driver 'libinput' for 'HP Wireless hotkeys'
[   574.436] (**) HP Wireless hotkeys: always reports core events
[   574.436] (**) Option "Device" "/dev/input/event6"
[   574.436] (**) Option "_source" "server/udev"
[   574.438] (II) event6  - HP Wireless hotkeys: is tagged by udev as: Keyboard
[   574.438] (II) event6  - HP Wireless hotkeys: device is a keyboard
[   574.438] (II) event6  - HP Wireless hotkeys: device removed
[   574.487] (**) Option "config_info" "udev:/sys/devices/virtual/input/input10/event6"
[   574.487] (II) XINPUT: Adding extended input device "HP Wireless hotkeys" (type: KEYBOARD, id 15)
[   574.488] (II) event6  - HP Wireless hotkeys: is tagged by udev as: Keyboard
[   574.489] (II) event6  - HP Wireless hotkeys: device is a keyboard
[   574.490] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event10)
[   574.490] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   574.490] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[   574.490] (**) HP WMI hotkeys: always reports core events
[   574.490] (**) Option "Device" "/dev/input/event10"
[   574.490] (**) Option "_source" "server/udev"
[   574.491] (II) event10 - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   574.491] (II) event10 - HP WMI hotkeys: device is a keyboard
[   574.491] (II) event10 - HP WMI hotkeys: device removed
[   574.550] (**) Option "config_info" "udev:/sys/devices/virtual/input/input17/event10"
[   574.550] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 16)
[   574.552] (II) event10 - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   574.552] (II) event10 - HP WMI hotkeys: device is a keyboard
[   574.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): connected
[   574.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): Internal DisplayPort
[   574.562] (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-1): 1440.0 MHz maximum pixel clock
[   574.562] (--) NVIDIA(GPU-0):

nvidia-smi after the crash gives (via ssh):
# nvidia-smi
Unable to determine the device handle for GPU 0000:01:00.0: GPU is lost.  Reboot the system to recover this GPU

before the crash it gives:

# nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21       Driver Version: 435.21       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| 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 P1000        Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   45C    P0    N/A /  N/A |      0MiB /  4031MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

I've tried:
- xinit without any config file (same error)
- other nvidia drivers (same error)
- some other configurations but also without any difference

Anyone with the same setup who got it working?

Thanks
Tom

Offline

#2 2019-10-14 15:57:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,292

Re: Xorg freezes after a few seconds xinit (nvidia optimus)

Unrelated, but the xorg.conf is just cruft, rather remove it.
Please post a complete system journal of such boot ("sudo journalctl -b -1" for the previous boot) - did you maybe install bumblebee/bbswitch?

The last thing before the GPU drops out seems to be a randr event (your monitor shows up, again) - do you have replacement monitors/cables?
Or is that actually the internal display of the device (probably wired to the intel chip)? In that case I'd first check for available BIOS/UEFI updates.

Is there any hard reason why you disabled the IGP? Do you have GPU losses w/ an actual optimus config (dual-gpu) as well?

Offline

Board footer

Powered by FluxBB