Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FreeCAD .appimage opens, but doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 40

PostPosted: Sat Jun 29, 2024 2:45 am    Post subject: FreeCAD .appimage opens, but doesn't work Reply with quote

I tried to use FreeCAD in my new gentoo installation. The application opens, but I can't use it, I can't create a new file, and crashes

This is the output when I open via terminal:
Code:

FreeCAD 0.21.2, Libs: 0.21.2R33771 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   #### 
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

(qt.qpa.plugin) Could not find the Qt platform plugin "wayland" in ""
MESA-LOADER: failed to open crocus: /usr/lib64/dri/crocus_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /usr/lib64/dri, suffix _dri)
failed to load driver: crocus
MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /usr/lib64/dri, suffix _dri)
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
No valid GL context found!
(qt.qpa.backingstore) composeAndFlush: QOpenGLContext creation failed
(qt.qpa.backingstore) composeAndFlush: makeCurrent() failed
(qt.qpa.backingstore) composeAndFlush: makeCurrent() failed
No valid GL context found!
(qt.qpa.backingstore) composeAndFlush: makeCurrent() failed


THis is the output when it creashes:
Code:

(qt.qpa.backingstore) composeAndFlush: makeCurrent() failed
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
No valid GL context found!
(qt.qpa.backingstore) composeAndFlush: makeCurrent() failed
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
/tmp/.mount____FreIgBbOr/AppRun: line 43:  5303 Aborted                 ${MAIN} "$@"


How can I solve this problem?
Back to top
View user's profile Send private message
steve_v
Guru
Guru


Joined: 20 Jun 2004
Posts: 402
Location: New Zealand

PostPosted: Sat Jun 29, 2024 5:56 am    Post subject: Reply with quote

Try prepending
Code:
LD_PRELOAD=/usr/lib64/libdrm_amdgpu.so.1

_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 40

PostPosted: Sat Jun 29, 2024 1:13 pm    Post subject: Reply with quote

I tried this solution, but nothing different happened.
I also have a FreeCAD installed, but is missing some parts, like customizing which workbenches will appear on the panel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum