[Bug 1755501] Re: GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2023-06-01 Thread Eero-t-tamminen
Happens also in 20.04 (focal).

Have not tested yet in 22.04 (jammy).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1732245] Re: [wayland] Fullscreen games offset after returning from alt-tab

2018-04-06 Thread Eero-t-tamminen
Note that Mutter fullscreen handling isn't fully fixed even for Xorg,
see bug 1755501.

(It's not a regression, at least not a recent one, but something that
works fine with all other desktops.  I think any use-case which doesn't
support resizing after it opens its non-resizable fullscreen window,
would suffer from the same Mutter bug.)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1732245

Title:
  [wayland] Fullscreen games offset after returning from alt-tab

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/1732245/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1755501] Re: GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2018-03-13 Thread Eero-t-tamminen
** Attachment added: "Unity: corresponding window hierarchy (GLFW = GfxBench 
window)"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+attachment/5078206/+files/unity-xev-wininfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1755501] [NEW] GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2018-03-13 Thread Eero-t-tamminen
Public bug reported:

Setup:
* FullHD monitor (1920x1080 resolution)
* Ubuntu 18.04 (pre-release) with Gnome/mutter 3.27.92, on top of X
* GfxBench benchmark suite from Kishonti: https://gfxbench.com/ (one of the 
most common 3D benchmarks supporting Linux)

Example test-case:
* bin/testfw_app --gfx glfw --gl_api desktop_core --width 1920 --height 1080 
--fullscreen 1 --test_id gl_manhattan

Expected outcome:
* Benchmark renders always in full monitor resolution, like happens with all 
other desktops (Unity, XFCE, KDE)

Actual outcome:
* There's a black bar at the top of the screen and benchmark content is 
vertically scaled to smaller size than fullscreen

Same thing happens also with Ubuntu 16.04 version of Mutter (v3.18.3),
so it's not a (recent) regression.

I assume that any other similar test-case which:
* requests full resolution fullscreen window
* uses window size that it gets
* but doesn't support resizing the window afterwards

Would have the same issue.

>From xwininfo, xev and apitrace output I can see following:
* Window is created in correct resolution
* app sets some window properties
* WM reparents it
* WM maps window's parent to screen
* WM resizes window's parent a smaller size -> I think this is the point when 
the application sets its GL viewport to wrong size
* Some _NET_WM properties are set (by WM?)
* WM resizes window's parent back to correct size, which is apparently too late 
for this application

When comparing this to what Unity does:
* Unity or app sets properties after reparenting
* There's an extra intermediate window between the resized parent and the 
benchmark window
* Resizing of the parent window to smaller size happens before that window is 
mapped on screen. I assume this means that the application doesn't get window 
resize event for the wrong window size
* extra _NET_WM properties are set after parent is re-sized back to correct 
size -> this probably makes the time window with wrong window size shorter

Upstream bug: https://gitlab.gnome.org/GNOME/mutter/issues/60

I'm filing this here too because:
* This was tested on latest Ubuntu 18.04
* Mutter upstream bug tracker doesn't support attachments

** Affects: mutter (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "GfxBench apitrace showing Mutter causing it to use wrong 
Viewport size"
   
https://bugs.launchpad.net/bugs/1755501/+attachment/5078202/+files/gnome-gfxbench-start-apitrace.dump

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1755501] Re: GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2018-03-13 Thread Eero-t-tamminen
** Attachment added: "Unity: X root window events"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+attachment/5078205/+files/unity-xev.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1755501] Re: GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2018-03-13 Thread Eero-t-tamminen
** Attachment added: "Gnome: corresponding window hierarchy (GLFW = GfxBench 
window)"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+attachment/5078204/+files/gnome-xev-wininfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1755501] Re: GfxBench renders fullscreen content at wrong size in Gnome desktop (on X)

2018-03-13 Thread Eero-t-tamminen
** Attachment added: "Gnome: X root window events"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+attachment/5078203/+files/gnome-xev.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1755501

Title:
  GfxBench renders fullscreen content at wrong size in Gnome desktop (on
  X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1755501/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs