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

incompatible OpenGL 1.4 detected on host with Geforce GTX 1070, which supports OpenGL 4.6 #10

Open
salfter opened this issue Jul 27, 2023 · 1 comment

Comments

@salfter
Copy link

salfter commented Jul 27, 2023

I'm using this to launch on a Gentoo Linux host, a homebuilt Ryzen 7 3800X with the aforementioned GPU:

docker run --net=host -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/Slic3r/3d:z -v /home/salfter/:/home/slic3r -e DISPLAY=$DISPLAY --rm keyglitch/docker-slic3r-prusa3d

At startup, this throws an error messsage about an OpenGL version under 2.0. If I launch from the AppImage provided by Prusa, OTOH, it starts right up and the proper OpenGL version is reported.

This container does work on a Framework Laptop 13 with a Core i7 1165G7 and its integrated graphics, also running under Gentoo Linux.

Is there something not being communicated properly about the GPU between the host and the container? Is there a bit of configuration I've missed somewhere?

@davidk
Copy link
Owner

davidk commented Jul 29, 2023

Hello, thanks for the report. I tested on a system with a 1080 and a fresh Fedora 38 installation. This is using the docker curl install method and OS provided drivers. The behavior is expected to be pass-through, where the containerized PrusaSlicer "sees" the host's GL version.

For example (output of inxi -Fx from the host, compared to PrusaSlicer's about screen): Snapshot

Internally, the Docker image's OS is quite old (and reported a 3.x OpenGL version), so i've bumped the distribution up from oldstable to current debian stable. It should now report 4.3:

docker run -v /tmp/.X11-unix:/tmp/.X11-unix:z -e DISPLAY=$DISPLAY --entrypoint /usr/bin/glxinfo -it --rm keyglitch/docker-slic3r-prusa3d | grep -i 'opengl version'
OpenGL version string: 4.3 (Compatibility Profile) Mesa 22.3.6

Please pull the image down again and give it a try when you are able to, to see if that resolves the issue. I suspect it's likely that there may be another issue preventing the image from working properly, however

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

2 participants