Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slic3r Dev AppImage Fails to Open GUI (Arch) #5013

Open
mcdviii opened this issue Aug 28, 2020 · 6 comments
Open

Slic3r Dev AppImage Fails to Open GUI (Arch) #5013

mcdviii opened this issue Aug 28, 2020 · 6 comments

Comments

@mcdviii
Copy link

mcdviii commented Aug 28, 2020

Version

1.3.1-dev (AppImage) f89b950e8d8754a65e4bb26bc24ccad2

Operating system type + version

Arch Linux 5.8.4-arch1-1 x86_64 GNU/Linux

Behavior

$ ~/Source/AppImage-Binaries/Slic3r-master-latest.AppImage          
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
The program 'slic3r.pl' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContext'.
  (Details: serial 842 error_code 158 request_code 152 minor_code 6)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.
$ sudo pacman -Ss mesa | grep installed                                                                                                               
extra/glu 9.0.1-2 [installed]
extra/mesa 20.1.6-1 [installed]
extra/mesa-demos 8.4.0-4 [installed]
extra/mesa-vdpau 20.1.6-1 [installed]
multilib/lib32-mesa 20.1.6-1 [installed]

$ ll /usr/lib/dri   
total 312M
-rwxr-xr-x  5 root root  14M Aug 20 03:47 i915_dri.so
-rwxr-xr-x  5 root root  14M Aug 20 03:47 i965_dri.so
-rwxr-xr-x  1 root root 7.8M Jun  2 04:33 i965_drv_video.so
-rwxr-xr-x  1 root root  34M Jul 18 09:54 iHD_drv_video.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 iris_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 kms_swrast_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 nouveau_dri.so
-rwxr-xr-x  5 root root  14M Aug 20 03:47 nouveau_vieux_dri.so
-rwxr-xr-x  5 root root  14M Aug 20 03:47 r200_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 r300_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 r600_dri.so
-rwxr-xr-x  5 root root  14M Aug 20 03:47 radeon_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 radeonsi_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 swrast_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 virtio_gpu_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 vmwgfx_dri.so
-rwxr-xr-x 10 root root  21M Aug 20 03:47 zink_dri.so
@Robin-DUBREUIL
Copy link

Confirmed, same problem with all Slic3r AppImages i could test on Arch. The only difference in terms of output is because i have a radeon graphics card so mesa loader returns "failed to open radeon" instead of "failed to open iris". I thought at first that it was an issue related to my graphics driver but it appears to be more Slic3r related as it also appears with other graphics drivers from other vendors.

@Robin-DUBREUIL
Copy link

Also, it does not seem to be kernel-related as my workstation uses 5.6.19-rt12-1-rt.

@lordofhyphens
Copy link
Member

#4645 (comment)

@Robin-DUBREUIL
Copy link

I tried the procedure described in the comment, but in my case this file doesn't exist:
squashfs-root/usr/lib/swrast_dri.so

Tested with today's Slic3r-master-latest.AppImage

@5rxp
Copy link

5rxp commented Mar 23, 2022

Same issue on Ubuntu 20.04

@ofetios
Copy link

ofetios commented May 31, 2022

Still happens on archlinux 5.18.1-arch1-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants