Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=103282.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2017-10-15T13:28:00+00:00 Grmat wrote:

Looks like xwayland doesn't report the correct refresh rate/vsync
timings(?) to clients. I've been working around compositor
implementation flaws by using a custom EDID file. Now the compositors
I've tried (Mutter, KWin, Sway) run at the correct 144 Hz, however
xwayland clients still only refresh at 60 Hz.

This is bad because if using a monitor with no even multiple of 60 Hz
(like 72, 75, or 144 Hz monitors), there is stutter instead of smooth
playback. And I guess many common apps will be running through xwayland
for quite some time.

I can also confirm the problem running glxgears, which runs v-synced and
prints 60 FPS to the console.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/0

------------------------------------------------------------------------
On 2017-10-18T00:21:16+00:00 Stevengruspier wrote:

(In reply to grmat from comment #0)
> Looks like xwayland doesn't report the correct refresh rate/vsync timings(?)
> to clients. I've been working around compositor implementation flaws by
> using a custom EDID file. Now the compositors I've tried (Mutter, KWin,
> Sway) run at the correct 144 Hz, however xwayland clients still only refresh
> at 60 Hz.
> 
> This is bad because if using a monitor with no even multiple of 60 Hz (like
> 72, 75, or 144 Hz monitors), there is stutter instead of smooth playback.
> And I guess many common apps will be running through xwayland for quite some
> time.
> 
> I can also confirm the problem running glxgears, which runs v-synced and
> prints 60 FPS to the console.

You might be interested in this one Bug Report for wanting to add
different refresh rates to mutter:
https://bugzilla.gnome.org/show_bug.cgi?id=781296

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/1

------------------------------------------------------------------------
On 2017-10-18T13:25:21+00:00 Michel Dänzer wrote:

(In reply to stevengruspier from comment #1)
> You might be interested in this one Bug Report for wanting to add different
> refresh rates to mutter: https://bugzilla.gnome.org/show_bug.cgi?id=781296

This is an Xwayland issue, the Wayland compositor has nothing to do with
it.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/2

------------------------------------------------------------------------
On 2018-01-30T05:41:50+00:00 Daniel van Vugt wrote:

*** Bug 104847 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/5

------------------------------------------------------------------------
On 2018-01-30T05:42:38+00:00 Daniel van Vugt wrote:

My monitor runs at 59.95Hz and this is what I see:

Xwayland:

$ glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
428 frames in 5.0 seconds = 85.552 FPS
300 frames in 5.0 seconds = 59.993 FPS
301 frames in 5.0 seconds = 60.006 FPS
301 frames in 5.0 seconds = 59.983 FPS
301 frames in 5.0 seconds = 60.016 FPS   WRONG
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.986 FPS
301 frames in 5.0 seconds = 60.004 FPS
301 frames in 5.0 seconds = 60.002 FPS
300 frames in 5.0 seconds = 59.998 FPS

$ weston-info | grep refresh
                width: 1920 px, height: 1200 px, refresh: 59.950 Hz,

Xorg:

$ glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
481 frames in 5.0 seconds = 96.146 FPS
300 frames in 5.0 seconds = 59.952 FPS
300 frames in 5.0 seconds = 59.956 FPS
300 frames in 5.0 seconds = 59.943 FPS
300 frames in 5.0 seconds = 59.948 FPS   RIGHT
300 frames in 5.0 seconds = 59.953 FPS
300 frames in 5.0 seconds = 59.951 FPS
300 frames in 5.0 seconds = 59.949 FPS
300 frames in 5.0 seconds = 59.956 FPS
300 frames in 5.0 seconds = 59.947 FPS
300 frames in 5.0 seconds = 59.952 FPS

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/6

------------------------------------------------------------------------
On 2018-05-13T11:07:11+00:00 Subdiff wrote:

For fullscreen applications using the Present extension you should try
again with xorg-server 1.20. The new per window flip mode should allow
now arbitrary refresh rates in this case.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/8

------------------------------------------------------------------------
On 2018-05-16T02:30:21+00:00 Daniel van Vugt wrote:

Note that users of gnome-shell will still have a problem even if
Xwayland is fixed. Because gnome-shell is locked to 60.00Hz too (bug
781296).

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/9

------------------------------------------------------------------------
On 2018-05-16T02:30:46+00:00 Daniel van Vugt wrote:

^^^
https://bugzilla.gnome.org/show_bug.cgi?id=781296

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/10

------------------------------------------------------------------------
On 2018-06-04T07:53:37+00:00 Daniel Stone wrote:

Resolving as fixed with the Xwayland Present implementation in 1.20; the
Mutter 60Hz issue is a bug in Mutter which is being tracked there.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1746163/comments/11


** Changed in: xorg-server
       Status: Confirmed => Fix Released

** Bug watch added: GNOME Bug Tracker #781296
   https://bugzilla.gnome.org/show_bug.cgi?id=781296

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1746163

Title:
  GLX apps are swapping at the wrong refresh rate under Xwayland

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1746163/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to