LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Youtube: Choppy playback with Google Chrome (http://www.linuxquestions.org/questions/slackware-14/youtube-choppy-playback-with-google-chrome-4175483053/)

lems 11-01-2013 12:06 PM

Youtube: Choppy playback with Google Chrome
 
Hello,

I run Slackware -current 32 bit on a Thinkpad T60 with intel graphics and using the google chrome SlackBuild from extra/ (google-chrome-30.0.1599.114-i386-1).

The problem is that while audio is not choppy -- so --audio-buffer-size is not needed and did not do anything --, video playback is. Funnily, the advertisment plays fine, but the actual video not.

Using Firefox with the flash player package from Alien BOB works fine: no choppy sound or video.

On my desktop PC with a GeForce 9800 GT and the official NVIDIA driver, Chrome plays YouTube videos fine as well.

Is there some variable I need to set or is this a known problem with Pepper flash? Related to my intel graphics Chip? According to lspci, it is a:

Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
dmesg:

Code:

[    8.281610] agpgart-intel 0000:00:00.0: Intel 945GM Chipset
[    8.281832] agpgart-intel 0000:00:00.0: detected gtt size: 262144K total, 262144K mappable
[    8.282948] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[    8.283354] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000

edit: On the web, the only Solution I found was disabling Pepper flash.
edit: In hindsight, I understand that this might not really be related to Slackware, sorry.

Regards

lems

stormtracknole 11-01-2013 12:44 PM

I have the same issue on my netbook from time to time (Intel video). Other than having Chrome use Adobe's flash rather than Pepper, there is not much one can do about it. The only thing that I know that works is to wait for a new version of Chrome and see if that fixes the issues. I am guessing that it has something to do with the Intel hardware acceleration, but again, that is just a guess.

Raveriux 11-01-2013 01:55 PM

i had the same problem with desktop computer and nvidia graphic card. Its buggy pepper plugin. Disable it and use adobe flash AlienBob package.

lems 11-01-2013 02:00 PM

I see, thanks. I *think* that Google fixed choppy sound some time ago, a workaround was the mentioned --audio-buffer-size switch, I'm afraid something similar for video playback is not available. Sigh.

stormtracknole 11-01-2013 02:21 PM

When Pepper Flash works, it's great. But, it seems to crap out from time to time for no reason.

jefro 11-01-2013 09:45 PM

Isn't there some way to force html5?

stormtracknole 11-01-2013 09:51 PM

Quote:

Originally Posted by jefro (Post 5056875)
Isn't there some way to force html5?

Only on youtube and that's not really a chrome thing. The website has to distribute the content that way.

jtsn 11-02-2013 08:55 AM

Chrome/PepperFlash broke for me around version 26 or 27 on Intel GMA 950 and 3150. So I did a custom chromium build with with a checkout of 24.0.1312.71 (182490), because it still supports --scroll-pixels and added PepperFlash 11.6.602.167 to it using --ppapi-flash-path and --ppapi-flash-version command line parameters (all later PepperFlashs don't work). That still works fine. Though its not secure, but I use Chrome as a YouTube frontend only anyway.

snowpine 11-02-2013 11:34 AM

Intel Corporation Mobile 945GM/GMS is not suitable for high-quality multimedia in my opinion; YMMV...

jtsn 11-02-2013 11:49 AM

Quote:

Originally Posted by snowpine (Post 5057160)
Intel Corporation Mobile 945GM/GMS is not suitable for high-quality multimedia in my opinion; YMMV...

It's not suitable for high-end 3D gaming, but it's perfectly fine for video playback. Like every GPU since the late 90s was.

BTW: low-bitrate Internet video is not what I consider "high-quality multimedia". :D

snowpine 11-02-2013 11:52 AM

I respect that opinion jtsn. I am actually typing this from a laptop with Intel 945gm (are you?) so that's what my opinion is based on. 480p videos play fine off local hard drive with VLC or mplayer, but Youtube in the Firefox browser is a joke. YMMV

Adobe Flash plugin has its own rather steep hardware requirements and I really doubt Youtube is going to play well on "every GPU since the late 90s" as you claim: https://www.adobe.com/products/flash...ech-specs.html

jtsn 11-02-2013 12:06 PM

Quote:

Originally Posted by snowpine (Post 5057166)
I respect that opinion jtsn. I am actually typing this from a laptop with Intel 945gm (are you?) so that's what my opinion is based on. 480p videos play fine off local hard drive, but Youtube is a joke. YMMV

That's actually an issue with the CPU (it's an Atom isn't it?) not the GPU. If you pair the i945G IGP with a potent CPU like the Pentium D or Core 2 Duo it was originally designed for, it plays YouTube videos perfectly fine up to full resolution.

Quote from: https://en.wikipedia.org/wiki/GMA_950#GMA_950
Quote:

Like previous Intel integrated graphics parts, the GMA 900 has hardware support for MPEG-2 motion compensation, color-space conversion and DirectDraw overlay.
And that's all you need for fluid video playback. Of course, you still need a CPU that can actually decode fast enough.

snowpine 11-02-2013 12:12 PM

My laptop has Intel Core 2 Duo processor. How about you? Can you tell us about your hardware (GPU and CPU) so we are not talking theoretical/abstract?

One 2007 review of my laptop says: "the PC features Intel GMA 950 integrated graphics, which labor under the weight of all but the most basic gaming titles and graphics tasks."

6 years have passed since that review... (8-16x increase in average hardware power according to Moore's Law)... even Raspberry Pi ($40) would be a better choice for video than your average 2007 integrated-graphics laptop.

To lems my advice is to download the video to your hard drive and watch with your favorite video player (VLC, mplayer, etc.). It should run just fine if you bypass the Adobe browser plugin. :)

jtsn 11-02-2013 12:52 PM

Quote:

Originally Posted by snowpine (Post 5057180)
My laptop has Intel Core 2 Duo processor.

Then there must be something wrong with your configuration. Even an Atom N270 (with HT) is able to do YT 480p using the browser/plugin combination this thread is about. A dual-core CPU with out-of-order-execution is enough to get that CPU-hungry thing at least up to 720p.

(You may get very different results with Gecko-based browsers and the discontinued flash 11.2 plugin, but that's off-topic in this thread.)

snowpine 11-02-2013 12:55 PM

jtsn, since you refuse to mention your own hardware, I can only assume you are not speaking from recent personal experience with 945gm. And your suggestion that Atom 270 is a good choice for Youtube is simply laughable! ;)

lems, just download the video and watch with mplayer/totem/vlc, it will play fine. :)


All times are GMT -5. The time now is 11:51 PM.