Hardware:
*Intel Core i5-9600K Coffee Lake 3.7 GHz
*Intel UHD Graphics 630
*MSI B360M PRO-VH LGA 1151 mATX Intel Motherboard
Software:
*Ubuntu 18.10 - Desktop Minimal Install
*Plex 1.15.3.858 - Direct Install
I installed PMS on a brand spanking new Ubuntu build. I imported my old PMS database and library per Plex instructions and it’s working great!
HOWEVER… When PMs transcodes, for example when playing on my mobile phone over ATT LTE network, it does not use Hardware Acceleration.
I cannot for the life of me figure this out. I’ve looked on Reddit, these forums and cannot find a solution. Anyone have any ideas?
I’ve tried reinstalling the i965-va-driver and still doesn’t work. Please help! I know it’s something simple I am missing.
sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 100 Mar 31 22:35 .
drwxr-xr-x 20 root root 4340 Mar 31 23:07 …
drwxr-xr-x 2 root root 80 Mar 31 22:35 by-path
crw-rw----+ 1 root video 226, 0 Apr 1 15:30 card0
crw-rw----+ 1 root video 226, 128 Apr 1 15:30 renderD128
PLEX Log
Apr 01, 2019 20:03:31.124 [0x7ffb6effd700] ERROR - ClientProfileExtra: video transcode target already exists for streaming hls
Apr 01, 2019 20:03:31.131 [0x7ffb6effd700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 01, 2019 20:03:31.131 [0x7ffb6effd700] WARN - avcodec_open2 returned -1313558101 for encoder ‘h264_nvenc’
Apr 01, 2019 20:03:31.131 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.131 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] WARN - avcodec_open2 returned -1313558101 for encoder ‘h264_nvenc’
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] WARN - avcodec_open2 returned -1313558101 for encoder ‘h264_nvenc’
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.132 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] WARN - Failed to find encoder ‘hevc_qsv’
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so init failed
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 01, 2019 20:03:31.133 [0x7ffb6effd700] ERROR - [FFMPEG] - Cannot load libcuda.so.1