debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #02780
[Bug 2115335] [NEW] xserver-xorg-core 21.1.16-1ubuntu1.1 breaks DRM handoff to Wayland causing AMDGPU page flip failures
Public bug reported:
Reported here: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1827
- asked to report to Ubuntu specifically.
I cannot login to plasma/wayland from sddm on Kubuntu 25.04 as of June 18th. However, if I switch to a text mode TTY, I can startplasma-wayland, which then subsequently works without issue.
According to Claude's analysis of my logs:
DRM Context Switch Sequence:
1. SDDM (uid=sddm) holds DRM master on /dev/dri/card0
2. User session (uid=1000) requests DRM master transfer
3. AMDGPU attempts hardware page flip to switch framebuffers
4. Hardware operation fails with EINVAL (Invalid argument)
5. Display remains blank, user session cannot acquire proper GPU control
```
FAILED SEQUENCE (SDDM → Wayland):
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth <
1)
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete
framebuffer)
```
```
WORKING SEQUENCE (TTY → Wayland):
jun 24 05:18:57 lights dbus-daemon[1059]: [system] Activating via systemd: service name='org.freedesktop.locale1'
unit='dbus-org.freedesktop.locale1.service' requested by ':1.153' (uid=1000 pid=5567 comm="startplasma-wayland" label="unconfined")
jun 24 05:18:58 lights systemd[2206]: Starting plasma-kwin_wayland.service - KDE Window Manager...
jun 24 05:18:58 lights systemd[2206]: Started plasma-kwin_wayland.service - KDE Window Manager.
jun 24 05:18:58 lights kwin_wayland_wrapper[5609]: No backend specified, automatically choosing drm
jun 24 05:19:02 lights systemd[2206]: Reached target plasma-workspace-wayland.target.
[Later OpenGL errors occur but system continues working]
jun 24 05:19:28 lights kwin_wayland_wrapper[5609]: kwin_scene_opengl: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
```
This appears to be correlated to these updates:
```
June 18th, 2025 06:20:30-06:20:38:
Start-Date: 2025-06-18 06:20:30
Commandline: /usr/bin/unattended-upgrade
Upgrade: xserver-xorg-core:amd64 (2:21.1.16-1ubuntu1, 2:21.1.16-1ubuntu1.1), xserver-xorg-legacy:amd64 (2:21.1.16-1ubuntu1,
2:21.1.16-1ubuntu1.1), xserver-common:amd64 (2:21.1.16-1ubuntu1, 2:21.1.16-1ubuntu1.1), xvfb:amd64 (2:21.1.16-1ubuntu1,
2:21.1.16-1ubuntu1.1)
End-Date: 2025-06-18 06:20:32
```
Before these updates, I had no issues when logging in. After these updates, I've had the reported problem every time.
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: xserver-xorg-core 2:21.1.16-1ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-22.22-generic 6.14.5
Uname: Linux 6.14.0-22-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: KDE
Date: Wed Jun 25 05:03:33 2025
DistUpgraded: 2025-05-13 16:41:56,909 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: plucky
DistroVariant: ubuntu
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:8809]
InstallationDate: Installed on 2022-10-12 (987 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: ASUS System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-22-generic root=UUID=5066164d-9e43-4341-b43f-efc4c41076fd ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
SourcePackage: xorg-server
UpgradeStatus: Upgraded to plucky on 2025-05-13 (43 days ago)
dmi.bios.date: 04/27/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2803
dmi.board.asset.tag: Default string
dmi.board.name: PRIME B550M-A WIFI II
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2803:bd04/27/2022:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEB550M-AWIFIII:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.124-2
version.libgl1-mesa-dri: libgl1-mesa-dri 25.0.3-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.16-1ubuntu1.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1
** Affects: xorg-server (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug plucky ubuntu wayland-session
** Attachment added: "dmesg"
https://bugs.launchpad.net/bugs/2115335/+attachment/5886047/+files/dmesg
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/2115335
Title:
xserver-xorg-core 21.1.16-1ubuntu1.1 breaks DRM handoff to Wayland
causing AMDGPU page flip failures
Status in xorg-server package in Ubuntu:
New
Bug description:
Reported here:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1827 - asked to
report to Ubuntu specifically.
I cannot login to plasma/wayland from sddm on Kubuntu 25.04 as of June 18th. However, if I switch to a text mode TTY, I can startplasma-wayland, which then subsequently works without issue.
According to Claude's analysis of my logs:
DRM Context Switch Sequence:
1. SDDM (uid=sddm) holds DRM master on /dev/dri/card0
2. User session (uid=1000) requests DRM master transfer
3. AMDGPU attempts hardware page flip to switch framebuffers
4. Hardware operation fails with EINVAL (Invalid argument)
5. Display remains blank, user session cannot acquire proper GPU control
```
FAILED SEQUENCE (SDDM → Wayland):
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth <
1)
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)
jun 24 05:03:45 lights kwin_wayland_wrapper[2635]: kwin_scene_opengl: 0x2: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete
framebuffer)
```
```
WORKING SEQUENCE (TTY → Wayland):
jun 24 05:18:57 lights dbus-daemon[1059]: [system] Activating via systemd: service name='org.freedesktop.locale1'
unit='dbus-org.freedesktop.locale1.service' requested by ':1.153' (uid=1000 pid=5567 comm="startplasma-wayland" label="unconfined")
jun 24 05:18:58 lights systemd[2206]: Starting plasma-kwin_wayland.service - KDE Window Manager...
jun 24 05:18:58 lights systemd[2206]: Started plasma-kwin_wayland.service - KDE Window Manager.
jun 24 05:18:58 lights kwin_wayland_wrapper[5609]: No backend specified, automatically choosing drm
jun 24 05:19:02 lights systemd[2206]: Reached target plasma-workspace-wayland.target.
[Later OpenGL errors occur but system continues working]
jun 24 05:19:28 lights kwin_wayland_wrapper[5609]: kwin_scene_opengl: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
```
This appears to be correlated to these updates:
```
June 18th, 2025 06:20:30-06:20:38:
Start-Date: 2025-06-18 06:20:30
Commandline: /usr/bin/unattended-upgrade
Upgrade: xserver-xorg-core:amd64 (2:21.1.16-1ubuntu1, 2:21.1.16-1ubuntu1.1), xserver-xorg-legacy:amd64 (2:21.1.16-1ubuntu1,
2:21.1.16-1ubuntu1.1), xserver-common:amd64 (2:21.1.16-1ubuntu1, 2:21.1.16-1ubuntu1.1), xvfb:amd64 (2:21.1.16-1ubuntu1,
2:21.1.16-1ubuntu1.1)
End-Date: 2025-06-18 06:20:32
```
Before these updates, I had no issues when logging in. After these updates, I've had the reported problem every time.
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: xserver-xorg-core 2:21.1.16-1ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-22.22-generic 6.14.5
Uname: Linux 6.14.0-22-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: KDE
Date: Wed Jun 25 05:03:33 2025
DistUpgraded: 2025-05-13 16:41:56,909 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: plucky
DistroVariant: ubuntu
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:8809]
InstallationDate: Installed on 2022-10-12 (987 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: ASUS System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-22-generic root=UUID=5066164d-9e43-4341-b43f-efc4c41076fd ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
SourcePackage: xorg-server
UpgradeStatus: Upgraded to plucky on 2025-05-13 (43 days ago)
dmi.bios.date: 04/27/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2803
dmi.board.asset.tag: Default string
dmi.board.name: PRIME B550M-A WIFI II
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2803:bd04/27/2022:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEB550M-AWIFIII:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.124-2
version.libgl1-mesa-dri: libgl1-mesa-dri 25.0.3-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.16-1ubuntu1.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2115335/+subscriptions
Follow ups