Mathematica rendering 3D plots problems

aboSamoor | July 22, 2009 | 11:18 am

Rendering Graphics3D using Mathematica on linux generally and specifically on Ubuntu 9.04+ is not fun. The output is not displayed till you rotate the object, and once you rotate the 3D object the cpu usage jump to 100% which gives bad experience using Mathematica for Ubuntu users. This is a driver issue which it is expected to be addressed with the newer Intel graphics drivers which introduces UXA option instead of EXA as an acceleration method. As 9.04 was released this new technology was not stable enough to be enabled by default.

Now, to solve the problem for Mathematica you have two options:

  1. Run Mathematica with mesa option
    mathematica -mesa

    • Modify /etc/X11/xorg.conf to add the UXA option
      Section "Device"
      Identifier "Configured Video Device"
      Option "AccelMethod" "uxa"
      EndSection

    • Logout to restart the X server
    • Notice: Don’t forget to backup your xorg.conf before editing ;)

Sources:

  1. UXA option
  2. Mesa option

3 responses

Thank you thank you thank you. I found that the

Francisco | July 22, 2009 | 10:33 pm

Thank you thank you thank you. I found that the UXA options is more efficient in my comp, the mesa option was so slow.

Такой взгляд достаточно распространён. Оригинальный взгляд на вещи.

Igor | February 19, 2010 | 7:23 am

Такой взгляд достаточно распространён. Оригинальный взгляд на вещи.

I'm using Mathematica 7 on Ubuntu 10.04 and the UXA

Ryan | August 29, 2010 | 2:29 am

I’m using Mathematica 7 on Ubuntu 10.04 and the UXA option didn’t help, but the “-mesa” fix worked great. The CUP usage is still pretty high but I think it is to be expected with 3D rendering.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>