Git Product home page Git Product logo

Comments (3)

omerbrandis avatar omerbrandis commented on August 18, 2024 1

got it working with nvidia/opengl:1.2-glvnd-devel-ubuntu18.04
(nvidia-docker run ... -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --privileged... )
:-)
Omer.

from labelcloud.

ch-sa avatar ch-sa commented on August 18, 2024

Hi @omerbrandis,

this is indeed very odd behavior. It seems like the software loaded correctly but there is something wrong with OpenGL or the QOpenGLWidget in particular. Could you please make sure OpenGL is working correctly in your Docker container (there seem to exist some issues with that in general) and tell me the output of the following commands:

  1. glxinfo | grep "OpenGL version"
  2. python3 -c "import OpenGL; print(OpenGL.__version__)"

from labelcloud.

omerbrandis avatar omerbrandis commented on August 18, 2024

hello,

python3 -c "import OpenGL; print(OpenGL.version)" returns 3.1.5

but glxinfo | grep "OpenGL version"
returns:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 41
Current serial number in output stream: 42

noticed several pages about this, but I allread use all the nvidia-docker switches mentioned in them,
guess my next step is to try a prebuilt nvidia-ubuntu container ... I'll update after i try that.

thanks,
Omer.

from labelcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.