[Nouveau] [Bug 16231] Xv tearing after upgrade to Fedora 9

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 13 13:52:47 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16231





--- Comment #3 from Pierre Ossman <drzeus-bugzilla at drzeus.cx>  2008-06-13 13:52:47 PST ---
One solution is also to make sure things are vsync:ed when they are transferred
on screen by the X server. I did a quick hack in NVExaCopy() that solved the
issue:

        if (NVExaPixmapIsOnscreen(pDstPixmap)) {
                uint8_t crtcs = nv_window_belongs_to_crtc(pScrn, dstX, dstY,
width, height);

                FIRE_RING();
                if (crtcs & 0x1)
                        NVWaitVSync(pScrn, 0);
                else if (crtcs & 0x2)
                        NVWaitVSync(pScrn, 1);
        }

It slows down a whole bunch of operations though, so it would need to be a bit
more clever.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list