You are not logged in.

#1 2024-02-23 15:59:46

mrechte
Member
Registered: 2011-05-04
Posts: 41

gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

Hello,

Since this package upgraded from mesa-1:23.3.5 to mesa-1:24.0., gdm crashes with a white screen (asking to contact and admin).

No chance to open a gnome session. Reverting package to previous version resolves the issue.

The system journal shows:

févr. 23 16:18:47 linux2 kernel: gnome-shell[1062]: segfault at 40 ip 0000760b622cd545 sp 00007fff20b94be0 error 4 in radeonsi_dri.so[760b61c14000+14dd000] likely on CPU 3 (core 3, socket 0)
févr. 23 16:18:47 linux2 kernel: Code: ec 00 00 00 31 db 49 89 e5 eb 3b 66 2e 0f 1f 84 00 00 00 00 00 4d 03 77 38 49 8b 36 48 85 f6 74 0e f0 83 2e 01 75 08 4c 89 e7 <41> ff 54 24 40 49 c7 06 00 00 00 00 41 8b 57 30 48 83 c3 01 39 d3
févr. 23 16:18:47 linux2 systemd[1]: Created slice Slice /system/systemd-coredump.

Thanks

Offline

#2 2024-02-23 16:02:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

So you've already tracked it down, did you search? There's a bunch of threads about this already.

Offline

#3 2024-02-23 16:09:05

mrechte
Member
Registered: 2011-05-04
Posts: 41

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

Sorry, I did not pay attention it was already reported.

https://bbs.archlinux.org/viewtopic.php … 1#p2151301

Offline

#4 2024-02-23 16:39:26

mrechte
Member
Registered: 2011-05-04
Posts: 41

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

This is solved for WAYLAND by creating, as suggested in the above link, /etc/modprobe.d/amdgpu.conf and /etc/modprobe.d/radeon.conf (the later to blacklist radeon)

Now the amdgpu module is used instead of radeon:

0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240/340 / Radeon 520] (rev 87)
	Subsystem: ASUSTeK Computer Inc. Oland PRO [Radeon R7 240/340 / Radeon 520]
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu

On the other hand, opening a gnome session with X.org produces an error:

[    22.233] (EE) RADEON(0): Failed to initialize surface manager
[    22.233] (EE) Fatal server error:
[    22.233] (EE) AddScreen/ScreenInit failed for driver 0
[    22.233] (EE) 
[    22.233] (EE) Please consult the The X.Org Foundation support  at http://wiki.x.org for help. 
[    22.233] (EE) Please also check the log file at "/home/mrechte/.local/share/xorg/Xorg.0.log" for additional information.
[    22.233] (EE) 
[    22.236] (EE) Server terminated with error (1). Closing log file.

Last edited by mrechte (2024-02-23 17:34:00)

Offline

#5 2024-02-23 17:09:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,178

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

Xorg should not be trying to load the radeon driver here. Remove xf86-video-ati and get rid of any xorg config still referencing the "ati" driver.

Last edited by V1del (2024-02-23 17:09:39)

Offline

#6 2024-02-23 17:31:59

mrechte
Member
Registered: 2011-05-04
Posts: 41

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

Yes, I was missing xf86-video-amdgpu package.

It is now OK for both wayland and X.org

Offline

#7 2024-02-23 18:23:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,178

Re: gnome-shell segfault in radeonsi_dri.so since update to mesa-1:24.0.1

You don't strictly need that and there have been a few reports that modesetting which would be used in absence of any explicit xf86-video package tends to perform better/have less bugs.

Offline

Board footer

Powered by FluxBB