Jump to content

No hardware transcoding QSV


Go to solution Solved by yocker,

Recommended Posts

Posted (edited)

Hey!

Im currently facing an issue with hardware transcoding on QSV. All my media is transcoded with tdarr (handbrake) on the same gpu without issues. But Emby cant get hardware transcoding working for a reason i dont understand. Maybe someone here can help me out if its a problem i can solve on my end. Thanks!

 

 

ffmpeg-transcode-3123a119-853b-4e84-bbca-30d439279a22_1.txt

Edited by Dreamleak
Posted

Hello Dreamleak,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

Try disabling tone mapping and include all logs when this happens...

Happy2Play
Posted

Yep appear to be the OpenCL issue Emby is currently having,

23:46:48.821 Stream mapping:
23:46:48.821   Stream #0:0 (hevc_qsv) -> vpp_qsv:default (graph 0)
23:46:48.821   vpp_qsv:default (graph 0) -> Stream #0:0 (h264_qsv)
23:46:48.821   Stream #0:1 -> #0:1 (eac3 (native) -> mp3 (libmp3lame))
23:46:48.821 Press [q] to stop, [?] for help
23:46:49.352 [supertonemap_opencl@f4 @ 000001a8a4800640] Failed to build program: -11.
23:46:49.352 [supertonemap_opencl@f4 @ 000001a8a4800640] Build log:
1:2:26: error: unknown OpenCL extension 'cl_intel_required_subgroup_size' - ignoring
#pragma OPENCL EXTENSION cl_intel_required_subgroup_size : enable
                         ^
1:4:26: error: unknown OpenCL extension 'cl_khr_d3d11_sharing' - ignoring
#pragma OPENCL EXTENSION cl_khr_d3d11_sharing : enable
                         ^
1:5:26: error: unknown OpenCL extension 'cl_intel_d3d11_nv12_media_sharing' - ignoring
#pragma OPENCL EXTENSION cl_intel_d3d11_nv12_media_sharing : enable
                         ^

23:46:49.352 Error while filtering: I/O error
23:46:49.352 Failed to inject frame into filter network: I/O error
23:46:49.352 Error while processing the decoded data for stream #0:0
23:46:49.364 [libmp3lame @ 000001a8b2d42e00] 3 frames left in the queue on closing
23:46:49.369 Conversion failed!

I guess you can try to see if Extra-T makes a difference.

image.png.9b6ef6d889def1fc44a6a1f373714ab7.png

  • Agree 1
  • Solution
Posted

A driver update for your GPU should fix it as the problem is part of a bad update  Intel put in one of their drivers a while ago.
If updating the driver don't work then downgrading it should. Some quick googling and the last known driver to work should be version 5122.

@Happy2PlayI can't find any info on this but do you know if this is fixed in any newer Linux kernels?

  • Like 1
  • Agree 2
Posted
3 hours ago, yocker said:

A driver update for your GPU should fix it as the problem is part of a bad update  Intel put in one of their drivers a while ago.
If updating the driver don't work then downgrading it should. Some quick googling and the last known driver to work should be version 5122.

@Happy2PlayI can't find any info on this but do you know if this is fixed in any newer Linux kernels?

Going back on intel arc cards is not really an option for me but thanks for the info!

 

7 hours ago, Happy2Play said:

Yep appear to be the OpenCL issue Emby is currently having,

23:46:48.821 Stream mapping:
23:46:48.821   Stream #0:0 (hevc_qsv) -> vpp_qsv:default (graph 0)
23:46:48.821   vpp_qsv:default (graph 0) -> Stream #0:0 (h264_qsv)
23:46:48.821   Stream #0:1 -> #0:1 (eac3 (native) -> mp3 (libmp3lame))
23:46:48.821 Press [q] to stop, [?] for help
23:46:49.352 [supertonemap_opencl@f4 @ 000001a8a4800640] Failed to build program: -11.
23:46:49.352 [supertonemap_opencl@f4 @ 000001a8a4800640] Build log:
1:2:26: error: unknown OpenCL extension 'cl_intel_required_subgroup_size' - ignoring
#pragma OPENCL EXTENSION cl_intel_required_subgroup_size : enable
                         ^
1:4:26: error: unknown OpenCL extension 'cl_khr_d3d11_sharing' - ignoring
#pragma OPENCL EXTENSION cl_khr_d3d11_sharing : enable
                         ^
1:5:26: error: unknown OpenCL extension 'cl_intel_d3d11_nv12_media_sharing' - ignoring
#pragma OPENCL EXTENSION cl_intel_d3d11_nv12_media_sharing : enable
                         ^

23:46:49.352 Error while filtering: I/O error
23:46:49.352 Failed to inject frame into filter network: I/O error
23:46:49.352 Error while processing the decoded data for stream #0:0
23:46:49.364 [libmp3lame @ 000001a8b2d42e00] 3 frames left in the queue on closing
23:46:49.369 Conversion failed!

I guess you can try to see if Extra-T makes a difference.

image.png.9b6ef6d889def1fc44a6a1f373714ab7.png

Extra.T gives me the same error. I found another thread with docker about to update to beta channel, i will try if this fix the issue.

 

8 hours ago, TMCsw said:

Try disabling tone mapping and include all logs when this happens...

 

This works for now! i though the stream log would be enough since it happens there.

  • Like 1
Posted

Updating to 4.9.0.30 beta doesnt fix this issue. 

Posted
1 hour ago, Dreamleak said:

Going back on intel arc cards is not really an option for me but thanks for the info!

Just out of curiosity. :)
Why is changing driver not an option?

Posted
12 minutes ago, yocker said:

Just out of curiosity. :)
Why is changing driver not an option?

read about bad performance on older drivers, now tried the driver you mentioned and tone mapping works now! Thanks. :)

  • Like 1
Posted (edited)
37 minutes ago, Dreamleak said:

read about bad performance on older drivers, now tried the driver you mentioned and tone mapping works now! Thanks. :)

Happy it's working for you!

Yes for 3D stuff there might be some performance loss (not much), transcoding performance should be the same.
I don't know if that driver is the newest that work, just what my google-fu could find.

Btw. Happy2Play was the one that identified the solution really. ;)

Edited by yocker
  • Like 1
  • 3 weeks later...
Posted (edited)

I have the exact same problem, except I can't install the old driver. I can install the new drivers but not the 5122 version...I think it's because it's a new cpu (intel core ultra 5 125u). Is there another solution ?

Edited by Leym
Posted
2 hours ago, Leym said:

I have the exact same problem, except I can't install the old driver. I can install the new drivers but not the 5122 version...I think it's because it's a new cpu (intel core ultra 5 125u). Is there another solution ?

Hi @Leym please attach the Emby server and hardware detection log files. Thanks.

Posted (edited)
17 hours ago, Luke said:

Hi @Leym please attach the Emby server and hardware detection log files. Thanks.

I solved my problem by installing the driver manually (I couldn’t do it with the Intel driver executable). Just to be sure I don't miss anything, is the only solution to wait for Intel to fix the problem in their drivers ?

Edited by Leym
Posted
41 minutes ago, Leym said:

I solved my problem by installing the driver manually (I couldn’t do it with the Intel driver executable). Just to be sure I don't miss anything, is the only solution to wait for Intel to fix the problem in their drivers ?

HI, as we haven't seen a specific example of your issue, it's hard to say. I'm glad this resolved it for you though. We can probably answer better with the previously requested information. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...