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

Add --backend CLI option #1321

Merged
merged 1 commit into from
May 23, 2024
Merged

Add --backend CLI option #1321

merged 1 commit into from
May 23, 2024

Conversation

HanabishiRecca
Copy link

This PR introduces a new --backend CLI option which allows user to explicitly select the rendering backend.
Also drops --headless and --openvr options as redundant.

The option is useful e.g. when autodetected backend doesn't work. See #1218 as an example where Wayland backend crashes on Polaris GPUs. With this PR user can set --backend=sdl to workaround the issue.

@misyltoad misyltoad merged commit 11cfc0d into ValveSoftware:master May 23, 2024
1 check passed
korewaChino added a commit to korewaChino/gamescope that referenced this pull request Aug 20, 2024
…to` is used.

This works around ValveSoftware#1218 by making use of the new backend option added in ValveSoftware#1321,
but adds a check to automatically fall back to the SDL backend if the current
GPU does not support Vulkan DRM modifiers.
korewaChino added a commit to korewaChino/gamescope that referenced this pull request Aug 20, 2024
…to` is used.

This works around ValveSoftware#1218 by making use of the new backend option added in ValveSoftware#1321,
but adds a check to automatically fall back to the SDL backend if the current
GPU does not support Vulkan DRM modifiers.
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

Successfully merging this pull request may close these issues.

2 participants