24 May, 2012

Flash v11.2 video appears blue

What is causing the blue Flash video?
 
After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well.

For flash videos like on youtube, right click on the video, go to settings and disable hardware acceleration.

I find it odd that Adobe would launch 11.2 the "last version for Linux" and it would have the Blue People bug. Never had a bug before and on the last version a serious weird bug appears

This is caused by a bug in the new Flash version that Adobe refuses to fix. There also is a bugreport on Launchpad that discusses this (LP: #967091). The bug only appears when you use the NVidia binary drivers and have libvdpau installed. A quick fix is adding some extra settings to the Flash configuration.

sudo mkdir /etc/adobe
echo -e "EnableLinuxHWVideoDecode=1\nOverrideGPUValidation=true" | sudo tee /etc/adobe/mms.cfg > /dev/null

This fixes the problem while still having VDPAU hardware accelleration. Unfortunately there probably won't be a new Flash version to fix this without this manual config-hack because the Flash version that introduced this bug is also the last Flash version Adobe will ever release for Linux.

If this causes instability for you, revert the changes by deleting the directory you created before.

sudo rm -r /etc/adobe

or you can try to reduce the /etc/adobe/mms.cfg file to just the

OverrideGPUValidation=true

line by editing with sudo gedit /etc/adobe/mms.cfg.
 


Fix (work around)

Issue: All web browsers flash player video is blue

  •     Chromium
  •     Google Chrome
  •     Firefox

Both flash plugins causes flash video to appear have a blue overlay, so remove.

  •     Adobe - flashplugin
  •     Flashplugin - installer
Solution (not as functional as adobe flash plug in but it works)
  •     Install lightspark (plus any browser-plugins) or
  •     Install gnash (plus any browser-plugins)

Possible Fix 1

Removed:

  •     gnash browser plug-ins
  •     gightspark browser plug-ins
  •     Video Decode and Presentation API for Unix (libraries) libvdpau1
  •     flashplugin - installer

Installed:

adobe-flashplugin Re-started browser, and it worked for me.
 


Possible Fix 2

Installed:

  •     libvdpau1
Flash set-up
  •     disable HW acceleration in Flash.
Open your browser and navigate to a flash video (youtube, abobe flash site, etc) right click, settings and disable Hardware acceleration.

If you are unable to disable Hardware acceleration, log in to the Unity 2D environment.

BUG: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/968489

OBS: In case of persistance. Restart the machine.
 

No comments: