@DRied Are you using i965 or iHD?
If this works for you, it will remain the permanent solution until Intel resolves the regression. It took years for them to fix it in the i965. I don’t see them resolving this with the iHD driver. It took a non-Intel person to find the issue and a solution to resolve this with the i965. I was involved in coordinating that effort on github several years ago. The person that created the solution goes by the name carpalis.
ha, sorry, tried both, sorry my paste above included the “iHD”
I have not had the opportunity to test i965 with Comet Lake and newer iGPUs. I have only been able to validate i965 up to Coffee Lake CPUs. Yours is a Comet Lake and it may require the iHD driver. My future roadmap is using Nvidia P2200 or newer since I have little faith Intel wil resolve this with newer CPUs.
Can you post your logs with VaapiDriver="i965" defined?
Plex Media Server Logs_2022-01-19_20-50-36.zip (901.4 KB)
Here you go.
310 to yuma is the vc-1 file I tried, and 13hrs is he HEVC.   There should be examples going back in time today with i965 set, and without.
Let me know if there’s anything else I can do to help narrow this down.
this is a snip form media server 2, think it shows it got some with the i965 setting
Jan 19, 2022 19:32:27.171 [0x7f6654de5b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 19, 2022 19:32:27.171 [0x7f6654de5b38] ERROR - [Transcode] [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Jan 19, 2022 19:32:27.171 [0x7f6654de5b38] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 19, 2022 19:32:27.171 [0x7f6654de5b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jan 19, 2022 19:32:27.171 [0x7f6654de5b38] DEBUG - [Transcode] Could not create hardware context for vc1
Jan 19, 2022 19:41:21.739 [0x7f509140bb38] DEBUG - [Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Jan 19, 2022 19:41:21.739 [0x7f509140bb38] DEBUG - [Transcode] TPU: hardware transcoding: zero-copy support present
Jan 19, 2022 19:41:21.739 [0x7f509140bb38] DEBUG - [Transcode] TPU: hardware transcoding: using zero-copy transcoding
Jan 19, 2022 19:41:21.741 [0x7f509140bb38] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
This must be when you did not have VaapiDriver i965 defined. I don’t think with a Comet Lake 10th Gen you can use the i965. Unfortunately you will have to live with the artifacts with VC-1 or get a Nvidia GPU. Thats what I will be doing as I move forward with my next PMS host.
Haha, funny you mention getting an nvidia GPU. I have a lame 1030 that I thought Id try out. Maybe take some of the decode load off the CPU…
The system recognizes it, but seems plex wants to still use the igpu. The Googles have not been kind to me in figuring out how to get plex to use the nvidia and not still use the igpu. Any suggestions on that?
Please provide the output from
ls -l /dev/dri
You should see renderD128 (Intel iGPU) and renderD129 (Nvidia dGPU) in the output.
Add this to preferences.xml
HardwareDevicePath=“/dev/dri/render129”
The 1030 can decode but does not have an encoder so it will fallback to the cpu.
@ChuckPa @Achilles @RTMcG @pl_5309
I really do appreciate everyone’s help.   Here is where I landed.
- My previous experiments gave me confidence in running PMS on Linux.
- My i5-10400 machine is a SFF so needed a half height GPU (1030 was only one I had).
- MY main plex server is an old hp z220 with a i7-3770 running windows 10. This has my tuner card in it, but no GPU.
- I also have another windows system with a 1050ti that I didn’t use very much.
Last night, I put the 1050ti into the z220 and kept my tuner in there. I reloaded that OS to Ubuntu 20.04. So now I have the Z220 with i7-3770, tuner, and 1050ti - running Ubuntu 20.04. Every seems to be working as expected.
- Get 3 HW transcodes/encoding at a time
- i7 handles cpu loads well
- Handles 4k tone mapping on multiple transcodes
- No bugs with VC-1
This seems to be a winning combo for me. Long live old hardware!
Nice. Latest and greatest isn’t always better.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.