After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781068 - Fullscreen X application don't change resolution
Fullscreen X application don't change resolution
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-04-08 19:51 UTC by Maciej (Matthew) Piechotka
Modified: 2021-07-05 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2017-04-08 19:51:18 UTC
When I exit a game which is using Xwayland in lower resolution it changes the resolution of original desktop. This is problem with HiDPI setups as X applications need to be in lower resolution to be readable.
Comment 1 Maciej (Matthew) Piechotka 2017-05-12 03:56:37 UTC
Sorry - distribution changed default under me. However under XWayland the window is displayed as part of screen. This is problem when gaming on 4K display when GPU is not powerful enough to drive it.
Comment 2 Jonas Ådahl 2017-05-12 04:04:33 UTC
This is something that has to be solved across multiple projects, starting with the X server (Xwayland) and defining a protocol (wayland-protocols) for doing so. Only then will mutter have a chance to deal with this.
Comment 3 Maciej (Matthew) Piechotka 2017-05-12 20:16:15 UTC
If there is nothing in Wayland protocol it might be bigger problem for games trying to be ported to wayland where the GPU is not powerful enough to drive games in correct resolution and/or UI elements are too small on 4K.

Arguably a simpler, short term, fix might be for the Xwayland to expose more resolutions and provide rescalling internally i.e. if the Wayland resolution is 4K but game is in 1080p than XWayland performs rescalling before giving the result to wayland server.
Comment 4 Jonas Ådahl 2017-05-15 02:43:56 UTC
(In reply to Maciej (Matthew) Piechotka from comment #3)
> If there is nothing in Wayland protocol it might be bigger problem for games
> trying to be ported to wayland where the GPU is not powerful enough to drive
> games in correct resolution and/or UI elements are too small on 4K.

It's not decided exactly how it'll look, but there are some ideas/plans. The question is rather, is it needed that the actual resolution is set to something, or is it enough to scale things using the graphics hardware. Either way, just because it doesn't exist, doesnt' mean we can't add it.

> 
> Arguably a simpler, short term, fix might be for the Xwayland to expose more
> resolutions and provide rescalling internally i.e. if the Wayland resolution
> is 4K but game is in 1080p than XWayland performs rescalling before giving
> the result to wayland server.

That could be bad for performance, as Xwayland would need to scale. Adding a Wayland protocol is not the issue really here, it's just work that needs to be done.
Comment 5 GNOME Infrastructure Team 2021-07-05 13:49:08 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.