You are not logged in.
If any one tries to start FreeCAD and get the below errors:
/tmp/.mount_freecaiw0xef
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /usr/lib/dri, suffix _dri)
failed to load driver: swrast
A3 available
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
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_freecaiw0xef/AppRun: line 52: 185160 Aborted (core dumped) "./$name" "$@"I searched the web for similar issues and found the following:
FreeCAD not starting
Apperently the Mesa drivers have changed something in the newer releases but instead of installing the previous version suggests starting FreeCAD with the following prompt.
LD_PRELOAD=/usr/lib/libdrm_amdgpu.so.1 ./FreeCAD-0.21.2-Linux-x86_64.AppImage Hopefully that helps if any one struggles.
Offline
thanks for sharing, facing the same issue.. couldnt find any "like button", so.. thanks! ![]()
Offline
This fixed it for me too! Thanks a lot ![]()
Offline
Thanks you so much... this mesa problem occurs at many distribs and hit not only freecad.
For peoples running freecad in qemu / vm with graphics from virtio family it works too if pointed to virtio "driver" or whatever thing it is:
/usr/lib/x86_64-linux-gnu/dri/virtio_gpu_dri.soor
/usr/lib/dri/virtio_gpu_dri.soThe first path is from debian testing, but should be easily found in any distrib,
the second one is kind of a default one for mesa, i've seen many places where peoples had symlinked it to their distrib standard dri/ path to resolves the mesa problem.
Offline
It doesn't look like a mesa problem, but a problem with Appimages .
Best solution : use the freecad package provided by your distro .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline