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 running #2487

Open
AgostinoA opened this issue Oct 5, 2024 · 3 comments
Open

Gamescope not running #2487

AgostinoA opened this issue Oct 5, 2024 · 3 comments
Labels

Comments

@AgostinoA
Copy link

Describe the bug
Not open gamescope

To Reproduce
Steps to reproduce the behavior:

  1. Open gamescope

Expected behavior
Open Gamescope

Screenshots or stacktrace
[gamescope] [Info] console: gamescope version 3.15.5
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info] vulkan: selecting physical device 'Intel(R) UHD Graphics (CML GT2)': queue family 0 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] xdg_backend: Seat name: default
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB48 (0x38344241)
[gamescope] [Info] vulkan: XB48 (0x38344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
gamescope: ../gamescope/src/rendervulkan.cpp:2118: bool CVulkanTexture::BInit(uint32_t, uint32_t, uint32_t, uint32_t, createFlags, wlr_dmabuf_attributes*, uint32_t, uint32_t, CVulkanTexture*, gamescope::OwningRcgamescope::IBackendFb): Assertion `!modifiers.empty()' failed.
Aborted (core dumped)

Wayfire version
0.9.0

@AgostinoA AgostinoA added the bug label Oct 5, 2024
@soreau
Copy link
Member

soreau commented Oct 5, 2024

Does this work in any other compositor with this gpu, such as sway? It looks like the error message is due to your gpu or drivers not supporting modifiers.

@AgostinoA
Copy link
Author

Yes, of course I tested with Sway and Hyprland

@ammen99
Copy link
Member

ammen99 commented Oct 5, 2024

@AgostinoA even though it might work on Sway, I am not sure this is a Wayfire bug, asserts are often used by programmers to catch their own mistakes :)

Also in this case in particular it sounds like it fails somewhere in its own backend, not when communicating with the compositor. Maybe you are using different environment variables / drivers / etc with Sway, or maybe gamescope, wayfire and sway use different wlroots versions and something there is messed up?

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

No branches or pull requests

3 participants