workspaces-issues
workspaces-issues copied to clipboard
Chrome workspace has black screen after enabling GPU
I am running Kasm on a LXC in Proxmox. I am also passing through the GPU to the another LXC (Plex) with no issues and i have passed the GPU to Kasm in the same way.
I then followed the Kasm GPU passthrough guide and I can see the GPU in the kasm agent:
I have set the GPU override in the agent to 4.
However, when i try to add a GPU to the Kasm Chrome Workspace, i get a black screen.
I have tried adding { "security_opt": [ "seccomp=unconfined" ] } to the docker run override config settings but no luck there either. (as per https://www.reddit.com/r/kasmweb/comments/z61rge/kali_linux_black_screen/)
I don't know if this is a red herring but i did notice that CUDA Version: N/A when running nvidia-smi inside the docker container
Any help would be greatly appreciated!
@vincentchik-nzpost - I am experiencing the same thing. I'm running on a GTX 1070 Mobile. The agent shows the GPU, nvidia-smi states CUDA Version: N/A - even tho CUDA is installed on the System in Version 12.2.
Were you able to figure out what happened? Maybe a misconfigured system or something?
I am experiencing the same issue with my RTX 3050. Drivers are updated to the latest version (545.29.02) and CUDA version is 12.3
@vincentchik-nzpost - I am experiencing the same thing. I'm running on a GTX 1070 Mobile. The agent shows the GPU, nvidia-smi states CUDA Version: N/A - even tho CUDA is installed on the System in Version 12.2. Were you able to figure out what happened? Maybe a misconfigured system or something?
I haven't had much luck unfortunately, i've parked this for now. I see the recommendation is to use a VM for Kasm https://www.reddit.com/r/kasmweb/comments/17strpb/comment/k8s8q6r/?utm_source=share&utm_medium=web2x&context=3
The only reason i wanted in an LXC is to share the GPU with my Plex LXC.
Unfortunately virtualgl, which we rely on for Nvidia GPUs, does not work with the latest versions of Chrome. There is a known issue that requires funding to fix. We are working with the virtualgl maintainer to resolve the issue, but at the moment we need to find sponsors or clients that are willing to help fund the work. Otherwise Kasm will pick up the costs in due time.
KasmVNC now supports GPU acceleration on Intel and AMD GPUs directly, without virtualgl. Unfortunately, Nvidia cards do not support DRI3, they have made no indication that they ever will support DRI3, and their closed source drivers do not help us find alternative ways.
https://github.com/VirtualGL/virtualgl/issues/229