[Bug] - GPU acceleration does not work properly
Existing Resources
- [✅ ] Please search the existing issues for related problems
- [✅ ] Consult the product documentation : Docs
- [✅ ] Consult the FAQ : FAQ
- [✅ ] Consult the Troubleshooting Guide : Guide
- [✅ ] Reviewed existing training videos: Youtube
Describe the bug I'm doing a fresh install of kasm on an Ubuntu VM in PVE and making sure to follow the official documentation tutorial for GPU acceleration, but my chrome workspace still can't use the graphics card properly, even though I can see it in the admin page and NVIDIA_DRIVER_CAPABILITIES": "all" is used, and 1 GPU is assigned to the chrome workspace.
To Reproduce Steps to reproduce the behavior:
- Go to 'Workspaces'
- Click on 'Click on any workspace supposed to support GPU (in my clase: Chrome)'
- Scroll down to 'GPU Count" and set the value to 1
- Start a new instance of the workspace (Chrome)
- GPU usage is 0
Expected behavior The GPU should be able to run normally
Screenshots
Workspaces Version Version 1.17.0.94d3c9
Workspaces Installation Method Single Server
Client Browser (please complete the following information):
- OS: Windows 11 24H2
- Browser Chrome
- Version 136.0.7103.114 (Official Build) (64-bit)
Workspace Server Information (please provide the output of the following commands):
uname -aLinux kasm 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linuxcat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
sudo docker info
Client: Docker Engine - Community
Version: 28.1.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.23.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.5.0
Path: /usr/local/lib/docker/cli-plugins/docker-compose
Server:
Containers: 11
Running: 11
Paused: 0
Stopped: 0
Images: 13
Server Version: 28.1.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan kasmweb/sidecar:1.2 macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 nvidia runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
runc version: v1.2.5-0-g59923ef
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.8.0-60-generic
Operating System: Ubuntu 24.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.788GiB
Name: kasm
ID: 3a78bbd7-0203-443e-988a-363439cfb3bc
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
::1/128
127.0.0.0/8
Live Restore Enabled: false
sudo docker ps | grep kasm
247369b04ed2 kasmweb/chrome:1.17.0 "/dockerstartup/kasm…" 13 minutes ago Up 13 minutes 4901/tcp, 5901/tcp, 6901/tcp adminkasm.lo_504a9b97
31e7d13ecf6a kasmweb/proxy:1.17.0 "/docker-entrypoint.…" 36 hours ago Up 32 minutes 80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp kasm_proxy
af9a457bcf37 kasmweb/share:1.17.0 "python3 /src/api_se…" 36 hours ago Up 32 minutes (healthy) 8182/tcp kasm_share
a0dd31fbc32b redis:5-alpine "docker-entrypoint.s…" 36 hours ago Up 32 minutes 6379/tcp kasm_redis
ea98ac6e07c5 kasmweb/postgres:1.17.0 "docker-entrypoint.s…" 36 hours ago Up 32 minutes (healthy) 5432/tcp kasm_db
a870ecabe682 kasmweb/rdp-https-gateway:1.17.0 "/opt/rdpgw/rdpgw" 42 hours ago Up 32 minutes (healthy) kasm_rdp_https_gateway
12356cabd8ed kasmweb/agent:1.17.0 "python3 /src/Provis…" 42 hours ago Up 32 minutes (healthy) 4444/tcp kasm_agent
4aa342a68d3a kasmweb/kasm-guac:1.17.0 "/dockerentrypoint.sh" 42 hours ago Up 32 minutes (healthy) kasm_guac
6e895c7110a9 kasmweb/rdp-gateway:1.17.0 "/start.sh" 42 hours ago Up 32 minutes (healthy) 0.0.0.0:3389->3389/tcp, [::]:3389->3389/tcp kasm_rdp_gateway
0fd64e2e3ba4 kasmweb/manager:1.17.0 "python3 /src/api_se…" 42 hours ago Up 32 minutes (healthy) 8181/tcp kasm_manager
57df0645c37a kasmweb/api:1.17.0 "/bin/sh -c /usr/bin…" 43 hours ago Up 32 minutes (healthy) 8080/tcp kasm_api
Additional context This is the Docker Run Config Override for chrome:
{
"device_requests": [
{
"capabilities": [
[
"gpu"
]
],
"count": -1,
"device_ids": null,
"driver": "",
"options": {}
}
],
"environment": {
"KASM_EGL_CARD": "/dev/dri/card0",
"KASM_RENDERD": "/dev/dri/renderD128",
"NVIDIA_DRIVER_CAPABILITIES": "all"
},
"hostname": "kasm",
"runtime": "nvidia"
}
ps: I speak Chinese
i met the same problem with you,Has there been any progress with this issue?
I would love to now how to get my nivedia card to work also. Launching chrome gives me now GPU, launching Firefox gives me acces to my Nivedia GPU. Launching ubuntu jammy show me a MESA driver with a unamed gpu and now acces to nivedia-smi in the terminal