Bug 30936

Summary: GDM fails to load login screen: "oh no, something has gone wrong"
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: GNOME maintainers <gnome>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: release_blocker CC: bequimao.de, ftg, ghibomgx, mageia, marja11, p.opter, yvesbrungard
Version: Cauldron   
Target Milestone: Mageia 9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: gdm-43.0-1.mga9 CVE:
Status comment:

Description Ben McMonagle 2022-10-05 09:31:29 CEST
Description of problem: when attempting to log into a new UEFI netinstall of Gnome, the login screen does not present, rather the gnome "oh no, something has gone wrong" notice.
changing the DM to XDM allows the login to proceed to a functioning desktop.  


Version-Release number of selected component (if applicable):
gdm-43.0-1.mga9

How reproducible:every time


Steps to Reproduce:
1.create UEFI Gnome net-installed system 
2.attempt to log in
3.
Ben McMonagle 2022-10-05 09:31:57 CEST

Target Milestone: --- => Mageia 9

Ben McMonagle 2022-10-05 09:34:58 CEST

Priority: Normal => High

Comment 1 Frank Griffin 2022-10-05 14:32:29 CEST
I confirm.  This has been going on for at least a month, maybe two.  I had held off submitting a bug because IIRC it was being discussed in the dev ML.

CC: (none) => ftg

Ulrich Beckmann 2022-10-07 00:58:45 CEST

CC: (none) => bequimao.de

Comment 2 Marja Van Waes 2022-10-08 23:14:04 CEST
Asigning to the Gnome maintainers

CC: (none) => marja11
Assignee: bugsquad => gnome

Comment 3 papoteur 2022-10-14 09:27:19 CEST
Any news?
This is a blocker.

CC: (none) => yves.brungard_mageia

Comment 4 papoteur 2022-10-19 07:43:08 CEST
I found this report, but don't know if it is the same:
https://bugzilla.redhat.com/show_bug.cgi?id=2128910
Do you have hybrid system with a Nvidia graphics card?
Do you use proprietary driver? From repositories or vendor?
Do you have a second screen?
Comment 5 Ben McMonagle 2022-10-19 08:48:01 CEST
lspcidrake -v
ath9k           : Qualcomm Atheros|AR9285 Wireless Network Adapter (PCI-Express) [NETWORK_OTHER] (vendor:168c device:002b subv:103c subd:3040) (rev: 01)
unknown         : Intel Corporation|Core Processor QuickPath Architecture System Address Decoder [BRIDGE_HOST] (vendor:8086 device:2d01 subv:8086 subd:8086) (rev: 02)
intel_ips       : Intel Corporation|5 Series/3400 Series Chipset Thermal Subsystem [SIGNAL_OTHER] (vendor:8086 device:3b32 subv:103c subd:1411) (rev: 05)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:103c subd:1411) (rev: 03)
unknown         : Intel Corporation|Core Processor QPI Link 0 [BRIDGE_HOST] (vendor:8086 device:2d10 subv:8086 subd:8086) (rev: 02)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:aa68 subv:103c subd:1411)
ehci_pci        : Intel Corporation|5 Series/3400 Series Chipset USB2 Enhanced Host Controller [SERIAL_USB] (vendor:8086 device:3b34 subv:103c subd:1411) (rev: 05)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor Reserved [BRIDGE_HOST] (vendor:8086 device:2d12 subv:8086 subd:8086) (rev: 02)
ehci_pci        : Intel Corporation|5 Series/3400 Series Chipset USB2 Enhanced Host Controller [SERIAL_USB] (vendor:8086 device:3b3c subv:103c subd:1411) (rev: 05)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 2 [BRIDGE_PCI] (vendor:8086 device:3b44) (rev: 05)
unknown         : Intel Corporation|Core Processor DRAM Controller [BRIDGE_HOST] (vendor:8086 device:0044 subv:103c subd:1411) (rev: 02)
unknown         : Intel Corporation|82801 Mobile PCI Bridge [BRIDGE_PCI] (vendor:8086 device:2448) (rev: a5)
unknown         : Intel Corporation|Core Processor QuickPath Architecture Generic Non-core Registers [BRIDGE_HOST] (vendor:8086 device:2c62 subv:8086 subd:8086) (rev: 02)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 4 [BRIDGE_PCI] (vendor:8086 device:3b48) (rev: 05)
snd_hda_intel   : Intel Corporation|5 Series/3400 Series Chipset High Definition Audio [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:3b56 subv:103c subd:1411) (rev: 05)
Card:ATI Radeon HD 5000 to HD 6300 (radeon): Advanced Micro Devices, Inc. [AMD/ATI]|Robson CE [Radeon HD 6370M/7370M] [DISPLAY_VGA] (vendor:1002 device:68e4 subv:103c subd:1411)
mei_me          : Intel Corporation|5 Series/3400 Series Chipset HECI Controller [COMMUNICATION_OTHER] (vendor:8086 device:3b64 subv:103c subd:1411) (rev: 06)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:3b4c) (rev: 05)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor QPI Physical 0 [BRIDGE_HOST] (vendor:8086 device:2d11 subv:8086 subd:8086) (rev: 02)
unknown         : Intel Corporation|Core Processor PCI Express x16 Root Port [BRIDGE_PCI] (vendor:8086 device:0045) (rev: 02)
unknown         : Intel Corporation|1st Generation Core i3/5/7 Processor Reserved [BRIDGE_HOST] (vendor:8086 device:2d13 subv:8086 subd:8086) (rev: 02)
lpc_ich         : Intel Corporation|HM57 Chipset LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:3b0b subv:103c subd:1411) (rev: 05)
unknown         : Intel Corporation|5 Series/3400 Series Chipset PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3b42) (rev: 05)
unknown         : Intel Corporation|5 Series/3400 Series Chipset 6 port SATA AHCI Controller [STORAGE_SATA] (vendor:8086 device:3b2f subv:103c subd:1411) (rev: 05)
hub             : Linux 5.15.65-desktop-1.mga8 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0020)
btusb           : Broadcom Corp|HP Integrated Module [Wireless|Radio Frequency|Bluetooth] (vendor:03f0 device:231d)
uvcvideo        : Chicony Electronics Co., Ltd.|HP Webcam [2 MP Fixed] [Video|Video Control] (vendor:04f2 device:b1ac)
hub             : Linux 5.15.65-desktop-1.mga8 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0020)
ums_realtek     : Generic|USB2.0-CRW [Mass Storage|SCSI|Bulk-Only] (vendor:0bda device:0138)
Comment 6 Ben McMonagle 2022-10-19 08:50:42 CEST
driver is from repos
Martin Whitaker 2022-10-19 09:49:18 CEST

CC: (none) => mageia
Priority: High => release_blocker

Comment 7 Pierre Opter 2022-10-19 10:17:45 CEST
(In reply to papoteur from comment #4)
> I found this report, but don't know if it is the same:
> https://bugzilla.redhat.com/show_bug.cgi?id=2128910
> Do you have hybrid system with a Nvidia graphics card?
> Do you use proprietary driver? From repositories or vendor?
> Do you have a second screen?

Not really :-( I have a LDLC laptop W840SU (in fact a Clevo Notebook).It is full a full intel computer.
And it's the same problem but in french :-)
"Oh mince ! Quelque chose s'est mal passé".
This laptop, under Cauldron, is with the last updates.

CC: (none) => p.opter

Comment 8 Giuseppe Ghibò 2022-10-19 11:56:51 CEST
It affects also non-nvidia (e.g. pure AMD) configurations.

What I don't understand is why Wayland should be enabled by default if nvidia is detected. I thought we set Wayland on a per-user basis through the desktopmanager, selecting the corresponding "* (Wayland)" entry in the menu. Has this changed?

Anyway I tried to merge locally the patches mentioned here, https://bugzilla.redhat.com/show_bug.cgi?id=2128910 (which are in current FC's gdm) to our gdm 43.0, i.e.:

0001-Honor-initial-setup-being-disabled-by-distro-install.patch
0001-data-add-system-dconf-databases-to-gdm-profile.patch
0001-udev-Stick-with-wayland-on-hybrid-nvidia-with-vendor.patch 

and didn't fixed the problems too.

What also is weird is that even downgrading gdm from 43.0 to 42.0 (our revision
1817886 should be the latest known working gdm version from march 2022), didn't fixed the problem too.

CC: (none) => ghibomgx

Comment 9 Giuseppe Ghibò 2022-10-19 13:50:30 CEST
Appartently, enabling coredumps with:

sysctl -w kernel.core_uses_pid=0
sysctl -w kernel.core_pattern="/var/tmp/%e_%t_%s_uid%u.core"

it would result in a crash within gnome-shell ending up in a segfault in libmutter. Did you get the same?
Comment 10 Giuseppe Ghibò 2022-10-20 17:56:38 CEST
There is the package mutter-43.0-4.mga9 that should fix this bug (and a 43.0-5.mga9 will follow too). Check if that fixes this problem to you too.
Comment 11 Pierre Opter 2022-10-20 19:00:26 CEST
Thanks a lot. The update of this package fix the bug for me !!!
Comment 12 Frank Griffin 2022-10-20 19:57:32 CEST
Fixed here too, thanks.
Comment 13 Ben McMonagle 2022-10-21 03:49:53 CEST
new net-install of Gnome login via GDM - ok

making as resolved / fixed

Resolution: (none) => FIXED
Status: NEW => RESOLVED