matlab2014b generates libGL error: unable to load driver: nouveau_dri.so at startup

7 views (last 30 days)
Hi I have just installed matlab2014b on a new install of RedHat Linux 6.6, and when I start matlab, I get the following error
ibGL error: dlopen /usr/lib64/dri/nouveau_dri.so failed (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau
Matlab runs and appears to work OK, but I would like to know how to fix this.
THanks, Jim

Accepted Answer

Bjorn Nilsson
Bjorn Nilsson on 23 Jan 2015
Same problem here. I fetched
and unpacked with
rpm2cpio mesa-dri-drivers-8.0.5-1.el6.elrepo.x86_64.rpm | cpio -idmv
There is then a version of the missing driver file in usr/lib64/dri/nouveau_dri.so
which I copied to /usr/lib64/dri/nouveau_dri.so
Then the complaint disappears, and MATLAB R2014b seems to work
/Björn
  2 Comments
Jim Stockel
Jim Stockel on 23 Jan 2015
Bjorn,
Excellent, that worked. How did you track down that driver?
THanks a bunch!!! Regards, Jim
Jacob
Jacob on 30 Jan 2015
I have the same issue on my newly installed fedora21. I tried your solution, but unfortunately the screen went blank when copying the file. I had to re-install my Linux distro since I was not able to log in after it shut down.
The error from MATLAB prompt is:
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
MATLAB is selecting SOFTWARE OPENGL rendering.

Sign in to comment.

More Answers (2)

Nade Sritanyaratana
Nade Sritanyaratana on 19 Mar 2015
Hi Jacob,
Were you able to figure out the issue with your system configurations?
If not, try out the steps outlined in the following link (regarding an older release but may still be relevant here): http://www.mathworks.com/matlabcentral/answers/94805-why-does-my-linux-hardware-opengl-not-work-properly
Let me know if this works. Good luck!

AKM
AKM on 3 Oct 2016
Hi all,
I am Ph.D student and new to metlab after successful installation of matlab 2016b i got this error in the command line.
root@AJAY-Genome:/programinstallers/Matlab-2016b/bin/glnxa64# ./MATLAB libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast
and Below error in the matlab main window when its get open. Please help me to solve issue i am very much thanful to you . for your kind information i am running ubuntu 16

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!