You are not logged in.
Pages: 1
Topic closed
I installed Matlab r2009b in my home directory and run a M-file in it but it crashed (see it here:http://wstaw.org/m/2012/12/17/2.png),the terminal information are:
libGL error: failed to load driver: r600
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
After
export LIBGL_DEBUG=verbose
,the information are:
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/r600_dri.so failed (/home/mario/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/xorg/modules/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/home/mario/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
.and here are the dump file:
------------------------------------------------------------------------
Segmentation violation detected at Sun Dec 16 23:20:38 2012
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.9.0.529 (R2009b)
MATLAB License: 161051
Operating System: Linux 3.6.9-1-ARCH #1 SMP PREEMPT Tue Dec 4 08:04:10 CET 2012 x86_64
GNU C Library: 2.16 stable
Window System: The X.Org Foundation (11300902), display :0
Current Visual: 0x21 (class 4, depth 24)
Processor ID: x86 Family 6 Model 5 Stepping 5, GenuineIntel
Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: UTF-8
Fault Count: 1
Register State:
rax = 0000000000000000 rbx = 0000000000000000
rcx = 0000000000000000 rdx = 00007f024c0521a8
rbp = 00000000009a0005 rsi = 0000000000000000
rdi = 0000000000000000 rsp = 00007f025262d7f8
r8 = 00007f024c0521d0 r9 = 0000000000000000
r10 = 0000000000000000 r11 = 00007f026124ea80
r12 = 0000000000001f02 r13 = 00007f025cd7eed8
r14 = 0000000000000000 r15 = 00007f024fca5a60
rip = 00007f01eaae84e0 flg = 0000000000010202
Stack Trace:
Please follow these steps to report this problem to The MathWorks so we
have the best chance of correcting it:
The next time MATLAB is launched under typical usage, a dialog box will
open to help you send the error log to The MathWorks. Alternatively, you
can send an e-mail to segv@mathworks.com with the following file attached:
/home/mario/matlab_crash_dump.1036
If the problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/ts/help_request_1.html
A technical support engineer might contact you with further information.
Thank you for your help. MATLAB may attempt to recover, but even if recovery appears successful,
we recommend that you save your workspace and restart MATLAB as soon as possible.
My GPU is ATI Radeon 545v ,linux kernel is 3.6.9-1ARCHx86_64,
I searched and concluded that maybe due to the open source GPU driver,could anyone help me without switching to the Catalyst? Thank you !
Last edited by tomisacat (2012-12-18 23:39:35)
Offline
And I have installed libstdc++.
Offline
I had the same issue.
Have a look at: http://stackoverflow.com/questions/9959 … -the-one-i
I simply linked sys/os/glnxa64/libstdc++.so.6.0.13 to /usr/lib/libstdc++.so and now it works fine.
Offline
I had the same issue.
Have a look at: http://stackoverflow.com/questions/9959 … -the-one-iI simply linked sys/os/glnxa64/libstdc++.so.6.0.13 to /usr/lib/libstdc++.so and now it works fine.
Thank you!,It worked!thank you ,thank you!
Offline
This trick also need to be applied on R2014b to make openGL work (not needed for R2014a though)
Offline
I can confirm the same problem with matlab 2016b and linking the symlink in matlab installation folder to the system libstdc++ pointer fix the the problem.
sudo ln -sf /lib/libstdc++.so.6 /usr/local/MATLAB/R2016b/sys/os/glnxa64/libstdc++.so.6
Offline
Mod note: Closing this old topic.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Pages: 1
Topic closed