Xwayland refresh rate reported by xrandr is incorrect

Bug #1717155 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Unknown
xorg-server (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Xwayland refresh rate reported by 'xrandr' is incorrect:

  1920x1200 59.88*+

Actually my hardware runs at 59.95Hz, as confirmed by 'weston-info'.

If Xwayland is reporting the wrong frequency to apps via Xrandr then apps and toolkits implementing frame clocks (i.e. not synchronously tied to swap buffers) may animate at the wrong frequency, causing some stuttering and skipped frames.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: xwayland 2:1.19.3-1ubuntu6
ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
Uname: Linux 4.12.0-13-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu Sep 14 11:40:31 2017
DistUpgraded: Fresh install
DistroCodename: artful
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller [8086:041a] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Xeon E3-1200 v3 Processor Integrated Graphics Controller [17aa:30a1]
InstallationDate: Installed on 2017-05-03 (133 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502)
MachineType: LENOVO 30AJS05700
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.12.0-13-generic.efi.signed root=UUID=1446940d-616b-4f78-926f-05ddb67580b8 ro quiet splash vt.handoff=7
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/02/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: FBKTB6AUS
dmi.board.name: SHARKBAY
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50519 PRO
dmi.chassis.type: 7
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnLENOVO:bvrFBKTB6AUS:bd08/02/2015:svnLENOVO:pn30AJS05700:pvrThinkStationP300:rvnLENOVO:rnSHARKBAY:rvrSDK0E50519PRO:cvnToBeFilledByO.E.M.:ct7:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: 30AJS05700
dmi.product.version: ThinkStation P300
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.13.1+17.10.20170720-0ubuntu1
version.libdrm2: libdrm2 2.4.82-1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.0-0ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.3-1ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.9.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Mon Jul 31 16:27:11 2017
xserver.configfile: default
xserver.errors:
 modeset(G0): eglGetDisplay() failed
 modeset(G0): glamor initialization failed
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.3-1ubuntu2

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
In , Daniel van Vugt (vanvugt) wrote :

Xwayland refresh rate reported by 'xrandr' is incorrect:

  1920x1200 59.88*+

Actually my display runs at 59.95Hz, as confirmed by 'weston-info'.

If Xwayland is reporting the wrong frequency to apps via Xrandr then apps and toolkits implementing frame clocks (i.e. not synchronously tied to swap buffers) may animate at the wrong frequency, causing some stuttering and skipped frames.

Changed in wayland:
importance: Unknown → Medium
status: Unknown → Confirmed
tags: added: wayland
tags: added: wayland-session
tags: added: xwayland
Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/707.

tags: added: eoan
removed: artful
tags: added: bionic
Changed in xorg-server:
status: Unknown → New
Changed in wayland:
status: Confirmed → Unknown
tags: added: desktop-lts-wishlist
no longer affects: wayland
Changed in xorg-server (Ubuntu):
status: New → Confirmed
tags: added: focal
Changed in xorg-server:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.