Fresh Windows 10 install, Plex player will only run once then fails to launch until I delete Plex.ini

Server Version#: 1.19.5.3112
Player Version#: 1.16.0.1364

I just did a fresh install of Windows 10 and my Plex player is now broken. I can launch the app once, but then after that the app will no longer launch until I delete my %LocalAppData%\Plex\plex.ini file.

After I launch the app the first time, everything is fine. To reproduce the issue I launch the app, and then do absolutely nothing (not even sign in), and then close it. I can see that the Plex.exe process is no longer running.

Then, whenever I launch the app again, nothing happens visually. The Plex.exe process does actually start running, but no window ever comes up. It just stays there running invisibly, forever as far as I can tell.

I did find this difference in my Plex.log file when starting up in working/broken condition, and it does say there is an error:

No plex.ini, app launches correctly:

2020-08-03T11:22:07.629 [ DEBUG ] [MPVEngine] Property 'pause' set to 'yes' 

2020-08-03T11:22:07.653 [ DEBUG ] opengl texture atlas dimensions: 2048x1024 
2020-08-03T11:22:07.653 [ DEBUG ] R/G/B/A Buffers:   8 8 8 8 
2020-08-03T11:22:07.653 [ DEBUG ] Depth Buffer:      24 
2020-08-03T11:22:07.653 [ DEBUG ] Stencil Buffer:    8 
2020-08-03T11:22:07.653 [ DEBUG ] Samples:           0 
2020-08-03T11:22:07.653 [ DEBUG ] GL_VENDOR:         Google Inc. 
2020-08-03T11:22:07.653 [ DEBUG ] GL_RENDERER:       ANGLE (NVIDIA GeForce GTX 1070 Direct3D11 vs_5_0 ps_5_0) 
2020-08-03T11:22:07.653 [ DEBUG ] GL_VERSION:        OpenGL ES 3.0 (ANGLE 2.1.0.57ea533f79a7) 
2020-08-03T11:22:07.653 [ DEBUG ] GL_EXTENSIONS:     GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object 
2020-08-03T11:22:07.653 [ DEBUG ] Max Texture Size: 16384 
2020-08-03T11:22:07.653 [ DEBUG ] Debug context:    false 

2020-08-03T11:22:07.686 [ INFO  ] [MPVEngine] Playback has paused. 
2020-08-03T11:22:07.686 [ DEBUG ] [QHotkeyinput] Playback state is now 'Paused' 

Plex.ini exists, app fails to launch:

2020-08-03T11:21:34.161 [ DEBUG ] [MPVEngine] Property 'pause' set to 'yes' 

2020-08-03T11:21:34.161 [ WARN  ] qrc:/javascript/Utils.mjs:38:: qrc:/javascript/Utils.mjs:38: Error: Cannot assign [undefined] to int 

2020-08-03T11:21:34.167 [ INFO  ] [MPVEngine] Playback has paused. 
2020-08-03T11:21:34.167 [ DEBUG ] [QHotkeyinput] Playback state is now 'Paused' 

The opengl logging lines were replaced with "Error: Cannot assign [undefined] to int ".

Edit: I was able to find the specific key that prevents the app from launching correctly.

I have this section in my Plex.ini:

[ui]
visibility=4
screen=\\\\.\\DISPLAY2

If I delete just the screen key, the app will then launch correctly.

Edit #2: And a little more detail, I was trying a few more times, and on one of my launches my Plex.ini updated to read this:

[ui]
visibility=4
screen=\\\\.\\DISPLAY2
windowX=320
windowY=180
windowWidth=1280
windowHeight=720

It seems that once the window coordinates are written out to the file, the app then launches correctly from then on.

I do notice that there seems to be a delay in Plex writing out its last window coordinates. If I close the app shortly after changing the window size/position, it won’t always save. That’s something I had noticed in the past.

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