After update from x11-base/xorg-server-1.20.13 to x11-base/xorg-server-21.1.3 xserver crash when I use "xrandr --output XXX --rotate XXX". The crash is independent on used output (HDMI-0, VGA-0) or direct rotation (left, right). 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7640G] Subsystem: Lenovo Trinity [Radeon HD 7640G] Kernel driver in use: radeon Used xf86-video-ati/xf86-video-ati-19.1.0-r1 [ 10409.674] (EE) [ 10409.674] (EE) Backtrace: [ 10409.674] (EE) 0: X (xorg_backtrace+0x5b) [0x55679425a23b] [ 10409.674] (EE) 1: X (0x556794120000+0x13dea5) [0x55679425dea5] [ 10409.674] (EE) 2: /lib64/libpthread.so.0 (0x7fb6173f0000+0x121d0) [0x7fb6174021d0] [ 10409.674] (EE) [ 10409.674] (EE) Segmentation fault at address 0x0 [ 10409.674] (EE) Fatal server error: [ 10409.674] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 10409.674] (EE) [ 10409.674] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. Reproducible: Always Steps to Reproduce: 1. Start Xorg 2. Try rotate by xrandr Not working: x11-base/xorg-server-21.1.2-r4 x11-base/xorg-server-21.1.3 Working: x11-base/xorg-server-1.20.14
Created attachment 763731 [details] lspci -k
Created attachment 763732 [details] emerge --info
Hmmm...., I don't know what happened. :-O I had an idea to test if only rotate or any next xrandr function is broken. I had once again recompiled xorg-server from 1.20.14 to 21.1.3 and rebooted computer (emerge -qO1 xorg-server && chmod u+s /usr/bin/Xorg && reboot). Now my system start and is fully working. Only names of outputs are changed from LVDS, VGA-0, HDMI-0 to LVDS-1, VGA-1, HDMI-1. I made a few reboots and power off-power ons and the system is stable and working. From my point of view is possible to close this bug.
Hi, I hit this issue, and patched with `wget "https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/9.patch" -O /etc/portage/patches/x11-drivers/xf86-video-ati/fix.patch` which then enabled me to get into my system once again. Thanks to c17637da on IRC who helped with this. Weirdly, if I ran startxfce4 as root, it'd give me a working xfce4 session. This only effected my 'normal' user.
(In reply to Tim Bowers from comment #4) > Weirdly, if I ran startxfce4 as root, it'd give me a working xfce4 session. > This only effected my 'normal' user. I've just realised this is likely because I don't have my rotated monitor setup in my root's session, so it could start cleanly.
Upstream report and patch: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/issues/198 https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/9
Hi, I found what I described in "Comment 3". I had xorg-server-21.1.3 but xorg-drivers-1.20-r2. With this combination, X worked fully with changed output names. But the correct configuration of xorg-server-21.1.3 and xorg-drivers-21.1 still crashes when using rotation. With the patch from "Comments 4", X is now fully functional. Thanks to Tim and Michael.
xorg-drivers is a metapackage, so something else must've also changed
I can confirm that this bug exists. I held off upgrades of X11 for a long time to keep it away from me. However, I found a fix that works on my machine. Add: =x11-drivers/xf86-video-ati-9999 ** in /etc/portage/package.accept_keywords to pull the bleeding edge radeon driver.
Or, alternatively, you could take the patch and stuff it in /etc/portage/patches/{$CATEGORY}/{$PACKAGE}/filename.patch as a quick self-help method.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c734012e783f70f850d35f9011e7dd2899a92373 commit c734012e783f70f850d35f9011e7dd2899a92373 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-04-25 18:50:42 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-04-25 18:54:34 +0000 x11-drivers/xf86-video-ati: Version bump to 22.0.0 Closes: https://bugs.gentoo.org/832155 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-drivers/xf86-video-ati/Manifest | 1 + .../xf86-video-ati/xf86-video-ati-22.0.0.ebuild | 52 ++++++++++++++++++++++ .../xf86-video-ati/xf86-video-ati-9999.ebuild | 9 ++-- 3 files changed, 59 insertions(+), 3 deletions(-)