Gamescope fails with "Failed to pin framebuffer with error -12" shortly after sleep
Brief summary of the problem:
On an Ally X unit, running on a 6.11.4 kernel variant with the following patches on top of kernel-ark, after suspend and within 20 minutes of gameplay (in this case GTA IV), gamescope displays a black screen and restarts
dmesg
reports:
[ 4063.692766] amdgpu 0000:64:00.0: amdgpu: 000000008ac73718 pin failed
[ 4063.692774] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12
gamescope
reports:
Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
Errors from xkbcomp are not fatal to the X server
(EE)(EE) failed to read Wayland events: Broken pipe
failed to read Wayland events: Broken pipe
[gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor
[gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor
[gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor
[gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor
Hardware description:
- CPU: Z1 Extreme
- GPU: 780M
- System Memory: 24GB (512MB is vram; AutoUMA)
- Display(s): 1080p VRR built in display, 120hz.
System information:
- Distro name and Version: Bazzite Unstable on F41
- Kernel version: 6.11.4 See here. 6.10 had a similar issue and was skipped (w/ AutoUMA as well).
How to reproduce the issue:
See above.
Log files (for system lockups / game freezes / crashes)
Full journalctl of the session: 546e64c4.txt
Misses the gamescope error, that will be fixed soon. For it, see above.
Edited by Antheas Kapenekakis