Thefrank / jellyfin-server-freebsd

jellyfin-server component for freebsd
185 stars 16 forks source link

Hardware acceleration #46

Closed sevrev closed 6 months ago

sevrev commented 1 year ago

Hi!

I was reading through your guide and got to this point and then I began to wonder. Does this only enable hardware acceleration on the CPU and not GPU acceleration? I have a GTX 1660 ti that I wanted to use for acceleration but I have been really struggling with finding a way to pass the GPU through to the jail. I would not mind running jellyfin on the freebsd install directly but I'm using truenas core and it is not meant to be altered as far as I have understood. So when I came across your guide I started to wonder if it was possible. Any response is greatly appreciated. I did not know how best to reach out to you in any other way @Thefrank.

Regards Sevre

Thefrank commented 1 year ago

@sevrev "Issues" is exactly the place you can ask for help :)

I don't have any GPUs or iGPUs to test for FreeBSD but GPU acceleration SHOULD work under TrueNAS if:

Your first step would be to see if there are kernel module drivers for your graphics card series. If there are you can continue by trying to pass the device through to the jail then finally installing the software.

I am not sure how well the drivers from NVIDIA will work INSIDE a jail as they seem designed to be installed on the host and not inside a jail (e.g., they build kernel modules)

Thefrank commented 6 months ago

Closing in favor of #13