Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-19-11, 05:22 AM   #73
gradinaruvasile
Registered User
 
gradinaruvasile's Avatar
 
Join Date: May 2008
Posts: 199
Default Re: Flash acceleration on Linux?

Quote:
This is a good thing because on vdpau capable cards the 10.2 152 plugin version leads to display corruption regardless if you enable or disable hardware acceleration.
On some sites (youtube) you do get hardware decoding for HD content with the 152, but many sites have problem with this new plugin if hardware decoding is enabled. So this version creates more problems than it solves in this form.
Thats why. For me the 152 version is very very buggy - i get some sites that do not work, i see flash objects remaining in background of all applications as background, i get tons of flash plugin crashes, flickering playback, tearing vdpau playback in other applications. Very very bad.

The Google Chrome version works without problems (i use it in Opera).

BTW it seems it has vdpau in it:

Code:
$ strings /opt/google/chrome/libgcflashplayer.so | grep VDPAUglVDPAUInitNV
glVDPAUFiniNV
glVDPAUUnregisterSurfaceNV
glVDPAUSurfaceAccessNV
glVDPAUMapSurfacesNV
glVDPAUUnmapSurfacesNV
glVDPAURegisterOutputSurfaceNV
gradinaruvasile is offline   Reply With Quote
Old 02-19-11, 08:04 AM   #74
thecapsaicinkid
Registered User
 
Join Date: Aug 2010
Posts: 47
Default Re: Flash acceleration on Linux?

I'm using Chromium which doesn't use a bundled plugin and 10.2 r152 still gives no acceleration on YouTube (but does on Adobe test vids)
thecapsaicinkid is offline   Reply With Quote
Old 02-19-11, 08:29 AM   #75
gradinaruvasile
Registered User
 
gradinaruvasile's Avatar
 
Join Date: May 2008
Posts: 199
Default Re: Flash acceleration on Linux?

I tested it with Opera and was working on youtube. Make sure you pick a 1080p video (such as big buck bunny).
But you MUST have the /etc/adobe/mms.cfg file created with this content in it:

EnableLinuxHWVideoDecode=1
gradinaruvasile is offline   Reply With Quote
Old 02-19-11, 08:34 AM   #76
thecapsaicinkid
Registered User
 
Join Date: Aug 2010
Posts: 47
Default Re: Flash acceleration on Linux?

That was the video I was trying in 1080p and I have the mms.cfg option.
thecapsaicinkid is offline   Reply With Quote
Old 02-19-11, 09:18 AM   #77
gradinaruvasile
Registered User
 
gradinaruvasile's Avatar
 
Join Date: May 2008
Posts: 199
Default Re: Flash acceleration on Linux?

What card do you have?

I have a nvidia 8200 (vdpau B) and hardware acceleration/decoding was working on that video.
gradinaruvasile is offline   Reply With Quote
Old 03-02-11, 03:51 AM   #78
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Flash acceleration on Linux?

Version 11.0.0.58 / Date Feb 27, 2011 / For 32bit only:
Quote:
New Features
Key new capabilities in the Flash Player 11,0,0,58 Incubator include:
“Molehill” 3D GPU Accelerated APIs – A new set of low-level, GPU-accelerated 3D APIs that enable advanced 3D experiences across devices through the Adobe® Flash® Platform runtimes.
Cubic Bezier Curves – Using the cubicCurveTo drawing API, developers can easily create cubic beziers without custom ActionScript code required.
Download: http://labs.adobe.com/downloads/flas...incubator.html
Test cases: http://www.bytearray.org/?p=2810 / http://labs.adobe.com/technologies/f.../molehill.html

Linux info: Linux with OpenGL capable card (needs to be enabled through mms.cfg for now with this flag : OverrideGPUValidation=true)


Go test!
Licaon is offline   Reply With Quote
Old 03-02-11, 04:53 AM   #79
artem
Registered User
 
Join Date: Jun 2006
Posts: 711
Default Re: Flash acceleration on Linux?

H.264 acceleration doesn't seem to work - youtube says I have "undefined video renderer"

I have both

Code:
EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true
in my /etc/adobe/mms.conf

Firefox says Shockwave Flash 11.0 d0 is loaded.

At the same time Molehill technology demonstrated here works as expected, CPU usage is around 5%.

Adobe's own demo doesn't work, I get
Code:
An ActionScript error has occurred:
Error: (E)-ns- Gateway Service call error to http://tv.adobe...  AdobeTV v.2.1.0340 on date:Wed Mar 2 10:59:22 GMT+0000 2011
	at org.wreckmedia.infinite.player.model::RemotingObject/nsError()
Molehill based game crashes.
artem is offline   Reply With Quote
Old 03-02-11, 07:54 PM   #80
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: Flash acceleration on Linux?

****! 32bits ><
sl1pkn07 is offline   Reply With Quote

Old 03-03-11, 01:14 PM   #81
thecapsaicinkid
Registered User
 
Join Date: Aug 2010
Posts: 47
Default Re: Flash acceleration on Linux?

Quote:
Originally Posted by gradinaruvasile View Post
What card do you have?

I have a nvidia 8200 (vdpau B) and hardware acceleration/decoding was working on that video.
Nvidia GT210 vdpau C
Ubuntu 64bit
Chromium


http://www.youtube.com/watch?v=Ou6_M...layer_embedded

This video apparently is Stage Video enabled. I'm seeing 60% cpu and 'Software Rendering' in the video info.
thecapsaicinkid is offline   Reply With Quote
Old 03-03-11, 02:10 PM   #82
gradinaruvasile
Registered User
 
gradinaruvasile's Avatar
 
Join Date: May 2008
Posts: 199
Default Re: Flash acceleration on Linux?

I have the 11 flash working (nvidia 8200 integrated + 270.26 drivers, Debian Squeeze 32-bit, Opera 11.10 browser).

Plugin:
Description: Shockwave Flash 11.0 d0
/home/laca/.mozilla/plugins/flash-11/libflashplayer.so

/etc/adobe/mms.cfg file:

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

Check the attachment. Test subject:

http://www.youtube.com/watch?v=XSGBVzeBUbk

!! The real hw acceleration can be seen only after the whole video is cached to disk!!.
The caching process eats lots of cpu cycles it seems.

Until then i had 50% operapluginwrapper and 38% Opera processes, after it cached completely i had 20-30% operapluginwrapper and 2% Opera processes.
All this with 1080p and the larger video size (not fullscreen).


Quote:
Originally Posted by thecapsaicinkid View Post
Nvidia GT210 vdpau C
Ubuntu 64bit
Chromium


http://www.youtube.com/watch?v=Ou6_M...layer_embedded

This video apparently is Stage Video enabled. I'm seeing 60% cpu and 'Software Rendering' in the video info.
Hm. It does work for me. Hardware acceleration, 1080p with Opera 11.10, flash 10.2.152.27 on Debian Squeeze 32-bit nvidia 8200 + 270.26 drivers). After caching ~18-25% CPU


The screenshot is taken with the 11 d0 flash. The tearing is not visible while playing. Also, there is no garbage on the screen as with the 10.2.152 version.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-1.jpg
Views:	190
Size:	97.1 KB
ID:	42349  
gradinaruvasile is offline   Reply With Quote
Old 03-04-11, 09:54 AM   #83
hl_
Registered User
 
Join Date: Feb 2009
Posts: 138
Default Re: Flash acceleration on Linux?

Seems that there is a myriad of different flash versions available. Is there any way of getting video acceleration to work with a 64 bit flash player yet?
hl_ is offline   Reply With Quote
Old 03-04-11, 11:16 AM   #84
gradinaruvasile
Registered User
 
gradinaruvasile's Avatar
 
Join Date: May 2008
Posts: 199
Default Re: Flash acceleration on Linux?

Quote:
Originally Posted by hl_ View Post
Seems that there is a myriad of different flash versions available. Is there any way of getting video acceleration to work with a 64 bit flash player yet?
There are 2 current versions of flash:

10.2.152.27 - the vanilla Adobe flash for Linux - has Stage Video support (hardware decoding with vdpau(nvidia) and uvd2/3(ati/amd) capable cards), but disabled by default. Can be enabled by inserting

EnableLinuxHWVideoDecode=1

in the

/etc/adobe/mms.cfg

file.
It is unstable on nvidia cards that use the proprietary driver, if hw acceleration is enabled leads to corrupted display areas. Also it crashes a lot.

10.2.r154 - the flash plugin shipped with Chrome browser. It seems that the Stage Video is disabled for good in this one, the mms.cfg file contents are ignored.
The good is that it is very stable (well, as much as flash can be...).

And there is one test version:

11 d0 - Seems better than the 152 version, works quite good and no screen corruption is observed. But still crashes now and then. It has support for some nifty 3d capabilities (there are some adobe demos). Enabling them you need to modify the /etc/adobe/mms.cfg file like this:

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

Anyway, some sites will refuse to work with 11 d0 or 10.2.152 if hw acceleration is enabled.
gradinaruvasile is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:36 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.