LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2010, 11:03 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
confused by flash performance Slackware vs Salix


I'm confused by this. I installed SalixOS on my laptop just to play with when I'm bored. My laptop is nothing special, it's a couple of years old
has a pentium dual core t2390 at 1.86Ghz and 3 GB ddr2 RAM with Intel video.

I then have a beast i7 920 clocked to 3331Mhz 6GB RAM, and an NVIDIA GT220. Full screen youtube at 720p is fine unless I move the mouse, then the whole picture freezes. Persistant mouse movement will freeze the screen for a few minutes. This machine runs both slack64 current and slack13 32 bits.

The slack box does much better with 32 bit flash than 64, but it still doesn't do nearly as well as the laptop.

With Salix and Slack being so close to each other supposedly I can't figure out why the hardware seems to be irrelevant. The only thing I can think of would be the video codecs installed by Salix, whereas I built a bunch of codecs myself for Slack.

Any ideas?
 
Old 04-02-2010, 11:44 PM   #2
codedr
Member
 
Registered: Feb 2007
Location: USA
Distribution: opensuse, slackware
Posts: 35

Rep: Reputation: 19
You're not comparing the performance between slackware and Salix, you are
comparing the difference between two different graphic hardware installations.

If you want to compare the difference between slackware and salix, you need
to install OS's on the very same hardware and run tests to compare
the differences.

There a few attributes which may explain the behaviour of your
Nvidia installation. Like what device driver are you using to drive the
card, what version is it. Are you on the latest Xorg version.
Does Xorg have the raw display performance options compiled in ?

Some of the suggestions for improving the displaying video at a real time
rate can be found the the mplayer documentation.
 
Old 04-04-2010, 07:05 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I was actually comparing 32 bit flash vs 64 bit flash. After triple boot trials (slack 64/32 bit salix 32 bit) I determined that flash video is, in fact, identical on slack and salix using 32 bit.

Last edited by damgar; 04-04-2010 at 07:10 PM.
 
Old 04-06-2010, 11:45 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Thanks for investigating this. 64-bit Flash's performance on Linux is awful.

Have you tried running 32bit Flash in nspluginwrapper? (I did years ago, but the performance was not good). Or have considered switching to a 32-bit Firefox, which would be possible in a multi-lib setup?
 
Old 04-06-2010, 06:57 PM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by dugan View Post
Thanks for investigating this. 64-bit Flash's performance on Linux is awful.

Have you tried running 32bit Flash in nspluginwrapper? (I did years ago, but the performance was not good). Or have considered switching to a 32-bit Firefox, which would be possible in a multi-lib setup?
I've got a Ubuntu 64 dual boot on my laptop. Flash is fine (not fine, but as good as it gets with flash ) on there as well so I'm assuming there's some multilib magic going on there. It will even do hulu.com which normally just tells you to go away and bother adobe if you are running 64bit linux. Sad as it sounds, for the time being I'd rather just use the opportunity to bash flash and adobe than spend much time on flash since most of my tinker time is spent with Salix right now (I'm trying to get all the things I liked about Ubuntu going in Slack and Salix makes certain things a little easier) so I can get away from Ubuntu.

I have higher hopes for the 10.1 for 64 but I'm an optimist.
 
Old 04-07-2010, 08:45 AM   #6
codedr
Member
 
Registered: Feb 2007
Location: USA
Distribution: opensuse, slackware
Posts: 35

Rep: Reputation: 19
Can you describe what you mean by 'flash performance on 64-bit is awful' ?

I run 64-bit on opensuse and the flash apps display video fine.
Are you talking about sluggish display ? Start/stop of video ?
 
Old 04-07-2010, 08:50 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I've had no problems with flash on Slack64.
 
Old 04-07-2010, 09:12 AM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by codedr View Post
Can you describe what you mean by 'flash performance on 64-bit is awful' ?
This Youtube movie runs at half-frame rate if I play it full-screen. That's awful.
http://www.youtube.com/watch?v=7zuebZI6bKw

Firefox also locks up extremely frequently, and it's usually when I have a band's Myspace page open one one tab and I've switched to another.

Last edited by dugan; 04-07-2010 at 09:22 AM.
 
Old 04-07-2010, 11:24 AM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by dugan View Post
Firefox also locks up extremely frequently, and it's usually when I have a band's Myspace page open one one tab and I've switched to another.
For what it's worth "MySpace" is a huge resource hog. I do not experience lockups on my 64bit Slack 13.0 with flash (using the slackbuild for flash from slackbuilds.org for 64bit Slack 13) whenever I land on a myspace page (I try to avoid myspace at all times!!). But I do see my CPU usage jump to very high levels whenever I have the misfortune of finding myself on a myspace page.
 
Old 04-07-2010, 07:14 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
For me the problem is in hi-res full screen, like youtube 720p at fullscreen........it plays fine, doesn't kill my system, but if I move the mouse the video hangs, and if I move it for a few seconds the video locks and I can't even ESC out of fullscreen until it decides to sometimes 10 seconds. I get nothing like that on 32 bit flash. And you can forget about hulu.com. Personally my browsers never crash with flash, except for the development 3.6.4 of FF that I'm running on an old Ubuntu install.
 
Old 04-07-2010, 09:14 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by dugan View Post
This Youtube movie runs at half-frame rate if I play it full-screen.
And I just confirmed that it works perfectly in 32-bit Flash! I installed a 32-bit Firefox (just the official Slackware package) and a 32-bit Flash. That video now runs completely smoothly, full-screen, at its maximum resolution of 480p.

EDIT: And Damgar, I just watched this movie full-screen at 720p. I even moved the mouse several times. The audio stayed in sync for the entire movie. The only problem was a bit of screen tearing.
http://www.youtube.com/watch?v=v-Gfkb04DNI

Last edited by dugan; 04-07-2010 at 09:25 PM.
 
Old 04-07-2010, 09:56 PM   #12
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by dugan View Post
And I just confirmed that it works perfectly in 32-bit Flash! I installed a 32-bit Firefox (just the official Slackware package) and a 32-bit Flash. That video now runs completely smoothly, full-screen, at its maximum resolution of 480p.
I'm trying now to install 32 bit ff from the slackdvd. I think I've followed the mutltilib directions, but when I try to ru9n the 32 bit ff I get this
Code:
bash-4.1# /usr/lib/firefox-3.5.2/firefox

(firefox-bin:9320): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
  '/etc/pango/pango.modules'
You should create this file by running:
  pango-querymodules > '/etc/pango/pango.modules'

(firefox-bin:9320): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'
/usr/lib/firefox-3.5.2/crashreporter: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
It seems I need a 32 bit libgconf? I can't figure out where to find the package that contains this.
 
Old 04-07-2010, 10:07 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Try running /etc/rc.d/rc.M again.

I don't have libgconf installed.

Last edited by dugan; 04-07-2010 at 10:23 PM.
 
Old 04-07-2010, 10:20 PM   #14
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Reinstalling my Nvidia driver per the instructions and rebooting solved the problem. I am now able to watch full screen youtube in 720 and move the mouse all I want. Hulu.com works as well. Thank God for AlienBOB! It seems like a long way to go, but that's the beauty of opensource .... there's almost always a way! Thanks for taking an interest.
 
Old 04-08-2010, 09:07 AM   #15
codedr
Member
 
Registered: Feb 2007
Location: USA
Distribution: opensuse, slackware
Posts: 35

Rep: Reputation: 19
Ahh, that explains it. I **never** run you-tube at full screen.
I have a very very large screen. I bet the upscaling of the video to my
full screen would kill the performance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New install (Salix 13 not Slack) volume wheel on Toshiba A205 laptop doesn't work. damgar Slackware 2 03-21-2010 07:15 PM
Announcing Salix, a new Slackware based distribution gapan Linux - Distributions 30 12-28-2009 01:08 AM
slow usb 2.0 flash performance on 2.6.31-15-generic roozbeh Linux - Hardware 1 12-03-2009 11:37 PM
Workaround for Flash Player 10 performance issue. Metamorf Linux - Software 1 08-08-2009 05:12 AM
Crappy performance with Flash + Firefox Thakowbbery Linux - General 8 09-16-2005 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration