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

Fullscreen doesn't work on Wayland #401

Open
Lutzx opened this issue May 6, 2024 · 1 comment
Open

Fullscreen doesn't work on Wayland #401

Lutzx opened this issue May 6, 2024 · 1 comment

Comments

@Lutzx
Copy link

Lutzx commented May 6, 2024

I installed the latest puNES from Flatpak and fullscreen doesn't work, the window just gets maximised. I use Debian Sid with KDE Wayland.
Then I tested the AppImage and it also doesn't work, although it behaves differently. There is no title bar and the bottom bar seems to be behind the DE task bar.
I have a laptop with the same Linux distribution but with GNOME instead and the Flatpak behaves the same way as on KDE (didn't test the AppImage).
On KDE X11 it works!

KDE Flatpak:
KDE-Flatpak

KDE AppImage:
KDE-AppImage

GNOME Flatpak:
GNOME-Flatpak

puNES: 0.111 (Flatpak and AppImage)
OS: Debian Sid
Kernel: 6.7.12

Desktop
DE: KDE Plasma 5.27.10
CPU: AMD Ryzen 7 3700X
GPU: AMD Radeon RX 6700 XT

Laptop
DE: GNOME 45.3
CPU: AMD Ryzen 7 5800H
GPU: NVIDIA GeForce RTX 3050 Ti Mobile

Hacky workaround:
I found a workaround for the flatpak using Valve's gamescope. At the moment, gamescope doesn't support wayland applications so we need to disable the wayland socket:
flatpak override --user io.github.punesemu.puNES --nosocket=wayland

Then you can run puNES with gamescope. For a 1080p screen it would be:
gamescope -W 1920 -H 1080 -f -- flatpak run io.github.punesemu.puNES --fullscreen yes

@punesemu
Copy link
Owner

punesemu commented May 6, 2024

Hi @Lutzx, thx for your report. The emulator uses QTs to launch fullscreen which doesn't allow it under Wayland (or at least didn't allow it last time I checked). For now with wayland only "fullscreen in window" is allowed and if you double click on the menu bar you can/hide show the upper and lower toolbar.

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

2 participants