感谢支持
我们一直在努力

Ubuntu安装Comsol Multiphysics 4.2出现错误

在Ubuntu 10.04上安装Comsol Multiphysics 4.2出现如下错误:



The program ‘SWT’ received an X Window System error.
This probably reflects a bug in the program.
The error was ‘BadDrawable (invalid Pixmap or Window parameter)’.
(Details: serial 2135 error_code 9 request_code 136 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the –sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)


有方法说在.comsol/v42/comsol.prefs文件中添加一行graphics.rendering.2drend=swing,发现这个方法对我来说没有作用。实际上出现这个错误的原因是显卡驱动不对,或者说是没装好。Ubuntu显卡驱动可能不好搞,不过可以采用替代的方法:通过运行comsol -3drend sw命令忽略3d显示功能来运行comsol,这样comsol就可以完美运行了。

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu安装Comsol Multiphysics 4.2出现错误
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏