找回密码
 加入我们
搜索
      
楼主: Misaka_9993

[显卡] [250412]Jellyfin中国特供版+Docker镜像,含驱动,免折腾开箱即用

 火... [复制链接]
发表于 2025-3-27 16:30 | 显示全部楼层

谢谢,开了高权限后解决了。
发表于 2025-3-30 00:53 | 显示全部楼层
真的太好了!!!!!!!!!!!!!!!!
发表于 2025-3-31 15:37 | 显示全部楼层
大佬,ubuntu server 24.04安装时选了HWE,jellyfin转码卡住,日志:
jellyfin  | [15:29:09] [INF] [8] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is                 requested, ignoring that request
jellyfin  | [15:29:09] [INF] [8] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize                 1G -f matroska,webm -init_hw_device vaapi=va:/dev/dri/renderD130,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs                 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Movies/银河护卫队3 (2023)/银河护卫队3 (2023) 2160p EAC3 Atmos.mkv" -noautoscale                 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 7506387 -max                rate 7506387 -bufsize 15012774 -profile:v:0 main -level 50 -g:v:0 96 -keyint_min:v:0 96 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspa                ce=bt2020nc,scale_vaapi=w=2560:h=1440:extra_hw_frames=24,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=der                ive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -vbr:a 5 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max                _delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "5c7eb9b6d88b007f9662920fba8a24c8-1.mp4" -start_number 0 -hls_segment_filename "                /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8                .m3u8"
jellyfin  | [15:29:52] [INF] [11] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8
jellyfin  | [15:29:52] [ERR] [23] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/1d19d369-157c-814d-a518-09135d383eb0/hls1/main/-1.mp4.
jellyfin  | [15:29:57] [INF] [11] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8
jellyfin  | [15:29:57] [INF] [11] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin  | [15:29:57] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:30:56.000 -noaccurate_seek -f matroska,webm -init_hw_device vaapi=va:/dev/dri/renderD130,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Movies/银河护卫队3 (2023)/银河护卫队3 (2023) 2160p EAC3 Atmos.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 7506387 -maxrate 7506387 -bufsize 15012774 -profile:v:0 main -level 50 -g:v:0 96 -keyint_min:v:0 96 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=2560:h=1440:extra_hw_frames=24,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -vbr:a 5 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "5c7eb9b6d88b007f9662920fba8a24c8-1.mp4" -start_number 464 -hls_segment_filename "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8"
jellyfin  | [15:29:59] [ERR] [23] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
jellyfin  | [15:29:09] [INF] [8] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is                 requested, ignoring that request

内核版本是6.11.0-21-generic,之前强制xe驱动失败,手动下载了guc.bin才解决,现在能正常看到xe驱动加载了
0b:00.0 VGA compatible controller: Intel Corporation DG1 [Iris Xe Graphics] (rev 01) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. DG1 [Iris Xe Graphics]
        Flags: bus master, fast devsel, latency 0, IRQ 177, IOMMU group 28
        Memory at 80000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4e00000000 (64-bit, prefetchable) [size=4G]
        Expansion ROM at 81000000 [disabled] [size=2M]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
        Capabilities: [d0] Power Management version 3
        Capabilities: [100] Latency Tolerance Reporting
        Kernel driver in use: xe
        Kernel modules: i915, xe

多卡环境,确认了dg1对应的是renderD130,也直通给docker了
 楼主| 发表于 2025-3-31 15:41 | 显示全部楼层
港城钢铁侠 发表于 2025-3-31 15:37
大佬,ubuntu server 24.04安装时选了HWE,jellyfin转码卡住,日志:
jellyfin  | [15:29:09] [INF] [8] Je ...

6.11的xe内核驱动有bug。

支持 Intel DG1 独显在 Linux 主线中使用(需要 6.13+/6.12.9+/6.6.70+/6.1.124+ 和 force_probe)
发表于 2025-3-31 15:43 | 显示全部楼层
Misaka_9993 发表于 2025-3-31 15:41
6.11的xe内核驱动有bug。

支持 Intel DG1 独显在 Linux 主线中使用(需要 6.13+/6.12.9+/6.6.70+/6.1.12 ...

日,看来还得升级
 楼主| 发表于 2025-3-31 16:02 | 显示全部楼层

升级到满足要求的内核,然后用i915就行了。xe有时候性能还不如i915
发表于 2025-3-31 16:55 | 显示全部楼层
Misaka_9993 发表于 2025-3-31 16:02
升级到满足要求的内核,然后用i915就行了。xe有时候性能还不如i915

换回标准版内核6.8.0-56发现xe也是可以使用的,能正常转码了
屏幕截图 2025-03-31 165414.png
 楼主| 发表于 2025-3-31 18:08 | 显示全部楼层
港城钢铁侠 发表于 2025-3-31 16:55
换回标准版内核6.8.0-56发现xe也是可以使用的,能正常转码了

xe的6.8 opencl有bug
发表于 2025-4-14 15:12 | 显示全部楼层
10.10.7这次更新完用反向代理的要去网络里填代理服务器地址,不然登录记录里不能显示正确的访问ip
 楼主| 发表于 2025-4-14 15:24 | 显示全部楼层
Albert_51 发表于 2025-4-14 15:12
10.10.7这次更新完用反向代理的要去网络里填代理服务器地址,不然登录记录里不能显示正确的访问ip ...

是的。

屏幕截图 2025-04-14 152410.png
发表于 2025-4-17 17:17 | 显示全部楼层
太赞了
发表于 2025-4-24 23:03 | 显示全部楼层
请M大大帮忙看看哪里有问题,server端是用的您提供的10.7.7 Windows版,client是浏览器。

  1. {"Protocol":0,"Id":"7a447bfae8bd290e7561a4d43033c7f8","Path":"G:\\Yakka.Dee.2017.720p\\Yakka.Dee.S01\\Yakka.Dee.S01E03.Book.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":165389264,"Name":"Yakka.Dee.S01E03.Book","IsRemote":false,"ETag":"579efeff0970a327ca208e64e5849349","RunTimeTicks":3080560128,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"mp4v","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/12800","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"720p MPEG4 SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":4162503,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":720,"Width":1280,"AverageFrameRate":50,"RealFrameRate":50,"ReferenceFrameRate":50,"Profile":"Simple Profile","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"I**ternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"I**ternalUrl":null,"IsTextSubtitleStream":false,"Support**ternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":1,"IsAnamorphic":null},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/44100","CodecTimeBase":null,"Title":"USP Sound Handler","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"\u9ED8\u8BA4","LocalizedForced":null,"LocalizedExternal":"\u5916\u90E8","LocalizedHearingImpaired":null,"DisplayTitle":"USP Sound Handler - \u82F1\u8BED - AAC - Stereo - \u9ED8\u8BA4","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":125519,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":44100,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"I**ternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"I**ternalUrl":null,"IsTextSubtitleStream":false,"Support**ternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":4295043,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}

  2. ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device d3d11va=dx11:,vendor=0x8086 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -i file:"G:\Yakka.Dee.2017.720p\Yakka.Dee.S01\Yakka.Dee.S01E03.Book.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 4162503 -maxrate 4162503 -bufsize 8325006 -profile:v:0 main -level 50 -g:v:0 200 -keyint_min:v:0 200 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1280\,720*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1280/a\,720))/2)*2,format=nv12" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239.m3u8"


  3. ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
  4.   built with clang version 19.1.7
  5.   configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  6.   libavutil      59.  8.100 / 59.  8.100
  7.   libavcodec     61.  3.100 / 61.  3.100
  8.   libavformat    61.  1.100 / 61.  1.100
  9.   libavdevice    61.  1.100 / 61.  1.100
  10.   libavfilter    10.  1.100 / 10.  1.100
  11.   libswscale      8.  1.100 /  8.  1.100
  12.   libswresample   5.  1.100 /  5.  1.100
  13.   libpostproc    58.  1.100 / 58.  1.100
  14. [AVHWDeviceContext @ 000002a65e31b140] Using device 8086:3e92 (Intel(R) UHD Graphics 630).
  15. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:G:\Yakka.Dee.2017.720p\Yakka.Dee.S01\Yakka.Dee.S01E03.Book.mp4':
  16.   Metadata:
  17.     major_brand     : isom
  18.     minor_version   : 512
  19.     compatible_brands: isomiso2mp41
  20.     encoder         : Lavf58.20.100
  21.   Duration: 00:05:08.04, start: 0.000000, bitrate: 4295 kb/s
  22.   Stream #0:0[0x1](und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 4162 kb/s, 50 fps, 50 tbr, 12800 tbn (default)
  23.       Metadata:
  24.         handler_name    : VideoHandler
  25.         vendor_id       : [0][0][0][0]
  26.   Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
  27.       Metadata:
  28.         handler_name    : USP Sound Handler
  29.         vendor_id       : [0][0][0][0]
  30. Stream mapping:
  31.   Stream #0:0 -> #0:0 (mpeg4 (native) -> hevc (hevc_qsv))
  32.   Stream #0:1 -> #0:1 (copy)
  33. Press [q] to stop, [?] for help
  34. [hevc_qsv @ 000002a6642c07c0] Current profile is unsupported
  35. [hevc_qsv @ 000002a6642c07c0] Selected ratecontrol mode is unsupported
  36. [hevc_qsv @ 000002a6642c07c0] Low power mode is unsupported
  37. [hevc_qsv @ 000002a6642c07c0] Current frame rate is unsupported
  38. [hevc_qsv @ 000002a6642c07c0] Current picture structure is unsupported
  39. [hevc_qsv @ 000002a6642c07c0] Current resolution is unsupported
  40. [hevc_qsv @ 000002a6642c07c0] Current pixel format is unsupported
  41. [hevc_qsv @ 000002a6642c07c0] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
  42. [vost#0:0/hevc_qsv @ 000002a664123f00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
  43. [vf#0:0 @ 000002a664045400] Error sending frames to consumers: Function not implemented
  44. [vf#0:0 @ 000002a664045400] Task finished with error code: -40 (Function not implemented)
  45. [vf#0:0 @ 000002a664045400] Terminating thread with return code -40 (Function not implemented)
  46. [vost#0:0/hevc_qsv @ 000002a664123f00] Could not open encoder before EOF
  47. [vost#0:0/hevc_qsv @ 000002a664123f00] Task finished with error code: -22 (Invalid argument)
  48. [vost#0:0/hevc_qsv @ 000002a664123f00] Terminating thread with return code -22 (Invalid argument)
  49. [out#0/hls @ 000002a65e33e1c0] Nothing was written into output file, because at least one of its streams received no packets.
  50. frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A   
  51. Conversion failed!
复制代码
 楼主| 发表于 2025-4-25 00:45 | 显示全部楼层
holch 发表于 2025-4-24 23:03
请M大大帮忙看看哪里有问题,server端是用的您提供的10.7.7 Windows版,client是浏览器。

...

UHD630不支持HEVC低电压编码
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

Archiver|手机版|小黑屋|Chiphell ( 沪ICP备12027953号-5 )沪公网备310112100042806 上海市互联网违法与不良信息举报中心

GMT+8, 2025-4-25 20:34 , Processed in 0.011853 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2007-2024 Chiphell.com All rights reserved.

快速回复 返回顶部 返回列表