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

Chrome workspace has black screen after enabling GPU #390

Open
vincentchik-nzpost opened this issue May 19, 2023 · 4 comments
Open

Chrome workspace has black screen after enabling GPU #390

vincentchik-nzpost opened this issue May 19, 2023 · 4 comments

Comments

@vincentchik-nzpost
Copy link

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:

Screenshot 2023-05-19 at 11 53 27 PM

Screenshot 2023-05-19 at 11 53 07 PM

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.

Screenshot 2023-05-19 at 11 55 05 PM

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

Screenshot 2023-05-20 at 12 00 36 AM

Any help would be greatly appreciated!

@Husky110
Copy link

@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?

@jknyght9
Copy link

jknyght9 commented Nov 9, 2023

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
Copy link
Author

@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.

@mmcclaskey
Copy link

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.

VirtualGL/virtualgl#229

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

4 participants