Plex Windows Desktop App crashing constantly

Server Version#: 1.40.2.8395 RaspberryPi4 docker compose image: linuxserver/plex:latest
Player Version#: 1.94.1.155-f1e7f457 windows app
OS#: Windows 11, Ser5 max Mini PC, AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz, 64-bit operating system

Hi,

I am having this issue when playing with every tv/movie episode from my local direct and remote plex servers.
DEBUG - Failed to stream media, client probably disconnected after 2097152 bytes: 104 - Connection reset by peer

Plex Windows Destop App and Plex HTPC crashes/closes from itself.

I would appreciate if someone could please help me.

Every other app works fine.
The browser web works fine on the mini pc but the windows app crashes.

plex-client.log

Jun 09, 2024 18:01:13.353 [547820904672] DEBUG - Completed: [192.168.1.57:56925] 200 GET /statistics/bandwidth?timespan=6 (14 live) #deba TLS GZIP 5ms 1895 bytes (pipelined: 12)
Jun 09, 2024 18:01:13.377 [547820904672] DEBUG - handleStreamRead code 104: Connection reset by peer
Jun 09, 2024 18:01:13.377 [547820904672] DEBUG - NotificationStream: Removing because of error
Jun 09, 2024 18:01:13.377 [547820904672] DEBUG - Completed after connection close: [192.168.1.57:56848] -3 GET /:/websockets/notifications (14 live) #ca3e TLS GZIP 38599ms 6858 bytes
Jun 09, 2024 18:01:13.391 [547818795232] DEBUG - Failed to stream media, client probably disconnected after 1064960 bytes: 104 - Connection reset by peer
Jun 09, 2024 18:01:13.392 [547818795232] DEBUG - Completed after connection close: [192.168.1.57:56959] 206 GET /library/parts/86

those looks like the logs from server just saying the app disconnected, presumably when it crashed. Would need the desktop player logs

Here is my log sir.
Plex.log (234.7 KB)

Once the app starts crashing, I tried to reopen the plex app to no avail. The plex app keeps crashing; I can’t open it until I “stop playback” in the web browser dash board settings.

What is video playback quality set to in Settings - ‘Show Advanced’ - Plex for Windows - Player

Also is the “Hardware Decoding” check box on the same page enabled?

Have you customized your mpv.conf file or added custom .lua scripts?

Plex for Windows—Quality “Make My GPU Hurt” but everything is Direct Play I don’t transcode anything.

Hardware Decoding is not enabled I did turn it off.

yes I have customized my mpv.conf Thank you I just fixed it seems gpu-api=vulkan and gpu-context=winvk did crash my plex client. Once I did set them to auto it worked.

1 Like

But why does gpu-api=vulkan not work for me?
Why does gpu-api=vulkan make plex crash?

I asked a dev and they thought it could be that you had hardware decoding disabled.

I also found that there was a vulkan-radeon api you might try instead

The dev also asked if the issue appears if you use those values with the standalone MPV app

Hi,

Sorry for my late reply.
I will try vulkan-radeon and let you know.

Also the issue does not appear on standalone MPV app!! The standalone MPV app works fine with these values gpu-api=vulkan.

Where is the mpv.conf file located please?

C:\Users\USERNAME\AppData\Local\Plex
AppData is a hidden folder.

Hi,

I tested it and
The vulkan-radeon api does also crash for me

After no proper resolution from the Plex team regarding this issue, especially on fresh installs of Windows I decided to get my own team working on this issue and this is what they discovered.

It seems that the plex players no longer work with the windows default graphics drivers (the ones that are installed from Microsoft).

It would have been nice if Plex had put a message explaining that they had blocked the default drivers and to why. This effects all drivers, i.e Intel, AMD and Nvidia.

Solution: When setting up fresh install of Windows, uninstall the default driver (instead of installing new driver), once re-booted you can then install the drivers from either Intel, AMD or Nvidia and then all works without changing or deleting any of the Plex player files.

Having a very similiar sounding issue here; Was there a way around this without doing a full windows install?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.