View Full Version : [ubuntu] Choppy Video
MarkID
June 4th, 2009, 12:09 AM
After (belated) upgrade to Jaunty on Daru1, I have choppy Flash video (Hulu, YouTube, etc.) Everything else seems to be working fine. Any thoughts.
thomasaaron
June 4th, 2009, 10:23 AM
Is it choppy with desktop effects turned off? (System > Prefs > Appearance > Visual Effects > None)
Is it choppy if you go to a terminal and run...
gstreamer-properties
...and click the Video tab and set the Default Output Plugin to 'X Window System (no XV)'?
MarkID
June 4th, 2009, 12:17 PM
is it choppy with desktop effects turned off? (system > prefs > appearance > visual effects > none)
yes.
Is it choppy if you go to a terminal and run...
Gstreamer-properties
...and click the video tab and set the default output plugin to 'x window system (no xv)'?
yes
thomasaaron
June 4th, 2009, 12:21 PM
Open a browser and type this in the URL bar...
about:plugins
What version of flash player are you using?
MarkID
June 4th, 2009, 01:41 PM
open a browser and type this in the url bar...
about:plugins
what version of flash player are you using?
10
thomasaaron
June 4th, 2009, 02:14 PM
Is it choppy only in full-screen mode or also in... "reduced?" screen mode?
MarkID
June 4th, 2009, 03:13 PM
Is it choppy only in full-screen mode or also in... "reduced?" screen mode?
Both. Also in Hi-Res and Std-Res. I let the buffer "load up," I close other apps. I've done all of the obvious. I'm thinking it might just be my Internet connection, but that wasn't a problem three days ago. Maybe my computer is telling me to watch fewer videos and do more work.
thomasaaron
June 4th, 2009, 04:04 PM
Try resetting your router and/or modem.
MarkID
June 4th, 2009, 10:03 PM
Try resetting your router and/or modem.
Still choppy. One thing that may be relevant, is that the processors seem to be working harder than before. Even at idle, with no video or taxing apps running, the CPUs are running in the double digits percentage.
thomasaaron
June 5th, 2009, 10:28 AM
Good chance that has something to do with it. Go to System > Administration > System Monitor > Processes and see what processes are hogging the cpu.
MarkID
June 5th, 2009, 12:37 PM
Good chance that has something to do with it. Go to System > Administration > System Monitor > Processes and see what processes are hogging the cpu.
This is weird. The cpu hog seems to be the system monitor itself ("gnome-system-monitor.") I used to leave the system monitor applet open in the panel, but now I've deleted it. But the system monitor processes tab indicates that the system monitor is still using 10% to 20 % CPU, and the resources tab still indicates that the CPUs are running 20% to 50%, with spikes as high as 75%. Again, I have no video or taxing apps open (that I know of.) Can I end the gnome-system-monitor process safely?
thomasaaron
June 5th, 2009, 02:03 PM
Probably. But try shutting down System Monitor and going to a terminal and running...
top
...and see if System Monitor is still the hog. If it is, open another terminal and run...
killall gnome-system-monitor
...and then watch top and see what else is hogging the cpu (if anything).
Does Flash play well now?
If so, reboot and see if there is a gnome-system-monitor process going in top.
MarkID
June 5th, 2009, 03:58 PM
Probably. But try shutting down System Monitor and going to a terminal and running...
top
...and see if System Monitor is still the hog. If it is, open another terminal and run...
killall gnome-system-monitor
...and then watch top and see what else is hogging the cpu (if anything).
Does Flash play well now?
If so, reboot and see if there is a gnome-system-monitor process going in top.
OK, I get it. When System Manager is running, then System Manager was the hog. In "top," it didn't even show up, so no reason to kill it. No other hogs -- Firefox tops out at 6%-7%. Nothing else is that close. Video still choppy on various sites. I think this may just be a mystery, but I'd welcome other ideas. Machine still feels likes it's running hot, but no numbers to confirm that. Thanks for your help.
thomasaaron
June 5th, 2009, 04:40 PM
Try re-installing flash...
sudo apt-get --purge remove flashplugin-*
sudo apt-get install flashplugin-installer
Then restart your browser.
MarkID
June 5th, 2009, 05:11 PM
Try re-installing flash...
sudo apt-get --purge remove flashplugin-*
sudo apt-get install flashplugin-installer
Then restart your browser.
No change. I think my next step will be to try another network. Maybe, it is the Internet connection.
Azati Prime
June 7th, 2009, 05:30 AM
I have this problem in Hulu as well. In windows I would get choppy video if I used fullscreen but in Ubuntu I'm getting tearing all the time and occasional dips in flash video frame rate. Youtube doesn't get any tearing but it does feel sluggish in HQ and the CPU usage for Firefox somehow gets up to over 100%. I have a 2.2GHz Core2 Duo and an nVidia 8600M GT.
Benboom
June 7th, 2009, 07:45 AM
The default System Monitor in 9.04 is preposterous. I had never used Ubuntu until about a month ago and I installed it on an old machine; I thought, "This is great, but I'd like to have a monitor running so I know what's going on" and I discovered that the System Monitor ALWAYS does this - at least on my setup. It's rather like a brain surgeon operating on his own brain, it's so recursive. I read some more and switched to Conky and problem solved.
MarkID
June 7th, 2009, 12:20 PM
I have this problem in Hulu as well. In windows I would get choppy video if I used fullscreen but in Ubuntu I'm getting tearing all the time and occasional dips in flash video frame rate. Youtube doesn't get any tearing but it does feel sluggish in HQ and the CPU usage for Firefox somehow gets up to over 100%. I have a 2.2GHz Core2 Duo and an nVidia 8600M GT.
Hulu, YouTube, Crackle . . . all the same. They were fine until about the time I upgraded. Coincidence or not? Still working on it.
mantelo
June 7th, 2009, 01:26 PM
I've got the same problem.
Since I upgraded to Jaunty (fresh install) I get chopy flash video. My system is Athlon X2 1.9 GHz, 2 GB RAM, nvidia chipset 6150 LE, Ubuntu 9.04 32 bits.
caeroe
June 7th, 2009, 10:26 PM
I've got the same problem.
Since I upgraded to Jaunty (fresh install) I get chopy flash video. My system is Athlon X2 1.9 GHz, 2 GB RAM, nvidia chipset 6150 LE, Ubuntu 9.04 32 bits.
I'm probably not helping much, but it could be Nvidia. I've tried everything imaginable to get fullscreen flash to work at an acceptable level on my desktop.
Ubuntu 9.04 64bit with same plugins, Firefox, medium desktop effects:
An old Gateway notebook, 2.2ghz AMD64 bit, 1GB ram, and a 64MB dedicated ATI card. Result? Flash runs perfect, including Hulu at fullscreen.
On my newer dual core desktop, with 4gb of ram and a 512mb Nvidia 8800GT card. Fullscreen flash is downright horrible here. I dual boot this desktop, and it's fine in Win 7 64bit.
jbraswell
June 9th, 2009, 09:12 AM
I'm having the same problem, but it's has only been since my last update-manager-prompted update. Before that, Flash on Jaunty was working fine.
When I play a flash video, top shows xorg taking up 98% of one of my CPUs.
There's got to be an easy fix for this? What was in the last update?
thomasaaron
June 9th, 2009, 10:32 AM
Hi, jbraswell. I think this is a flash bug. I'm working on it right now with a Wild Dog in my shop. What system are you using, and what kind of graphics card?
For the rest of you guys, if you reboot your system does flash play well for a little while before becoming choppy? Or is it choppy from the get-go?
jbraswell
June 9th, 2009, 10:55 AM
Yes, you are correct, it does take a while to start happening after reboot.
I'm on a Wild Dog with the ATI 4830 video card.
Thanks!
Saganite
June 9th, 2009, 04:39 PM
Same problem here. Fresh install of 9.04, nvidia 185 drivers. However, I have found a workaround, if not an optimal one. This problem seems to be flash itself. If you lower the flash quality setting to low the problem goes away in full screen. Loose a bit of quality but it's not that noticeable.
thomasaaron
June 9th, 2009, 05:07 PM
OK, I'm testing on a Wild Dog with ATI graphics too.
What do you mean 'lower the flash quality setting?'
kilgor3
June 10th, 2009, 12:32 AM
I have the same exact problem. This seems to be a problem that ALOT of people are having. My problem exists on 3 systems. 1 with ati, one with geforce and one with intel video cards. The problem started for me with the release of 8.04. I can't find a fix that works. I think it has something to do with the way X talks to the flash plugin or vice versa maybe? This only happens with certain video cards. I have a 4th grforce system where everything works fine.
I've tried alot of "fixes", with no results.
If you ever fix it please share your secret. I'm debating giving up on Ubuntu based distro's all together if I cant fix this soon. It's a thorn that has been in my side for more than a year now.
thomasaaron
June 10th, 2009, 10:51 AM
Hey, guys. Try installing the *actual* 64-bit plugin from Adobe. So far, I'm running it with no freezes.
First run...
sudo apt-get --purge remove flashplugin-*
sudo apt-get remove nspluginwrapper
Then, follow the first five instructions here...
http://nxadm.wordpress.com/2009/04/26/install-64-bit-adobe-flash-player-on-ubuntu-904/
Does that work for you?
caeroe
June 10th, 2009, 03:17 PM
Hey, guys. Try installing the *actual* 64-bit plugin from Adobe. So far, I'm running it with no freezes.
First run...
sudo apt-get --purge remove flashplugin-*
sudo apt-get remove nspluginwrapper
Then, follow the first five instructions here...
http://nxadm.wordpress.com/2009/04/26/install-64-bit-adobe-flash-player-on-ubuntu-904/
Does that work for you?
I've installed the 64bit alpha before, it's still incredibly choppy. Flash is fine on my much older notebook with an ATI 64mb dedicated card, but my desktop simply cannot play fullscreen flash.
So is it really Nvidia's problem? Jaunty 64bit, Firefox 3.0.10, medium desktop settings, pulse audio, etc. The difference is that my newer desktop has a 512mb 8800GT card in it.
I simply cannot watch any fullscreen flash videos on my desktop PC. I have to boot Windows.
Edit: Well I give up again, there's no way I'll ever watch Flash videos (reasonably) in Ubuntu. I was planning on buying a netbook with Linux pre-loaded. No way I am now, so I'm getting one with WinXP installed, that way I can do something simple as watch Youtube.
jdb
June 10th, 2009, 04:06 PM
I've installed the 64bit alpha before, it's still incredibly choppy. Flash is fine on my much older notebook with an ATI 64mb dedicated card, but my desktop simply cannot play fullscreen flash.
So is it really Nvidia's problem? Jaunty 64bit, Firefox 3.0.10, medium desktop settings, pulse audio, etc. The difference is that my newer desktop has a 512mb 8800GT card in it.
I simply cannot watch any fullscreen flash videos on my desktop PC. I have to boot Windows.
Edit: Well I give up again, there's no way I'll ever watch Flash videos (reasonably) in Ubuntu. I was planning on buying a netbook with Linux pre-loaded. No way I am now, so I'm getting one with WinXP installed, that way I can do something simple as watch Youtube.
Something like this that is a regression that affects a lot of users usually gets fixed sooner than later.
jdb
kilgor3
June 10th, 2009, 04:19 PM
Something like this that is a regression that affects a lot of users usually gets fixed sooner than later.
jdb
It's been affecting me for over a year now, on both 64 and 32 bit systems, over 3 computers with 3 different GFX cards.
Saganite
June 10th, 2009, 07:23 PM
OK, I'm testing on a Wild Dog with ATI graphics too.
What do you mean 'lower the flash quality setting?'
When you are playing a video in flash and right click on it it should give you a menu, one of the options being Quality Setting. Gives you low, medium, and high. Settling it to low smoothed it out for me, however I am running the 64 bit 10,0,22,87 version...and to install it follow the instructions listed in the post a few down from yours. If I try to use the plugin synaptic installs lowering the quality seems to have limited to no effect.
thomasaaron
June 11th, 2009, 10:19 AM
Ah, I see. Thank you for clarifying.
Happy_Pangolin
June 11th, 2009, 04:18 PM
Hi, jbraswell. I think this is a flash bug. I'm working on it right now with a Wild Dog in my shop. What system are you using, and what kind of graphics card?
For the rest of you guys, if you reboot your system does flash play well for a little while before becoming choppy? Or is it choppy from the get-go?
On a brand new Pangolin w/ 9.04 Jaunty, Flash video play smoothly after boot. However, if I close the lid and have it hibernate, then open ... WHAMMO! Coopy video until the next reboot. Most Flash video sites are affected and become choppy to watch, but sometimes Youtube is ok. Weird.
But a reboot fixes it. I used both wireless and eth0 hardwire connection to a 5 Mb internet link.
So wonder why a suspend/hibernate would cause this? How does this relate to workstations? Maybe when the nVidia is turned off for screen saver, somehow has a bad Flash reaction upon awakening?
Really weird.
thebacotman
September 15th, 2010, 10:00 PM
[SOLVED]
I had the same problem.
- Choppy Flash on full screen, regardless the source.
- Choppy AVI on full screen
I tried
$ gstreamer-properties
the go to video > Default Output > from Auto to X Windows System (No XV)
So
Auto : Choppy
X Window System (No XV) : GOOD
X Window System (X11/XShm/XV): Choppy
So you might want to try that
Anyway, in case you need it my system is:
Dell Inspiron 1505
3GB DDR2 800 Ghz
Ati Radeon X1400
15.4 1680x1050
Intel Core 2 Duo T7200 2.0GHz
Damiox
November 8th, 2010, 01:11 AM
same here on intel . never had this problem in hardy :) all vids were smooth as silk, even just 512 ram . flippin flash and lucid do not like each other . ill try this ' fix ' when i get home :) now we need a linux hack for phones :) boot up ubuntu moto
salterlee
September 24th, 2011, 05:21 PM
Thanks thebacotman, your instructions solved it for me too!!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.