Bug 472448 - Invisible window when going into fullscreen with 1366x768 native resolution
Summary: Invisible window when going into fullscreen with 1366x768 native resolution
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2023-07-21 02:30 UTC by Zenurik
Modified: 2023-09-03 13:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zenurik 2023-07-21 02:30:28 UTC
SUMMARY
Under Wayland with Intel graphics, whenever I try to enable fullscreen in a game the window just becomes invisible and unresponsive. Tried with Minecraft (OpenGL, native) and Celeste (DXVK/OpenGL, wine) with the same results.


STEPS TO REPRODUCE
1. Open any game that runs under XWayland (via Steam is preferred)
2. Under the game's options, enable fullscreen.

OBSERVED RESULT
Game window will become invisible (sound and keyboard commands still work)

EXPECTED RESULT
Enabling fullscreen from a game should display the game as exclusive fullscreen as expected.

SOFTWARE/OS VERSIONS
Operating System: Solus 4.4
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.12-241.current (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620


ADDITIONAL INFORMATION
- Custom font DPI settings are used
- Changing anything under Compositor settings has no effect
- I have not tried / know of other types of applications that would have the same issue
Comment 1 Zenurik 2023-07-29 11:01:16 UTC
So I recently discovered what was causing this issue: When changing my screen resolution from 1366x768 to 720p, the issue was gone; every game was able to be fullscreened again.

Apparently wayland doesn't work well with my laptop resolution for some reason.
Comment 2 Zamundaaa 2023-08-16 13:32:20 UTC
When this happens, can you check the buffer geometry of the X11 window with the kwin debug console? To open it, just search for "kwin" in krunner
Comment 3 Bug Janitor Service 2023-08-31 03:45:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Zamundaaa 2023-09-03 13:38:23 UTC
Why did you mark this as resolved?