Windows Player (1.92, 1.93, 1.94, 1.95.3, 1.96.0 and 1.97.2) Crash on Start but 1.103.1.238

Server Version#: N/A
Player Version#: Plex-1.92.1.140-8e1f68f5-x86_64

The only interesting line in the logs (and only those for the Plex Server component of HTPC):
May 21, 2024 01:22:17.493 [32732] ERROR - [NanoServer/GPU] FATAL ERROR: Log: Error handling format string 'Cuda function failed with error {}': string pointer is null
and as I have AMD GPU, I wouldn’t have thought Cuda would be used.

I’ve reinstalled, deleted the Plex directories from %localappdata%\Plex, rebooted, read posts on here with similar symptoms, tried plex-htpc. I’ve gone back to Plex-1.91.0.129-1cd63c1d-x86_64 which works fine.

Attached log files are logs from both player-windows and plex-htpc including BOTH their Plex Media Server.log files (just the built-in server - I have no idea what its role is). I would have zipped them, but 7zip is not accepted and uploading a zip fails with “Sorry, there was an error uploading PlexLogs.zip. Please try again.”

OK, scrap that. Uploading plain log files gives error “Sorry, there was an error uploading Plex.log. Please try again.”

1.93.0.144-9b2f4a13 was just installed and it crashed on startup the same way that 1.92 did.
I’d post the logs, but I’m told “Sorry, there was an error uploading Plex.log. Please try again.”
It crashes after these last messages are logged (date/time and PID removed):

DEBUG - [Controllers] Loading QML engine.
INFO - [Controllers] Loading qrc:/views/PlayerCoverWindow.qml.
DEBUG - [Controllers] [QML] Loading QML component from qrc:/views/PlayerCoverWindow.qml.
DEBUG - [Controllers] windows render loop
DEBUG - [Controllers] Using sg animation driver
DEBUG - [Controllers] Animation Driver: using vsync: 16.67 ms

Where the working version would start logging opengl messages:

DEBUG - opengl texture atlas dimensions: 512x512
DEBUG - R/G/B/A Buffers:   8 8 8 8
DEBUG - Depth Buffer:      24
DEBUG - Stencil Buffer:    8
DEBUG - Samples:           0
DEBUG - GL_VENDOR:         Google Inc.
DEBUG - GL_RENDERER:       ANGLE (AMD Radeon RX 6900 XT Direct3D11 vs_5_0 ps_5_0)
DEBUG - GL_VERSION:        OpenGL ES 3.0 (ANGLE 2.1.0.57ea533f79a7)
...

The only error in the built-in Plex Media Server.log is

May 25, 2024 18:59:09.978 [13316] DEBUG - [GPU] Got device: AMD Radeon RX 6900 XT, amd@unknown, default true, best true, ID 1002:73af:1043:04fe, DevID [1002:73af:1043:04fe], flags 0x30044
May 25, 2024 18:59:11.562 [13316] ERROR - [GPU] FATAL ERROR: Log: Error handling format string 'Cuda function failed with error {}': string pointer is null

Note the time taken between detection message and error message.
Contrast the log from the 1.91 version:

May 25, 2024 18:25:59.571 [8824] DEBUG - [GPU] Got device: AMD Radeon RX 6900 XT, amd@unknown, default true, best true, ID 1002:73af:1043:04fe, DevID [1002:73af:1043:04fe], flags 0x30044
May 25, 2024 18:25:59.580 [8824] DEBUG - Grabber: Cleaning up orphaned grabs.

(The log line “Cleaning up orphaned grabs” appears above only to indicate that the GPU detection was not immediately followed by an error and to provide timing info.)

I’ve tried 1.94 and 1.95 and they also both crash on start in the same way.

I once had an Nvidia card in the PC, so maybe there’s some remnant that causes Plex player to try CUDA video acceleration calls, which then fail. Does anyone think that’s likely?

See Plex Windows Desktop App crashing constantly - #6 by BigWheel

Thanks for the suggestion, Otto.
As the player didn’t launch, I couldn’t figure out how to alter the hardware decoding configuration in 1.95. Assuming that setting is on by default, I reinstalled 1.91, switched OFF hardware decoding, and reinstalled 1.95, which still crashes on startup.
Nothing is playing, I have no mpv.conf file and the empty .sample and markup doc file don’t provide enough information to make one.
So I’m still looking for things to try.

Copy this into notepad.exe, then save it as pure text. Then rename the file to mpv.conf and copy it into the right place.

gpu-api=vulkan-radeon

Added C:\Program Files\Plex\Plex\mpv.conf with the gpu-api spec vulkan-radeon
but the same thing happens; Plex starts and displays an empty window, then shuts down.

Call me stumped.

Try this:
close the player
now empty out the whole configuration folder

Plex for Windows:
C:\Users\<username>\AppData\Local\Plex

Plex HTPC:
C:\Users\<username>\AppData\Local\Plex HTPC

Which Windows version is this, btw?

Deleting the configuration folder makes no appreciable difference.
The logs always stop at the same place, marked “*****” below:

Jun 29, 2024 15:22:27.618 [34856] DEBUG - Max Texture Size: 16384
Jun 29, 2024 15:22:27.618 [34856] DEBUG - Debug context:    false
Jun 29, 2024 15:22:27.651 [34856] INFO - [Controllers] Loading qrc:/views/WebWindow.qml.
Jun 29, 2024 15:22:27.651 [34856] DEBUG - [Controllers] [QML] Loading QML component from qrc:/views/WebWindow.qml.
*****
Jun 29, 2024 15:22:27.801 [34856] WARN - [Controllers] Invalid port given for the inspector server "0". Examples of valid input: "12345" or "192.168.2.14:12345" (with the address of one of this host's network interface).
Jun 29, 2024 15:22:28.182 [34856] INFO - [Controllers/WebController] Launching: file:///C:/Program Files/Plex/Plex/web-client/index.html
Jun 29, 2024 15:22:28.284 [34856] DEBUG - Setting up MPV with parent window 0xb0d34
Jun 29, 2024 15:22:28.285 [34012] DEBUG - [MPVEngine] Property 'wid' set to '724276'
Jun 29, 2024 15:22:28.285 [34012] DEBUG - [MPVEngine/mpv] cplayer: Set property: wid=724276 -> 1
Jun 29, 2024 15:22:28.458 [34856] INFO - Accepting navigation request (TypedNavigation): file:///C:/Program Files/Plex/Plex/web-client/index.html
Jun 29, 2024 15:22:29.233 [34012] DEBUG - Executed command '["stop",]'
Jun 29, 2024 15:22:29.245 [34856] ERROR - [Web] myPlexAccessToken is not in BasicVolatileStorage

Does loading WebWindow.qml fail?
Perhaps the invalid port WARNing is a fatal error since 1.92?

I’m running Windows 10 22H2.

Is this the whole log?
If not, please post the whole thing.
Please zip it before posting.

In the attached zip, Plex.log is from 1.95 and Plex.1.log, mildly redacted, is from 1.91
Oh. Except “Sorry, there was an error uploading ForOtto.zip. Please try again.”
That was with Firefox, I will try the Edge browser.
ForOtto.zip (16.1 KB)

What’s the model of your GPU?

I am using a Radeon RX 6900 XT
Driver is Adrenalin 24.5.1 (I’m just about to update it to 24.6.1)

1 Like

Developers confirmed this as a likely cause.
Do you still see the nVidia driver software listed among the Apps control panel? If so, try uninstalling them.

Removed

  • Nvidia control pannel
  • Nvidia FrameView SDK
  • Nvidia Graphics driver
  • Nvidia HD audio driver
  • Nvidia Physx system software

I needed to use the DDU app (device driver uninstaller) as the Nvidia native uninstaller for the graphics and HD audio drivers silently failed.
Despite feeling good about this possible solution, it has made no difference; Plex still fails two to three seconds after starting.

Could you fetch another player log, please?

Please find enclosed the latest Plex.log zipped
Plex.zip (6.1 KB)

1 Like

UltraCompare tells me there is no substantive difference in the lines logged by 1.95.3 and 1.91.0, except that 1.95.3 stops logging early.
They say the same thing until
WARN - [Controllers] Invalid port given for the inspector server "0". ...
then 1.91.0 will continue with

INFO - [Controllers/WebController] Launching: file:///C:/Program Files/Plex/Plex/web-client/index.html
DEBUG - Setting up MPV with parent window 0x508ca
DEBUG - [MPVEngine] Property 'wid' set to '329930'
DEBUG - [MPVEngine/mpv] cplayer: Set property: wid=329930 -> 1
INFO - Accepting navigation request (TypedNavigation): file:///C:/Program Files/Plex/Plex/web-client/index.html
DEBUG - Executed command '["stop",]'
ERROR - [Web] myPlexAccessToken is not in BasicVolatileStorage

etcetera.

Do you use 3rd-party anti virus software?

Is this file existing in this folder? C:/Users/sean/AppData/Local/Plex/scripts/scripting.md