Bug 2317043 - gdm doesn't start when upgrading to F41 on Dell XPS 13 9360 laptop
Summary: gdm doesn't start when upgrading to F41 on Dell XPS 13 9360 laptop
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-07 19:23 UTC by Michael Katzmann
Modified: 2025-01-12 20:03 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-12 20:03:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
boot log from failing system (503.58 KB, text/plain)
2024-10-29 20:02 UTC, Michael Katzmann
no flags Details
strace (61.44 KB, text/plain)
2024-11-05 22:05 UTC, Michael Katzmann
no flags Details

Description Michael Katzmann 2024-10-07 19:23:58 UTC
gdm doesn't start when upgrading to F41 on Dell XPS 13 9360 laptop.

Upgrading Fedora 40 to Fedora 41 workstation (or installing fresh from live distro), installation occurs but screen is black upon boot. Console screens can be accessed (ctrl+alt+F4) but gdm screen is black.

This seems to be a recent bug. I had upgraded initially when 41 beta was released and it worked but about 10 days ago the update caused this problem (and it has not been fixed as of yesterday).

Hardware is as:
cpu:                                                       	 
                   	Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz, 3500 MHz
                   	Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz, 3733 MHz
                   	Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz, 3800 MHz
                   	Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz, 3755 MHz
keyboard:
  /dev/input/event4	AT Translated Set 2 keyboard
mouse:
  /dev/input/mice  	Elan Microelectronics Touchscreen
  /dev/input/mice  	DLL075B:01 06CB:76AF Mouse
  /dev/input/mice  	DLL075B:01 06CB:76AF Touchpad
monitor:
                   	RXN49 LQ133Z1 LCD Monitor
graphics card:
                   	Intel Iris Plus Graphics 640
sound:
                   	Intel Sunrise Point-LP HD Audio
storage:
                   	Intel 82801 Mobile SATA Controller [RAID mode]
network:
  wlp58s0          	Intel Wireless 8265 / 8275
network interface:
  lo               	Loopback network interface
  wlp58s0          	Ethernet network interface
disk:
  /dev/sda         	Samsung Portable SSD T3
  /dev/zram0       	Disk
                   	Samsung Electronics Portable SSD T3 (MU-PT250B, MU-PT500B)
partition:
  /dev/sda1        	Partition
  /dev/sda2        	Partition
  /dev/sda3        	Partition
usb controller:
                   	Intel DSL6340 USB 3.1 Controller [Alpine Ridge]
                   	Intel Sunrise Point-LP USB 3.0 xHCI Controller
bios:
                   	BIOS
bridge:
                   	Intel Sunrise Point-LP PCI Express Root Port #1
                   	Intel Sunrise Point LPC Controller/eSPI Controller
                   	Intel DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
                   	Intel Sunrise Point-LP PCI Express Root Port #6
                   	Intel DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
                   	Intel Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
                   	Intel DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
                   	Intel Sunrise Point-LP PCI Express Root Port #5
                   	Intel DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
hub:
                   	Linux Foundation 2.0 root hub
                   	Linux Foundation 3.0 root hub
                   	Linux Foundation 2.0 root hub
                   	Linux Foundation 3.0 root hub
memory:
                   	Main Memory
bluetooth:
                   	Intel Bluetooth wireless interface
unknown:
                   	FPU
                   	DMA controller
                   	PIC
                   	Keyboard controller
                   	Realtek RTS525A PCI Express Card Reader
                   	Intel Sunrise Point-LP PMC
                   	Intel Sunrise Point-LP Serial IO I2C Controller #1
                   	Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
                   	Intel Sunrise Point-LP CSME HECI #1
                   	Intel Sunrise Point-LP Serial IO I2C Controller #0
                   	Intel Sunrise Point-LP Active Management Technology - SOL
                   	Intel Sunrise Point-LP Thermal subsystem
                   	Intel Sunrise Point-LP SMBus
                   	Serial controller
                   	Realtek Integrated_Webcam_HD


Reproducible: Always

Comment 1 Michael Katzmann 2024-10-29 20:02:20 UTC
Created attachment 2054279 [details]
boot log from failing system

The release vesion of Fedora 41 also has this problem. There is no GUI.
I see a failure of xorg in the log.

Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE) 28: /usr/libexec/Xorg (_start+0x25) [0x40fe95]
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE)
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE)
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: Fatal server error:
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE) Caught signal 6 (Aborted). Server aborting
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE)
Oct 29 15:52:12 fedora /usr/libexec/gdm-x-session[1661]: (EE)

Comment 2 theUser 2024-10-30 03:22:55 UTC
I believe I am having the same issue with an F41 boot from USB on an [MacBook Air 2011](https://support.apple.com/en-us/112038).

Steps taken 

1. Perform fresh install of F40.
2. Create USB installer using Fedora Media Writer on F40.  (F40 works on the above machine)
3. Boot installer using the Mac's option key after power on.
4. Observe check sequence reach 100%
5. Boot of F41 from USB hangs with statement about GDM.

So the desktop never appears.


Hope this helps.

Comment 3 Michael Katzmann 2024-11-01 21:22:30 UTC
I'm also installing to (and booting from) an external USB SSD drive.

Comment 4 Jonas Ådahl 2024-11-01 23:10:21 UTC
Both gnome-shell and Xorg seem to fail in libllvm, with the error

LLVM ERROR: inconsistency in registered CommandLine options

It first fails when gdm tries to launch gnome-shell as the display server for the GDM greeter, and it then fails again when it tries to use Xorg as a fallback. Both times it seems to be in response to dlopen:ing libLLVM.so.

Thus, changing component to llvm.

Comment 5 Nikita Popov 2024-11-04 09:24:20 UTC
This error usually indicates multiple versions of llvm being loaded in an unsupported way. I'm not familiar with the stack here, do you know what would be loading llvm? I wouldn't have expected llvm to be involved in an Intel Graphics stack.

Comment 6 Nikita Popov 2024-11-04 09:29:41 UTC
What does

> glxinfo | grep "OpenGL renderer"

print for the affected system? Wondering if it uses llvmpipe for some reason.

Comment 7 Jonas Ådahl 2024-11-04 09:45:29 UTC
`eglinfo` instead of `glxinfo` might have a better luck working providing useful information, I suspect, since neither Xwayland (via the Wayland compositor) nor Xorg seems to be able to launch.

Comment 8 Michael Katzmann 2024-11-04 14:44:09 UTC
# glxinfo
Error: unable to open display
# eglinfo
: CommandLine Error: Option '' registered more than once!
LLVM ERROR: Inconsistency in registered CommandLine options
Aborted (core dumped)
#

Comment 9 Michael Katzmann 2024-11-04 14:46:07 UTC
As I said, this system is installed onto an external SSD (via USBC). This may have some impact (although I've not had any problem with this arrangement on previous Fedora releases).

Comment 10 Michael Katzmann 2024-11-04 16:29:42 UTC
I don't know if this is relevant but when I run start x I get the output below ..
If I open this in a text editor the line ...
: CommandLine Error: Option '' registered more than once!
shows as 
: CommandLine Error: Option '\00\00\00\00\00\00\00\00\00\00\00' registered more than once!
This seems odd.

-----------------------------
# startx
xauth:  file /root/.serverauth.1830 does not exist


X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
Current Operating System: Linux wallaby 6.11.6-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov  1 16:16:00 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.6-300.fc41.x86_64 root=UUID=c5f44e97-3d53-4af9-bdf2-f79e7963aed9 ro rootflags=subvol=root rhgb quiet
Build ID: xorg-x11-server 21.1.14-1.fc41 
Current version of pixman: 0.43.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: Mon Nov  4 11:19:35 2024
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
: CommandLine Error: Option '\00\00\00\00\00\00\00\00\00\00\00' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
(EE) 
(EE) Backtrace:
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 0: /usr/libexec/Xorg (?+0x0) [0x52eabc]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 1: /lib64/libc.so.6 (?+0x0) [0x7f33a3713dd0]
(EE) 2: /lib64/libc.so.6 (__pthread_kill_implementation+0x114) [0x7f33a376c724]
(EE) 3: /lib64/libc.so.6 (gsignal+0x1e) [0x7f33a3713d1e]
(EE) 4: /lib64/libc.so.6 (abort+0xdf) [0x7f33a36fb942]
(EE) 5: /lib64/libLLVM.so.19.1 (_ZN4llvm18report_fatal_errorERKNS_5TwineEb+0x19b) [0x7f3398747ddb]
(EE) 6: /lib64/libLLVM.so.19.1 (_ZN4llvm18report_fatal_errorEPKcb+0x4b) [0x7f3398747c3b]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 7: /lib64/libLLVM.so.19.1 (?+0x0) [0x7f339872a69a]
(EE) 8: /lib64/libLLVM.so.19.1 (_ZN4llvm2cl6Option11addArgumentEv+0x36c) [0x7f33987159dc]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 9: /lib64/libLLVM.so.19.1 (?+0x0) [0x7f3398f6957a]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 10: /lib64/libLLVM.so.19.1 (?+0x0) [0x7f3398616411]
(EE) 11: /lib64/ld-linux-x86-64.so.2 (call_init+0xd7) [0x7f33a41cb557]
(EE) 12: /lib64/ld-linux-x86-64.so.2 (_dl_init+0x7d) [0x7f33a41cb64d]
(EE) 13: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0x142) [0x7f33a41c85c2]
(EE) 14: /lib64/ld-linux-x86-64.so.2 (dl_open_worker+0x9c) [0x7f33a41d257c]
(EE) 15: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0xa3) [0x7f33a41c8523]
(EE) 16: /lib64/ld-linux-x86-64.so.2 (_dl_open+0xb4) [0x7f33a41d2984]
(EE) 17: /lib64/libc.so.6 (dlopen_doit+0x64) [0x7f33a3766374]
(EE) 18: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0xa3) [0x7f33a41c8523]
(EE) 19: /lib64/ld-linux-x86-64.so.2 (_dl_catch_error+0x29) [0x7f33a41c8679]
(EE) 20: /lib64/libc.so.6 (_dlerror_run+0xa3) [0x7f33a3765e63]
(EE) 21: /lib64/libc.so.6 (dlopen+0x6f) [0x7f33a376642f]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 22: /usr/libexec/Xorg (?+0x0) [0x569d94]
(EE) 23: /usr/libexec/Xorg (xf86LoadModules+0x59) [0x54a059]
(EE) 24: /usr/libexec/Xorg (InitOutput+0x1844) [0x54b934]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 25: /usr/libexec/Xorg (?+0x0) [0x40ea07]
(EE) 26: /lib64/libc.so.6 (__libc_start_call_main+0x78) [0x7f33a36fd248]
(EE) 27: /lib64/libc.so.6 (__libc_start_main+0x8b) [0x7f33a36fd30b]
(EE) 28: /usr/libexec/Xorg (_start+0x25) [0x40fe75]
(EE) 
(EE) 
Fatal server error:
(EE) Caught signal 6 (Aborted). 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) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Comment 11 Tom Stellard 2024-11-05 05:42:29 UTC
Can you post the output of this command:

dnf info --installed 'llvm*'

Comment 12 Michael Katzmann 2024-11-05 14:32:20 UTC
# dnf info --installed 'llvm*'
Installed packages
Name            : llvm-libs
Epoch           : 0
Version         : 19.1.0
Release         : 1.fc41
Architecture    : x86_64
Installed size  : 124.5 MiB
Source          : llvm-19.1.0-1.fc41.src.rpm
From repository : fedora
Summary         : LLVM shared libraries
URL             : http://llvm.org
License         : Apache-2.0 WITH LLVM-exception OR NCSA
Description     : Shared libraries for the LLVM compiler infrastructure.
Vendor          : Fedora Project
#

Comment 13 Tom Stellard 2024-11-05 18:22:03 UTC
Is there anything in the graphics stack that statically links LLVM?

Comment 14 Dave Airlie 2024-11-05 19:34:21 UTC
can you install strace and run as root

strace -o /tmp/log -e openat /usr/libexec/Xorg and make sure it crashes and add the logs here?

Comment 15 Dave Airlie 2024-11-05 20:37:36 UTC
also does the live distro run okay?

Comment 16 Michael Katzmann 2024-11-05 22:05:39 UTC
Created attachment 2055845 [details]
strace

Here is the strace log..
> strace -o /tmp/log -e openat /usr/libexec/Xorg and make sure it crashes and add the logs here?

Comment 17 Michael Katzmann 2024-11-06 14:35:20 UTC
(In reply to Dave Airlie from comment #15)
> also does the live distro run okay?
Curiously, yes it does. It is only when I try to run off the external USB drive does it fail.

Comment 18 Michael Katzmann 2025-01-12 20:03:52 UTC
I tried the upgrade to F41 again with the latest package updates and it was successful. Whatever was causing the problem must have been fixed.
I'll close the bug.


Note You need to log in before you can comment on or make changes to this bug.