rocksolidsr

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by rocksolidsr

  1. So, I discovered that if I bind the AMD card to VFIO at boot that fixes my problem
  2. I'm trying to setup Jellyfin using my Intel RocketLake-S GT1 [UHD Graphics 730] iGPU for transcoding, while using my AMD Radeon HD 8570 card for a VM. Without the AMD card installed Jellyfin works as expected with the iGPU, recognized as /dev/dri/card0 and /dev/dri/renderD128 When I install the AMD card, the AMD card gets recognized as /dev/dri/card0 and /dev/dri/renderD128 and the iGPU gets recognized as /dev/dri/card1 and /dev/dri/renderD129 So I updated the docker container appropriately and passed /dev/dri/card1 and /dev/dri/renderD129 as devices. I can see that they exist in the docker container and when I run /usr/lib/jellyfin-ffmpeg/vainfo it looks like it is loading properly root@RockServer:/# /usr/lib/jellyfin-ffmpeg/vainfo libva info: VA-API version 1.16.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.16.0.pre1) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.5.1 (a12fef1) vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointFEI VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointFEI VAProfileH264High : VAEntrypointEncSliceLP VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointFEI VAProfileHEVCMain : VAEntrypointEncSliceLP VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointEncSliceLP VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile1 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileVP9Profile3 : VAEntrypointVLD VAProfileHEVCMain12 : VAEntrypointVLD VAProfileHEVCMain12 : VAEntrypointEncSlice VAProfileHEVCMain422_10 : VAEntrypointVLD VAProfileHEVCMain422_10 : VAEntrypointEncSlice VAProfileHEVCMain422_12 : VAEntrypointVLD VAProfileHEVCMain422_12 : VAEntrypointEncSlice VAProfileHEVCMain444 : VAEntrypointVLD VAProfileHEVCMain444 : VAEntrypointEncSliceLP VAProfileHEVCMain444_10 : VAEntrypointVLD VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP VAProfileHEVCMain444_12 : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointEncSliceLP VAProfileHEVCSccMain10 : VAEntrypointVLD VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP VAProfileHEVCSccMain444 : VAEntrypointVLD VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP VAProfileAV1Profile0 : VAEntrypointVLD VAProfileHEVCSccMain444_10 : VAEntrypointVLD VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP however, ffmpeg errors when trying to transcode. /videos/7d91a6b1-2441-3c1e-796e-b2669cf958d6/live.m3u8 {"Protocol":1,"Id":"10","Path":"http://192.168.2.66:8866/live?channeloid=7311\u0026client=jellyfin.10\u0026sid=2535d21ac52044b0b3cda0c852f091a0","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mpegts","Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"OpenToken":null,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_673c0e136ad00f7c7c52535414ea2220_10","BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"mpeg2video","CodecTag":null,"Language":null,"ColorRange":"tv","ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p MPEG2VIDEO SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":20000000,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":59.94006,"Profile":"Main","Type":1,"AspectRatio":"16:9","Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":4,"IsAnamorphic":false},{"Codec":"ac3","CodecTag":"AC-3","Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Dolby Digital - 5.1","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":384000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":20384000,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":3000,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -init_hw_device qsv=qs@va -filter_hw_device qs -autorotate 0 -i "http://192.168.2.66:8866/live?channeloid=7311&client=jellyfin.10&sid=2535d21ac52044b0b3cda0c852f091a0" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 20000000 -maxrate 20000000 -bufsize 40000000 -profile:v:0 high -level 51 -g:v:0 180 -keyint_min:v:0 180 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -flags -global_header -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_base_url "hls/f3fc78bf09b4da4ef7f362380301a927/" -hls_segment_filename "/config/data/transcodes/f3fc78bf09b4da4ef7f362380301a927%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/config/data/transcodes/f3fc78bf09b4da4ef7f362380301a927.m3u8" ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.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-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --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-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --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 Device creation failed: -542398533. Failed to set value 'vaapi=va:,driver=iHD,kernel_driver=i915' for option 'init_hw_device': Generic error in an external library Error parsing global options: Generic error in an external library The AMD card is getting passed to the VM correctly, I'm just not sure how to get Jellyfin working with the iGPU while the AMD card is installed Any help would be appreciated!! Thanks
  3. thanks for the recommendation, i will snag that up!
  4. initially i only plan on running three 3.5 hard drives
  5. I've edited the 1st post with the model numbers, thanks
  6. I plan on building an Unraid server and just wanted to double check with the community to see if what I was buying were good choices. Case: Cooler Master MasterBox NR400 Micro-ATX https://www.amazon.com/dp/B07PDT745F/?coliid=I39NX83BC9P2YV&colid=IFWUX9YLS7WC&psc=1&ref_=lv_ov_lig_dp_it Motherboard: ASUS Prime B450M-A II AMD AM4 (Ryzen 5000, 3rd/2nd/1st Gen Ryzen Micro ATX Motherboard (128GB DDR4, 4400 O.C.), NVMe, HDMI 2.0b/DVI/D-Sub, USB 3.2 Gen 2, BIOS Flashback, and Aura Sync) https://www.amazon.com/dp/B08KH12V25/?coliid=IPGWQIFM6R4V1&colid=IFWUX9YLS7WC&psc=1&ref_=lv_ov_lig_dp_it CPU: AMD Ryzen 5 1600 65W AM4 Processor with Wraith Stealth Cooler (YD1600BBAFBOX) https://www.amazon.com/dp/B07XTQZJ28/?coliid=I25X9CF5AKX7IA&colid=IFWUX9YLS7WC&psc=1&ref_=lv_ov_lig_dp_it RAM: TEAMGROUP Elite DDR4 32GB Kit (2 x 16GB) 2666MHz (PC4-21300) CL19 Unbuffered Non-ECC 1.2V UDIMM 288 Pin PC Computer Desktop Memory Module Ram Upgrade - TED432G2666C19DC01 https://www.amazon.com/dp/B07QRTYYBK/?coliid=IQ1O3FDJALW1B&colid=IFWUX9YLS7WC&psc=1&ref_=lv_ov_lig_dp_it Power Supply: APEVIA VENUS450W 450W ATX Power Supply with Auto-Thermally Controlled 120mm Fan, 115/230V Switch, All Protections https://www.amazon.com/dp/B077BQ76TP/?coliid=I23PS50COOT5N3&colid=IFWUX9YLS7WC&psc=1&ref_=lv_ov_lig_dp_it Cache Drive: Was planning on getting a NVMe drive not sure if I should go with 512GB or 1TB Western Digital 500GB WD Blue SN550 NVMe Internal SSD - Gen3 x4 PCIe 8Gb/s, M.2 2280, 3D NAND, Up to 2,400 MB/s - WDS500G2B0C https://www.amazon.com/Blue-SN550-1TB-NVMe-Internal/dp/B07YFF3JCN?ref_=Oct_d_otopr_d_1292116011&pd_rd_w=OTuKw&pf_rd_p=a304ecd4-a57b-4669-aaa3-36ed2882b274&pf_rd_r=AXPJCG74SJ63H65W12C7&pd_rd_r=d3bdde00-a37d-45c9-bb87-b1903aeab679&pd_rd_wg=YtHnI&pd_rd_i=B07YFFX5MD&th=1 Western Digital 1TB WD Blue SN550 NVMe Internal SSD - Gen3 x4 PCIe 8Gb/s, M.2 2280, 3D NAND, Up to 2,400 MB/s - WDS100T2B0C https://www.amazon.com/Blue-SN550-1TB-NVMe-Internal/dp/B07YFFX5MD?ref_=Oct_d_otopr_d_1292116011&pd_rd_w=OTuKw&pf_rd_p=a304ecd4-a57b-4669-aaa3-36ed2882b274&pf_rd_r=AXPJCG74SJ63H65W12C7&pd_rd_r=d3bdde00-a37d-45c9-bb87-b1903aeab679&pd_rd_wg=YtHnI&pd_rd_i=B07YFFX5MD&th=1 Other than the hard drive and flash drive am I forgetting anything? Was planning this server mainly for photo backup/browsing via a docker container (https://github.com/photoview/photoview), jellyfin docker, and possibly an NVR docker container (frigate) Thanks for any advice!