Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

COMSOL UBUNTU PROBLEM urgent

Please login with a confirmed email address before reporting spam

i am new to linux.. i have installed COMSOL 4.1 on ubuntu 10.4 but i am unable to run, i m getting this error please suggest detailed solution


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 2105 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.)
Error:-8

4 Replies Last Post 2011年7月20日 GMT-4 01:01

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年5月21日 GMT-4 09:33
I've had the same issue with Ubuntu 10.04 (64-bit). Switching COMSOL's rendering system from SWT to swing should fix the issue.

Step-by-step guide:
1. Open Ubuntu 10.04 terminal.
2. Write "cd .comsol" and press enter. Write "cd v41" and press enter.
4. Write "gedit comsol.prefs" and press enter. In gedit, insert following line:
graphics.rendering.2drend=swing
5. Save file and open COMSOL Multiphysics 4.1. It should work now.
I've had the same issue with Ubuntu 10.04 (64-bit). Switching COMSOL's rendering system from SWT to swing should fix the issue. Step-by-step guide: 1. Open Ubuntu 10.04 terminal. 2. Write "cd .comsol" and press enter. Write "cd v41" and press enter. 4. Write "gedit comsol.prefs" and press enter. In gedit, insert following line: graphics.rendering.2drend=swing 5. Save file and open COMSOL Multiphysics 4.1. It should work now.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年7月19日 GMT-4 18:44
Hi,

I have the same problem but the above instructions didn't solve the problem. I still get the same error message.
Hi, I have the same problem but the above instructions didn't solve the problem. I still get the same error message.

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年7月19日 GMT-4 22:09
You either have a hardware problem with your graphics card, or you do not have an adequate driver installed for the graphics card that may be ok.

First test by starting comsol with "comsol -3drend sw" which will bypass your graphics 3d capability and perform software rendering of the graphics. Slower, but it will always work.

if this works, than my theory is correct.

Next, you should get a good graphics card that understands opengl v1.5 or higher instructions. A relatively new nvidia card is suggested.

Then, install the latest nvidia driver (not the open source nv driver, but the commercial-grade binary-only driver straight from nvidia). You can get it from ubuntu archives, or install directly from nvidia.

Then try comsol again with "comsol -3drend opengl" and see if this fixes it.

Good luck !

You either have a hardware problem with your graphics card, or you do not have an adequate driver installed for the graphics card that may be ok. First test by starting comsol with "comsol -3drend sw" which will bypass your graphics 3d capability and perform software rendering of the graphics. Slower, but it will always work. if this works, than my theory is correct. Next, you should get a good graphics card that understands opengl v1.5 or higher instructions. A relatively new nvidia card is suggested. Then, install the latest nvidia driver (not the open source nv driver, but the commercial-grade binary-only driver straight from nvidia). You can get it from ubuntu archives, or install directly from nvidia. Then try comsol again with "comsol -3drend opengl" and see if this fixes it. Good luck !

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年7月20日 GMT-4 01:01
You got it James! It works now...
You got it James! It works now...

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.