Issue
Hardware encoding Plex
Hi,
I''m using plexmediaserver for sometime, but the encoding of movies is using a lot or CPU resiurces.
Therefor i''ve added an Quadro P400 videocard. I know.... not the most powerfull, but a cheap solution for some extra horsepower.
Only i don't get the hardware encoding to work.
Plex is not showing it in its dashboard and my CPU is still going sky-high.
The only thin i can find in log is this error
which not lead me to any solution on the internet
I''m using plexmediaserver for sometime, but the encoding of movies is using a lot or CPU resiurces.
Therefor i''ve added an Quadro P400 videocard. I know.... not the most powerfull, but a cheap solution for some extra horsepower.
Only i don't get the hardware encoding to work.
Plex is not showing it in its dashboard and my CPU is still going sky-high.
The only thin i can find in log is this error
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb0 updated, 0 deleted
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXbApplication Support/Plex Media Server/Cache/Transcode/Sync+" does not exist
May 07, 2021 16:47:01.946 [0x7fc77d3df700] WARN - MyPlex: attempted a reachability check but we're not yet mapped.
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXbmyPlex (httpCode=400): <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title>Web Proxy</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<meta http-equiv='refresh' content='0;URL=http://192.168.1.1:82/approot/web_proxy/htdocs/warning.php?code=INVALID_URL&ip=[unknown]&url=/pms/:/ip&error=[No Error]&dns=[unknown]&ftpcommand=nothing&ftpreply1=nothing&version=squid/3.5.20'>
</head>
<body></body>
</html>
May 07, 2021 16:47:11.943 [0x7fc7397fa700] ERROR - Unknown metadata type:
May 07, 2021 16:47:11.943 [0x7fc7397fa700] WARN - Unrecognized MediaProvider feature: collection
May 07, 2021 16:47:13.267 [0x7fc777fff700] WARN - NAT: PMP, got an error: Not Supported by gateway.
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb: -1 (unknown libva error).
May 07, 2021 16:48:01.199 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:01.199 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb: -1 (unknown libva error).
May 07, 2021 16:48:01.200 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:01.200 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:48:01.201 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:01.201 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb: -1 (unknown libva error).
May 07, 2021 16:48:01.202 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:01.202 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:48:03.243 [0x7fc75d7fa700] ERROR - Unknown metadata type: folder
May 07, 2021 16:48:11.439 [0x7fc73a7fc700] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXbignoring.
May 07, 2021 16:48:18.776 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:18.776 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb: -1 (unknown libva error).
May 07, 2021 16:48:18.777 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:18.777 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:48:18.778 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:18.778 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 07, 2021 16:45xUdHPiFHQ7xbKh19G45saF1raB2ot5pag8p1Hnk4yrfXRJZskr8TMbFpVfC5tDk8eQQg63TqkW9gKhwagx6HePTaK2yXb: -1 (unknown libva error).
May 07, 2021 16:48:18.778 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 07, 2021 16:48:18.778 [0x7fc73bfff700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
which not lead me to any solution on the internet
Share this post:
Responses (8)
-
Accepted Answer
-
Accepted Answer
Thanks Nick.
these packages are indeed also installed on my server.
Somehow the /var/log/Xorg.0.log had been delete by the upgrade and caused that nvidia-detect doesn't work. Probably it uses this file
I needed to execute Xorg (with a capital X) and not xorg. After running Xorg the /var/log/Xorg.0.log was created again and nvidia-detect is working also -
Accepted Answer
I thought xorg was part of the standard installation?[root@proxmox108 ~]# rpm -qa | grep xorg
xorg-x11-drv-vesa-2.4.0-3.el7.x86_64
xorg-x11-drv-evdev-2.10.6-1.el7.x86_64
xorg-x11-drv-intel-2.99.917-28.20180530.el7.x86_64
xorg-x11-drv-synaptics-1.9.0-2.el7.x86_64
xorg-x11-drv-ati-19.0.1-3.el7_7.x86_64
xorg-x11-fonts-Type1-7.5-9.el7.noarch
xorg-x11-drv-void-1.4.1-2.el7.1.x86_64
xorg-x11-drv-dummy-0.3.7-1.el7.1.x86_64
xorg-x11-drv-wacom-0.36.1-3.el7.x86_64
xorg-x11-drivers-7.7-6.el7.x86_64
xorg-x11-font-utils-7.5-21.el7.x86_64
xorg-x11-xinit-1.3.4-2.el7.x86_64
xorg-x11-xkb-utils-7.7-14.el7.x86_64
xorg-x11-drv-fbdev-0.5.0-1.el7.x86_64
xorg-x11-drv-vmware-13.2.1-1.el7.1.x86_64
xorg-x11-drv-qxl-0.1.5-5.el7.x86_64
xorg-x11-proto-devel-2018.4-1.el7.noarch
xorg-x11-server-utils-7.7-20.el7.x86_64
xorg-x11-server-common-1.20.4-16.el7_9.x86_64
xorg-x11-server-Xorg-1.20.4-16.el7_9.x86_64
xorg-x11-drv-vmmouse-13.1.0-1.el7.1.x86_64
xorg-x11-drv-nouveau-1.0.15-1.el7.x86_64
xorg-x11-drv-v4l-0.2.0-49.el7.x86_64
xorg-x11-xauth-1.0.9-1.el7.x86_64
Your question may be better redirected to the ElRepo mailing list. -
Accepted Answer
Hi,
All was (and is working) fine.
Today i update the Nvidia driver to the latest version and noticed the following error when using nvidia-detect
nvidia-detect
kmod-nvidia
WARNING: Xorg log file /var/log/Xorg.0.log does not exist
WARNING: Unable to determine Xorg ABI compatibility
WARNING: The driver for this device does not support the current Xorg version
Not sure if this is an issue because the nvidia hardware is still working according to Plex.
The only thing is i don't know why or what this error does or how to solve it
As far i can see i don't have (or had) xorg installed. -
Accepted Answer
With thanks to Nick for leading me the the Elrepo drivers, i managed to get it working. Stil an error in the log during playing, but the hardware is working
This is how i got it working within ClearOS7.
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
yum install nvidia-detect
nvidia-detect
Check which output of the driver version.
for example if yum install kmod-nvidia is not working use : yum install kmod-nvidia-390xx
yum remove ocl-icd (this also removes ffmpeg ffmpeg-libs libavdevice)
yum install kmod-nvidia
yum install ffmpeg ffmpeg-libs libavdevice
reboot
The drivers directly form Nvidia did not result in getting the CUDA drivers working. -
Accepted Answer
Thanks Nick for getting it in the right direction.
I've installed the Cuda en Nvidia rpms, but still no luck.
One error is solved:
ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
But still have the other one:
May 07, 2021 18:57:11.649 [0x7f33f8ff9700] ERROR - [Transcode] [FFMPEG] - cu->cuInit(0) failed
May 07, 2021 18:57:11.649 [0x7f33f8ff9700] ERROR - [Transcode] [FFMPEG] - -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
May 07, 2021 18:57:11.649 [0x7f33f8ff9700] ERROR - [Transcode] [FFMPEG] -
According to the Nvidia site the card is Cuda capable
On the Nvida site is also some information: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#redhat-installation.
yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
yum install nvidia-driver-latest-dkms
yum install cuda
yum install cuda-drivers
nvidia-driver-latest x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 60 M
nvidia-driver-latest-NVML x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 1.7 M
nvidia-driver-latest-NvFBCOpenGL x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 341 k
nvidia-driver-latest-cuda x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 973 k
nvidia-driver-latest-cuda-libs x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 110 M
nvidia-driver-latest-devel x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 0.0
nvidia-driver-latest-libs x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 317 M
nvidia-libXNVCtrl x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 113 k
nvidia-libXNVCtrl-devel x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 253 k
nvidia-modprobe-latest x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 65 k
nvidia-persistenced-latest x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 64 k
nvidia-settings x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 4.1 M
nvidia-xconfig-latest x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 222 k
Removing for dependencies:
cuda x86_64 11.3.0-1 @cuda-rhel7-x86_64 0.0
cuda-11-3 x86_64 11.3.0-1 @cuda-rhel7-x86_64 0.0
cuda-drivers x86_64 465.19.01-1 @cuda-rhel7-x86_64 0.0
cuda-runtime-11-3 x86_64 11.3.0-1 @cuda-rhel7-x86_64 0.0
kmod-nvidia-latest-dkms x86_64 3:465.19.01-1.el7 @cuda-rhel7-x86_64 47 M
Unfortunatly this leads that Plex isn''t playing at all -
Accepted Answer
It looks like libcuda.so.1 is missing and you may need the nvidia drivers - https://pkgs.org/download/libcuda.so.1()(64bit). That may be an issue.
Luckily the ElRepo guys produce Nvidia drivers. I am not sure how to do it. I found http://elrepo.org/tiki/kmod-nvidia, but the internet is your friend.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »