Giter VIP home page Giter VIP logo

Comments (7)

mrnix avatar mrnix commented on May 31, 2024

After some changes in the app code, getting something new

Error getting num native displays: Video subsystem has not been initialized
Desktop is 0 x 0 @ 32765 Hz
error: XDG_RUNTIME_DIR not set in the environment.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

I have to test Unity3d itself. To use vglrun, try https://github.com/selkies-project/docker-nvidia-egl-desktop.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

Something's happening recently. Perhaps an untested driver version?

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

@mrnix First, is this NVIDIA 535?

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

@mrnix First, is this NVIDIA 535?

I need the answer to go further.

from docker-nvidia-egl-desktop.

mrnix avatar mrnix commented on May 31, 2024

HI @ehfd
Managed it to work just by setting the correct environment vars, and running Xvfb to emulate a screen:

export NVIDIA_DRIVER_CAPABILITIES=all;
export NVIDIA_VISIBLE_DEVICES=all;
export XDG_CURRENT_DESKTOP=KDE;
export VGL_REFRESHRATE=60
export VGL_ISACTIVE=1
export VGL_DISPLAY=egl
export VGL_WM=1
export LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64";
export DISPLAY=:0
export DPI=96;
export CDEPTH=24;
Xvfb "${DISPLAY}" -ac -screen "0" "1920x1080x${CDEPTH}" -dpi "${DPI}" +extension "RANDR" +extension "GLX" +iglx +extension "MIT-SHM" +render -nolisten "tcp" -noreset -shmem &
vglrun glxinfo | grep "version"
vglrun glxgears

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

Ah. This is basically our EGL desktop, so I'll transfer this issue to its repository before closing.

from docker-nvidia-egl-desktop.

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.