You are not logged in.

#1 2019-04-17 02:44:21

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

[SOLVED] lightdm fails to start when invoked from terminal

How can I successfully manually restart lightdm? I have lightdm enabled through systemd and it normally starts up and runs without error from boot to shutdown.
However, if I try and run

$ systemctl restart lightdm

Or try and start lightdm from the terminal

$ systemctl start lightdm

Xorg and lightdm fail to start.

In the lightdm.log and x-0.log in /var/log/lightdm, neither reference any issues beyond both a keyboard and a failure to access a directory, so I am not sure if either are relevant to my problem. Will post in case they are informative:
x-0.log

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux myfirstarch 5.0.7-arch1-1-ARCH #1 SMP PREEMPT Mon Apr 8 10:37:08 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e34d4f8b-aee8-441b-bb8f-2bea272866ed rw quiet
Build Date: 27 February 2019  04:04:00PM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 16 18:37:04 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
> Internal error:   Could not resolve keysym XF86MonBrightnessCycle
Errors from xkbcomp are not fatal to the X server
nvc0_screen_create:1007 - Error allocating PGRAPH context for M2MF: -16
(II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
xf86: found device 2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
> Internal error:   Could not resolve keysym XF86MonBrightnessCycle
Errors from xkbcomp are not fatal to the X server
(EE) Failed to open authorization file "/run/lightdm/root/:0": No such file or directory 

lightdm.log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=517
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+1.07s] DEBUG: Monitoring logind for seats
[+1.07s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+1.07s] DEBUG: posix_spawn avoided (fd close requested) 
[+1.07s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+1.21s] DEBUG: Loading users from org.freedesktop.Accounts
[+1.21s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+1.25s] DEBUG: Seat seat0 changes graphical state to true
[+1.25s] DEBUG: New seat added from logind: seat0
[+1.25s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+1.25s] DEBUG: Seat seat0: Starting
[+1.25s] DEBUG: Seat seat0: Creating greeter session
[+1.25s] DEBUG: Seat seat0: Creating display server of type x
[+1.25s] DEBUG: Using VT 7
[+1.25s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1.25s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+1.25s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+1.25s] DEBUG: XServer 0: Launching X Server
[+1.25s] DEBUG: Launching process 560: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.25s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+1.25s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.29s] DEBUG: Got signal 10 from process 560
[+2.29s] DEBUG: XServer 0: Got signal from X server :0
[+2.29s] DEBUG: XServer 0: Connecting to XServer :0
[+2.32s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+2.32s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.32s] DEBUG: Session pid=569: Started with service 'lightdm-greeter', username 'lightdm'
[+2.34s] DEBUG: Session pid=569: Authentication complete with return value 0: Success
[+2.34s] DEBUG: Seat seat0: Session authenticated, running command
[+2.34s] DEBUG: Session pid=569: Running command /usr/bin/lightdm-gtk-greeter
[+2.34s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.34s] DEBUG: Session pid=569: Logging to /var/log/lightdm/seat0-greeter.log
[+2.45s] DEBUG: Activating VT 7
[+2.45s] DEBUG: Activating login1 session c1
[+2.45s] DEBUG: Seat seat0 changes active session to c1
[+2.45s] DEBUG: Session c1 is already active
[+2.66s] DEBUG: Greeter connected version=1.28.0 api=1 resettable=false
[+23.28s] DEBUG: Greeter start authentication for ajschadler12
[+23.28s] DEBUG: Session pid=657: Started with service 'lightdm', username 'ajschadler12'
[+23.29s] DEBUG: Session pid=657: Got 1 message(s) from PAM
[+23.29s] DEBUG: Prompt greeter with 1 message(s)
[+62.98s] DEBUG: Continue authentication
[+63.00s] DEBUG: Session pid=657: Authentication complete with return value 0: Success
[+63.00s] DEBUG: Authenticate result for user ajschadler12: Success
[+63.00s] DEBUG: User ajschadler12 authorized
[+63.00s] DEBUG: Greeter sets language en_US.UTF-8
[+63.01s] DEBUG: Greeter requests session gnome
[+63.01s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+63.01s] DEBUG: Terminating login1 session c1
[+63.01s] DEBUG: Session pid=569: Sending SIGTERM
[+63.02s] DEBUG: Greeter closed communication channel
[+63.02s] DEBUG: Session pid=569: Exited with return value 0
[+63.02s] DEBUG: Seat seat0: Session stopped
[+63.02s] DEBUG: Seat seat0: Greeter stopped, running session
[+63.02s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+63.02s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+63.02s] DEBUG: Session pid=657: Running command /etc/lightdm/Xsession /usr/bin/gnome-session
[+63.02s] DEBUG: Creating shared data directory /var/lib/lightdm-data/ajschadler12
[+63.02s] DEBUG: Session pid=657: Logging to .xsession-errors
[+63.16s] DEBUG: Activating VT 7
[+63.16s] DEBUG: Activating login1 session 2
[+63.16s] DEBUG: Seat seat0 changes active session to 
[+63.16s] DEBUG: Seat seat0 changes active session to 2
[+63.16s] DEBUG: Session 2 is already active 

Also, if it is informative, I am running these two GPUs (output from lspci | grep -e VGA -e 3D)

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1) 

Posts such as https://bbs.archlinux.org/viewtopic.php?id=245614 and https://bbs.archlinux.org/viewtopic.php?id=245327 clued me in to thinking that nvidia optimus might be a potential source of the issue. Either that or an improperly configured nouveau driver. Though, for whatever reason, none of the lightdm logs mention this. Then again, it is worth mentioning that when I switch to a virtual terminal, either with lightdm up or having manually quit it, kernel audit messages start to appear randomly throughout the console. Might be relevant since I have read on one particular forum post that an improperly configured nouveau driver can cause the kernel to print audits to the console.

Last edited by keiichiiownsu12 (2019-04-17 18:46:14)


I, uh, nevermind

Offline

#2 2019-04-17 03:19:38

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

Re: [SOLVED] lightdm fails to start when invoked from terminal

Would it helpful for me to post the lightdm config files, Xsession script in /etc/lightdm/, and my xorg.conf file?


I, uh, nevermind

Offline

#3 2019-04-17 10:25:13

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

Re: [SOLVED] lightdm fails to start when invoked from terminal

It appears this might have something to do with my nouveau driver. I recently tried to reconfigure my device in order to setup PRIME (i.e. the optimus work around), enabling the kernel parameters:

 quiet splash nouveau.config=NvBios=PRAMIN drm.debug=14 log_buf_len=16M

I also set the nouveau module to load in /etc/mkinitcpio.conf. When I did these things and rebooted, lightdm failed to start. When I only disabled the nouveau module in /etc/mkinitcpio.conf and rebooted, lightdm was able to start again.

I also tried to start an x server via xinit after lightdm crashed initially. I got this x-log:

 X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[     8.698] Build Operating System: Linux Arch Linux
[     8.698] Current Operating System: Linux myfirstarch 5.0.7-arch1-1-ARCH #1 SMP PREEMPT Mon Apr 8 10:37:08 UTC 2019 x86_64
[     8.698] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e34d4f8b-aee8-441b-bb8f-2bea272866ed rw quiet splash nouveau.config=NvBios=PRAMIN drm.debug=14 log_buf_len=16M
[     8.698] Build Date: 27 February 2019  04:04:00PM
[     8.698]  
[     8.698] Current version of pixman: 0.38.4
[     8.698] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     8.698] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.698] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 17 02:52:21 2019
[     8.701] (==) Using config file: "/etc/X11/xorg.conf"
[     8.701] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.703] (==) ServerLayout "X.org Configured"
[     8.703] (**) |-->Screen "Screen0" (0)
[     8.703] (**) |   |-->Monitor "Monitor0"
[     8.704] (**) |   |-->Device "Card0"
[     8.704] (**) |-->Screen "Screen1" (1)
[     8.704] (**) |   |-->Monitor "Monitor1"
[     8.704] (**) |   |-->Device "Card1"
[     8.704] (**) |-->Input Device "Mouse0"
[     8.704] (**) |-->Input Device "Keyboard0"
[     8.704] (==) Automatically adding devices
[     8.704] (==) Automatically enabling devices
[     8.704] (==) Automatically adding GPU devices
[     8.704] (==) Automatically binding GPU devices
[     8.704] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     8.708] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     8.708] 	Entry deleted from font path.
[     8.708] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[     8.711] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[     8.711] 	Entry deleted from font path.
[     8.711] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[     8.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[     8.712] 	Entry deleted from font path.
[     8.712] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[     8.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     8.712] 	Entry deleted from font path.
[     8.712] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[     8.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[     8.712] 	Entry deleted from font path.
[     8.712] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[     8.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[     8.712] 	Entry deleted from font path.
[     8.712] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[     8.712] (**) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1
[     8.712] (**) ModulePath set to "/usr/lib/xorg/modules"
[     8.712] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     8.712] (WW) Disabling Mouse0
[     8.712] (WW) Disabling Keyboard0
[     8.712] (II) Module ABI versions:
[     8.712] 	X.Org ANSI C Emulation: 0.4
[     8.712] 	X.Org Video Driver: 24.0
[     8.712] 	X.Org XInput driver : 24.1
[     8.712] 	X.Org Server Extension : 10.0
[     8.713] (++) using VT number 7

[     8.713] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     8.714] (II) xfree86: Adding drm device (/dev/dri/card1)
[     8.718] (II) xfree86: Adding drm device (/dev/dri/card0)
[     8.721] (--) PCI:*(0@0:2:0) 8086:5917:1043:15ae rev 7, Mem @ 0xed000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     8.721] (--) PCI: (1@0:0:0) 10de:1d10:1043:15ae rev 161, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     8.721] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     8.721] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[     8.721] (II) LoadModule: "glx"
[     8.724] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.741] (II) Module glx: vendor="X.Org Foundation"
[     8.741] 	compiled for 1.20.4, module version = 1.0.0
[     8.741] 	ABI class: X.Org Server Extension, version 10.0
[     8.741] (II) LoadModule: "nouveau"
[     8.741] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     8.744] (II) Module nouveau: vendor="X.Org Foundation"
[     8.744] 	compiled for 1.20.3, module version = 1.0.16
[     8.744] 	Module class: X.Org Video Driver
[     8.744] 	ABI class: X.Org Video Driver, version 24.0
[     8.744] (II) LoadModule: "modesetting"
[     8.744] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     8.747] (II) Module modesetting: vendor="X.Org Foundation"
[     8.747] 	compiled for 1.20.4, module version = 1.20.4
[     8.747] 	Module class: X.Org Video Driver
[     8.747] 	ABI class: X.Org Video Driver, version 24.0
[     8.747] (II) NOUVEAU driver 
[     8.747] (II) NOUVEAU driver for NVIDIA chipset families :
[     8.747] 	RIVA TNT            (NV04)
[     8.747] 	RIVA TNT2           (NV05)
[     8.747] 	GeForce 256         (NV10)
[     8.747] 	GeForce 2           (NV11, NV15)
[     8.747] 	GeForce 4MX         (NV17, NV18)
[     8.747] 	GeForce 3           (NV20)
[     8.747] 	GeForce 4Ti         (NV25, NV28)
[     8.747] 	GeForce FX          (NV3x)
[     8.747] 	GeForce 6           (NV4x)
[     8.747] 	GeForce 7           (G7x)
[     8.747] 	GeForce 8           (G8x)
[     8.747] 	GeForce 9           (G9x)
[     8.747] 	GeForce GTX 2xx/3xx (GT2xx)
[     8.747] 	GeForce GTX 4xx/5xx (GFxxx)
[     8.747] 	GeForce GTX 6xx/7xx (GKxxx)
[     8.747] 	GeForce GTX 9xx     (GMxxx)
[     8.747] 	GeForce GTX 10xx    (GPxxx)
[     8.747] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     8.759] (II) [drm] nouveau interface version: 1.3.1
[     8.770] (II) modeset(1): using drv /dev/dri/card1
[     8.770] (II) Loading sub module "dri2"
[     8.770] (II) LoadModule: "dri2"
[     8.770] (II) Module "dri2" already built-in
[     8.771] (--) NOUVEAU(0): Chipset: "NVIDIA NV138"
[     8.771] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[     8.771] (==) NOUVEAU(0): RGB weight 888
[     8.771] (==) NOUVEAU(0): Default visual is TrueColor
[     8.771] (==) NOUVEAU(0): Using HW cursor
[     8.771] (==) NOUVEAU(0): Allowed maximum DRI level 2.
[     8.771] (==) NOUVEAU(0): GLX sync to VBlank enabled.
[     8.771] (==) NOUVEAU(0): Page flipping enabled
[     8.771] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
[     8.771] (==) NOUVEAU(0): Page flipping synced to vblank by kernel.
[     8.771] (WW) NOUVEAU(0): No outputs definitely connected, trying again...
[     8.771] (WW) NOUVEAU(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[     8.771] (==) NOUVEAU(0): Using gamma correction (1.0, 1.0, 1.0)
[     8.771] (II) NOUVEAU(0): Virtual size is 1024x768 (pitch 0)
[     8.771] (**) NOUVEAU(0):  Mode "1024x768": 63.5 MHz (scaled from 0.0 MHz), 47.8 kHz, 59.9 Hz
[     8.771] (II) NOUVEAU(0): Modeline "1024x768"x59.9   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync (47.8 kHz)
[     8.771] (==) NOUVEAU(0): DPI set to (96, 96)
[     8.771] (II) Loading sub module "fb"
[     8.771] (II) LoadModule: "fb"
[     8.771] (II) Loading /usr/lib/xorg/modules/libfb.so
[     8.773] (II) Module fb: vendor="X.Org Foundation"
[     8.773] 	compiled for 1.20.4, module version = 1.0.0
[     8.773] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     8.773] (II) Loading sub module "shadowfb"
[     8.773] (II) LoadModule: "shadowfb"
[     8.773] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[     8.773] (II) Module shadowfb: vendor="X.Org Foundation"
[     8.773] 	compiled for 1.20.4, module version = 1.0.0
[     8.773] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     8.773] (==) modeset(1): Depth 24, (==) framebuffer bpp 32
[     8.774] (==) modeset(1): RGB weight 888
[     8.774] (==) modeset(1): Default visual is TrueColor
[     8.774] (II) Loading sub module "glamoregl"
[     8.774] (II) LoadModule: "glamoregl"
[     8.774] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     8.788] (II) Module glamoregl: vendor="X.Org Foundation"
[     8.788] 	compiled for 1.20.4, module version = 1.0.1
[     8.788] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     8.865] (II) modeset(1): glamor X acceleration enabled on Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) 
[     8.865] (II) modeset(1): glamor initialized
[     8.866] (II) modeset(1): Output eDP-1 using monitor section Monitor1
[     8.871] (II) modeset(1): Output HDMI-1 has no monitor section
[     8.873] (II) modeset(1): EDID for output eDP-1
[     8.873] (II) modeset(1): Manufacturer: BOE  Model: 6f3  Serial#: 0
[     8.873] (II) modeset(1): Year: 2016  Week: 32
[     8.873] (II) modeset(1): EDID Version: 1.4
[     8.873] (II) modeset(1): Digital Display Input
[     8.873] (II) modeset(1): 8 bits per channel
[     8.873] (II) modeset(1): Digital interface is DisplayPort
[     8.873] (II) modeset(1): Max Image Size [cm]: horiz.: 31  vert.: 17
[     8.873] (II) modeset(1): Gamma: 2.20
[     8.873] (II) modeset(1): No DPMS capabilities specified
[     8.873] (II) modeset(1): Supported color encodings: RGB 4:4:4 
[     8.873] (II) modeset(1): First detailed timing is preferred mode
[     8.873] (II) modeset(1): Preferred mode is native pixel format and refresh rate
[     8.873] (II) modeset(1): redX: 0.585 redY: 0.366   greenX: 0.350 greenY: 0.581
[     8.873] (II) modeset(1): blueX: 0.162 blueY: 0.138   whiteX: 0.312 whiteY: 0.328
[     8.873] (II) modeset(1): Manufacturer's mask: 0
[     8.873] (II) modeset(1): Supported detailed timing:
[     8.873] (II) modeset(1): clock: 141.2 MHz   Image Size:  309 x 173 mm
[     8.873] (II) modeset(1): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2200 h_border: 0
[     8.873] (II) modeset(1): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1120 v_border: 0
[     8.873] (II) modeset(1): Unknown vendor-specific block 0
[     8.873] (II) modeset(1):  BOE CQ
[     8.873] (II) modeset(1):  NV140FHM-N49
[     8.873] (II) modeset(1): EDID (in hex):
[     8.873] (II) modeset(1): 	00ffffffffffff0009e5f30600000000
[     8.873] (II) modeset(1): 	201a0104a51f117802fb90955d599429
[     8.873] (II) modeset(1): 	23505400000001010101010101010101
[     8.873] (II) modeset(1): 	01010101010128378018713828403020
[     8.873] (II) modeset(1): 	360035ad1000001a0000000000000000
[     8.873] (II) modeset(1): 	0000000000000000001a000000fe0042
[     8.873] (II) modeset(1): 	4f452043510a202020202020000000fe
[     8.873] (II) modeset(1): 	004e5631343046484d2d4e34390a001d
[     8.873] (II) modeset(1): Printing probed modes for output eDP-1
[     8.873] (II) modeset(1): Modeline "1920x1080"x57.3  141.20  1920 1968 2000 2200  1080 1083 1089 1120 +hsync -vsync (64.2 kHz eP)
[     8.873] (II) modeset(1): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[     8.873] (II) modeset(1): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[     8.873] (II) modeset(1): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[     8.873] (II) modeset(1): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[     8.873] (II) modeset(1): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[     8.873] (II) modeset(1): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[     8.873] (II) modeset(1): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[     8.873] (II) modeset(1): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[     8.873] (II) modeset(1): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[     8.873] (II) modeset(1): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[     8.873] (II) modeset(1): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[     8.873] (II) modeset(1): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[     8.873] (II) modeset(1): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[     8.873] (II) modeset(1): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[     8.874] (II) modeset(1): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[     8.874] (II) modeset(1): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[     8.874] (II) modeset(1): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[     8.874] (II) modeset(1): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[     8.874] (II) modeset(1): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[     8.874] (II) modeset(1): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[     8.874] (II) modeset(1): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[     8.874] (II) modeset(1): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[     8.874] (II) modeset(1): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[     8.874] (II) modeset(1): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[     8.874] (II) modeset(1): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[     8.874] (II) modeset(1): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[     8.874] (II) modeset(1): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[     8.874] (II) modeset(1): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[     8.874] (II) modeset(1): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[     8.874] (II) modeset(1): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[     8.874] (II) modeset(1): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[     8.874] (II) modeset(1): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[     8.874] (II) modeset(1): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[     8.874] (II) modeset(1): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[     8.874] (II) modeset(1): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[     8.874] (II) modeset(1): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[     8.874] (II) modeset(1): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[     8.874] (II) modeset(1): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[     8.874] (II) modeset(1): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[     8.874] (II) modeset(1): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[     8.874] (II) modeset(1): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[     8.874] (II) modeset(1): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[     8.874] (II) modeset(1): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[     8.874] (II) modeset(1): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[     8.874] (II) modeset(1): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[     8.874] (II) modeset(1): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[     8.874] (II) modeset(1): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[     8.874] (II) modeset(1): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[     8.874] (II) modeset(1): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[     8.874] (II) modeset(1): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[     8.874] (II) modeset(1): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[     8.874] (II) modeset(1): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[     8.874] (II) modeset(1): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[     8.874] (II) modeset(1): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[     8.874] (II) modeset(1): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[     8.874] (II) modeset(1): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[     8.874] (II) modeset(1): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[     8.874] (II) modeset(1): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[     8.874] (II) modeset(1): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[     8.874] (II) modeset(1): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[     8.874] (II) modeset(1): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[     8.874] (II) modeset(1): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[     8.874] (II) modeset(1): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[     8.874] (II) modeset(1): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[     8.874] (II) modeset(1): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[     8.874] (II) modeset(1): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[     8.878] (II) modeset(1): EDID for output HDMI-1
[     8.878] (II) modeset(1): Output eDP-1 connected
[     8.878] (II) modeset(1): Output HDMI-1 disconnected
[     8.878] (II) modeset(1): Using exact sizes for initial modes
[     8.878] (II) modeset(1): Output eDP-1 using initial mode 1920x1080 +0+0
[     8.878] (==) modeset(1): Using gamma correction (1.0, 1.0, 1.0)
[     8.878] (==) modeset(1): DPI set to (96, 96)
[     8.878] (II) Loading sub module "fb"
[     8.878] (II) LoadModule: "fb"
[     8.878] (II) Loading /usr/lib/xorg/modules/libfb.so
[     8.878] (II) Module fb: vendor="X.Org Foundation"
[     8.878] 	compiled for 1.20.4, module version = 1.0.0
[     8.878] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.897] (EE) NOUVEAU(0): Failed to initialise context object: 2D_NVC0 (0)
[    10.897] (EE) NOUVEAU(0): Error initialising acceleration.  Falling back to NoAccel
[    10.897] (**) NOUVEAU(0): [COPY] acceleration disabled
[    12.900] (II) NOUVEAU(0): Hardware support for Present enabled
[    12.900] (==) NOUVEAU(0): Backing store enabled
[    12.900] (==) NOUVEAU(0): Silken mouse disabled
[    12.900] (==) NOUVEAU(0): DPMS enabled
[    12.913] (==) modeset(1): Backing store enabled
[    12.913] (==) modeset(1): Silken mouse disabled
[    12.976] (II) modeset(1): Initializing kms color map for depth 24, 8 bpc.
[    12.976] (==) modeset(1): DPMS enabled
[    12.977] (II) modeset(1): [DRI2] Setup complete
[    12.977] (II) modeset(1): [DRI2]   DRI driver: i965
[    12.977] (II) modeset(1): [DRI2]   VDPAU driver: i965
[    12.977] (II) Initializing extension Generic Event Extension
[    12.978] (II) Initializing extension SHAPE
[    12.978] (II) Initializing extension MIT-SHM
[    12.978] (II) Initializing extension XInputExtension
[    12.978] (II) Initializing extension XTEST
[    12.979] (II) Initializing extension BIG-REQUESTS
[    12.979] (II) Initializing extension SYNC
[    12.979] (II) Initializing extension XKEYBOARD
[    12.979] (II) Initializing extension XC-MISC
[    12.979] (II) Initializing extension SECURITY
[    12.980] (II) Initializing extension XFIXES
[    12.980] (II) Initializing extension RENDER
[    12.980] (II) Initializing extension RANDR
[    12.980] (II) Initializing extension COMPOSITE
[    12.981] (II) Initializing extension DAMAGE
[    12.981] (II) Initializing extension MIT-SCREEN-SAVER
[    12.981] (II) Initializing extension DOUBLE-BUFFER
[    12.981] (II) Initializing extension RECORD
[    12.982] (II) Initializing extension DPMS
[    12.982] (II) Initializing extension Present
[    12.982] (II) Initializing extension DRI3
[    12.982] (II) Initializing extension X-Resource
[    12.983] (II) Initializing extension XVideo
[    12.983] (II) Initializing extension XVideo-MotionCompensation
[    12.983] (II) Initializing extension GLX
[    12.983] (II) AIGLX: Screen 0 is not DRI2 capable
[    13.236] (II) IGLX: Loaded and initialized swrast
[    13.236] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    13.249] (II) AIGLX: Loaded and initialized i965
[    13.249] (II) GLX: Initialized DRI2 GL provider for screen 1
[    13.249] (II) Initializing extension XFree86-VidModeExtension
[    13.249] (II) Initializing extension XFree86-DGA
[    13.249] (II) Initializing extension XFree86-DRI
[    13.249] (II) Initializing extension DRI2
[    15.257] (II) NOUVEAU(0): NVEnterVT is called.
[    15.257] (EE) 
[    15.257] (EE) Backtrace:
[    15.257] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x4d) [0x5594928df26d]
[    15.257] (EE) 1: /usr/lib/Xorg (0x55949282e000+0xb13a9) [0x5594928df3a9]
[    15.257] (EE) 2: /usr/lib/libc.so.6 (0x7fe3aa78b000+0x37e00) [0x7fe3aa7c2e00]
[    15.257] (EE) 3: /usr/lib/Xorg (xf86RandR12CreateScreenResources+0x52c) [0x559492890bfc]
[    15.257] (EE) 4: /usr/lib/Xorg (0x55949282e000+0x6a548) [0x559492898548]
[    15.257] (EE) 5: /usr/lib/Xorg (0x55949282e000+0x374e8) [0x5594928654e8]
[    15.257] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf3) [0x7fe3aa7af223]
[    15.257] (EE) 7: /usr/lib/Xorg (_start+0x2e) [0x55949286630e]
[    15.257] (EE) 
[    15.257] (EE) Segmentation fault at address 0x0
[    15.258] (EE) 
Fatal server error:
[    15.258] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    15.258] (EE) 
[    15.258] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    15.258] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.258] (EE) 
[    15.258] (II) NOUVEAU(0): NVLeaveVT is called.
[    15.258] (II) AIGLX: Suspending AIGLX clients for VT switch

Also, the x-log from /var/log/lightdm references the same backtrace/segmentation fault as the previous xorg.0.log:

 X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux myfirstarch 5.0.7-arch1-1-ARCH #1 SMP PREEMPT Mon Apr 8 10:37:08 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e34d4f8b-aee8-441b-bb8f-2bea272866ed rw quiet splash nouveau.config=NvBios=PRAMIN drm.debug=14 log_buf_len=16M
Build Date: 27 February 2019  04:04:00PM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 17 02:52:21 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(1): Initializing kms color map for depth 24, 8 bpc.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/lib/Xorg (xorg_backtrace+0x4d) [0x5594928df26d]
(EE) 1: /usr/lib/Xorg (0x55949282e000+0xb13a9) [0x5594928df3a9]
(EE) 2: /usr/lib/libc.so.6 (0x7fe3aa78b000+0x37e00) [0x7fe3aa7c2e00]
(EE) 3: /usr/lib/Xorg (xf86RandR12CreateScreenResources+0x52c) [0x559492890bfc]
(EE) 4: /usr/lib/Xorg (0x55949282e000+0x6a548) [0x559492898548]
(EE) 5: /usr/lib/Xorg (0x55949282e000+0x374e8) [0x5594928654e8]
(EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf3) [0x7fe3aa7af223]
(EE) 7: /usr/lib/Xorg (_start+0x2e) [0x55949286630e]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.

This makes me think the nouveau driver might be somehow problematic. I am unsure where to go from here though. My nvidia card doesn't even seem to be configured to display under lightdm's default (i.e. when it successfully starts at boot):

 xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x1b3 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting

I.e. that, for whatever reason, provider 2 (which gpu?) 0 for everything. Also, that, for whatever reason, both cards are set to "modesetting"


I, uh, nevermind

Offline

#4 2019-04-17 10:35:23

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

Re: [SOLVED] lightdm fails to start when invoked from terminal

Additionally, my xinit is configured to use the nouveau driver mainly. At least, I think that is the case, since it sets the nvidia card to "display 0". However, when I switched the card numbers for "Displays 0 and 1", that did not fix anything either. I.e. the same error occurred.
xinit:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "WrappedFB"          	# [<bool>]
        #Option     "GLXVBlank"          	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapLimit"          	# <i>
        #Option     "AsyncUTSDFS"        	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# <i>
	Identifier  "Card0"
	Driver      "nouveau"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DoubleShadow"       	# [<bool>]
	Identifier  "Card1"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

By the way, I would like to apologize for the excessive posting. I have been trying out different solutions and wish to show the outputs of such here for further clarification. I hope such is appropriate. Thank you for any clarification you can provide!


I, uh, nevermind

Offline

#5 2019-04-17 18:54:49

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

Re: [SOLVED] lightdm fails to start when invoked from terminal

Figured out the problem. Uninstalled nouveau and generated a new xorg.conf file. It changed the drivers for both cards to "modeswitching".
Now I can start lightdm, xserver, and any other desktop environment from the command line.

Xorg.conf:

 Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DoubleShadow"       	# [<bool>]
	Identifier  "Card1"
	Driver      "modesetting"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

For now, it seems I will not be able to utilize my nvidia card until I figure out optimus. If anyone comes across similar problems with optimus enabled systems (i.e. manual startups of desktop or xorg environments leading to seg faults or similar errors) I guess for now just uninstall nouveau. Will try proprietary drivers in a few days. Will post results in a new thread later*


I, uh, nevermind

Offline

Board footer

Powered by FluxBB