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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-30-12, 10:45 AM   #1
artem
Registered User
 
Join Date: Jun 2006
Posts: 713
Default Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

In default configuration (i.e. without /etc/adobe/mms.cfg file) Adobe Flash Player 11.2 has the following problems in Linux with NVIDIA drivers:

1) People's skin is blueish, people look like smurfs. Bug report, another bug report (Adobe cannot or more likely doesn't want to reproduce this bug - there's still a possibility that it's indeed NVIDIA's drivers bug).

2) YouTube videos leak through black parts of other windows (Adobe is aware of this bug but they don't want to fix it).

3) Watching YouTube videos causes Flash player to hang, crash the browser or freeze X.org server (A bug in X.org server or NVIDIA drivers as both sides blame each other).

4) It's impossible to read some websites which contain Flash charts. Just open this page and try to smooth scroll it in Mozilla Firefox. CPU usage will jump to 100%, the whole image on the display will be garbled (Most likely a bug in the interaction of X.org server and NVIDIA drivers).

Keywords: Linux, NVIDIA Linux proprietary driver, Mozilla Firefox, Google Chrome/Chromium, Opera, Adobe Flash Player plugin, blue, blueish, X.org crash/freeze/hang, [mi] EQ overflowing. Additional events will be discarded until existing events are processed. libflashplayer.so Version: Shockwave Flash 11.2 r202, flash-plugin-11.2.202.228-release, /opt/google/chrome/libgcflashplayer.so

If you experience any other problems, please post about them here.

Please, share any workarounds with us if you have found them.

Update 1: a possible fix for issues 1 and 2 (please, test and report if it works for you):

Quote:
Originally Posted by Plagman View Post
For people running into either the "leaking overlay" or the "blue people" problems, I wrote a patch to libvdpau_trace.so designed to suppress them.

Please clone libvdpau from git and apply this:

http://plagman.net/stuff/0001-vdpau_...h-quirks.patch

This will cause the resulting trace library to change the VDPAU behavior of any clients that have tracing enabled, so make sure you only enable tracing for the web browser that loads the Flash plugin (eg. for Firefox in Ubuntu, you'd add an "export VDPAU_TRACE=1" line to /usr/lib/firefox-n.n/firefox.sh). Trying to use tracing on any other VDAU client after this has been installed won't work right as it suppresses all the tracing messages and swaps color channels for some operations. Please make sure to restore a vanilla build of libvdpau_trace.so on your system before filing a VDPAU bug against something else.
Update 2:

Here's another fix for issues 1 and 2 (it also includes GPU offloading of H.264 decoding):

1) Modify your Firefox/Google Chrome/Opera shortcuts this way:

Code:
VDPAU_NVIDIA_NO_OVERLAY=1 firefox
alternatively you can create /etc/profile.d/fix_flash.sh file with this content:

Code:
export VDPAU_NVIDIA_NO_OVERLAY=1
this way is even better as it guarantees that Adobe Flash Player will work in any web browser.

2) Create /etc/adobe/mms.cfg file and put this text into it:

Code:
EnableLinuxHWVideoDecode=1
P.S.

These two solutions do not solve the problems with sporadic Flash Player crashes and the scrolling of pages containing Flash charts.

P.P.S.

Since I enabled hardware acceleration in Flash, now Flash Player crashes every time when I try to jump to a certain portion of video or resize a video window in YouTube. :-(
Attached Thumbnails
Click image for larger version

Name:	flash_player_11.2.jpg
Views:	1519
Size:	24.3 KB
ID:	43769  

Last edited by artem; 04-04-12 at 09:55 AM.
artem is offline   Reply With Quote
Old 03-30-12, 10:58 AM   #2
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Workaround for the blue people and leaking overlay:

http://www.nvnews.net/vbulletin/show...&postcount=104
(it's not necessary to use git, the patch applies also to the current libvdpau release)
Gusar is offline   Reply With Quote
Old 03-30-12, 10:59 PM   #3
RUSTY
Registered User
 
Join Date: Dec 2002
Posts: 44
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

I second that. Nvidia please fix this. It's like I'm watching the avatar 24/7.
RUSTY is offline   Reply With Quote
Old 03-31-12, 12:48 AM   #4
p3dr0l0b0
Woe to you
 
p3dr0l0b0's Avatar
 
Join Date: May 2008
Posts: 6
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Did you try reading the post at all? 1) It's Adobe fault 2) NVIDIA already posted a ****ing fix.
p3dr0l0b0 is offline   Reply With Quote
Old 03-31-12, 07:19 AM   #5
fredbezies
Registered User
 
Join Date: Mar 2012
Posts: 7
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Only saw this behaviour with youtube. On dailymotion, no blue skin problem. And libvdpau trick doesn't work for me.
fredbezies is offline   Reply With Quote
Old 03-31-12, 10:18 AM   #6
Plagman
NVIDIA Corporation
 
Plagman's Avatar
 
Join Date: Sep 2007
Posts: 254
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

The problem only happens when Flash uses software decoding but VDPAU for presentation; it swaps two arguments of the call to upload the video data into VDPAU in that case. The libvdpau-trace patch linked above fixes that. If it doesn't work for you, odds are you probably installed it wrong.
Plagman is offline   Reply With Quote
Old 04-03-12, 03:52 PM   #7
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Ok, so I've been playing around with various stuff, and this is my conclusion:

First activate hardware decoding in Flash. To do so, put this in /etc/adobe/mms.cfg
Code:
EnableLinuxHWVideoDecode=1
This gets rid of the blue people, but still leaves the leaking overlay. Also, Flash tends to crash a lot. Not at youtube, but with other video players. So now I did this in the script that launches Firefox
Code:
export VDPAU_NVIDIA_NO_OVERLAY=1
And voila, no crashes. No leaking overlay either. The biggest plus: No need to hack the libvdpau library, which is especially nice for those who aren't used to compiling things (you really should learn though, it's a very useful skill to have).

Now a question for the Nvidia devs: What method is used for display now that I've disabled the overlay? Also, does this have a performance penalty, and if yes how big of a penalty?
Gusar is offline   Reply With Quote
Old 04-03-12, 04:26 PM   #8
Belegdol
Registered User
 
Join Date: Oct 2004
Posts: 118
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

http://us.download.nvidia.com/XFree8...ausupport.html

Seems that what is changed is that the blit path is used instead of an overlay one, and you might get tearing as a result.
Belegdol is offline   Reply With Quote

Old 04-03-12, 06:53 PM   #9
sjlopezb
Registered User
 
Join Date: Mar 2012
Posts: 34
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Quote:
Originally Posted by Gusar View Post
(...)
And voila, no crashes. No leaking overlay either. The biggest plus: No need to hack the libvdpau library, which is especially nice for those who aren't used to compiling things (you really should learn though, it's a very useful skill to have).
A question: Do you take the acceleration hardware activated in the Firefox?

I say it, because it is necessary to activate 2 or 3 parameters to have it.

Do you have this activated?:

layers.acceleration.force-enabled

It was trumping me.

Thank's.
sjlopezb is offline   Reply With Quote
Old 04-03-12, 07:00 PM   #10
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Layers acceleration, no, I don't have that activated. It shouldn't be activated, it's disabled by default for a reason - it's not working properly yet.

@Belegdol: thanks for the link, I actually should've guessed that blitting will be used if there's no overlay.
Gusar is offline   Reply With Quote
Old 04-04-12, 01:13 AM   #11
Belegdol
Registered User
 
Join Date: Oct 2004
Posts: 118
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Quote:
Originally Posted by Gusar View Post
Layers acceleration, no, I don't have that activated. It shouldn't be activated, it's disabled by default for a reason - it's not working properly yet.

@Belegdol: thanks for the link, I actually should've guessed that blitting will be used if there's no overlay.
No problem. Unfortunately, using that variable did not take care of the crashes for me.
Belegdol is offline   Reply With Quote
Old 04-04-12, 09:46 AM   #12
sjlopezb
Registered User
 
Join Date: Mar 2012
Posts: 34
Default Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)

Quote:
Originally Posted by Gusar View Post
Layers acceleration, no, I don't have that activated. It shouldn't be activated, it's disabled by default for a reason - it's not working properly yet.

@Belegdol: thanks for the link, I actually should've guessed that blitting will be used if there's no overlay.
Really, it is still not very well implemented. At least, I consist, because to I give hangs.

Thank's.
sjlopezb 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 07:12 PM.


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