nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color) (http://www.nvnews.net/vbulletin/showthread.php?t=177380)

artem 03-30-12 10:45 AM

Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)
 
1 Attachment(s)
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 (Post 2518770)
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. :-(

Gusar 03-30-12 10:58 AM

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)

RUSTY 03-30-12 10:59 PM

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.

p3dr0l0b0 03-31-12 12:48 AM

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.

fredbezies 03-31-12 07:19 AM

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.

Plagman 03-31-12 10:18 AM

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.

Gusar 04-03-12 03:52 PM

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?

Belegdol 04-03-12 04:26 PM

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.

sjlopezb 04-03-12 06:53 PM

Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)
 
Quote:

Originally Posted by Gusar (Post 2542379)
(...)
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.

Gusar 04-03-12 07:00 PM

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.

Belegdol 04-04-12 01:13 AM

Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)
 
Quote:

Originally Posted by Gusar (Post 2542439)
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.

sjlopezb 04-04-12 09:46 AM

Re: Adobe Flash Player 11.2 under NVIDIA drivers (hangs, crashes and blue skin color)
 
Quote:

Originally Posted by Gusar (Post 2542439)
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.


All times are GMT -5. The time now is 08:30 PM.

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