You are not logged in.

#1 2017-04-19 05:40:36

gerassum
Member
Registered: 2017-04-19
Posts: 2

[SOLVED] lightdm starts whith wrong display configuration

Hello everyone. I have fresh ArchLinux installation. I installed X.Org

pacman -S xorg xorg-xinit

whith propietary nvidia drivers, xfce4, lightdm with gtk greeter. If i start manualy

systemctl start lightdm

or just xfce4 session

startx

everysing works great, both monitors detected, no issues with performance in xfce, byt when i enable lightdm.service and reboot i have only one monitor detected and huge lag in xfce. So i tried use dgm, and with it everysing works fine too. But i want to use gdm, any sugessions how to fix this problem?

UPD:

Forgot to mention i have nvidia 970 card

After a lot of reboting and starting lightdm sessions i figured out that sometimes xserver starts properly. Here log for proper start

[     2.317] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[     2.317] X Protocol Version 11, Revision 0
[     2.317] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[     2.317] Current Operating System: Linux arch 4.10.10-1-ARCH #1 SMP PREEMPT Wed Apr 12 18:50:28 CEST 2017 x86_64
[     2.317] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=206afe59-cd9e-4a72-92c2-cf1eb7ecaf45 rw quiet
[     2.317] Build Date: 07 April 2017  05:42:48PM
[     2.317]  
[     2.317] Current version of pixman: 0.34.0
[     2.317] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.317] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.317] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 19 09:53:12 2017
[     2.319] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     2.319] (==) No Layout section.  Using the first Screen section.
[     2.319] (==) No screen section available. Using defaults.
[     2.319] (**) |-->Screen "Default Screen Section" (0)
[     2.319] (**) |   |-->Monitor "<default monitor>"
[     2.320] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     2.320] (==) Automatically adding devices
[     2.320] (==) Automatically enabling devices
[     2.320] (==) Automatically adding GPU devices
[     2.320] (==) Automatically binding GPU devices
[     2.320] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     2.321] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[     2.321] 	Entry deleted from font path.
[     2.322] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[     2.322] (==) ModulePath set to "/usr/lib/xorg/modules"
[     2.322] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.322] (II) Loader magic: 0x822d60
[     2.322] (II) Module ABI versions:
[     2.322] 	X.Org ANSI C Emulation: 0.4
[     2.322] 	X.Org Video Driver: 23.0
[     2.322] 	X.Org XInput driver : 24.1
[     2.322] 	X.Org Server Extension : 10.0
[     2.322] (++) using VT number 1

[     2.322] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     2.322] (II) xfree86: Adding drm device (/dev/dri/card0)
[     2.323] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[     2.323] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[     2.323] (--) PCI:*(0:1:0:0) 10de:13c2:1043:8508 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[     2.323] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.323] (II) LoadModule: "glx"
[     2.324] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[     2.362] (II) Module glx: vendor="NVIDIA Corporation"
[     2.362] 	compiled for 4.0.2, module version = 1.0.0
[     2.362] 	Module class: X.Org Server Extension
[     2.363] (II) NVIDIA GLX Module  378.13  Tue Feb  7 18:25:34 PST 2017
[     2.363] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[     2.363] 	loading driver: nvidia

And this is log when xserver starts in non proper way

[     2.309] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[     2.309] X Protocol Version 11, Revision 0
[     2.309] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[     2.309] Current Operating System: Linux arch 4.10.10-1-ARCH #1 SMP PREEMPT Wed Apr 12 18:50:28 CEST 2017 x86_64
[     2.310] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=206afe59-cd9e-4a72-92c2-cf1eb7ecaf45 rw quiet
[     2.310] Build Date: 07 April 2017  05:42:48PM
[     2.310]  
[     2.310] Current version of pixman: 0.34.0
[     2.310] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.310] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.310] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 19 09:57:40 2017
[     2.312] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     2.312] (==) No Layout section.  Using the first Screen section.
[     2.312] (==) No screen section available. Using defaults.
[     2.312] (**) |-->Screen "Default Screen Section" (0)
[     2.312] (**) |   |-->Monitor "<default monitor>"
[     2.313] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     2.313] (==) Automatically adding devices
[     2.313] (==) Automatically enabling devices
[     2.313] (==) Automatically adding GPU devices
[     2.313] (==) Automatically binding GPU devices
[     2.313] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     2.314] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[     2.314] 	Entry deleted from font path.
[     2.315] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[     2.315] (==) ModulePath set to "/usr/lib/xorg/modules"
[     2.315] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.315] (II) Loader magic: 0x822d60
[     2.315] (II) Module ABI versions:
[     2.315] 	X.Org ANSI C Emulation: 0.4
[     2.315] 	X.Org Video Driver: 23.0
[     2.315] 	X.Org XInput driver : 24.1
[     2.315] 	X.Org Server Extension : 10.0
[     2.315] (++) using VT number 1

[     2.315] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     2.316] (--) PCI:*(0:1:0:0) 10de:13c2:1043:8508 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[     2.316] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.316] (II) LoadModule: "glx"
[     2.317] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     2.324] (II) Module glx: vendor="X.Org Foundation"
[     2.324] 	compiled for 1.19.3, module version = 1.0.0
[     2.325] 	ABI class: X.Org Server Extension, version 10.0

As i understand it loads not propietary driver. Can somebody explain this difference?

Last edited by gerassum (2017-04-19 19:03:38)

Offline

#2 2017-04-19 17:30:00

glyons
Member
From: Europa
Registered: 2016-10-14
Posts: 37

Re: [SOLVED] lightdm starts whith wrong display configuration

Hi

What's the contents of  file /etc/lightdm/lightdm.conf ?

Last edited by glyons (2017-04-19 17:30:26)

Offline

#3 2017-04-19 18:33:57

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] lightdm starts whith wrong display configuration

Can you please post the full xorg.log for both successful and unsuccessful starts along with the matching kernel messages and output from the unit systemd-modules-load.service from the journal.

Offline

#4 2017-04-19 19:03:15

gerassum
Member
Registered: 2017-04-19
Posts: 2

Re: [SOLVED] lightdm starts whith wrong display configuration

@glyons default configuration with logind-check-graphical switched to True
Thanks everybody for interest. Seems I figured out problem, i use fix from Xorg fails during boot, but otherwise starts fine, but in my case xorg not fails, but loads with vesa driver. I think problem solved.

Offline

Board footer

Powered by FluxBB