You are not logged in.

#1 2024-01-01 14:21:28

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Can't Connect to X Server (Solved)

After a recent Arch update, I found I could not log into my system. I did remove several orphaned packages but aside from that, there were no issues with the update as far as I could tell. But on reboot, the sddm display manager showed a blank screen. I tried with lightdm, with the same result. Then I disabled the display manager altogether and tried to connect with startx. I got a connection refused by the server error. Here is the log:

 ➜ cat /var/log/Xorg.0.log                                                                                                                8:00
[    11.516] (--) Log file renamed from "/var/log/Xorg.pid-590.log" to "/var/log/Xorg.0.log"
[    11.516] 
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[    11.516] Current Operating System: Linux paul-20hr000wus 6.6.8-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:00:41 +0000 x86_64
[    11.516] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=c95489cd-2ecf-410a-8280-3279401486d3 rw quiet splash loglevel=3 udev.log_level=3 vt.global_cursor_default=0
[    11.516]  
[    11.516] Current version of pixman: 0.42.2
[    11.516] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    11.516] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.516] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 31 23:25:16 2023
[    11.516] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.516] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.517] (==) No Layout section.  Using the first Screen section.
[    11.517] (==) No screen section available. Using defaults.
[    11.517] (**) |-->Screen "Default Screen Section" (0)
[    11.517] (**) |   |-->Monitor "<default monitor>"
[    11.517] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    11.517] (==) Automatically adding devices
[    11.517] (==) Automatically enabling devices
[    11.517] (==) Automatically adding GPU devices
[    11.517] (==) Automatically binding GPU devices
[    11.517] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    11.517] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    11.517] 	Entry deleted from font path.
[    11.517] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    11.517] 	Entry deleted from font path.
[    11.517] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    11.517] (==) ModulePath set to "/usr/lib/xorg/modules"
[    11.517] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.517] (II) Module ABI versions:
[    11.517] 	X.Org ANSI C Emulation: 0.4
[    11.517] 	X.Org Video Driver: 25.2
[    11.517] 	X.Org XInput driver : 24.4
[    11.517] 	X.Org Server Extension : 10.0
[    11.517] (++) using VT number 2

[    11.517] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    11.518] (II) xfree86: Adding drm device (/dev/dri/card1)
[    11.518] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[    11.529] (--) PCI:*(0@0:2:0) 8086:5916:17aa:224f rev 2, Mem @ 0xeb000000/16777216, 0x60000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[    11.529] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    11.529] (II) LoadModule: "glx"
[    11.529] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.531] (II) Module glx: vendor="X.Org Foundation"
[    11.531] 	compiled for 1.21.1.10, module version = 1.0.0
[    11.531] 	ABI class: X.Org Server Extension, version 10.0
[    11.531] (==) Matched intel as autoconfigured driver 0
[    11.531] (==) Matched modesetting as autoconfigured driver 1
[    11.531] (==) Matched fbdev as autoconfigured driver 2
[    11.531] (==) Matched vesa as autoconfigured driver 3
[    11.531] (==) Assigned the driver to the xf86ConfigLayout
[    11.531] (II) LoadModule: "intel"
[    11.531] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    11.531] (II) Module intel: vendor="X.Org Foundation"
[    11.531] 	compiled for 1.21.1.6, module version = 2.99.917
[    11.531] 	Module class: X.Org Video Driver
[    11.531] 	ABI class: X.Org Video Driver, version 25.2
[    11.531] (II) LoadModule: "modesetting"
[    11.531] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    11.532] (II) Module modesetting: vendor="X.Org Foundation"
[    11.532] 	compiled for 1.21.1.10, module version = 1.21.1
[    11.532] 	Module class: X.Org Video Driver
[    11.532] 	ABI class: X.Org Video Driver, version 25.2
[    11.532] (II) LoadModule: "fbdev"
[    11.532] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    11.532] (II) Module fbdev: vendor="X.Org Foundation"
[    11.532] 	compiled for 1.21.1.1, module version = 0.5.0
[    11.532] 	Module class: X.Org Video Driver
[    11.532] 	ABI class: X.Org Video Driver, version 25.2
[    11.532] (II) LoadModule: "vesa"
[    11.532] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    11.533] (II) Module vesa: vendor="X.Org Foundation"
[    11.533] 	compiled for 1.21.1.4, module version = 2.6.0
[    11.533] 	Module class: X.Org Video Driver
[    11.533] 	ABI class: X.Org Video Driver, version 25.2
[    11.533] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    11.533] (II) intel: Driver for Intel(R) HD Graphics
[    11.533] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    11.533] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    11.533] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    11.533] (II) FBDEV: driver for framebuffer: fbdev
[    11.533] (II) VESA: driver for VESA chipsets: vesa
[    11.533] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[    11.533] (II) intel(0): SNA compiled from 2.99.917-923-gb74b67f0
[    11.534] (WW) Falling back to old probe method for modesetting
[    11.534] (EE) open /dev/dri/card0: No such file or directory
[    11.534] (WW) Falling back to old probe method for fbdev
[    11.534] (II) Loading sub module "fbdevhw"
[    11.534] (II) LoadModule: "fbdevhw"
[    11.534] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    11.534] (II) Module fbdevhw: vendor="X.Org Foundation"
[    11.534] 	compiled for 1.21.1.10, module version = 0.0.2
[    11.534] 	ABI class: X.Org Video Driver, version 25.2
[    11.534] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 620
[    11.534] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[    11.534] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    11.534] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    11.534] (==) intel(0): RGB weight 888
[    11.534] (==) intel(0): Default visual is TrueColor
[    11.535] (II) intel(0): Output eDP1 has no monitor section
[    11.535] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    11.535] (II) intel(0): Enabled output eDP1
[    11.535] (II) intel(0): Output DP1 has no monitor section
[    11.536] (II) intel(0): Enabled output DP1
[    11.536] (II) intel(0): Output HDMI1 has no monitor section
[    11.536] (II) intel(0): Enabled output HDMI1
[    11.536] (II) intel(0): Output DP2 has no monitor section
[    11.536] (II) intel(0): Enabled output DP2
[    11.536] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    11.536] (II) intel(0): Output VIRTUAL1 has no monitor section
[    11.536] (II) intel(0): Enabled output VIRTUAL1
[    11.536] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    11.536] (==) intel(0): TearFree enabled
[    11.536] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    11.536] (==) intel(0): DPI set to (96, 96)
[    11.536] (II) Loading sub module "dri3"
[    11.536] (II) LoadModule: "dri3"
[    11.536] (II) Module "dri3" already built-in
[    11.536] (II) Loading sub module "dri2"
[    11.536] (II) LoadModule: "dri2"
[    11.536] (II) Module "dri2" already built-in
[    11.536] (II) Loading sub module "present"
[    11.536] (II) LoadModule: "present"
[    11.536] (II) Module "present" already built-in
[    11.536] (II) UnloadModule: "modesetting"
[    11.536] (II) Unloading modesetting
[    11.536] (II) UnloadModule: "fbdev"
[    11.537] (II) Unloading fbdev
[    11.537] (II) UnloadSubModule: "fbdevhw"
[    11.537] (II) Unloading fbdevhw
[    11.537] (II) UnloadModule: "vesa"
[    11.537] (II) Unloading vesa
[    11.537] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[    11.537] (==) intel(0): Backing store enabled
[    11.537] (==) intel(0): Silken mouse enabled
[    11.537] (II) intel(0): HW Cursor enabled
[    11.537] (==) intel(0): DPMS enabled
[    11.537] (==) intel(0): Display hotplug detection enabled
[    11.537] (II) intel(0): [DRI2] Setup complete
[    11.537] (II) intel(0): [DRI2]   DRI driver: i965
[    11.537] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    11.537] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    11.537] (II) intel(0): hardware support for Present enabled
[    11.538] (II) Initializing extension Generic Event Extension
[    11.538] (II) Initializing extension SHAPE
[    11.538] (II) Initializing extension MIT-SHM
[    11.538] (II) Initializing extension XInputExtension
[    11.538] (II) Initializing extension XTEST
[    11.538] (II) Initializing extension BIG-REQUESTS
[    11.538] (II) Initializing extension SYNC
[    11.539] (II) Initializing extension XKEYBOARD
[    11.539] (II) Initializing extension XC-MISC
[    11.539] (II) Initializing extension SECURITY
[    11.539] (II) Initializing extension XFIXES
[    11.539] (II) Initializing extension RENDER
[    11.539] (II) Initializing extension RANDR
[    11.539] (II) Initializing extension COMPOSITE
[    11.540] (II) Initializing extension DAMAGE
[    11.540] (II) Initializing extension MIT-SCREEN-SAVER
[    11.540] (II) Initializing extension DOUBLE-BUFFER
[    11.540] (II) Initializing extension RECORD
[    11.540] (II) Initializing extension DPMS
[    11.540] (II) Initializing extension Present
[    11.540] (II) Initializing extension DRI3
[    11.541] (II) Initializing extension X-Resource
[    11.541] (II) Initializing extension XVideo
[    11.541] (II) Initializing extension XVideo-MotionCompensation
[    11.541] (II) Initializing extension GLX
[    11.541] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    11.541] (EE) AIGLX error: unable to load driver i965
[    11.572] (EE) 
[    11.572] (EE) Backtrace:
[    11.572] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x2dd) [0x555cf89cac5d]
[    11.573] (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f3f413bb710]
[    11.573] (EE) 2: ? (?+0x0) [0x555cf92dfd00]
[    11.573] (EE) 
[    11.573] (EE) Segmentation fault at address 0x555cf92dfd00
[    11.573] (EE) 
Fatal server error:
[    11.573] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    11.573] (EE) 
[    11.573] (EE) 
Please consult the The X.Org Foundation support 
	at http://wiki.x.org
 for help. 
[    11.573] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    11.573] (EE) 
[    11.577] (EE) Server terminated with error (1). Closing log file.

What is the fix for this problem? I checked the $DISPLAY env variable and it is correct.

Last edited by Gabachin (2024-01-01 21:40:25)

Offline

#2 2024-01-01 14:31:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't Connect to X Server (Solved)

https://bbs.archlinux.org/viewtopic.php … 0#p2140410

Using the intel ddx on a Kaby Lake iGPU is a terrible idea.

Online

#3 2024-01-01 15:15:58

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Can't Connect to X Server (Solved)

I unistalled the xf86-video-intel drivers and installed the mesa-amber video package, enabled sddm and now it is working. Still have the question though, as to why all of a sudden it broke, since I have been using the system for a year now (vanilla Arch + i3) with no problems.

Offline

#4 2024-01-01 15:20:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't Connect to X Server (Solved)

you either uninstall the intel ddx OR install mesa-amber, not both. For Kaby lake, you don't want to be anywhere near mesa-amber.

Your setup has been broken since the start and it's falling back to software rendering. New mesa has a bug in swrast, but you should have never been hitting that anyway.

Last edited by Scimmia (2024-01-01 15:22:42)

Online

#5 2024-01-01 20:28:05

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Can't Connect to X Server (Solved)

But this output looks ok to me (which probably means I am missing something):

 ~  ➜ lspci -k | grep -A 2 -E "(VGA|3D)"                                                                                   14:21
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
	Subsystem: Lenovo ThinkPad X1 Carbon 5th Gen
	Kernel driver in use: i915

 ~  ➜ glxinfo | grep OpenGL                                                                                                14:24
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 21.3.9-arch.6 Amber
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

~  [⏱ 2s]➜ glxinfo | grep direct                                                                                          14:34
direct rendering: Yes

Last edited by Gabachin (2024-01-01 20:35:40)

Offline

#6 2024-01-01 20:30:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't Connect to X Server (Solved)

It's not, you're using the legacy driver. You do NOT want mesa-amber.

Online

#7 2024-01-01 20:37:02

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Can't Connect to X Server (Solved)

OK, so what do I do? Unistall mesa-amber? And install which driver?

Offline

#8 2024-01-01 20:44:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't Connect to X Server (Solved)

just install mesa, it'll remove mesa-amber.

Online

#9 2024-01-01 21:03:27

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Can't Connect to X Server (Solved)

Got it. Can you explain what happened to my system in the first place? After an update, I got a blank sddm screen, and was not able to start my wm with xinit or startx. I removed the xf86-video-intel drivers (and now the mesa-amber) and installed mesa. Now my system runs as expected. I thought removal of the xf86-video-intel drivers would make the system automatically fall back on modesetting. And mesa is just a set of (open-source) drivers for Intel graphics. What does this have to do with the original problem?

Offline

#10 2024-01-01 21:05:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't Connect to X Server (Solved)

You should have never had xf86-video-intel installed in the first place. Ever since the legacy drivers were split off into mesa-amber, your system has been broken and falling back to software rendering. The mesa update broke software rendering, so it went from broken to broken and unusable.

Online

#11 2024-01-01 21:37:53

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Can't Connect to X Server (Solved)

Yes, ok, that makes sense. My system is a vanilla Arch setup, that I installed following the Arch Wiki. I think I needed the xf86-video-intel for xbacklight with i3wm, the wm I chose. I wonder if the offending driver was also the reason I could never get a stable system with the zen kernel, always has to use lts. Anyway, marking as solved.

Offline

Board footer

Powered by FluxBB