Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I load a WebGL website on Firefox 5 in my Ubuntu 11.04 system, I get a grey screen and a warning on the terminal like this:

[GLX] your GL driver is currently blocked. If you would like to bypass this, define the MOZ_GLX_IGNORE_BLACKLIST environment variable.

Acceleration works fine on Google Chrome. How can I enable back acceleration for Firefox?

share|improve this question
    
Not all Nvidia cards support hardware acceleration, perhaps this is why you get the warning. How many Nvidia driver do you have installed and what are they? –  mikewhatever Jul 17 '11 at 21:16

2 Answers 2

up vote 4 down vote accepted

I don't know why the driver is on the blacklist, but you can do what's suggested: try running MOZ_GLX_IGNORE_BLACKLIST=1 firefox.

If this works, you can modify the .desktop file /usr/share/applications/firefox.desktop and change the line

Exec=firefox %u`

to

Exec=env MOZ_GLX_IGNORE_BLACKLIST=1 firefox %u
share|improve this answer

Have you installed the proprietary drivers or are you using the default ones that come with Ubuntu. Nouveau for what I know does not support the requirements for WebGL... yet. But if you install for the time being the nvidia Proprietary ones you will get full support. If i may ask, what video card are you using. You only need one that support OpenGL ES 2.0. Test here: http://doesmybrowsersupportwebgl.com/ to see what support you have and if you can install the proprietary ones if not yet installed.

share|improve this answer
    
i've got the nvidia proprietary drivers installed. google-chrome on the website shows a YAY, Firefox shows a NAY –  213441265152351 Jul 17 '11 at 16:05
    
Are you SURE you have Firefox 5. Go to Help -> About in Firefox because right now am writing this on Firefox 5.0. Make sure is not some Beta/Alpha/Omega something. It should say only 5.0 in the version number. –  Luis Jul 17 '11 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.