Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamescope not working Assertion `u8BitFormat != VK_FORMAT_UNDEFINED' failed #1258

Open
Mordius opened this issue Apr 21, 2024 · 3 comments
Open

Comments

@Mordius
Copy link

Mordius commented Apr 21, 2024

Whenever I try to use gamescope with any game (steam and no steam as well) I get the following error:

gamescope: ../gamescope/src/wayland_backend.cpp:1280: virtual void gamescope::CWaylandBackend::GetPreferredOutputFormat(VkFormat*, VkFormat*) const: Assertion u8BitFormat != VK_FORMAT_UNDEFINED' failed.`

Here's the full output:

ATTENTION: default value of option vk_khr_present_wait overridden by environment. ATTENTION: default value of option vk_khr_present_wait overridden by environment. vulkan: selecting physical device 'AMD Radeon RX 580 Series (RADV POLARIS10)': queue family 1 (general queue family 0) vulkan: physical device does not support DRM format modifiers wlserver: [backend/headless/backend.c:67] Creating headless backend xdg_backend: Seat name: seat0 vulkan: supported DRM formats for sampling usage: gamescope: ../gamescope/src/wayland_backend.cpp:1280: virtual void gamescope::CWaylandBackend::GetPreferredOutputFormat(VkFormat*, VkFormat*) const: Assertionu8BitFormat != VK_FORMAT_UNDEFINED' failed.
zsh: IOT instruction (core dumped) gamescope `

I tried using both gamescope and gamescope-git, same error using both. I'm using arch linux and my gpu is AMD Radeon RX 580 with RADV drivers (amdvlk is not installed).

I wasn't getting this error when I first installed gamescope like 1 and a half month ago, so maybe it broke with an update. Also here's journalctl's log:

#3 0x00007060c8822f38 n/a (libvulkan_radeon.so + 0x222f38)
#4 0x00007060c8835c35 n/a (libvulkan_radeon.so + 0x235c35)
#5 0x00007060c8835d09 n/a (libvulkan_radeon.so + 0x235d09)
#6 0x00007060c89e01b5 n/a (libvulkan_radeon.so + 0x3e01b5)
#7 0x00007060c89d0184 n/a (libvulkan_radeon.so + 0x3d0184)
#8 0x00007060c8a1dad4 n/a (libvulkan_radeon.so + 0x41dad4)
#9 0x00007060c87512d0 n/a (libvulkan_radeon.so + 0x1512d0)
#10 0x00007060c8729c5e n/a (libvulkan_radeon.so + 0x129c5e)
#11 0x00007060c872a582 n/a (libvulkan_radeon.so + 0x12a582)
#12 0x00007060c872a88b n/a (libvulkan_radeon.so + 0x12a88b)
#13 0x0000632c025066b2 n/a (gamescope + 0x776b2)
#14 0x0000632c02506921 n/a (gamescope + 0x77921)
#15 0x00007060dbae1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#16 0x00007060db88455a n/a (libc.so.6 + 0x8b55a)
#17 0x00007060db901a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 17975:
#0  0x00007060db880ebe n/a (libc.so.6 + 0x87ebe)
#1  0x00007060db883750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2  0x00007060c8825e4c n/a (libvulkan_radeon.so + 0x225e4c)
#3  0x00007060c882e38c n/a (libvulkan_radeon.so + 0x22e38c)
#4  0x00007060db88455a n/a (libc.so.6 + 0x8b55a)
#5  0x00007060db901a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 17974:
#0  0x00007060db8f40df __poll (libc.so.6 + 0xfb0df)
#1  0x00007060d1d6c306 n/a (libglib-2.0.so.0 + 0xb9306)
#2  0x00007060d1d0c712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
#3  0x00007060d03eefde n/a (libdconfsettings.so + 0x5fde)
#4  0x00007060d1d3b065 n/a (libglib-2.0.so.0 + 0x88065)
#5  0x00007060db88455a n/a (libc.so.6 + 0x8b55a)
#6  0x00007060db901a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 17973:
#0  0x00007060db8f40df __poll (libc.so.6 + 0xfb0df)
#1  0x00007060d1d6c306 n/a (libglib-2.0.so.0 + 0xb9306)
#2  0x00007060d1d0ddc7 g_main_loop_run (libglib-2.0.so.0 + 0x5adc7)
#3  0x00007060d073c83c n/a (libgio-2.0.so.0 + 0x10983c)
#4  0x00007060d1d3b065 n/a (libglib-2.0.so.0 + 0x88065)
#5  0x00007060db88455a n/a (libc.so.6 + 0x8b55a)
#6  0x00007060db901a5c n/a (libc.so.6 + 0x108a5c)
ELF object binary architecture: AMD x86-64
@jobukkit
Copy link

Same issue with same graphics card.

@ammgws
Copy link

ammgws commented Apr 23, 2024

Downgrade to 3.14.2 for now

@migrgh
Copy link

migrgh commented Jan 30, 2025

#1604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants