View Single Post
Old 03-30-12, 09:45 AM   #1
artem
Registered User
 
Join Date: Jun 2006
Posts: 705
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:	1417
Size:	24.3 KB
ID:	43769  

Last edited by artem; 04-04-12 at 08:55 AM.
artem is offline   Reply With Quote