Server Version#: 1.22.2.4282
Player Version#: I use multiple apps and devices to view so I’m not sure what player version is tbh
Alright so this might be a bit of a wall of text, so I apologize for that.
To start things off I have had plex running on an older ASUS G751JY (i7 4710, gtx 980m, 24gb ram so not underpowered Imo) for quite a while now. Never really had any issues with plex specifically and have always just used software transcoding because I don’t really ever have more than a few streams going at once. Now that I have some 4k content I have noticed that even one transcode can use about 80-85% of the cpu, so I decided to try and get the hardware transcoding set up.
My server is Ubuntu 20.04 and I have always just run it with the cli.
Anyway, I looked up a guide and started following one from linuxconfig (not sure if I can post links cause I’m new but I can do that later if needed) and added the repository and started installing nvidia-driver-460. I initially ran into a bit of a snag with uefi secure boot not liking 3rd party drivers, so it asked me to create a password and then re-enter it on reboot (MOK key? Something like that?) to confirm that I was authorized. So after the restart a prompt popped up and I accidentally (yes I know, stupid) selected the wrong option and was never prompted for the password I had created, and so the drivers didn’t install correctly. I uninstalled them with “apt remove nvidia-driver-460” and then also used autoremove to get rid of the dependencies etc.
So then I tried just installing the drivers using the .run file from nvidia’s website. It gave me a few complaints about secure boot and once again didn’t work. So I removed those as well and tried to use the repository again, but now I get a message saying I am “holding broken packages” and the installation fails.
Sooo I guess long story short I would just like to “start over” if that makes any sense. I didn’t think something like this would actually be difficult or complicated but hey, Linux likes to throw me a curveball every now and then.
What can I do to fix my apt install and get the secure boot password prompt again? Or would there be a better (or easier haha) way of doing it?
Thanks in advance!
EDIT
Alright so I managed to get the drivers installed. This time I selected nvidia-driver-460-server, and I also was able to input the mok key properly on restart. My video still isn’t transcoding in hardware though. Any idea what the issue would be? Both hardware acceleration boxes are checked off in the transcoder settings of course.
EDIT #2
Made a bit more progress. I was getting this error when checking nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
I found out that it was possibly an issue with an incorrect cuda version so I got that installed and voila! I now have a (hw) in my plex dashboard next to my media when transcoding. My only issue that I’m noticing is that when I’m transcoding a 4k video from 80mbps or so down to 10mbps, it is still using about 70-80% cpu usage, so I don’t think it’s actually working. Any thoughts on where to go from here?
