(In reply to Shmerl from comment #13)
> What is the way to do it in XWayland and KWin for borderless fullscreen like
> in Wine (not true fullscreen)?

I suspect "borderless fullscreen" with kwin is the same as windowed as
far as Xwayland is concerned.


(In reply to Daniel van Vugt from comment #14)
> For me, Xwayland seems to be locked around 58Hz now, which is a bit weird
> for a monitor that is 59.95Hz.

This is because the granularity of X server timers is 1 ms.

> But that's also a new bug so should be discussed elsewhere.

The fundamental issue is still that windowed apps use a timer instead of
tying into the Wayland compositor's refresh cycle.

-- 
You received this bug notification because you are a member of Desktop
Packages, 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

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Fix Released

Bug description:
  GLX apps are swapping at the wrong refresh rate under Xwayland.

  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

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xwayland 2:1.19.5-0ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
  Uname: Linux 4.13.0-25-generic x86_64
  ApportVersion: 2.20.8-0ubuntu6
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Tue Jan 30 13:30:34 2018
  DistUpgraded: Fresh install
  DistroCodename: bionic
  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-12-12 (48 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20171211)
  MachineType: LENOVO 30AJS05700
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-25-generic.efi.signed 
root=UUID=f9fe7460-9c41-4d4a-8376-e5ceb57bbec8 ro quiet splash vt.handoff=1
  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+18.04.20171116-0ubuntu1
  version.libdrm2: libdrm2 2.4.89-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.4-0ubuntu2
  version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.4-0ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to