LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-26-2011, 01:30 PM   #1
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,967

Rep: Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547
Getting 3D acceleration with Flash and vdpau


We regularly get threads on Flash's performance and stability issues. I've written a blog entry to document the current state and workarounds.

http://duganchen.ca/3d-accelerated-w...dia-and-issues
 
Old 08-27-2011, 08:52 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
My recommendation? Leave 3D acceleration off, and enable it on a need basis
The best solution
Also, VDPAU is only in the 32bit plugin (AFIAK).

My girlfriend plays a crap-ton of Facebook flash games. With acceleration enabled, they always had the overlay bug (Flash image remains on screen even after the webpage is closed). I'll have her give the VDPAU_NVIDIA_NO_OVERLAY=1 a shot.
 
Old 08-27-2011, 10:57 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,967

Original Poster
Rep: Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547
The 32-bit and 64-bit versions are identical. I can confirm that VDPAU is also in the 64-bit version.

The VDPAU_NO_OVERLAY setting does make things a lot more stable for me.

Also, do make sure that you're running the latest nvidia drivers (280.13 as of this writing). Flash seems to be a large source of Nvidia's bug reports.

Last edited by dugan; 08-27-2011 at 05:15 PM.
 
Old 08-29-2011, 06:40 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
I've never had an issue with Flash and the Nvidia drivers (using the last build posted at SBo).

I did install libvdpau prior to installing my drivers and I do have vdpau-video installed with all dependencies as well.

But yeah, I play the Flash games too on Facebook and I have never had issues.
 
Old 08-29-2011, 09:57 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,967

Original Poster
Rep: Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547
Quote:
Originally Posted by ReaperX7 View Post
I've never had an issue with Flash and the Nvidia drivers (using the last build posted at SBo).

I did install libvdpau prior to installing my drivers and I do have vdpau-video installed with all dependencies as well.
And then you turn never turned on 3D acceleration in Flash. Which is why you never had issues.

Flash's default setup is stable no matter which video drivers you're using (people here have reported crashes with the latest kernels though). It just doesn't perform that well. It's when you enable the disabled-by-default video acceleration feature that you start running into crash bugs.

Last edited by dugan; 08-29-2011 at 10:01 AM.
 
Old 08-29-2011, 03:20 PM   #6
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,082
Blog Entries: 11

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
So far I haven't had any crashes (flash 11, nvidia-280.13) but the acceleration leaves much to be desired. On my AMD X2 2.4Ghz dual core, can watch 1080p flash movie full screen at around 40-50% utilization on both cores via Firefox-5.01, with acceleration turn on that drops to about 25-35% on both cores. If I d/l the flash video file and play in through vdpau on mplayer/gnome-mplayer, I get 20-30% on one core. Also, haven't needed the no overlay setting yet.
 
Old 08-29-2011, 03:49 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
No, I have it enabled. No problems.
 
Old 12-18-2011, 12:33 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,967

Original Poster
Rep: Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547
Quote:
Originally Posted by kingbeowulf View Post
So far I haven't had any crashes (flash 11, nvidia-280.13) but the acceleration leaves much to be desired. On my AMD X2 2.4Ghz dual core, can watch 1080p flash movie full screen at around 40-50% utilization on both cores via Firefox-5.01, with acceleration turn on that drops to about 25-35% on both cores. If I d/l the flash video file and play in through vdpau on mplayer/gnome-mplayer, I get 20-30% on one core. Also, haven't needed the no overlay setting yet.
Athlon II X3 425 here. Flash 11.0.1.152 with the NVidia Drivers 290.10. And all hacks (e.g. VDPAU_NO_OVERLAY) turned off.

Even with 3D acceleration turned on, I can't watch a 720p Crunchyroll video full-screen (or even in a larger window) without the video becoming noticeably jerky. With the video in a normal-sized window embedded in the page, it plays at normal speed. But with a CPU utilization of 43%! (And no, CPU frequency scaling isn't turned on).

This level of performance is completely ridiculous!

I'm going to wait for 11.2 (which has multithreaded decoding) to become stable. If even that doesn't improve things, then I might end up buying a new CPU and motherboard just to watch streaming videos.

Last edited by dugan; 12-18-2011 at 12:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] another vdpau thread :) SeRi@lDiE Slackware 14 08-26-2011 09:16 PM
[SOLVED] XINE in 64-13.37 - No VDPAU driver? ahmadj Slackware 5 05-29-2011 04:33 PM
Disable hardware acceleration (flash) [SOLVED] Novartum Linux - Software 2 03-05-2011 02:48 PM
nVidia's VDPAU VS ATI's ..... ? wanas Linux - Software 1 02-02-2010 06:18 AM
LXer: Flash Player gets multi-touch, graphics acceleration LXer Syndicated Linux News 0 11-18-2009 09:11 PM

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

All times are GMT -5. The time now is 07:10 PM.

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