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
Linux: Fulllscreen mode does not work as expected. Pioneer only uses ~40% of the screen #4575
Comments
This is likely an issue with Wayland-SDL interoperability, as it appears that SDL is reporting a smaller size (800x600?) than is actually occupied by the window. It also appears that the game renderer and the imgui renderer implementation use two different OpenGL origin modes, which is causing the menu to render in empty space. Unfortunately, my DE doesn't use wayland so I'm unable to track the bug down myself. If you find a workaround or want to hunt for the cause of the bug yourself, please feel free. |
Unfortunately I do not understand anything about software developement. :( |
This is NOT a Wayland problem. Problem confirmed with 20190302 on Xorg with 3k 2780x1800 resolution. As soon as we get a new version to test on, i will recheck it. Fedora 29 - Intel GPU - Standard Linux Intel driver - Device: Surface Pro 4 |
@Cyborgscode can you zip up |
no output.txt present there. Both files attached. |
@Cyborgscode to get the |
confirmed on version 2019-10-09 |
output 1&2 redirected from 2019-10-09 on Fedora 29 Surface Pro intel-gpu |
BTW.. those ~40% width that is used is app. 2780/1920 ( 3k / FHD ).. could be coincident , but IF there is a hard overflow > 1920px, the result would ~ match what we now see. |
I can confirm the same behaviour and discovered something interesting: Pioneer's Options window reports a screen resolution of 1920x1080. But in So it appears to me that the problem is (also) related to pioneer's config system? My system is debian buster with gnome on wayland. Output of
|
@cwyss @glaubersm @Cyborgscode thank you for helping track this down! For now, we're not able to fix the underlying issue (see #4766 (comment) for details and work-around steps), but we'll leave this issue open to remain aware that it exists. |
Hang on, that's not necessarily a bug with Pioneer. It's perfectly valid to render at a lower resolution than the window size, the two do not need to be equal. Typically with 4k screens for example you only render at a 1080 and just show that fullscreen. So something else is going on here. |
Fix Confirmed: xrandr -qScreen 0: minimum 320 x 200, current 2736 x 1824, maximum 16384 x 16384 That bug must be in pioneers code. |
BTW: It's fast on a 3k Surface tablet.. but the "tablet" controlls are ... absent :( :D That would a hilarious feature, if you could control it with touch. |
No what I mean is that it can know that the screen is capable of 2736 x 1824 resolution, but you should still be able to render the game at 800x600 and have it display (upscale) to 2736 x 1824. What doesn't appear to be happening here, which should be happening, is that we're still rendering at 800x600 (because the resolution hasn't been changed) but it is not being upscaled. All the "workaround" does is tell the game to render at the same native resolution as the display is set too which makes it work by matching it. |
Observed behaviour
Pioneer only uses ~40% of the screen in fullscreen mode when running on Gnome Wayland or KDE Plasma Wayland sessions. See the screenshot below.
Such problem does not occur on X11.
Expected behaviour
Fullscreen mode works correctly.
Steps to reproduce
start Gnome Wayland or KDE Plasma Wayland sessions on linux
open Pioneer
set fullscreen mode and restart Pioneer
My pioneer version (and OS):
pioneer-bin 20190203-1 (installed from AUR)
Arch Linux
Gnome 3.32
KDE Plasma 5.15.4
The text was updated successfully, but these errors were encountered: