Feeds:
Posts
Comments

Posts Tagged ‘Adobe’

If you’ve been getting blue faces when watching YouTube clips, or any other Adobe Flash videos, the cause can be hard to pinpoint. When faces and flames, and other red/orange elements, turn varying shades of blue, it can be due to a buggy Flash update (especially for 64-bit users), or it can be due to video card driver issues (currently it seems to be affects a few Nvidia users after upgrading to Ubuntu 12.04 – read more at the bottom). Whatever the cause, this issue usually drives people to uninstall Flash, then reinstall an earlier version.

But hopefully the following fix will correct the colours in the movies you watch in Firefox or Chrome (and any other web browsers) without having to resort to such drastic measures. All you need to do is create a text file and paste a line of text into it, but since saving it will fail unless you create the folder first, do so by running the following in the terminal:

sudo mkdir /etc/adobe/

Now to create the file and open it for editing:

gksu gedit /etc/adobe/mms.cfg

When it opens, paste in the following:

EnableLinuxHWVideoDecode=1

Close the file, and confirm you want to save the changes. Now, all you need to do is restart your browser and your clips should look fine. If not, you may need to reboot, and hopefully all is fine when you return.

The EASY WAY: Now that you understand what’s needed, you could cheat and just do the whole process with one command:

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

If you also want to force the Flash player to bypass its GPU validity checks (GPU validation – see below), then the command would be:

sudo mkdir /etc/adobe/ && echo -e "OverrideGPUValidation=1\nEnableLinuxHWVideoDecode=1" | sudo tee /etc/adobe/mms.cfg > /dev/null

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

That Didn’t Work, or Caused Problems? In some cases, you might find you need to disable GPU validation in addition to, or instead of, telling Flash to use vdpau hardware acceleration. If you’re experiencing trouble at some sites but not others (like YouTube videos are now fine, but at Vimeo the Flash plugin crashes), you may want to play around with the settings. For example, to enable the acceleration but bypass GPU validation, the text in mms.cfg would be:

OverrideGPUValidation=1
EnableLinuxHWVideoDecode=1

… or the following to just bypass GPU validation:

OverrideGPUValidation=1
EnableLinuxHWVideoDecode=0

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

To Revert Back: If these tweaks have caused you more headache than it was worth, just delete the entire folder you created with:

sudo rm -r /etc/adobe

Or you can just edit the file with:

gksu gedit /etc/adobe/mms.cfg

… and set EnableLinuxHWVideoDecode= to 0 if you prefer to keep it.

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

Nvidia users: Apparently the issue (which Adobe reportedly won’t be fixing) is caused by having hardware acceleration enabled, so right-clicking a Flash video, choosing Settings… and disabling “Enable hardware acceleration” can often fix this. However, the above fix is perhaps more elegant since you’re allowing Flash to use vdpau hardware acceleration, rather than just disabling it altogether.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Advertisements

Read Full Post »

32-bit Ubuntu users: You can read this for some general info, but for installation of Flash use this guide instead.

°ºÒθÓº°¤°ºÒθÓº°¤°ºÒθÓº°

While Flash support on Linux distros used to be a nightmare, most people these days rarely need to bother fiddling with it. In fact, installing Flash support on 32-bit i386 systems it can be even easier than doing the same in Windows. But 64-bit users often find it is one big mess, and this has nothing to do with Ubuntu, as Adobe has only ever released a 32-bit version, as incredible as that may seem.

At the time of writing, there is the first alpha 64-bit version available, so things are looking up. While you could be forgiven for not trusting a product that isn’t even at its first beta level yet, from what I have seen it is stable, and should be the answer you are looking for. While this might not be the solution to help everyone, hopefully it is the answer to your Flash woes.

What you first need to do is go into Synaptic and completely remove the package flashplugin-installer, or do so with the following command in a terminal (if you never installed it, obviously you can skip this step):

sudo apt-get purge flashplugin-installer

If you suspect you may have installed some open source Flash plugins, open Synaptic and enter “flash” in the Quick search bar. I personally removed the popular gnash just to be safe (since it and the Adobe one always fought for supremacy, though that was never the problem, considering I installed Gnash after the Adobe product failed me). You can leave swfdec-gnome if that is installed, as that handles things like giving thumbnail previews for .swf files in Nautilus, etc, and doesn’t appear to cause any conflicts.

You can always try just skipping all that and seeing if the 32- and 64-bit versions happily co-exist, but since the 32-bit one is failing you anyway, you may as well uninstall it and save any potential headaches.

Next, we need to add the Adobe Flash repository to the APT sources, update the sources list, then download and install the 64-bit plugin. This is easily done by pasting the following into a terminal:

sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer

Note that if you get an error, most likely because during the sources update it failed to fetch some info, this install will fail (since it won’t actually get to the last command and download and install anything). However, if you open Synaptic and search for “flash“, you will see there is now flashplugin64-installer included in the list of found packages, and is then easily installed (though you could always just run sudo apt-get install flashplugin64-installer in a terminal).

If you prefer, you can run each of the three commands separately:

sudo add-apt-repository ppa:sevenmachines/flash
sudo apt-get update
sudo apt-get install flashplugin64-installer

That way if the update fails, you can run it again and then run the last command when ready.

After that, you should have Flash support in Firefox and other web browsers, and you shouldn’t even need to reboot (though if you didn’t already exit Firefox before installing Flash, restart the program now, and you should be able to watch Flash vids).

°ºÒθÓº°¤°ºÒθÓº°¤°ºÒθÓº°

If you want to make sure the plugin is installed properly (without viewing a Flash clip, which is obviously the best way to get this info), just enter about:plugins in the Firefox address bar and hit Enter. You should see the Flash section right near the top.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »