在matlab中执行m文件崩溃

106 views
Skip to first unread message

tom mario

unread,
Dec 17, 2012, 3:23:13 AM12/17/12
to shlug
我在家目录下安装了matlab
r2009b,然后启动运行,执行一个m文件画三维图的时候matlab崩溃了(图在这里:http://wstaw.org/m/2012/12/17/2.png,附件里有),终端里显示的信息如下:
>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.
我export LIBGL_DEBUG=verbose 之后,信息如下:
>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

然后我安装了libstdc++,依然是同样的出错信息。按“libGL error: unable to load driver:
r600_dri.so”和“libGL error: unable to load driver:
swrast_dri.so”搜索,好像是显卡驱动的问题(我的显卡是ATI
HD545v,安装的开源驱动),之前有装过官方Catalyst驱动,桌面经常卡死,所以想问一下不换驱动的话应该怎么解决?

我的发行版是Archlinux,已升级到最新,内核是3.6.9,驱动是开源的ATI驱动,matlab版本是7.9.0.529
(R2009b)。matlab崩溃后的dump文件在附件里。

dump_file.txt
2.png
terminal_information.txt

馒头簸箕

unread,
Dec 17, 2012, 6:25:20 AM12/17/12
to sh...@googlegroups.com
换个2012b试试看?
> --
> -- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
>
>
> <dump_file.txt><2.png><terminal_information.txt>

tom mario

unread,
Dec 17, 2012, 9:57:55 AM12/17/12
to sh...@googlegroups.com
听说版本越高对机器性能要求越高,我这电脑(Intel P6100,ATI 545v)估计能跑起来也会卡成翔。。。

2012/12/17 馒头簸箕 <yaof...@gmail.com>

姚飞

unread,
Dec 17, 2012, 10:55:57 AM12/17/12
to sh...@googlegroups.com
不保密的话发给我玩玩,八头怪跑跑

没有钱没有权,工作全凭嘴巴甜

姚飞
---
上海卫星工程研究所

tom mario

unread,
Dec 17, 2012, 10:27:18 PM12/17/12
to sh...@googlegroups.com
谢了!不过就是一十多行小程序,期末作业。。。而且,解决方法找到了,点这里
Reply all
Reply to author
Forward
0 new messages