• 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 Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found"

     
    • 0 Vote(s) - 0 Average

    Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found"

    guiniveretoo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2023-07-21, 12:48 PM (This post was last modified: 2023-07-21, 12:49 PM by guiniveretoo. Edited 1 time in total.)
    I have all these lovely movies and shows that are 10-bit and the poor cpu just can't keep up with them, they stutter and jitter, on the computer, on my phone, on the TV (via Roku).

    Ubuntu 22.04.2 LTS, Jellyfin 10.8.10, ffmpeg version 5.1.3-Jellyfin

    We recently installed a Radeon 270, hoping that it would help. I'm not sure it was installed correctly, I'd love help diagnosing that if it's relevant. I'm trying to go through the steps here: https://jellyfin.org/docs/general/admini...ration/amd

    I'm stuck on step 6:

    Code:
        $ sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device opencl=ocl:.0,device_vendor="Advanced Micro Devices"
        ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
          built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
          configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
          libavutil      57. 28.100 / 57. 28.100
          libavcodec    59. 37.100 / 59. 37.100
          libavformat    59. 27.100 / 59. 27.100
          libavdevice    59.  7.100 / 59.  7.100
          libavfilter    8. 44.100 /  8. 44.100
          libswscale      6.  7.100 /  6.  7.100
          libswresample  4.  7.100 /  4.  7.100
          libpostproc    56.  6.100 / 56.  6.100
        Splitting the commandline.
        Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
        Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'opencl=ocl:.0,device_vendor=Advanced Micro Devices'.
        Finished splitting the commandline.
        Parsing a group of options: global .
        Applying option v (set logging level) with argument debug.
        Applying option init_hw_device (initialise hardware device) with argument opencl=ocl:.0,device_vendor=Advanced Micro Devices.
        [AVHWDeviceContext @ 0x55acc4e08580] 1 OpenCL platforms found.
        [AVHWDeviceContext @ 0x55acc4e08580] No devices found on platform "AMD Accelerated Parallel Processing".
        [AVHWDeviceContext @ 0x55acc4e08580] No matching devices found.
        Device creation failed: -19.
        Failed to set value 'opencl=ocl:.0,device_vendor=Advanced Micro Devices' for option 'init_hw_device': No such device
        Error parsing global options: No such device

    I believe I have the correct drivers installed:

    Code:
    $ lspci -k | grep -EA3 'VGA|3D|Display'
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]
            Subsystem: PC Partner Limited / Sapphire Technology Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]
            Kernel driver in use: amdgpu
            Kernel modules: radeon, amdgpu

    rocm-opencl-runtime is installed and up-to-date, but clinfo gives no devices found:

    Code:
    $ sudo clinfo
    Number of platforms:                            1
      Platform Profile:                              FULL_PROFILE
      Platform Version:                              OpenCL 2.1 AMD-APP (3581.0)
      Platform Name:                                AMD Accelerated Parallel Processing
      Platform Vendor:                              Advanced Micro Devices, Inc.
      Platform Extensions:                          cl_khr_icd cl_amd_event_callback


      Platform Name:                                AMD Accelerated Parallel Processing
    Number of devices:                              0

    Am I doing anything wrong? Do I just need to suck it up and upgrade my hardware more or is something set up incorrectly?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by guiniveretoo - 2023-07-21, 12:48 PM
    RE: Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by TheDreadPirate - 2023-07-21, 07:48 PM
    RE: Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by guiniveretoo - 2023-07-21, 10:37 PM
    RE: Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by TheDreadPirate - 2023-07-21, 11:34 PM
    RE: Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by guiniveretoo - 2023-07-22, 01:39 AM
    RE: Attempting hardware acceleration, ffmpeg -init_hw_device says "No device found" - by TheDreadPirate - 2023-07-23, 02:18 AM

    • 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