You are not logged in.

#1 2009-07-12 06:14:13

platnumX
Member
Registered: 2009-05-11
Posts: 13

Flash video tearing.

when ever i watch a flash video on youtube or other such sites, there is horrible screen tear on the video when ever something moves in the video, I have provided necessary info about my setup below.

WM=Compiz, but I have tried with metacity and kwin, same problem.

Graphics card=nvidia 8600 gt

DE=gnome

flash ver.=10,HW acceleration enabled, tried disabling, didn't help.

Can anyone provide a solution?

Offline

#2 2009-07-12 07:41:50

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Flash video tearing.

Which driver do you use? Is it a new problem by you or have this ever worked  in the right way?

Offline

#3 2009-07-12 07:52:10

platnumX
Member
Registered: 2009-05-11
Posts: 13

Re: Flash video tearing.

i use the official nvidia driver, and I don't remember when the problem started.

Offline

#4 2009-12-24 14:01:12

reh
Member
Registered: 2009-12-24
Posts: 3

Re: Flash video tearing.

Hello everybody,

I had the same problem and solved it using compiz via compiz-manager. I am using XFCE4 + Compiz/Emerald. Here is my solution:

In "Compiz-Config/DisplaySettings" I activated "sync to vblank" and set the output resolution to the native resolution of my screen. I also set the refresh rate to 60hz (for my TFT screen).
In "CompizConfig/Workaround" I activated "Force Synchronisation between X and GLX".
In "Nvidia-X-Server-Settings/X-Video-Setting" I set "sync to vblank" for "video texture adaptor" and "video bitter adaptor".  The "X-Server Display Configuration" is set to "auto".

My xorg.conf looks like this (using evdev device detection):

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
EndSection

Last edited by reh (2009-12-27 15:16:52)

Offline

#5 2009-12-24 21:58:41

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Flash video tearing.

I had the same issue and found all those work arounds... but there is and will always be a flash fullscreen issue we need that to be fixed! lol


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#6 2009-12-26 10:50:49

reh
Member
Registered: 2009-12-24
Posts: 3

Re: Flash video tearing.

JuseBox wrote:

I had the same issue and found all those work arounds... but there is and will always be a flash fullscreen issue we need that to be fixed! lol

Maybe fullscreen videotearing is another problem but I do not have any video tearing problems. I am using Mozilla Firefox and VLC.

Last edited by reh (2009-12-27 15:18:21)

Offline

#7 2009-12-26 15:36:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Flash video tearing.

How about flash for linux sucks problem, ask any user and they can point any of the following problems: cpu hog, crashing with some sites, video tearing (your problem).

I would bet it doesn't even try to make use of XV and the algorithms it uses to decode video must be very poorly optimized, complain on the adobe forums, maybe the squeaky wheel approach will help solve the problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2009-12-26 20:00:14

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Flash video tearing.

I found by accident that flash fullscreen works beautifully on my system after disabling compositing effects in kde 4.3.  I'm glad there's a plasmoid called "toggle compositing".  YMMV big_smile


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#9 2009-12-27 15:13:10

reh
Member
Registered: 2009-12-24
Posts: 3

Re: Flash video tearing.

R00KIE wrote:

How about flash for linux sucks problem, ask any user and they can point any of the following problems: cpu hog, crashing with some sites, video tearing (your problem).

I would bet it doesn't even try to make use of XV and the algorithms it uses to decode video must be very poorly optimized, complain on the adobe forums, maybe the squeaky wheel approach will help solve the problem.

I checked my CPU load (Intel Core 2 Duo 6300 @ 1,86Ghz) while running a flash video with Mozilla Firefox: embedded: 40% / fullscreen 80%. No video tearing no jagging.
Same video with VLC: 40% (fullscreen AND window-mode). Also no video tearing and no jagging.
But I have to admit that the CPU loads are too high with Firefox in fullscreen-mode.

Firefox (3.5.6-1) never crashed on my system, except once. I had approximately 30 tabs open (most of them with flash content). And I was playing some flash music videos. Previous versions of Firefox weren't that stable, but i can't remember which version.
I am using flashplugin 10.0.42.34-1 and swfdec 0.8.4-1.

Last edited by reh (2009-12-27 17:16:15)

Offline

#10 2009-12-27 18:37:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Flash video tearing.

Not all flash pages crash for me though, the cpu in my notebook does have the lahf instruction and I'm using the lahf fix and it still crashes with some pages go figure (the top gear page terrible in that, every time I close the tab with the video firefox just closes).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#11 2009-12-27 20:11:30

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: Flash video tearing.

toxygen wrote:

I found by accident that flash fullscreen works beautifully on my system after disabling compositing effects in kde 4.3.  I'm glad there's a plasmoid called "toggle compositing".  YMMV big_smile

Funny - the same thing helped in my case in XFCE.
So is that compositing that generates the issue, or just flash cannot cope with the compositing?


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#12 2009-12-28 02:23:19

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Flash video tearing.

Devastator wrote:

Funny - the same thing helped in my case in XFCE.
So is that compositing that generates the issue, or just flash cannot cope with the compositing?

when in doubt, blame flash.  big_smile

from my understanding, flash uses it's own doo-hickey to do video, instead of going through whatever X/DE is providing, so they conflict. I didnt really have a lot of problems in kde 3.5 (other than the tearing in fullscreen), but kde 4.3 wont even let it go fullscreen unless compositing is off.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#13 2009-12-30 07:39:57

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Flash video tearing.

fullscreen started working with composite on today.  I'm not sure why, but I was working on a related issue to plasma desktop in kde 4.3 and now fullscreen video playback works.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

Board footer

Powered by FluxBB