Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debugging black screen [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1185
Location: Stuttgart, Germany

PostPosted: Tue Mar 27, 2018 7:45 am    Post subject: debugging black screen [SOLVED] Reply with quote

I had my laptop (nvidia with optimus) working fine up until a recent world update (but I didn't change any configs or anything). Now, lightdm and startx both fail to start. Lightdm returns a black screen, startx quits back out to console. The log file (from 'startx') reads as follows:

Code:
[ 47593.758]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[ 47593.761] X Protocol Version 11, Revision 0
[ 47593.762] Build Operating System: Linux 4.14.7-gentoo x86_64 Gentoo
[ 47593.763] Current Operating System: Linux choriac 4.15.13-gentoo #1 SMP Mon Mar 26 17:59:34 CEST 2018 x86_64
[ 47593.763] Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.13-gentoo root=/dev/sdb4 ro i915.enable_psr=0,nvidia-drm.modeset=1
[ 47593.765] Build Date: 14 March 2018  06:57:59AM
[ 47593.766] 
[ 47593.767] Current version of pixman: 0.34.0
[ 47593.769]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 47593.769] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 47593.773] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 27 09:41:20 2018
[ 47593.774] (==) Using config file: "/etc/X11/xorg.conf"
[ 47593.775] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 47593.776] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 47593.777] (==) ServerLayout "layout"
[ 47593.777] (**) |-->Screen "nvidia" (0)
[ 47593.777] (**) |   |-->Monitor "Monitor0"
[ 47593.777] (**) |   |-->Device "nvidia"
[ 47593.777] (**) |   |-->GPUDevice "nvidia"
[ 47593.777] (**) |-->Inactive Device "intel"
[ 47593.777] (==) Automatically adding devices
[ 47593.777] (==) Automatically enabling devices
[ 47593.777] (==) Automatically adding GPU devices
[ 47593.777] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 47593.777] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 47593.777]    Entry deleted from font path.
[ 47593.777]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 47593.777] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 47593.777]    Entry deleted from font path.
[ 47593.777]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 47593.777] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 47593.777]    Entry deleted from font path.
[ 47593.777] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 47593.777]    Entry deleted from font path.
[ 47593.777]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 47593.777] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 47593.777]    Entry deleted from font path.
[ 47593.777]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 47593.777] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/misc/
[ 47593.777] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules"
[ 47593.777] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 47593.777] (II) Loader magic: 0x56516c8aac60
[ 47593.777] (II) Module ABI versions:
[ 47593.777]    X.Org ANSI C Emulation: 0.4
[ 47593.777]    X.Org Video Driver: 23.0
[ 47593.777]    X.Org XInput driver : 24.1
[ 47593.777]    X.Org Server Extension : 10.0
[ 47593.777] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 47593.777] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 47593.789] (--) PCI:*(0:0:2:0) 8086:0416:1462:114d rev 6, Mem @ 0xa1400000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 47593.789] (--) PCI: (0:1:0:0) 10de:1347:1462:114d rev 162, Mem @ 0xa0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 47593.789] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 47593.789] (II) LoadModule: "glx"
[ 47593.789] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 47593.792] (II) Module glx: vendor="NVIDIA Corporation"
[ 47593.792]    compiled for 4.0.2, module version = 1.0.0
[ 47593.792]    Module class: X.Org Server Extension
[ 47593.792] (II) NVIDIA GLX Module  390.42  Sat Mar  3 03:25:37 PST 2018
[ 47593.792] (II) LoadModule: "nvidia"
[ 47593.792] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 47593.793] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 47593.793]    compiled for 4.0.2, module version = 1.0.0
[ 47593.793]    Module class: X.Org Video Driver
[ 47593.793] (II) LoadModule: "modesetting"
[ 47593.793] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 47593.793] (II) Module modesetting: vendor="X.Org Foundation"
[ 47593.793]    compiled for 1.19.5, module version = 1.19.5
[ 47593.793]    Module class: X.Org Video Driver
[ 47593.793]    ABI class: X.Org Video Driver, version 23.0
[ 47593.793] (II) NVIDIA dlloader X Driver  390.42  Sat Mar  3 03:00:31 PST 2018
[ 47593.793] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 47593.793] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 47593.793] (--) using VT number 8

[ 47593.808] (II) Loading sub module "fb"
[ 47593.808] (II) LoadModule: "fb"
[ 47593.808] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 47593.808] (II) Module fb: vendor="X.Org Foundation"
[ 47593.808]    compiled for 1.19.5, module version = 1.0.0
[ 47593.808]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 47593.808] (II) Loading sub module "wfb"
[ 47593.808] (II) LoadModule: "wfb"
[ 47593.808] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 47593.808] (II) Module wfb: vendor="X.Org Foundation"
[ 47593.808]    compiled for 1.19.5, module version = 1.0.0
[ 47593.808]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 47593.808] (II) Loading sub module "ramdac"
[ 47593.808] (II) LoadModule: "ramdac"
[ 47593.808] (II) Module "ramdac" already built-in
[ 47593.821] (II) modeset(G0): using drv /dev/dri/card0
[ 47593.821] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 47593.821] (==) NVIDIA(0): RGB weight 888
[ 47593.821] (==) NVIDIA(0): Default visual is TrueColor
[ 47593.821] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 47593.821] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 47593.821] (**) NVIDIA(0): Enabling 2D acceleration
[ 47593.956] (II) NVIDIA(0): NVIDIA GPU GeForce 940M (GM108-A) at PCI:1:0:0 (GPU-0)
[ 47593.956] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 47593.956] (--) NVIDIA(0): VideoBIOS: 82.08.42.00.04
[ 47593.956] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[ 47593.956] (II) NVIDIA(0): Validated MetaModes:
[ 47593.956] (II) NVIDIA(0):     "NULL"
[ 47593.956] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1080
[ 47593.956] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 47593.956] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 47593.956] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 47593.956] (**) modeset(G0): Option "AccelMethod" "none"
[ 47593.956] (==) modeset(G0): RGB weight 888
[ 47593.956] (==) modeset(G0): Default visual is TrueColor
[ 47593.956] (**) modeset(G0): glamor disabled
[ 47593.956] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[ 47593.956] (II) modeset(G0): Double-buffered shadow updates: off
[ 47593.957] (II) modeset(G0): Output eDP-1-1 using monitor section Monitor0
[ 47593.957] (**) modeset(G0): Option "Enable" "true"
[ 47593.957] (II) modeset(G0): Output DP-1-1 has no monitor section
[ 47593.973] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[ 47594.001] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[ 47594.002] (II) modeset(G0): EDID for output eDP-1-1
[ 47594.002] (II) modeset(G0): Manufacturer: CMN  Model: 1735  Serial#: 0
[ 47594.002] (II) modeset(G0): Year: 2014  Week: 39
[ 47594.002] (II) modeset(G0): EDID Version: 1.4
[ 47594.002] (II) modeset(G0): Digital Display Input
[ 47594.002] (II) modeset(G0): 6 bits per channel
[ 47594.002] (II) modeset(G0): Digital interface is DisplayPort
[ 47594.002] (II) modeset(G0): Max Image Size [cm]: horiz.: 38  vert.: 22
[ 47594.002] (II) modeset(G0): Gamma: 2.20
[ 47594.002] (II) modeset(G0): No DPMS capabilities specified
[ 47594.002] (II) modeset(G0): Supported color encodings: RGB 4:4:4
[ 47594.002] (II) modeset(G0): First detailed timing is preferred mode
[ 47594.002] (II) modeset(G0): Preferred mode is native pixel format and refresh rate
[ 47594.002] (II) modeset(G0): redX: 0.640 redY: 0.333   greenX: 0.313 greenY: 0.613
[ 47594.002] (II) modeset(G0): blueX: 0.154 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[ 47594.002] (II) modeset(G0): Manufacturer's mask: 0
[ 47594.002] (II) modeset(G0): Supported detailed timing:
[ 47594.002] (II) modeset(G0): clock: 140.0 MHz   Image Size:  382 x 215 mm
[ 47594.002] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2102 h_border: 0
[ 47594.002] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1110 v_border: 0
[ 47594.002] (II) modeset(G0):  N173HGE-E11
[ 47594.002] (II) modeset(G0):  CMN
[ 47594.002] (II) modeset(G0):  N173HGE-E11
[ 47594.002] (II) modeset(G0): EDID (in hex):
[ 47594.002] (II) modeset(G0):  00ffffffffffff000dae351700000000
[ 47594.002] (II) modeset(G0):  271801049526167802d495a355509d27
[ 47594.002] (II) modeset(G0):  0f505400000001010101010101010101
[ 47594.002] (II) modeset(G0):  010101010101b03680b670381e403020
[ 47594.002] (II) modeset(G0):  35007ed710000018000000fe004e3137
[ 47594.002] (II) modeset(G0):  334847452d4531310a20000000fe0043
[ 47594.002] (II) modeset(G0):  4d4e0a202020202020202020000000fe
[ 47594.002] (II) modeset(G0):  004e3137334847452d4531310a20009c
[ 47594.002] (II) modeset(G0): Printing probed modes for output eDP-1-1
[ 47594.002] (II) modeset(G0): Modeline "1920x1080"x60.0  140.00  1920 1968 2000 2102  1080 1083 1088 1110 -hsync -vsync (66.6 kHz eP)
[ 47594.002] (II) modeset(G0): Modeline "1920x1080_60.00"x60.0  140.00  1920 1968 2000 2102  1080 1083 1088 1110 -hsync +vsync (66.6 kHz)
[ 47594.002] (II) modeset(G0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 47594.002] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 47594.003] (II) modeset(G0): EDID for output DP-1-1
[ 47594.017] (II) modeset(G0): EDID for output HDMI-1-1
[ 47594.045] (II) modeset(G0): EDID for output HDMI-1-2
[ 47594.045] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 47594.045] (==) modeset(G0): DPI set to (96, 96)
[ 47594.045] (II) Loading sub module "fb"
[ 47594.045] (II) LoadModule: "fb"
[ 47594.045] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 47594.045] (II) Module fb: vendor="X.Org Foundation"
[ 47594.045]    compiled for 1.19.5, module version = 1.0.0
[ 47594.045]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 47594.045] (II) Loading sub module "shadow"
[ 47594.045] (II) LoadModule: "shadow"
[ 47594.045] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 47594.045] (II) Module shadow: vendor="X.Org Foundation"
[ 47594.045]    compiled for 1.19.5, module version = 1.1.0
[ 47594.045]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 47594.046] (--) Depth 24 pixmap format is 32 bpp
[ 47594.046] (==) modeset(G0): Backing store enabled
[ 47594.046] (==) modeset(G0): Silken mouse enabled
[ 47594.046] (II) modeset(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 47594.104] (==) modeset(G0): DPMS enabled
[ 47594.104] (WW) modeset(G0): Option "enable" is not used
[ 47594.105] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 47594.105] (II) NVIDIA:     access.
[ 47594.122] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 47594.122] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 47594.122] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 47594.122] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 47594.122] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 47594.122] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 47594.122] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 47594.122] (II) NVIDIA(0):     Config Options in the README.
[ 47594.136] (II) NVIDIA(0): Setting mode "NULL"
[ 47594.139] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 47594.139] (==) NVIDIA(0): Backing store enabled
[ 47594.139] (==) NVIDIA(0): Silken mouse enabled
[ 47594.139] (==) NVIDIA(0): DPMS enabled
[ 47594.139] (WW) NVIDIA(0): Option "enable" is not used
[ 47594.139] (II) Loading sub module "dri2"
[ 47594.139] (II) LoadModule: "dri2"
[ 47594.139] (II) Module "dri2" already built-in
[ 47594.139] (II) NVIDIA(0): [DRI2] Setup complete
[ 47594.139] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 47594.139] (--) RandR disabled
[ 47594.139] (II) Initializing extension GLX
[ 47594.139] (II) Indirect GLX disabled.
[ 47594.409] (II) modeset(G0): Damage tracking initialized
[ 47594.455] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 47594.455] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 47594.455] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 47594.455] (**) Power Button: Applying InputClass "Keyboard default"
[ 47594.455] (II) LoadModule: "evdev"
[ 47594.455] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 47594.455] (II) Module evdev: vendor="X.Org Foundation"
[ 47594.455]    compiled for 1.19.2, module version = 2.10.5
[ 47594.455]    Module class: X.Org XInput Driver
[ 47594.455]    ABI class: X.Org XInput driver, version 24.1
[ 47594.455] (II) Using input driver 'evdev' for 'Power Button'
[ 47594.455] (**) Power Button: always reports core events
[ 47594.455] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 47594.455] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 47594.455] (--) evdev: Power Button: Found keys
[ 47594.455] (II) evdev: Power Button: Configuring as keyboard
[ 47594.455] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 47594.455] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 47594.455] (**) Option "xkb_rules" "evdev"
[ 47594.455] (**) Option "xkb_model" "pc105"
[ 47594.455] (**) Option "xkb_layout" "de"
[ 47594.455] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.467] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 47594.467] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 47594.467] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 47594.467] (**) Video Bus: Applying InputClass "Keyboard default"
[ 47594.467] (II) Using input driver 'evdev' for 'Video Bus'
[ 47594.467] (**) Video Bus: always reports core events
[ 47594.467] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 47594.467] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 47594.467] (--) evdev: Video Bus: Found keys
[ 47594.467] (II) evdev: Video Bus: Configuring as keyboard
[ 47594.467] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[ 47594.467] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 47594.467] (**) Option "xkb_rules" "evdev"
[ 47594.467] (**) Option "xkb_model" "pc105"
[ 47594.467] (**) Option "xkb_layout" "de"
[ 47594.467] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.468] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[ 47594.468] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 47594.468] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 47594.468] (**) Video Bus: Applying InputClass "Keyboard default"
[ 47594.468] (II) Using input driver 'evdev' for 'Video Bus'
[ 47594.468] (**) Video Bus: always reports core events
[ 47594.468] (**) evdev: Video Bus: Device: "/dev/input/event5"
[ 47594.468] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 47594.468] (--) evdev: Video Bus: Found keys
[ 47594.468] (II) evdev: Video Bus: Configuring as keyboard
[ 47594.468] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input5/event5"
[ 47594.468] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 47594.468] (**) Option "xkb_rules" "evdev"
[ 47594.468] (**) Option "xkb_model" "pc105"
[ 47594.468] (**) Option "xkb_layout" "de"
[ 47594.468] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.468] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 47594.468] (II) No input driver specified, ignoring this device.
[ 47594.468] (II) This device may have been added with another device file.
[ 47594.468] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 47594.468] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 47594.468] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 47594.468] (**) Power Button: Applying InputClass "Keyboard default"
[ 47594.468] (II) Using input driver 'evdev' for 'Power Button'
[ 47594.468] (**) Power Button: always reports core events
[ 47594.468] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 47594.468] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 47594.468] (--) evdev: Power Button: Found keys
[ 47594.468] (II) evdev: Power Button: Configuring as keyboard
[ 47594.468] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[ 47594.468] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[ 47594.468] (**) Option "xkb_rules" "evdev"
[ 47594.468] (**) Option "xkb_model" "pc105"
[ 47594.468] (**) Option "xkb_layout" "de"
[ 47594.468] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.469] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 47594.469] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 47594.469] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 47594.469] (**) Sleep Button: Applying InputClass "Keyboard default"
[ 47594.469] (II) Using input driver 'evdev' for 'Sleep Button'
[ 47594.469] (**) Sleep Button: always reports core events
[ 47594.469] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 47594.469] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 47594.469] (--) evdev: Sleep Button: Found keys
[ 47594.469] (II) evdev: Sleep Button: Configuring as keyboard
[ 47594.469] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[ 47594.469] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[ 47594.469] (**) Option "xkb_rules" "evdev"
[ 47594.469] (**) Option "xkb_model" "pc105"
[ 47594.469] (**) Option "xkb_layout" "de"
[ 47594.469] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.469] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event9)
[ 47594.469] (II) No input driver specified, ignoring this device.
[ 47594.469] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event10)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event11)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event12)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event13)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event14)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.470] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
[ 47594.470] (II) No input driver specified, ignoring this device.
[ 47594.470] (II) This device may have been added with another device file.
[ 47594.471] (II) config/udev: Adding input device Logitech USB Trackball (/dev/input/event16)
[ 47594.471] (**) Logitech USB Trackball: Applying InputClass "evdev pointer catchall"
[ 47594.471] (**) Logitech USB Trackball: Applying InputClass "libinput pointer catchall"
[ 47594.471] (**) Logitech USB Trackball: Applying InputClass "Marble Mouse"
[ 47594.471] (II) Using input driver 'evdev' for 'Logitech USB Trackball'
[ 47594.471] (**) Logitech USB Trackball: always reports core events
[ 47594.471] (**) evdev: Logitech USB Trackball: Device: "/dev/input/event16"
[ 47594.529] (**) evdev: Logitech USB Trackball: ButtonMapping '1 8 3 4 5 6 7 2 2'
[ 47594.529] (--) evdev: Logitech USB Trackball: Vendor 0x46d Product 0xc408
[ 47594.529] (--) evdev: Logitech USB Trackball: Found 9 mouse buttons
[ 47594.529] (--) evdev: Logitech USB Trackball: Found relative axes
[ 47594.529] (--) evdev: Logitech USB Trackball: Found x and y relative axes
[ 47594.529] (II) evdev: Logitech USB Trackball: Configuring as mouse
[ 47594.529] (**) Option "Emulate3Buttons" "true"
[ 47594.529] (**) Option "EmulateWheel" "true"
[ 47594.529] (**) Option "EmulateWheelButton" "8"
[ 47594.529] (**) Option "EmulateWheelInertia" "10"
[ 47594.529] (**) evdev: Logitech USB Trackball: YAxisMapping: buttons 4 and 5
[ 47594.529] (**) evdev: Logitech USB Trackball: EmulateWheelButton: 8, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 47594.529] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C408.0001/input/input17/event16"
[ 47594.529] (II) XINPUT: Adding extended input device "Logitech USB Trackball" (type: MOUSE, id 11)
[ 47594.529] (II) evdev: Logitech USB Trackball: initialized for relative axes.
[ 47594.529] (**) Logitech USB Trackball: (accel) keeping acceleration scheme 1
[ 47594.529] (**) Logitech USB Trackball: (accel) acceleration profile 0
[ 47594.529] (**) Logitech USB Trackball: (accel) acceleration factor: 2.000
[ 47594.529] (**) Logitech USB Trackball: (accel) acceleration threshold: 4
[ 47594.530] (II) config/udev: Adding input device Logitech USB Trackball (/dev/input/mouse1)
[ 47594.530] (II) No input driver specified, ignoring this device.
[ 47594.530] (II) This device may have been added with another device file.
[ 47594.530] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event7)
[ 47594.530] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 47594.530] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 47594.530] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard default"
[ 47594.530] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 47594.530] (**) AT Translated Set 2 keyboard: always reports core events
[ 47594.530] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event7"
[ 47594.530] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 47594.530] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 47594.530] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 47594.530] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input6/event7"
[ 47594.530] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[ 47594.530] (**) Option "xkb_rules" "evdev"
[ 47594.530] (**) Option "xkb_model" "pc105"
[ 47594.530] (**) Option "xkb_layout" "de"
[ 47594.530] (**) Option "xkb_variant" "nodeadkeys"
[ 47594.531] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[ 47594.531] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 47594.531] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 47594.531] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 47594.531] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[ 47594.531] (II) LoadModule: "synaptics"
[ 47594.531] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[ 47594.531] (II) Module synaptics: vendor="X.Org Foundation"
[ 47594.531]    compiled for 1.19.5, module version = 1.9.0
[ 47594.531]    Module class: X.Org XInput Driver
[ 47594.531]    ABI class: X.Org XInput driver, version 24.1
[ 47594.531] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 47594.531] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 47594.531] (**) Option "Device" "/dev/input/event8"
[ 47594.557] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5706 (res 44)
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4800 (res 65)
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 47594.557] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 47594.557] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 47594.585] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event8"
[ 47594.585] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[ 47594.585] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 47594.585] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 47594.585] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.037
[ 47594.585] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 47594.585] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 47594.585] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 47594.585] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 47594.585] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 47594.586] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 47594.586] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[ 47594.586] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[ 47594.586] (II) No input driver specified, ignoring this device.
[ 47594.586] (II) This device may have been added with another device file.
[ 47594.826] (II) UnloadModule: "synaptics"
[ 47594.826] (II) evdev: AT Translated Set 2 keyboard: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Logitech USB Trackball: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Sleep Button: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Power Button: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Video Bus: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Video Bus: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.826] (II) evdev: Power Button: Close
[ 47594.826] (II) UnloadModule: "evdev"
[ 47594.837] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 47595.294] (II) Server terminated successfully (0). Closing log file.
(sorry for the wall-o).

All I see here is a warning from NVIDIA about not finding a screen device for DPI computation, but no errors.

Can you help me debug what might be going wrong here?

Cheers,

EE


Last edited by ExecutorElassus on Tue Mar 27, 2018 5:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 177

PostPosted: Tue Mar 27, 2018 4:24 pm    Post subject: Reply with quote

Looks like you're missing the initial
Code:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

to enable Prime output.
In order to have startx working, you'll either need the Xsession set up right or have a ~/.xinitrc like
Code:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec xterm

In case of lightdm have a
/etc/lightdm/lightdm.conf
Code:
[Seat:*]
display-setup-script=/etc/lightdm/display_setup.sh

with /etc/lightdm/display_setup.sh containing the xrandr commands and being executable.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1185
Location: Stuttgart, Germany

PostPosted: Tue Mar 27, 2018 5:18 pm    Post subject: Reply with quote

ZOMG

that fixed it. The /etc/lightdm/lightdm.conf lines were missing, for some reason (perhaps the recent lightdm update erased them when I wasn't paying attention to dispatch-conf?).

Anyway, now I have X, and you are my very favorite.

Cheers,

EE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum