Full Screen Video is Lagging (almost looks like slow-motion) in Firefox

Asked by ernie

I am running Ubuntu 9.04 on a Toshiba Satellite M45-S2693. There are no problems at all when playing a video "full Screen" with Movie Player, VLC, or Real Player directly.

No such luck however when viewing a video full screen when opened through Firefox in sites like youtube, hulu, nfl, etc. They almost look like slow-motion, but it's much worse than that. The full-screen video lags the audio and temporarily stops sometimes.

Shockwave Flash 10.0 r22 is one of the enabled plugins in Firefox (version 3.0.10)

By the way, these videos play normally when NOT in full screen mode.

Any help would be much appreciated. Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ernie
Solved:
Last query:
Last reply:
Revision history for this message
ernie (ernieanglade-yahoo) said :
#1

I should have also asked whether or not I need to install some "special" video driver(s) for Ubuntu 9.04 (since this is NOT a dual partition scenario). If so, how do I go about doing so?

In fact, I don't remember what drivers the Toshiba Satellite M45-S2693 use. Is there a command that would provide that info?

Thanks again.

Revision history for this message
Steven Danna (ssd7) said :
#2

I'm guessing that this is an issue of flashes generally poor performance. I have the same issue on one of my machines and as far as I can tell it is simply caused by the fact that flash is a resource hog and when you try to play it full screen it just puts too much of a load on the system. There are a few things you could try that may make it better, but in my experience these only have marginal effects

1) Disable Visual Effects (System->Preferences->Appearence->Visual Effects select None)
2) Close other unneeded programs.

Just out of curiosity could you run the following commands in a terminal and post the output here (Applictions->Accessories->Terminal):

1) lspci | grep -i VGA
2) free -m
3) sudo lshw -C cpu

Revision history for this message
ernie (ernieanglade-yahoo) said :
#3

Hopefully, this will help solve my issue.

~$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
~$

~$ free -m
             total used free shared buffers cached
Mem: 1500 569 930 0 38 316
-/+ buffers/cache: 214 1285
Swap: 4392 0 4392
~$

~$ sudo lshw -C cpu
  *-cpu
       description: CPU
       product: Intel(R) Pentium(R) M processor 1.73GHz
       vendor: Intel Corp.
       physical id: 4
       bus info: cpu@0
       version: 6.13.8
       slot: mFCPGA
       size: 1067MHz
       capacity: 1733MHz
       width: 32 bits
       clock: 133MHz
       capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up bts est tm2 cpufreq
~$

Revision history for this message
Steven Danna (ssd7) said :
#4

As I said, it is not entirely clear whether you problem can be completely solved since flash has significant performance issues in linux. However, you may find it helpful to use the latest drivers for your intel card since many improvements have been made to that particular driver since the release of Ubuntu 9.04.

To get the latest driver, it is necessary to add the PPA containing those drivers. Follow these directions to do that.

1) Open a terminal (Applications->Accessories->Terminal)
2) Enter the following command:

gksudo gedit /etc/apt/sources.list

3) Add the following two lines to the bottom of the file:

deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main

4) Save and close the file.
5) Enter the following command at the command prompt:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B22AB97AF1CDFA9

6) Enter the following commands at the command prompt(each on their own line):

sudo apt-get update
sudo apt-get upgrade

7) This should update the various components of xorg that need to be updated.
8) Restart your computer.

Even if you find that this doesn't resolve your problem, it will likely be beneficial in other ways. Please post back here if you run into problems following any of those directions.

Revision history for this message
ernie (ernieanglade-yahoo) said :
#5

Thanks a lot for the help. I followed your instructions without any difficulties. But as you had warned, this did not resolve the "flash" issue unfortunately. I'll have to make do without the full screen.

Hopefully, some day there will some alternative to adobe flash. Thanks again.

Revision history for this message
Stuart Locke (stuartlocke) said :
#6

I was frustrated by the same problem, and somewhat imprudently copied the directions which were not directed at me. Will anything bad happen? I realize it was stupid, but I'd appreciate if someone could tell me.

I have a Toshiba Satellite L300, and my outputs from the commands you asked ernie for are below.

stuart@stuart-laptop2:~$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
stuart@stuart-laptop2:~$ free -m
             total used free shared buffers cached
Mem: 3015 2244 770 0 687 658
-/+ buffers/cache: 899 2115
Swap: 8887 0 8887
stuart@stuart-laptop2:~$ sudo lshw -C cpu
  *-cpu
       description: CPU
       product: Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
       vendor: Intel Corp.
       physical id: e
       bus info: cpu@0
       version: 6.15.13
       serial: 0000-06FD-0000-0000-0000-0000
       slot: CPU
       size: 1GHz
       capacity: 4096MHz
       width: 64 bits
       clock: 667MHz
       capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm cpufreq
       configuration: id=0
     *-logicalcpu:0
          description: Logical CPU
          physical id: 0.1
          width: 64 bits
          capabilities: logical
     *-logicalcpu:1
          description: Logical CPU
          physical id: 0.2
          width: 64 bits
          capabilities: logical

Revision history for this message
kickwin (kickwin) said :
#7

I have the same problem with my Dell Laptop Inspiron 1300 on both Xubuntu and Ubuntu 9.04. Here is the laptop configuration.

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

Intel® Celeron® M Processor 380
1.60GHz/1MB Cache/400MHz FSB
512 MB RAM

Though, it works fine in my office computer which is a much better configuration (dual-core etc..) and it has NVIDIA graphics card.

Revision history for this message
kickwin (kickwin) said :
#8

My problem got fixed by this solution.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/314928

Just a few lines of code and voila!