Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
xserver
xserver
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 893
    • Issues 893
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 86
    • Merge Requests 86
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • xorg
  • xserverxserver
  • Issues
  • #928

Closed
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/xserver#928