#1088283 Regression: Rotation stopped working on amdgpu with last xorg update

Package:
xorg
Source:
xorg
Description:
X.Org X Window System
Submitter:
Attila Kinali
Date:
2024-11-27 14:30:02 UTC
Severity:
normal
#1088283#5
Date:
2024-11-26 12:49:45 UTC
From:
To:
A wonderful good afternoon,

With the last update of xorg to 7.7+23.1, screen rotation stopped
working and xrandr complains with:
xrandr: output DVI-D-0 cannot use rotation "right" reflection "none"

There is no error/issue in Xorg.log as far as I can tell.
My config has not changed in a long time either.

I have to admit, that I do not know how to debug this, as I don't
know what is preventing screen rotation or what capabilities/settings
are needed.

I report this to xorg instead of xserver-xorg-video-amdgpu as the last
update of xserver-xorg-video-amdgpu was in may, so problems in the
driver would have shown up. There has been an update to libdrm-amdgpu1
recently and that might be the cause, but I am not sure.

If this is the wrong package, please re-assign.

Thanks in advanace and have a nice day

		Attila Kinali

#1088283#10
Date:
2024-11-27 14:27:12 UTC
From:
To:
Ok. I dug a bit deeper: The root cause of the issue is DRI and
with it 2D/3D acceleration not working.

For testing I downgraded the user space DRI libs and mesa,
to be more precisely I downgraded the following packages
to their versions from stable:

mesa-vulkan-drivers libdrm-dev
libegl1-mesa-dev:amd64 libgl1-mesa-dev:amd64 libgl1-mesa-dri:amd64
mesa-common-dev:amd64  mesa-va-drivers:amd64
mesa-vdpau-drivers:amd64 libdrm-common libdrm-dev:amd64
libdrm-intel1:amd64 libdrm-intel1:i386
libdrm-nouveau2:amd64 libdrm-nouveau2:i386
libdrm-radeon1:amd64 libdrm-radeon1:i386 libdrm2:amd64 libdrm2:i386
libdrm-amdgpu1:amd64 libdrm-amdgpu1:i386 libglapi-mesa libegl-mesa0
libgbm1:amd64 libgbm1:i386 libglx-mesa0 libosmesa6 libxatracker2
libgbm-dev

This restored DRI and with it screen rotation.

Now the problem is, how do I untangle this mess and pinpoint which
of the parts is the culprit, given that these have quite a few
cross dependencies which require exact versions?


			Attila Kinali