[linux] [wayland] launching games in fullscreen causes black screen (have to go out and back into fullscreen for image to appear) #130
Labels
No Label
CI
Low Priority
Needs Approvals
Needs Rebase
android
bug
duplicate
enhancement
help wanted
invalid
question
translations
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suyu/suyu#130
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there an existing issue for this?
Affected Commit or Release
All current releases AFAIK.
Description of Issue
Within a wayland session, launch a game with these commandline flags:
QT_QPA_PLATFORM=xcb ./suyu.AppImage -f -g "<pathToGame>"
This will launch the desired game in fullscreen successfully, however using xwayland.Instead, try the same thing with
QT_QPA_PLATFORM=wayland ./suyu.AppImage -f -g "<pathToGame>"
. You'll notice the shader compilation goes fine, and once the game loads it will be on a black screen. This isn't a freeze however, and the game can be restored just by changing fullscreen state. So you can go out of fullscreen and back into fullscreen and the game will work fine.This is an issue because when using a couch gamestream setup, I want to launch my game flawlessly without getting stuck on a black screen.
Expected Behavior
The game should launch fine in wayland mode without any need to go out and back into fullscreen.
Reproduction Steps
QT_QPA_PLATFORM=wayland ./suyu.AppImage -f -g "<pathToGame>"
. You'll notice the shader compilation goes fine, and once the game loads it will be on a black screen.Log File
attached
System Configuration
CPU: Ryzen 5 5600x
GPU/Driver: Nvidia Geforce RTX 3070 - 550.67
RAM: 2x16gb 3800c18
OS: Arch Linux rolling
can confirm on both amd gpu's and nvidia
From what I can tell, building with qt6 instead of qt5 seems to solve this issue. For reference, I used this AUR package to do that. Anything stopping us from using qt6 by default in CI and release builds? I'd rather not have to compile the emulator for every commit.
not reproducible on hyprland, arch linux, epyc 7763 64c/128t, a100 80gb, 512gb ram