Skip to content

[🐛 Bug]: how open nvidia gpu and webgl application? #2716

Open
@fastkits

Description

@fastkits

What happened?

The gpu graphics device cannot be recognized?

Image

Command used to start Selenium Grid with Docker (or Kubernetes)

docker run -d --gpus all -e SE_VNC_NO_PASSWORD=true -e SE_BROWSER_ARGS_CUSTOM2="--disable-gpu-sandbox" -e SE_BROWSER_ARGS_CUSTOM5="--ignore-gpu-blocklist" -e SE_BROWSER_ARGS_CUSTOM6="--enable-gpu-rasterization" -e SE_BROWSER_ARGS_CUSTOM7="--enable-webgl" -e SE_BROWSER_ARGS_CUSTOM8="--disable-software-rasterizer" -e SE_BROWSER_ARGS_CUSTOM9="--use-gl=desktop" -e SE_BROWSER_ARGS_CUSTOM9="--enable-features=VaapiVideoDecoder" -e SE_BROWSER_ARGS_CUSTOM9="--disable-dev-shm-usage" -e SE_BROWSER_ARGS_CUSTOM10="--enable-unsafe-webgpu" -e SE_BROWSER_ARGS_CUSTOM11="--enable-features=Vulkan,WebGPU" -p 4444:4444 -p 7900:7900 --shm-size="8g" selenium/standalone-chrome:latest

Relevant log output

Platform:	Linux x86_64
Browser User Agent:	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Context Name:	webgl2
GL Version:	WebGL 2.0 (OpenGL ES 3.0 Chromium)
Shading Language Version:	WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)
Vendor:	WebKit
Renderer:	WebKit WebGL
Unmasked Vendor:	Google Inc. (Mesa)
Unmasked Renderer:	ANGLE (Mesa, llvmpipe (LLVM 19.1.1 256 bits), OpenGL 4.5)
Antialiasing:	Available
ANGLE:	No
Major Performance Caveat:	No

Operating System

windows11 docker-desktop

Docker Selenium version (image tag)

latest

Selenium Grid chart version (chart version)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions