Menu

#1078 3D not showing in Linux Mint/Cinnamon due to Java 3D issue (can be fixed with Java parameter)

v_6.x
wont-fix
nobody
3
2022-07-21
2022-01-21
No

Howdy team, thank you for your great work!

Summary

Sweethome3d used to work fine on Linux Mint. However, 3D rendering stopped working. It turns out that a Java configuration parameter could fix this.

javax.media.j3d.IllegalRenderingStateException: Can't create graphics environment for Canvas 3D

Not sure whether this is related to my graphics hardware. GeForce GTX 1660 Ti Mobile - nvidia-driver-495

I reported this to the cinnamon team, assuming that this is a configuration issue. They bounced it back. Here is the link to the entry in their issue tracker:

https://github.com/linuxmint/cinnamon/issues/10611

Steps to reproduce

  • You need to run on Linux Mint / Cinnamon
  • Launch sweethome3d
  • Open a file or try to design something
  • 3D-View stays empty
  • When launched from console, stacktrace is shown (below)

Other information

I solved this by adding the following line to /usr/share/sweethome3d/sweethome3d.sh

-Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true

Of course, this is likely specific to my graphics configuration.

I found this solution here: http://www.sweethome3d.com/support/forum/viewthread_thread,8338

That thread states:

Switching to icewm, for example, I get full 3D functionality.

Therefore, I reported this first to the cinnamon team, considering this a configuration isse.

Discussion

  • Emmanuel Puybaret

    Thanks for reporting this issue and the solution you found.
    I prefer not to set com.eteks.sweethome3d.j3d.useOffScreen3DView property to true because the default configuration works correctly for many users.

     
  • Emmanuel Puybaret

    • status: open --> wont-fix
     

Log in to post a comment.