Ok, I think I understand now: as per Enable OpenGL 2.0 and WebGL for Intel GMA3150 in Ubuntu, what this new Firefox sees as a Graphics driver, is not some specific file version, but that which is reported by glxinfo
:
$ glxinfo | grep -i "OpenGL version" flushing GPU caches before/after each draw call OpenGL version string: 1.4 Mesa 7.10.2
Then I configured again with a prefix /usr
(otherwise the default is /usr/local
), which is where Ubuntu Natty wants these stored; and did install:
./configure --enable-gl-osmesa --prefix=/usr sudo make install
And then, just for a while, glxinfo
returned 7.10.3
, which is what Firefox would have seen; but for one I ran out of disk space; and for another, now after reboot I get:
$ glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig
And this apparently (graphics - Error: couldn't find RGB GLX visual or fbconfig ubuntu 12.04) requires messing with xserver-xorg
, so it is a bit more complicated than just replacing the library, it seems...
Edit: actually got it: From this Problems with nvidia drivers in 12.2 - glxinfo "couldn't find RGB GLX visual", I learned to do:
$ grep -B2 EE /var/log/Xorg.0.log ... [ 37.353] (II) AIGLX: Trying DRI driver /usr/lib32/dri-alternates/i915_dri.so [ 37.353] (II) AIGLX: dlopen of /usr/lib32/dri-alternates/i915_dri.so failed (/usr/lib32/dri-alternates/i915_dri.so: cannot open shared object file: No such file or directory) [ 37.353] (EE) AIGLX: reverting to software rendering ...
I mentioned that I ran out of disk space; so I did this (after a sudo make install
of Mesa):
sudo mv /usr/lib/dri /media/external/_mv/ sudo ln -s /media/external/_mv/dri /usr/lib/ sudo mv /usr/lib/egl /media/external/_mv/ sudo ln -s /media/external/_mv/egl /usr/lib/
Then we actually need to restart x-server, so it can "see" the .so files in the symlink locations upon load, which as per How can I restart x-server from the command line? - Ask Ubuntu, for me was sudo service gdm restart
After that, got this:
$ LIBGL_DEBUG=verbose glxinfo name of display: :1.0 libGL: OpenDriver: trying /usr/local/lib/dri/i915_dri.so libGL error: dlopen /usr/local/lib/dri/i915_dri.so failed (/usr/local/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: i915_dri.so libGL error: driver pointer missing ....
... and simply did:
sudo ln -s /media/external/_mv/dri /usr/local/lib/
... and voila:
$ LIBGL_DEBUG=verbose glxinfo name of display: :1.0 libGL: OpenDriver: trying /usr/local/lib/dri/i915_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /etc/drirc: No such file or directory. flushing GPU caches before/after each draw call display: :1 screen: 0 direct rendering: Yes ...
... except, not even this is good enough for this Firefox:
Ah, well...