After upgrading to 1.19.3.2831/2843 HW Accel. stop working

Server Version#:1.19.3.2831/2843
Player Version#:
After upgrade to latest version i cant play nothing from my plex server. Via web or samsung tv.

On TVs i get Unknown Error (0) (avplay). On PC or laptops nothing only loading wheel.

I found this error in logs:

May 21, 2020 23:20:53.399 [0x7f0690f11700] ERROR - [FFMPEG] - libva: /volume1/@appstore/Plex Media Server/lib/dri/iHD_drv_video.so init failed
May 21, 2020 23:20:53.423 [0x7f06839d4700] ERROR - [Transcoder] [AVHWDeviceContext @ 0x2593cc0] libva: /volume1/@appstore/Plex Media Server/lib/dri/iHD_drv_video.so init failed
May 21, 2020 23:20:53.735 [0x7f0680de2700] ERROR - [Transcoder] [mpeg4 @ 0x263c9c0] No support for codec mpeg4 profile 0.
May 21, 2020 23:20:53.738 [0x7f063dcd7700] ERROR - [Transcoder] [mpeg4 @ 0x263c9c0] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
May 21, 2020 23:20:53.753 [0x7f0690c23700] ERROR - Had trouble breaking __fvd__
May 21, 2020 23:20:53.753 [0x7f0690c23700] ERROR - ERROR: Parsing request failed.

Before update everything works fine.

After turning off the HW Accel. playback now works but the CPU is on 99%.
Any solutions?

Thanks for the reply, here are requested files.
Have a nice day.
Plex Media Server Logs_2020-05-22_02-19-20.zip (1.3 MB) xml.txt (45.1 KB)

@trumpy81, because of this thread I’ve parsed this Preferences.xml file on my Synology DS918+ and there is also no such thing as VaapiDriver=“i965” in there.

Can you elaborate a bit on this ? I have the impression my install works fine, trancoding (hw) works fine. Why should this be added and what if it is not there ?

I’m running Version 1.19.3.2740

After I add VaapiDriver="i965" server wont start and somehow delete almost everything from my preferences file. And i don’t have backup.

This is what i see when i acces to server page.

<MediaContainer size="24" allowCameraUpload="0" allowChannelAccess="1" allowMediaDeletion="1" allowSharing="1" allowSync="0" allowTuners="1" backgroundProcessing="1" companionProxy="1" diagnostics="logs,databases,streaminglogs" eventStream="1" friendlyName="Skladnik" hubSearch="1" itemClusters="1" livetv="7" machineIdentifier="1331ad20821cc480ce756b2d4e27233ae4351d4a" mediaProviders="1" multiuser="1" myPlex="1" myPlexMappingState="unknown" myPlexSigninState="none" myPlexSubscription="0" ownerFeatures="1417df52-986e-4e4b-8dcd-3997fbc5c976,16d69c53-4c40-4821-b9f3-57ca690b2d4d,24b4cf36-b296-4002-86b7-f1adb657e76a,2ea0e464-ea4f-4be2-97c1-ce6ed4b377dd,300231e0-69aa-4dce-97f4-52d8c00e3e8c,34e182bd-2f62-4678-a9e9-d13b3e25019d,4b522f91-ae89-4f62-af9c-76f44d8ef61c,5d819d02-5d04-4116-8eec-f49def4e2d6f,5e2a89ec-fb26-4234-b66e-14d37f35dff2,65685ff8-4375-4e4c-a806-ec1f0b4a8b7f,78643fe5-d192-40c7-8e93-5ccf04c0b767,7e7596aa-6e2c-41d1-a460-1e13cf0b62f2,85ebfb7b-77fb-4afd-bb1a-2fe2fefdddbe,86da2200-58db-4d78-ba46-f146ba25906b,96cac76e-c5bc-4596-87eb-4fdfef9aaa11,98872b06-2ff3-4b71-96bc-039e2ebe7adc,a3d2d5c4-46a0-436e-a2d6-80d26f32b369,abd37b14-706c-461f-8255-fa9563882af3,adaptive_bitrate,b20d91ca-1b2f-45a2-a115-c1ad24c66ac5,b2403ac6-4885-4971-8b96-59353fd87c72,b46d16ae-cbd6-4226-8ee9-ab2b27e5dd42,b5874ecb-6610-47b2-8906-1b5a897acb02,bfeaee4e-965a-4d24-b163-020c3c57d936,c7ae6f8f-05e6-48bb-9024-c05c1dc3c43e,collections,d2013aee-359d-4a02-b1f0-b8b692881be1,dab501df-5d99-48ef-afc2-3e839e4ddc9a,fec722a0-a6d4-4fbd-96dc-4ffb02b072c5,federated-auth,home,kevin-bacon,livetv,radio,tuner-sharing,unsupportedtuners" photoAutoTag="1" platform="Linux" platformVersion="DSM 6.2.3.25426-0" pluginHost="1" pushNotifications="0" readOnlyLibraries="0" requestParametersInCookie="1" streamingBrainABRVersion="3" streamingBrainVersion="2" sync="1" transcoderActiveVideoSessions="0" transcoderAudio="1" transcoderLyrics="1" transcoderPhoto="1" transcoderSubtitles="1" transcoderVideo="1" transcoderVideoBitrates="64,96,208,320,720,1500,2000,3000,4000,8000,10000,12000,20000" transcoderVideoQualities="0,1,2,3,4,5,6,7,8,9,10,11,12" transcoderVideoResolutions="128,128,160,240,320,480,768,720,720,1080,1080,1080,1080" updatedAt="1590134721" updater="1" version="1.19.3.2843-e3c1f7bcd" voiceSearch="1">
<Directory count="1" key="activities" title="activities"/>
<Directory count="1" key="butler" title="butler"/>
<Directory count="1" key="channels" title="channels"/>
<Directory count="1" key="clients" title="clients"/>
<Directory count="1" key="devices" title="devices"/>
<Directory count="1" key="diagnostics" title="diagnostics"/>
<Directory count="1" key="hubs" title="hubs"/>
<Directory count="2" key="library" title="library"/>
<Directory count="3" key="livetv" title="livetv"/>
<Directory count="3" key="media" title="media"/>
<Directory count="1" key="metadata" title="metadata"/>
<Directory count="1" key="neighborhood" title="neighborhood"/>
<Directory count="1" key="playQueues" title="playQueues"/>
<Directory count="1" key="player" title="player"/>
<Directory count="1" key="playlists" title="playlists"/>
<Directory count="1" key="resources" title="resources"/>
<Directory count="1" key="search" title="search"/>
<Directory count="1" key="server" title="server"/>
<Directory count="1" key="servers" title="servers"/>
<Directory count="1" key="statistics" title="statistics"/>
<Directory count="1" key="system" title="system"/>
<Directory count="1" key="transcode" title="transcode"/>
<Directory count="1" key="updater" title="updater"/>
<Directory count="1" key="user" title="user"/>
</MediaContainer>

Ok when i open http://YOUR_NAS_IP_ADDRESS:32400/web shows me wizard and now i have 2 servers visible one down and second up and some parts of my preferences/settings deleted and set to defaults. But playback still broken on every file, but the direct play works as before edit preferences.xml Before update to 2 latest update everything works fine. Transcoding and direct play. Last 2 updates broke it.

plex

Moderator: File removed for security.

This change adds 3. server and playback still not working.

Old servers deleted and here are logs.
Logs.zip (580.9 KB)

Nothing change, here are new logs.
Logs(1).zip (622.1 KB)

Plex works and i can list library but i cannot play any movie what need transcode. But Before update everything works fine.

Here are new log when i trying play 2 movies.
Plex Media Server Logs_2020-05-22_11-46-28.zip (672.4 KB)

But before update it works.

Ok i try.

Ok when i use handbrake and encode file then i can play it because now its direct play and dont need transcode and HW accel. Transcode still not working after update, thats the problem. I use plex because its have transcode and i dont need reencode every file. As i say before everything works until last updates. Now HW accell and transcode is broken. I think only HW accel. is broken. If i turn of HW accel. transcode starts working and i dont need reencode files but cpu takes 99%. Before updates transcode runs and takes only 25-45% of cpu and can transcode 4 or 5 stream in one time.

If you need some other files or info ask me i provide you this info/files asap.

@sousanek

Which Plug-in / add-on are you using with Plex?

I find a __fvd__ parameter applied which is not part of our code.

May 22, 2020 11:39:59.402 [0x7f84c5c03700] ERROR - Had trouble breaking __fvd__

@ChuckPa

No plugins and addons i use default from synology packages and update it from plex downloads page.

And in setting addons - is no addons installed

do you have anything added to FireFox ?

No but i try chrome and explorer and samsung tizen ipad. When stream needs transcode, then playback failed or show nothing, but if its direct play(no transcode needed) stream play without issue. On every player that i have.

Ok, Thanks.

Regarding &__fvd__ in the query string, this is not added by Plex. I’ve spoken with both the Web and Server teams. No such parameter exists in our code. You have something adding it and PMS is refusing to accept the request fully.

Regarding the transcode failure, PMS is rejecting the entire request with HTTP 400
due to the bad invocation.

You have something going on there which PMS is refusing to work with.

May 22, 2020 11:42:01.526 [0x7f84aee6b700] DEBUG - Audio Stream: 22974, Subtitle Stream: -1
May 22, 2020 11:42:01.527 [0x7f84c5c03700] ERROR - Had trouble breaking __fvd__
May 22, 2020 11:42:01.527 [0x7f84c5c03700] ERROR - ERROR: Parsing request failed.
May 22, 2020 11:42:01.528 [0x7f84c5c03700] DEBUG - Request: [192.168.88.242:11716 (WAN)] GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F1667&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=200&location=lan&addDebugOverlay=0&autoAdjustQuality=1&directStreamAudio=1&mediaBufferSize=102400&session=8ap693gfi1o4ku3vwombqch6&subtitles=burn&Accept-Language=cs&X-Plex-Session-Identifier=vmpbdvr2vv96ahn4rcki88z6&X-Plex-Client-Profile-Extra=append-transcode-target-codec%28type%3DvideoProfile%26context%3Dstreaming%26audioCodec%3Daac%26protocol%3Ddash%29&X-Plex-Product=Plex%20Web&X-Plex-Version=4.30.2&X-Plex-Client-Identifier=c8tjlckb57jjc6dxmywr3igi&X-Plex-Platform=Firefox&X-Plex-Platform-Version=76.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Firefox&X-Plex-Device-Screen-Resolution=1920x948%2C1920x1080&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=cs&__fvd__ (13 live) TLS GZIP Signed-in
May 22, 2020 11:42:01.528 [0x7f84c5c03700] ERROR - Error parsing HTTP request: GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F1667&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=200&location=lan&addDebugOverlay=0&autoAdjustQuality=1&directStreamAudio=1&mediaBufferSize=102400&session=8ap693gfi1o4ku3vwombqch6&subtitles=burn&Accept-Language=cs&X-Plex-Session-Identifier=vmpbdvr2vv96ahn4rcki88z6&X-Plex-Client-Profile-Extra=append-transcode-target-codec%28type%3DvideoProfile%26context%3Dstreaming%26audioCodec%3Daac%26protocol%3Ddash%29&X-Plex-Product=Plex%20Web&X-Plex-Version=4.30.2&X-Plex-Client-Identifier=c8tjlckb57jjc6dxmywr3igi&X-Plex-Platform=Firefox&X-Plex-Platform-Version=76.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Firefox&X-Plex-Device-Screen-Resolution=1920x948%2C1920x1080&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=cs&__fvd__ HTTP/1.1
Host: 192-168-88-110.a19f266c897042778288f57e25031738.plex.direct:32400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Accept: */*
Accept-Language: cs,sk;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
X-FVD-Extra: yes
Connection: keep-alive

May 22, 2020 11:42:01.528 [0x7f84c5c03700] DEBUG - Completed: [192.168.88.242:11716] 400 GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F1667&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=200&location=lan&addDebugOverlay=0&autoAdjustQuality=1&directStreamAudio=1&mediaBufferSize=102400&session=8ap693gfi1o4ku3vwombqch6&subtitles=burn&Accept-Language=cs&X-Plex-Session-Identifier=vmpbdvr2vv96ahn4rcki88z6&X-Plex-Client-Profile-Extra=append-transcode-target-codec%28type%3DvideoProfile%26context%3Dstreaming%26audioCodec%3Daac%26protocol%3Ddash%29&X-Plex-Product=Plex%20Web&X-Plex-Version=4.30.2&X-Plex-Client-Identifier=c8tjlckb57jjc6dxmywr3igi&X-Plex-Platform=Firefox&X-Plex-Platform-Version=76.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Firefox&X-Plex-Device-Screen-Resolution=1920x948%2C1920x1080&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=cs&__fvd__ (13 live) TLS GZIP 0ms 355 bytes
May 22, 2020 11:42:01.530 [0x7f84aee6b700] DEBUG - Found session GUID of 8ap693gfi1o4ku3vwombqch6 in session start.
May 22, 2020 11:42:01.530 [0x7f84aee6b700] DEBUG - Cleaning directory for session 8ap693gfi1o4ku3vwombqch6 ()
May 22, 2020 11:42:01.530 [0x7f84aee6b700] DEBUG - Starting a transcode session 8ap693gfi1o4ku3vwombqch6 at offset -1.0 (state=3)
May 22, 2020 11:42:01.534 [0x7f84c5915700] DEBUG - Completed: [192.168.88.242:11715] 200 GET /photo/:/transcode?width=110&height=166&minSize=1&upscale=1&url=%2Flibrary%2Fmetadata%2F240%2Fthumb%2F1583209729%3FX-Plex-Token%3Dxxxxxxxxxxxxxxxxxxxx (12 live) TLS GZIP 197ms 6698 bytes (pipelined: 3)

Could you have malware in your browser?

Thank you, before posting some results of solving this problem. Can you please check the logs if are now ok?Plex Media Server Logs_2020-05-22_21-36-14.zip (1.4 MB)

I need only confirmation, server now play every files. Next post is workarround.

I am sorry. I did not understand the question properly. I’ve been thinking of changes lately. It’s my English’s fault.

I found addon named FVD installed in Firefox. I own this addon for years. Last update made a year ago. But in latest version of PMS this addon put something into server (security issue?). This thing broke HW Accel.

Workarround:
Latest version of PMS
Firefox with this addon FVD
Open Plex web with this firefox
Play movie and transcode stop working on every player (tizen, ios, chrome, explorer …)

How to repair:
Disable addon FVD
Start stop Plex in package center not fix problem
Restart DSM/Synology NAS FIX problem
Play movie and transcode start working.

I am really sorry for my fault and wasting your time with solving this problem.

Thank you for your time. Please can you post if logs are ok?

Have a nice weekend.

I am glad you found it. Enjoy!