Code Monkey home page Code Monkey logo

Comments (6)

ykhedar avatar ykhedar commented on September 16, 2024

I started the game manually and found that it crashes upon start due to some error.
"Could not create OpenGL 3.2 context, Bad Alloc (Insufficient resources for operation.)" following image has the error in more detail.
issue2

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

Hi,
Can you please run nvidia-smi in the command line, both for the host machine and in the game guest container (the one that shows the errors).
paste the output of those commands.

from dronesimlab.

ykhedar avatar ykhedar commented on September 16, 2024

The host machine's output is the following
`Thu Dec 14 13:07:11 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34 Driver Version: 387.34 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 NVS 315 Off | 00000000:01:00.0 N/A | N/A |
| 30% 30C P8 N/A / N/A | 160MiB / 963MiB | N/A Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
`

On the guest machine I get this output
Failed to initialize NVML: Driver/library version mismatch

Also the guest machine produce the following output for cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 387.34 Tue Nov 21 03:09:00 PST 2017 GCC version: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
this output is the same as the host machine..Is it possible the driver is not installed in the guest docker image?

from dronesimlab.

ykhedar avatar ykhedar commented on September 16, 2024

Btw I changed the graphics driver on the host machine a few times because of some other problems. I did this after building the docker images, is it possible that this is the reason for the problem?

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

Yes, That's the issue.
when you run the nvidia-smi in the docker container and in the host you should see the same result e.g. the same graphics driver. try to run the build script again.

from dronesimlab.

ykhedar avatar ykhedar commented on September 16, 2024

You are correct. :) Thanks for the help. I am closing this issue.

from dronesimlab.

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.