Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 922
    • Issues 922
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 128
    • Merge requests 128
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • xserverxserver
  • Issues
  • #928
Closed
Open
Issue created Nov 03, 2019 by aufkrawall@aufkrawall

Sway, Weston & Xorg modesetting - mistimed frames in mpv due to vsync jitter spikes with Intel GPU

Originally reported here: https://github.com/mpv-player/mpv/issues/7106

Stutter free video playback is not possible on Gemini Lake (and likely also not on Skylake and others) in both Wayland and Xorg sessions with modesetting driver.

To reproduce, run mpv 0.30 via mpv --no-config --video-sync=display-resample --hwdec=vaapi http://www.oc-burner.de/ftp/Videos/juddertest/juddertest_60.mp4 on a ~60Hz display. There is stutter each few seconds, thus mpv's statistics recognize vsync jitter spikes and in the wake mistimed frames (either watch mpv's terminal output or enable LUA stats via Shift + i).

There is no stutter with xf86-video-intel DDX and there is no stutter either with AMD Polaris GPU (neither Wayland, nor Xorg modesetting DDX, so it's definitely Intel specific).

Question probably is if the issue stems from Mesa (e.g. GBM) or if there's something wrong in Intel kernel driver (wild guess: atomic pageflip?).

Tested on

Arch Linux

xorg 1.20.5-4 from Arch repo

weston 7.0.0

recent sway-git/wlroots-git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking