• 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: Unable to Change GPU Ownership/Permissions in Linux

     
    • 0 Vote(s) - 0 Average

    SOLVED: Unable to Change GPU Ownership/Permissions in Linux

    tacohell
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #1
    2025-04-11, 12:03 PM
    This is more of a Linux question if anyone has experienced this problem

    I'm running Jellyfin in a Proxmox LXC container. I've already passed through the Intel iGPU and Jellyfin is a part of the render group.

    ls -l /dev/dri
    crw-rw---- 1 nobody _ssh 226, 128 Feb 14 15:54 renderD128



    For some reason renderD128 does not have an associated user and group. When running chmod or chown I get this issue:

    sudo chmod 666 renderD128
    chmod: changing permissions of 'renderD128': Operation not permitted

    Not sure why I can't change this with sudo, or even change ownership to root
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-11, 12:27 PM
    Is the LXC privileged?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tacohell
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #3
    2025-04-11, 12:30 PM
    LXC was unprivileged, but I found what the issue was.

    I had to change permissions on the proxmox host of RenderD128. Once changed there, the LXC permission was the same:
    crw-rw-rw- 1 nobody _ssh 226, 128 Feb 14 15:54 renderD128

    Even though it still doesn't have an owner, transcoding is working now.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-04-11, 12:34 PM (This post was last modified: 2025-04-11, 12:34 PM by TheDreadPirate.)
    This is not recommended. The permissions you manually set on renderD128 will revert when you reboot the system.

    Our documentation recommends that you run the LXC as a privileged container.

    https://jellyfin.org/docs/general/admini...on-proxmox

    But I know it is possible for the LXC to be unprivileged, but requires a lot of user mapping between the host and LXC.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tacohell
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #5
    2025-04-11, 12:43 PM
    Got it, I'll try that instead. Thanks
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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