• 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 Cant get transocding to work in new lxc

     
    • 0 Vote(s) - 0 Average

    Cant get transocding to work in new lxc

    Squid
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2024 Dec
    Reputation: 0
    Country:Sweden
    #1
    2025-03-26, 10:35 AM
    reinstalled and made a new lcx installation from https://community-scripts.github.io/Prox...d=jellyfin

    GPU passthrough works..

    However, if i install 
    Quote:nvidia-utils-535
    i get that jellyfin/ffmpeg
    Quote: Cannot load libnvidia-encode.so.1
    .

    So when i install 
    Quote:apt install libnvidia-encode-535-server
    but then with playback i get 

    Quote:AVHWDeviceContext @ 0x60a689417e80] cu->cuInit(0) failed -> CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE: forward compatibility was attempted on non supported HW
    Device creation failed: -542398533.
    Failed to set value 'cuda=cu:0' for option 'init_hw_device': Generic error in an external library
    Error parsing global options: Generic error in an external library


    if i then install back nvidia-utils-535 i get:
    Quote:[av1_nvenc @ 0x63657994a300] Cannot load libnvidia-encode.so.1
    [av1_nvenc @ 0x63657994a300] The minimum required Nvidia driver for nvenc is 520.56.06 or newer
    [vost#0:0/av1_nvenc @ 0x636579949e80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [fc#0 @ 0x63657984d600] Error sending frames to consumers: Operation not permitted
    [fc#0 @ 0x63657984d600] Task finished with error code: -1 (Operation not permitted)
    [fc#0 @ 0x63657984d600] Terminating thread with return code -1 (Operation not permitted)
    [vost#0:0/av1_nvenc @ 0x636579949e80] Could not open encoder before EOF
    [vost#0:0/av1_nvenc @ 0x636579949e80] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_nvenc @ 0x636579949e80] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x636579990540] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!

    What am i supposed to do to get both nvidia-smi to work AND transcoding the stuff, right now i just toggle between packages because installing one, removes the other and just tosses around a new error which searching the web doesnt help.

    proxmox lxc, not docker.
    JF 10.10.6
    LXC: 
    Quote:root@jellyfin:~# uname -a

    Linux jellyfin 6.8.12-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-8 (2025-01-24T12:32Z) x86_64 x86_64 x86_64 GNU/Linux
    bitmap
    Offline

    Community Moderator

    Posts: 915
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #2
    2025-03-26, 01:45 PM
    What GPU do you have? Could you also provide mediainfo or ffprobe of a file that causes transcoding to fail? In my experience, errors -1 and -22 generally mean something in the ffmpeg transcode is unsupported by the hardware acceleration selected.

    Additionally, did you follow the HWA setup steps for NVIDIA?

    https://jellyfin.org/docs/general/admini...ion/nvidia
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2025-03-26, 02:55 PM
    And also provide the output of this command.

    Code:
    sudo apt list --installed | egrep "libnv|nvidia"
    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]
    « 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