• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Can't access GPU in docker container

     
    • 0 Vote(s) - 0 Average

    SOLVED: Can't access GPU in docker container

    creylon
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2023 Jul
    Reputation: 0
    Country:Germany
    #1
    2024-04-29, 11:41 AM (This post was last modified: 2024-04-29, 02:22 PM by creylon. Edited 4 times in total.)
    Hi,

    I am trying to run the unstable branch with hardware acceleration. I have an AMD GPU.

    Here is my docker config:

    Code:
      jellyfin-beta:
        container_name: jellyfin-beta
        image: ghcr.io/jellyfin/jellyfin:unstable
        group_add:
          - "989" # render group
          - "986" # video group
          - "993" # input group
        dns:
          - 1.1.1.1
        volumes:
          - "./config.beta:/config"
          - "./cache.beta:/cache"
          - "./config.json:/jellyfin/jellyfin-web/config.json"
          - "/home/media:/media:ro"
        devices:
          # VAAPI Devices
          - /dev/dri/renderD129:/dev/dri/renderD128
          - /dev/dri/card1:/dev/dri/card0
        restart: always

    When I run

    Code:
    docker exec -it jellyfin-beta /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128

    I get the following error:

    Code:
    Trying display: drm

    Failed to a DRM display for the given device

    This error occurs as of unstable build 2024032505. With previous builds everything works fine. I run another jellyfin instance with stable branch and same configuration without issues.

    Thanks
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Can't access GPU in docker container - by creylon - 2024-04-29, 11:41 AM
    RE: Can't access GPU in docker container - by TheDreadPirate - 2024-04-29, 12:01 PM
    RE: Can't access GPU in docker container - by creylon - 2024-04-29, 12:25 PM
    RE: Can't access GPU in docker container - by TheDreadPirate - 2024-04-29, 01:10 PM
    RE: Can't access GPU in docker container - by creylon - 2024-04-29, 01:25 PM
    RE: Can't access GPU in docker container - by TheDreadPirate - 2024-04-29, 02:07 PM
    RE: Can't access GPU in docker container - by creylon - 2024-04-29, 02:21 PM
    RE: Can't access GPU in docker container - by TheDreadPirate - 2024-04-29, 02:51 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode