compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #34921
[Bug 755841]
(In reply to comment #79)
> (In reply to comment #78)
> > As I expected, then.
> >
> > I picked 800x600 because every laptop should be able to set that mode, but by
> > all means switch it around. :-)
>
> There is tearing in fullscreen with 800x600. That's definitely 16:9 problem for
> me.
>
Interesting.
In retrospect, when I last tried it in fullscreen on my laptop, I had
manually set it to 1920x1200; I (re)wrote the program against an nvidia
card, just now. (Which means no tearing anywhere. Love those nvidia
cards.)
> > In the meantime, maybe we should switch to using my program for testing?
> > mplayer is a huge codebase, and it's hard to tell whether any tearing is the
> > fault of the player or the environment, while it's perfectly obvious what the
> > program is doing.
>
> Yes, that would be great. May I ask you to write some code to render something
> not 16:9 and to stretch it to 16:9 in hardware, so act as you're watching
> non-16:9 video in mplayer.
The way opengl works, that isn't actually a coherent request. It uses a
(0,0)-(1,1) geometry no matter what the resolution or aspect rate of the
window is, and it's up to the application to map something sensible to
that.
Admittedly modern opengl has some texture->framebuffer blitting routines
that do care about pixels, but I'm not using those, and I don't think
mplayer is either.
I suspect your tearing isn't caused by having a not 16:9 aspect ratio so
much as not using your laptop screen's native resolution, but could you
check that? Try setting some other 16:9 resolutions with SetVideoMode?
What I *can* do is get it to check the maximum screen resolution and
always use that for fullscreen mode.
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/755841
Title:
[sandybridge] Graphics tearing when playing video
To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions