Bug 83021 - Separate X screens --> Xvideo is vsynced to primary screen only
Summary: Separate X screens --> Xvideo is vsynced to primary screen only
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-24 20:54 UTC by Jan Janecek
Modified: 2014-08-24 23:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jan Janecek 2014-08-24 20:54:59 UTC
I use two separate X screens and Xvideo is vsynced only to the primary display. The DRM however supports syncing to secondary display as well (using _DRM_VBLANK_SECONDARY).
I looked at the xf86-video-nouveau source, and it looks like it tries to determine on wich display the window is by using the window position (in the nv_window_belongs_to_crtc function). I think this method only works when there is one X screen assembled of two displays, but it does not work with two separate X screens.

Linux 3.15.10, Xorg 1.16, xf86-video-nouveu 1.0.10
GPU GTX 560Ti
Comment 1 Ilia Mirkin 2014-08-24 20:57:04 UTC
There have been a bunch of fixes to this logic in git -- does this issue still happen with http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/ ? Specifically I'm thinking of http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=6ad053788e804f3a8bd36ee3653ec95e7df62623
Comment 2 Jan Janecek 2014-08-24 23:33:45 UTC
It is indeed fixed in newest GIT, I should have tried that before filing the bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.