Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 22
Posts: 22   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3414 times and has 21 replies Next Thread
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

maybe you want to know what video card I have installed?

franco@franco-500-511nl:~$ lspci | grep -E 'VGA|Display|3D'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
franco@franco-500-511nl:~$
[Jun 5, 2018 8:58:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 6417
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Golia, you should install Java 8 to run the Editors.
About Sweet Home 3D, what do you mean by "nothing"? Could you run SweetHome3D or SweetHome3D-Java3D-1_5_2 in a Terminal and report what it displays?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 6, 2018 11:28:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 161
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Sorry, my fault! Graphic card or video card is right what i asked for. You see, english is also a foreign language for me.
Ok, it's what i expected, an AMD product (in my mashine there is a AMD RX580) and that's the problem. The radeon-drivers for linux are not yet finished so we have to use a very basic version for our video cards.
You can fix some problems in the sweethome3d start script (/usr/share/sweethome3d/sweethome3d.sh). you have to open it with root-rights and modifie the JAVA_ARGS section. I think you can copy and paste mine:

JAVA_ARGS="
-Djava.library.path=/usr/lib/jni \
-Dcom.eteks.sweethome3d.applicationFolders=$HOME/.eteks/sweethome3d:/usr/share/sweethome3d \
-Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=true \
-Dsun.java2d.opengl=true \
-Dcom.eteks.sweethome3d.resolutionScale=1.25
-Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
-Dswing.plaf.metal.controlFont=Dialog-11
-Dswing.plaf.metal.userFont=SansSerif-11
-Dswing.plaf.metal.systemFont=SansSerif-11"

About the Java-version: i'm running version 10 but that means, i have no access to any furniture library. I have to import every single furniture which i want to use.
Ok, that's what i can do for you at the moment. For further improvements we have to wait for the new Radeon-drivers (a pre-release is already available) and for java10 support of sweethome3d.
----------------------------------------
SH3D 6.0 / Ubuntu 18.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 1800x
[Jun 6, 2018 11:37:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 161
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

@Emmanuel - Sweethome3D downloaded from here will not start on a system running Ubuntu 18.04 AND a recent AMD video card because of the unfinished radeon-drivers.
----------------------------------------
SH3D 6.0 / Ubuntu 18.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 1800x
[Jun 6, 2018 11:42:24 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Emmanuel
From SW3d terminal it works correctly, I had not tried from terminal.
I try to install java 8 for editors and I'll let you know, thanks

UbuntuBirdy
I think it's a video card problem
[Jun 6, 2018 10:48:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

FreeCad does not work either
I'd better get back to LinuxMint
[Jun 6, 2018 10:49:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 161
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

@ Golia - You can run FreeCAD in Ubuntu 18.04. Go to /home/.local/share/applications and open your FreeCAD starter with an Editor. Replace the Exec-entry with this one:

Exec=sh -c "LIBGL_DRI3_DISABLE=true freecad" --single-instance %U

@Emmanuel - I don't know how long ago i opened SW3D in the terminal, but there semes to be some changes since then. I can now run SweetHome3D-Java3D-1_5_2 in the terminal and SW3D is starting. WAHOOO it's awesome to get the libraries back!!!
----------------------------------------
SH3D 6.0 / Ubuntu 18.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 1800x
[Jun 10, 2018 9:23:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Great!!
[Jun 14, 2018 10:59:10 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Hello
I installed SH3D and Java 8 on linux Mint 19 (ubuntu 18.04) and at the moment everything is fine.
As for the editors (Forniture Library Editor and Texutures Library Editor) do not start but do not open any files.
I also found a terminal ... nothing
[Jul 18, 2018 2:45:34 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Golia
Member




Joined: Jan 22, 2015
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Doesn't launch anymore in Ubuntu 17.10

Sorry, I did not realize that the java version was 10 instead of the 8 default.
For those who served I did so:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

but it does not work all right ...
TexturesLibraryEditor everything is ok
FurnitureLibraryEditor opens the file correctly, when I go to edit an element it closes.
under the result from the terminal

franco@franco-System-Product-Name:~$ java -jar FurnitureLibraryEditor-1.20.jar
com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f8264156540, context 0x7f82642cd6f8, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@6e425c3b,
Handle 0x50002ae,
Surface JAWTWindow[0x24534070][JVM version: 1.8.0_181 (1.8.0 update 181)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x50002ae, surfaceHandle 0x50002ae, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 128x128], pixels[scale 1.0, 1.0 -> 128x128], visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[glx vid 0x28, fbc 0x10f: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x28],
encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f8264156540, owner true, JAWTToolkitLock[obj 0x29967f31, isOwner true, <2e956caa, 52ca4ec7>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0x10f,
requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[glx vid 0x28, fbc 0x10f: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]],
awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128],
surfaceLock <67c2e5bf, 5af67477>[count 1, qsz 0, owner <J3D-Renderer-1>]]]
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6411)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4602)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2376)
at javax.media.j3d.Renderer.doWork(Renderer.java:881)
at javax.media.j3d.J3dThread.run(J3dThread.java:271)

DefaultRenderingErrorListener.errorOccurred:
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
graphicsDevice = X11GraphicsDevice[screen=0]
canvas = com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128]
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)
X11Util: Open X11 Display Connections: 2
X11Util: Open[0]: NamedX11Display[:0, 0x7f826400ff50, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0, 0x7f8264156540, refCount 1, unCloseable false]
[Jul 21, 2018 9:38:17 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 22   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2018 eTeks - All rights reserved