Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947585 - x11-drivers/xf86-video-qxl-0.1.6: crashes with error [TTM] Buffer eviction failed
Summary: x11-drivers/xf86-video-qxl-0.1.6: crashes with error [TTM] Buffer eviction fa...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-06 05:39 UTC by msdobrescu
Modified: 2025-01-07 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msdobrescu 2025-01-06 05:39:45 UTC
The guest crashes with the following error:

- Gentoo guest:

Jan 06 07:21:09 usv kernel: [TTM] Buffer eviction failed
Jan 06 07:21:09 usv kernel: qxl 0000:00:01.0: object_init failed for (385024, 0x00000001)
Jan 06 07:21:09 usv kernel: [drm:qxl_gem_object_create [qxl]] *ERROR* Failed to allocate GEM object (384020, 1, 4096, -12)
Jan 06 07:21:09 usv kernel: [drm:qxl_alloc_ioctl [qxl]] *ERROR* qxl_alloc_ioctl: failed to create gem ret=-12
Jan 06 07:21:10 usv systemd-coredump[538260]: elfutils disabled, parsing ELF objects not supported
Jan 06 07:21:10 usv systemd-coredump[538260]: [🡕] Process 1432 (X) of user 1000 dumped core.
Jan 06 07:21:10 usv systemd[1388]: Failed to start Xdg Desktop Portal For KDE.

... (some unrelated messages removed)

Jan 06 07:21:26 usv systemd-coredump[539685]: elfutils disabled, parsing ELF objects not supported
Jan 06 07:21:26 usv systemd-coredump[539685]: [🡕] Process 539430 (spice-vdagent) of user 1000 dumped core.

The guest runs the latest stable kernel available when this report is created (6.6.67) and KDE/Plasma at the time of the crash and the SDDM login shows up or a black screen with a very slow response or it simply stalls so it must be forcibly stopped/restarted.


- KDE Neon guest

ian 05 19:48:23 neon-pc kernel: [TTM] Buffer eviction failed
ian 05 19:48:23 neon-pc kernel: qxl 0000:00:01.0: object_init failed for (262144, 0x00000001)
ian 05 19:48:23 neon-pc kernel: [drm:qxl_gem_object_create [qxl]] *ERROR* Failed to allocate GEM object (262100, 1, 4096, -12)
ian 05 19:48:23 neon-pc kernel: [drm:qxl_alloc_ioctl [qxl]] *ERROR* qxl_alloc_ioctl: failed to create gem ret=-12
ian 05 19:48:23 neon-pc spice-vdagentd[2322]: Error getting active session: No data available
ian 05 19:48:23 neon-pc spice-vdagentd[2322]: Error getting active session: No data available
ian 05 19:48:24 neon-pc systemd-coredump[89227]: [🡕] Process 1330 (Xorg) of user 0 dumped core.
                                                 
                                                 Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                                 Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                                 Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
                                                 Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.4.amd64
                                                 Module libudev.so.1 from deb systemd-255.4-1ubuntu8.4.amd64
                                                 Stack trace of thread 1330:
                                                 #0  0x000079ccd3a9eb1c __pthread_kill_implementation (libc.so.6 + 0x9eb1c)
                                                 #1  0x000079ccd3a4526e __GI_raise (libc.so.6 + 0x4526e)
                                                 #2  0x000079ccd3a288ff __GI_abort (libc.so.6 + 0x288ff)
                                                 #3  0x0000609be81e4c9e OsAbort (Xorg + 0x1e4c9e)
                                                 #4  0x0000609be81ea7e7 n/a (Xorg + 0x1ea7e7)
                                                 #5  0x0000609be81eb867 FatalError (Xorg + 0x1eb867)
                                                 #6  0x0000609be81e1e1b n/a (Xorg + 0x1e1e1b)
                                                 #7  0x000079ccd3a45320 __restore_rt (libc.so.6 + 0x45320)
                                                 #8  0x000079ccd36f2bfd n/a (qxl_drv.so + 0x8bfd)
                                                 #9  0x000079ccd36f309c n/a (qxl_drv.so + 0x909c)
                                                 #10 0x000079ccd37000d0 n/a (qxl_drv.so + 0x160d0)
                                                 #11 0x0000609be81bd89d miCopyRegion (Xorg + 0x1bd89d)

At the time of the crash, the guest runs KDE/Plasma and the latest kernel available when this report is created (Linux neon-pc 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
). Plymouth shows up or a black screen with a very slow response or it simply stalls so it must be forcibly stopped/restarted.

On both guests, the crash happens at least once per hour.

Similar issues reported here:
https://forum.proxmox.com/threads/ttm-buffer-eviction-failed.152720/
https://ubuntuforums.org/showthread.php?t=2497311
Comment 1 Matt Turner gentoo-dev 2025-01-07 18:59:36 UTC
I don't see any upstream issues that look similar.

I don't think qxl is actively maintained, but could you please file an issue upstream at https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/issues ?