• 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: Streams fail: No hw device found

     
    • 0 Vote(s) - 0 Average

    SOLVED: Streams fail: No hw device found

    creylon
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2023 Jul
    Reputation: 0
    Country:Germany
    #7
    2023-09-19, 09:46 AM (This post was last modified: 2023-09-19, 10:19 AM by creylon. Edited 1 time in total.)
    Yes I already did that. All the checks output all green (see screenshots).

    The weird thing is, that it gradually stopped working on specific devices until the point that almost no devices I have access to work. For my roommate it still works on his phone and I can see the transcoding tmp files in the corresponding directory.


    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl=ocl:.0,device_vendor="Advanced Micro Devices" -filter_hw_device ocl -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/media/video/movies/Basic Instinct (1992).mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 14616000 -maxrate 14616000 -bufsize 29232000 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=1920:h=804:extra_hw_frames=24,hwdownload,format=p010le,hwupload=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=hable:peak=100:desat=0,hwdownload,format=nv12,hwupload_vaapi" -codec:a:0 libfdk_aac -ac 2 -ab 384000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/4266519861e380713a6c0f5121cf708a%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/4266519861e380713a6c0f5121cf708a.m3u8"


    ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 10 (Debian 10.2.1-6)
      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
    amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
    If they do, bad things may happen!
    [AVHWDeviceContext @ 0x558530900a80] 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

    EDIT: Here is the only logs I could find for the successful transcoding stream. Ran on Findroid:

    Code:
    [2023-09-19 10:15:47.269 +00:00] [INF] [52] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-09-19 10:15:47.269 +00:00] [INF] [52] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 15000000, RemoteIp: "[IP]", IsInLocalNetwork: False
    [2023-09-19 10:15:47.269 +00:00] [INF] [52] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Direct play all", Path="/media/video/movies/Double Trouble (1984).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/69b7dab5-0978-dd84-26e3-69edd5b369b3/stream?MediaSourceId=69b7dab50978dd8426e369edd5b369b3&AudioStreamIndex=4&api_key=<token>&RequireAvc=false&Tag=d628e7a6485f204f288ee1ad55e4dbc6&TranscodeReasons=ContainerBitrateExceedsLimit"
    [2023-09-19 10:15:47.490 +00:00] [INF] [59] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : 73e1865dce74a84a-6fc8bd9fcedf44fcb058b40c3d280952-69b7dab50978dd8426e369edd5b369b3
    [2023-09-19 10:15:47.490 +00:00] [INF] [59] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 09/19/2023 10:15:47
    [2023-09-19 10:15:47.490 +00:00] [INF] [59] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
    [2023-09-19 10:15:47.490 +00:00] [INF] [59] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
    [2023-09-19 10:15:47.551 +00:00] [INF] [52] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "73e1865dce74a84a-6fc8bd9fcedf44fcb058b40c3d280952-69b7dab50978dd8426e369edd5b369b3"
    [2023-09-19 10:15:57.951 +00:00] [INF] [62] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Findroid" "0.13.0" playing "Vier Fäuste gegen Rio". Stopped at "5083" ms
    [2023-09-19 10:15:58.028 +00:00] [INF] [63] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "73e1865dce74a84a-6fc8bd9fcedf44fcb058b40c3d280952-69b7dab50978dd8426e369edd5b369b3"
    [2023-09-19 10:15:58.028 +00:00] [INF] [63] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 09/19/2023 10:15:58
    [2023-09-19 10:15:58.028 +00:00] [INF] [63] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "[IP]"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "69b7dab50978dd8426e369edd5b369b3"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "6fc8bd9fcedf44fcb058b40c3d280952"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 2
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = ""
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "6fc8bd9fcedf44fcb058b40c3d280952"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Findroid"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "Galaxy S20 FE"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "Vier Fäuste gegen Rio"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "69b7dab50978dd8426e369edd5b369b3"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Movie"
    [2023-09-19 10:16:07.490 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
    [2023-09-19 10:16:07.491 +00:00] [INF] [58] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited


    Attached Files Thumbnail(s)
                   
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Streams fail: No hw device found - by creylon - 2023-09-18, 05:24 PM
    RE: Sony Android TV Movie Streams not working - by TheDreadPirate - 2023-09-18, 06:38 PM
    RE: Sony Android TV Movie Streams not working - by creylon - 2023-09-18, 07:01 PM
    RE: Streams only work for some users - by TheDreadPirate - 2023-09-18, 07:03 PM
    RE: Streams only work for some users - by creylon - 2023-09-18, 07:20 PM
    RE: Streams fail: No hw device found - by TheDreadPirate - 2023-09-19, 12:10 AM
    RE: Streams fail: No hw device found - by creylon - 2023-09-19, 09:46 AM
    RE: Streams fail: No hw device found - by creylon - 2023-09-19, 12:16 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