Tearing problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tearing problem

Andreas Rödig
Hello,

If i play a video in landscape mode (compiz vsync=on, nvidia, etc...) it
looks good (without tearing). But i have some cases were i have to
rotate the screen counter clockwise (via xorg.conf RandRRotation,
Rotate) and show a trailer at 1080x1920.

It seems that the nvidia driver then lose all vsync! I do not get away
tearing on the right side of screen!

So... my idea: i could change my app to rotate all content counter
clockwise. But... could i do this with the video???
I found "videoflip" at gstreamer plugins. Do this work with fluvasink?
Or are there some options to rotate the video?

Thanks,
Andreas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Tearing problem

arnaud tonda
Hi Andreas,

i think it's not possible to use videoflip or other elements that manage video/x-raw-**** buffers with fluvasink.

the reason is that fluvadec and fluvasink manage buffers directly into GPU. other elements uses memory buffers.

if you would use the output of fluvadec with videoflip you should translate video/x-fluendo-va into video/x-raw-{yuv,rgb} and you lose benefits of hardware decoding.

i think there is no simple solution for your case, using hardware decoding with fluendo decoders or vdpau decoders.

on my case, in landscape mode, if in xorg.conf a disable composite, streams are horrible and i have a lot of tearing on the screen center. if i turn on composite, it's better, but sometimes short tearing persist. i don't know where is the problem and i haven't found any solution for now.

Best regards

-- 
Arnaud Tonda

2011/8/12 Andreas Rödig <[hidden email]>
Hello,

If i play a video in landscape mode (compiz vsync=on, nvidia, etc...) it looks good (without tearing). But i have some cases were i have to rotate the screen counter clockwise (via xorg.conf RandRRotation, Rotate) and show a trailer at 1080x1920.

It seems that the nvidia driver then lose all vsync! I do not get away tearing on the right side of screen!

So... my idea: i could change my app to rotate all content counter clockwise. But... could i do this with the video???
I found "videoflip" at gstreamer plugins. Do this work with fluvasink? Or are there some options to rotate the video?

Thanks,
Andreas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Tearing problem

Andreas Rödig
Hi Arnaud,

thanks for your answer... but not good news for me...

Linux/Tearing is a nightmare...

I agree with you: landscape with tearing good (but not perfect)...
portrait mode bad (loosing sync).

Best regards



Am 12.08.2011 17:50, schrieb arnaud tonda:

> Hi Andreas,
>
> i think it's not possible to use videoflip or other elements that manage
> video/x-raw-**** buffers with fluvasink.
>
> the reason is that fluvadec and fluvasink manage buffers directly into GPU.
> other elements uses memory buffers.
>
> if you would use the output of fluvadec with videoflip you should translate
> video/x-fluendo-va into video/x-raw-{yuv,rgb} and you lose benefits of
> hardware decoding.
>
> i think there is no simple solution for your case, using hardware decoding
> with fluendo decoders or vdpau decoders.
>
> on my case, in landscape mode, if in xorg.conf a disable composite, streams
> are horrible and i have a lot of tearing on the screen center. if i turn on
> composite, it's better, but sometimes short tearing persist. i don't know
> where is the problem and i haven't found any solution for now.
>
> Best regards
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel