Jellyfin Forum
Fix Hardware Acceleration using QSV not working. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Fix Hardware Acceleration using QSV not working. (/t-fix-hardware-acceleration-using-qsv-not-working)

Pages: 1 2 3


RE: Fix Hardware Acceleration using QSV not working. - jimmythejuicer24 - 2023-12-05

Terminal says that docker-compose isn't a command. Do I have to install it?


RE: Fix Hardware Acceleration using QSV not working. - TheDreadPirate - 2023-12-05

How have you been starting your docker container for jellyfin?


RE: Fix Hardware Acceleration using QSV not working. - jimmythejuicer24 - 2023-12-05

It just starts when I turn on my computer. Sometimes I have to do 'docker start jellyfin' or 'docker stop jellyfin' as well.


RE: Fix Hardware Acceleration using QSV not working. - TheDreadPirate - 2023-12-05

Correct me if I'm wrong, but you can't use a docker compose file without having docker compose installed.

I'm assuming if you run this command it will fail.

Code:
docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo

And there will be nothing in /dev/dri in the container.

Code:
docker exec -it jellyfin "ls -l /dev/dri"

You've been making changes to this compose file and none of them are actually being used.


RE: Fix Hardware Acceleration using QSV not working. - jimmythejuicer24 - 2023-12-05

Yeah both commands failed. I just assumed that everytime jellyfin started it looked at the docker-compose.yml file.

What do I need to do now?


RE: Fix Hardware Acceleration using QSV not working. - TheDreadPirate - 2023-12-05

Install docker compose.

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04


RE: Fix Hardware Acceleration using QSV not working. - jimmythejuicer24 - 2023-12-05

Ok I installed it. Do I just run 'docker compose up' in the directory with the docker-compose.yml file?


RE: Fix Hardware Acceleration using QSV not working. - TheDreadPirate - 2023-12-05

That is how it works on my work systems (I use docker at work, but not at home).

docker compose up -d


RE: Fix Hardware Acceleration using QSV not working. - jimmythejuicer24 - 2023-12-05

Yoo it actually worked thank you! This is the first time I've ever seen it work.

It never ends up loading though. In the FFmpeg logs, this gets repeated over and over:
[hevc_qsv @ 0x555c6312ba00] Error initializing the MFX video decoder: unsupported (-3)
Error while decoding stream #0:0: Function not implemented
[hevc_qsv @ 0x555c6312ba00] More data is required to decode header
Last message repeated 22 times


RE: Fix Hardware Acceleration using QSV not working. - TheDreadPirate - 2023-12-05

What codecs did you check in the Playback Dashboard? And what codec is the video encoded with?

Share the latest ffmpeg log on sourcebin? Screenshot of the playback dashboard?