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

GPU hardware acceleration not working #63

Open
1 task done
lcsfox opened this issue Feb 5, 2025 · 1 comment
Open
1 task done

GPU hardware acceleration not working #63

lcsfox opened this issue Feb 5, 2025 · 1 comment

Comments

@lcsfox
Copy link

lcsfox commented Feb 5, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have the docker container running with access to the GPU (nvidia T400). nvidia-smi works fine inside and outside of the container.
I can run oguzpastirmaci/gpu-burn next to the firefox container and I can see the load on the GPU.

What I see in about:support section

Image

Expected Behavior

No response

Steps To Reproduce

Install nvidia container toolkit
run the compose file

Environment

OS : Debian 12
Docker version : 27.5.1 Installed from docker website

CPU architecture

x86-64

Docker creation

---
services:
  firefox:
    image: lscr.io/linuxserver/firefox:latest
    container_name: firefox
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - NVIDIA_DRIVER_CAPABILITIES=all
      - TZ=Etc/UTC
      - FIREFOX_CLI=https://www.linuxserver.io/ #optional
    volumes:
      - /opt/dockerfiles/firefox_v2/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [compute,graphics,utility,video]

Container logs

firefox  | MESA: error: ZINK: failed to choose pdev
firefox  | glx: failed to create drisw screen
firefox  | failed to load driver: zink
firefox  | [GFX1-]: glxtest: libEGL initialize failed
firefox  | [GFX1-]: glxtest: No visuals found
Copy link

github-actions bot commented Feb 5, 2025

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant