INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC not using GPU for transcoding to client  (Read 485 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
MC not using GPU for transcoding to client
« on: April 17, 2023, 07:52:40 am »

a follow on from https://yabb.jriver.com/interact/index.php/topic,135226.msg938879.html#msg938879 but related to the server

it's a windows VM and I got round to updating that VM to pass the AMD 5600g through to it, this works fine connected to a 4k display and I can see playback uses the GPU. Streaming to a client (linux MC in this case) does not though and I can't find any way to configure this. Here's what the log reports.

Is there some AMD specific option missing here? some MC config I'm missing?

Code: [Select]
0697289: 840: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 23.98 FPS, AutoFPS 1, target FPS 23.98
0697289: 840: Encoders: CFFmpegTranscoder::AVLog: [h264_nvenc @ 0000025A9F293240] Cannot load nvcuda.dll
0697289: 840: Encoders: CFFmpegTranscoder::AVLog: [h264_nvenc @ 0000025A9F293240] Nvenc unloaded
0697289: 840: Encoders: CFFmpegTranscoder::CreateVideoStream: Opening codec 'h264_nvenc' failed
0697290: 840: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 23.98 FPS, AutoFPS 1, target FPS 23.98
0697290: 840: Encoders: CFFmpegTranscoder::AVLog: [h264_qsv @ 0000025A9F293240] Encoder: input is system memory surface
0697782: 840: Encoders: CFFmpegTranscoder::AVLog: [h264_qsv @ 0000025A9F293240] Error initializing an internal MFX session: unsupported (-3)
0697782: 840: Encoders: CFFmpegTranscoder::CreateVideoStream: Opening codec 'h264_qsv' failed
0697782: 840: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 23.98 FPS, AutoFPS 1, target FPS 23.98
0697783: 840: Encoders: CFFmpegTranscoder::AVLog: [libx264 @ 0000025A9F293240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
0697785: 840: Encoders: CFFmpegTranscoder::AVLog: [libx264 @ 0000025A9F293240] profile High, level 4.0, 4:2:0, 8-bit
0697785: 840: Encoders: CFFmpegTranscoder::AVLog: [libx264 @ 0000025A9F293240] 264 - core 164 r3106 eaa68fa - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=9 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=48 keyint_min=4 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=20000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10944
Re: MC not using GPU for transcoding to client
« Reply #1 on: April 17, 2023, 07:59:29 am »

AMD is not currently supported in MC30 for encoding. Their SDK is a bit .. weird. But its also been a while since we've investigated that.
Logged
~ nevcairiel
~ Author of LAV Filters

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC not using GPU for transcoding to client
« Reply #2 on: April 17, 2023, 08:14:26 am »

I really picked well going with a 5600g for this box   :)

Would be great to get it supported though
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC not using GPU for transcoding to client
« Reply #3 on: April 17, 2023, 08:23:12 am »

Does black bar detection use CPU or GPU?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10944
Re: MC not using GPU for transcoding to client
« Reply #4 on: April 17, 2023, 08:30:39 am »

CPU only

Hardware accelerated decoding should work on AMD as well, which should be used when transcoding as well.
Logged
~ nevcairiel
~ Author of LAV Filters

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC not using GPU for transcoding to client
« Reply #5 on: April 17, 2023, 09:13:46 am »

Ok thanks
Logged
Pages: [1]   Go Up