Plex HTPC Crashing

Switched to Plex HTPC to retain remote control functionality, but the thing won’t stay running, it crashes on media load some of the time, and some of the time just idling.

Aug 21, 2022 11:38:53.304 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.304 [14304] INFO - [Engine] Queue media: {"audio":{"index":0},"decision":{"metadataItem":{"Guid":[{"id":"imdb://tt1091290"},{"id":"tmdb://64765"},{"id":"tvdb://337249"}],"Rating":[{"image":"themoviedb://image.rating","type":"audience","value":7.1}],"addedAt":1661026177,"art":"/library/metadata/476/art/1661014068","audienceRating":7.1,"audienceRatingImage":"themoviedb://image.rating","containerSourceUri":"server://transient-598e9b96f5bfcb72cb6cccdb9cea50f1aac903d9/com.plexapp.plugins.library","contentRating":"TV-14","directors":[{"filter":"director=2772","id":2772,"tag":"Mark Cendrowski"}],"duration":1319008,"grandparentArt":"/library/metadata/476/art/1661014068","grandparentGuid":"plex://show/5d9c086c02391c001f5891b3","grandparentKey":"/library/metadata/476","grandparentRatingKey":"476","grandparentTheme":"/library/metadata/476/theme/1661014068","grandparentThumb":"/library/metadata/476/thumb/1661014068","grandparentTitle":"The Big Bang Theory","guid":"plex://episode/5d9c1279ffd9ef001ea00795","index":3,"key":"/library/metadata/482","lastViewedAt":1661032439,"librarySectionID":"2","librarySectionKey":"/library/sections/2","librarySectionTitle":"TV Shows","mediaItems":[{"aspectRatio":1.78,"audioChannels":6,"audioCodec":"eac3","bitrate":9405,"container":"mkv","duration":1319008,"height":1080,"id":"1042","parts":[{"accessible":true,"container":"mkv","duration":1319008,"exists":true,"file":"D:\\Media\\TV\\Big Bang Theory\\Season 01\\The.Big.Bang.Theory.S01E03.The.Fuzzy.Boots.Corollary.1080p.AMZN.WEB-DL.DDP5.1.H265-SiGMA.mkv","id":1042,"key":"/library/parts/1042/1661013091/file.mkv","offset":0,"size":1551008899,"streams":[{"bitDepth":8,"bitrate":8765,"chromaLocation":"left","chromaSubsampling":"4:2:0","codec":"hevc","codedHeight":1080,"codedWidth":1920,"colorPrimaries":"bt709","colorRange":"tv","colorSpace":"bt709","colorTrc":"bt709","default":true,"displayTitle":"1080p (HEVC Main)","extendedDisplayTitle":"1080p (HEVC Main)","frameRate":23.976,"height":1080,"id":2430,"index":0,"level":120,"profile":"main","refFrames":1,"streamType":1,"width":1920},{"audioChannelLayout":"5.1(side)","bitrate":640,"channels":6,"codec":"eac3","default":true,"displayTitle":"English (EAC3 5.1)","extendedDisplayTitle":"English (EAC3 5.1)","id":2431,"index":1,"language":"English","languageCode":"eng","languageTag":"en","samplingRate":48000,"selected":true,"streamType":2},{"bitrate":0,"codec":"srt","displayTitle":"English (SRT)","extendedDisplayTitle":"English (SDH) (SRT)","id":2432,"index":2,"language":"English","languageCode":"eng","languageTag":"en","streamType":3,"title":"English (SDH)"}],"videoProfile":"main"}],"videoCodec":"hevc","videoFrameRate":"24p","videoProfile":"main","videoResolution":"1080","width":1920}],"metadataSourceUri":"server://transient-598e9b96f5bfcb72cb6cccdb9cea50f1aac903d9/com.plexapp.plugins.library/library/metadata/482","originallyAvailableAt":"2007-10-08","parentGuid":"plex://season/602e67a991bd55002cf85593","parentIndex":1,"parentKey":"/library/metadata/477","parentRatingKey":"477","parentThumb":"/library/metadata/477/thumb/1661014068","parentTitle":"Season 1","producers":[{"filter":"producer=2776","id":2776,"tag":"David Litt"}],"ratingKey":"482","roles":[{"filter":"actor=2665","id":2665,"role":"Dance Instructor","tag":"Sherry Weston","tagKey":"5d7768507228e5001f1e1e79","thumb":"https://metadata-static.plex.tv/3/people/31d980c9f336c2cd15752991d8e72fb4.jpg"},{"filter":"actor=2667","id":2667,"role":"Doug","tag":"Allen Nabors","tagKey":"5d77687a3ab0e7001f5025be","thumb":"https://metadata-static.plex.tv/a/people/a9cbdf6107caaf8c9a180253b3b69fba.jpg"},{"filter":"actor=2782","id":2782,"role":"Waitress","tag":"Treisa Gary","tagKey":"5d776caaf617c90020183f5b","thumb":"https://metadata-static.plex.tv/people/5d776caaf617c90020183f5b.jpg"},{"filter":"actor=2581","id":2581,"role":"Leslie Winkle","tag":"Sara Gilbert","tagKey":"5d77682661141d001fb1358f","thumb":"https://metadata-static.plex.tv/6/people/66ed87878ea850284f2979efe5acebcc.jpg"}],"summary":"Leonard asks a woman out after he finds out that Penny is seeing someone.","thumb":"/library/metadata/482/thumb/1661026178","title":"The Fuzzy Boots Corollary","titleSort":"Fuzzy Boots Corollary","type":"episode","updatedAt":1661026178,"writers":[{"filter":"writer=2766","id":2766,"tag":"Chuck Lorre"},{"filter":"writer=2781","id":2781,"tag":"Steven Molaro"},{"filter":"writer=2767","id":2767,"tag":"Bill Prady"}]},"selectedAudioStream":{"audioChannelLayout":"5.1(side)","bitrate":640,"channels":6,"codec":"eac3","default":true,"displayTitle":"English (EAC3 5.1)","extendedDisplayTitle":"English (EAC3 5.1)","id":2431,"index":1,"language":"English","languageCode":"eng","languageTag":"en","samplingRate":48000,"selected":true,"streamType":2},"selectedVideoStream":{"bitDepth":8,"bitrate":8765,"chromaLocation":"left","chromaSubsampling":"4:2:0","codec":"hevc","codedHeight":1080,"codedWidth":1920,"colorPrimaries":"bt709","colorRange":"tv","colorSpace":"bt709","colorTrc":"bt709","default":true,"displayTitle":"1080p (HEVC Main)","extendedDisplayTitle":"1080p (HEVC Main)","frameRate":23.976,"height":1080,"id":2430,"index":0,"level":120,"profile":"main","refFrames":1,"streamType":1,"width":1920}},"effectiveFrameRate":23.976,"startPositionSeconds":0,"subtitle":{"index":-1,"url":""},"type":"video","url":"http://127.0.0.1:32400/library/parts/1042/1661013091/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx9e8-4527-8015-fe1330e7fead&X-Plex-Product=Plex%20HTPC%20for%20Windows&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.22000&X-Plex-Model=Gecko&X-Plex-Device=&X-Plex-Device-Name=Indigo&X-Plex-Device-Vendor=Plex&X-Plex-Device-Screen-Resolution=2560x1440&X-Plex-Drm=widevine%3Avideo&X-Plex-Version=1.23.2.3194-7787f5be&X-Plex-Client-Identifier=wv44ujis5b9oo1szo6emxifg&X-Plex-Language=en&X-Plex-Features=external-media%2Cindirect-media&Accept=application%2Fjson&Accept-Language=en"}
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine] Queue called with startPositionSeconds=0
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine] Queue called with audio.index=0
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine] Queue called with subtitle.index=-1 subtitle.url=
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine] [Widevine] Updated URL: .
Aug 21, 2022 11:38:53.304 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'audio-client-name' set to 'Plex HTPC'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'demuxer-lavf-probe-info' set to 'true'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'demuxer-mkv-probe-start-time' set to 'false'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'demuxer-seekable-cache' set to 'yes'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'gpu-hwdec-interop' set to 'auto'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'gpu-shader-cache-dir' set to '~~home/shader-cache'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'title' set to 'Plex HTPC'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'tls-verify' set to 'yes'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'osd-level' set to '0'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'audio-display' set to 'false'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'pause' set to 'yes'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'deinterlace' set to 'false'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'speed' set to '1'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'volume' set to '100'
Aug 21, 2022 11:38:53.304 [14304] DEBUG - [Engine/MPVEngine] Property 'audio-normalize-downmix' set to 'yes'
Aug 21, 2022 11:38:53.304 [14304] INFO - [Engine/MPVEngine] Loading http://127.0.0.1:32400/library/parts/1042/1661013091/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx9e8-4527-8015-fe1330e7fead&X-Plex-Product=Plex%20HTPC%20for%20Windows&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.22000&X-Plex-Model=Gecko&X-Plex-Device=&X-Plex-Device-Name=Indigo&X-Plex-Device-Vendor=Plex&X-Plex-Device-Screen-Resolution=2560x1440&X-Plex-Drm=widevine%3Avideo&X-Plex-Version=1.23.2.3194-7787f5be&X-Plex-Client-Identifier=wv44ujis5b9oo1szo6emxifg&X-Plex-Language=en&X-Plex-Features=external-media%2Cindirect-media&Accept=application%2Fjson&Accept-Language=en into MPV.
Aug 21, 2022 11:38:53.305 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.306 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.306 [14304] DEBUG - [Engine/MPVEngine] Property 'start' set to '+0'
Aug 21, 2022 11:38:53.306 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.306 [14304] DEBUG - [Engine/MPVEngine] Property 'aid' set to 'no'
Aug 21, 2022 11:38:53.306 [14304] DEBUG - [Engine/MPVEngine] Property 'sid' set to 'no'
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: audio-client-name="Plex HTPC" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: demuxer-lavf-probe-info=true -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: demuxer-mkv-probe-start-time=false -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: demuxer-seekable-cache="yes" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: gpu-hwdec-interop="auto" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: gpu-shader-cache-dir="~~home/shader-cache" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: title="Plex HTPC" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: tls-verify="yes" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: osd-level="0" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: audio-display=false -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: pause="yes" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: deinterlace=false -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: speed=1.000000 -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: volume=100.000000 -> 1
Aug 21, 2022 11:38:53.307 [14304] WARN - [MPVEngine/mpv] cplayer: Option af-remove: item label @ac3 not found.
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: audio-normalize-downmix="yes" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_load
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] ytdl_hook: ytdl:// hook 
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: start="+0" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] ytdl_hook: not a ytdl:// url 
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: aid="no" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: sid="no" -> 1
Aug 21, 2022 11:38:53.307 [14304] DEBUG - [MPVEngine/mpv] ffmpeg: Opening http://127.0.0.1:32400/library/parts/1042/1661013091/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx9e8-4527-8015-fe1330e7fead&X-Plex-Product=Plex%20HTPC%20for%20Windows&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.22000&X-Plex-Model=Gecko&X-Plex-Device=&X-Plex-Device-Name=Indigo&X-Plex-Device-Vendor=Plex&X-Plex-Device-Screen-Resolution=2560x1440&X-Plex-Drm=widevine%3Avideo&X-Plex-Version=1.23.2.3194-7787f5be&X-Plex-Client-Identifier=wv44ujis5b9oo1szo6emxifg&X-Plex-Language=en&X-Plex-Features=external-media%2Cindirect-media&Accept=application%2Fjson&Accept-Language=en
Aug 21, 2022 11:38:53.307 [14248] INFO - [Web] 07/00/2022 11:38:53:307 [malianx:wv44ujis5b9oo1szo6emxifg] DEBUG [QWebChannel(player.queue)] response: {"errorCode":0,"result":null}
Aug 21, 2022 11:38:53.307 [14248] DEBUG - Disabling OS screensaver
Aug 21, 2022 11:38:53.307 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.308 [14248] INFO - [Web] 07/00/2022 11:38:53:307 [malianx:wv44ujis5b9oo1szo6emxifg] DEBUG [QWebChannel(system.set)] sleepEnabled: {"errorCode":0,"result":{"sleepEnabled":{"errorCode":0,"result":null}}}
Aug 21, 2022 11:38:53.308 [14248] INFO - [Web] 07/00/2022 11:38:53:307 [malianx:wv44ujis5b9oo1szo6emxifg] DEBUG [48173] executing queued promise (0 remaining)
Aug 21, 2022 11:38:53.308 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.308 [14248] INFO - [Web] 07/00/2022 11:38:53:307 [malianx:wv44ujis5b9oo1szo6emxifg] DEBUG [QWebChannel(player.play)] sending: []
Aug 21, 2022 11:38:53.308 [14304] INFO - [MPVEngine] Resuming playback.
Aug 21, 2022 11:38:53.308 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.308 [14248] INFO - [Web] 07/00/2022 11:38:53:308 [malianx:wv44ujis5b9oo1szo6emxifg] DEBUG [QWebChannel(player.play)] response: {"errorCode":0,"result":null}
Aug 21, 2022 11:38:53.308 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.308 [14304] INFO - [MPVEngine] Playback has resumed.
Aug 21, 2022 11:38:53.308 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: pause=no -> 1
Aug 21, 2022 11:38:53.308 [14248] DEBUG - [QHotkeyInput] Playback state is now 'Playing'
Aug 21, 2022 11:38:53.309 [14304] WARN - [MPVEngine/mpv] cplayer: Warning: property 'video-aspect' is deprecated, refer to 'video-params/aspect' and 'video-aspect-override'.
Aug 21, 2022 11:38:53.309 [14248] INFO - [Web] 07/00/2022 11:38:53:308 [malianx:wv44ujis5b9oo1szo6emxifg] INFO [PlaybackSessionController] playback state changed to: playing
Aug 21, 2022 11:38:53.309 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.309 [18184] INFO - Debug info:
File: 
  URL:  http://127.0.0.1:32400/library/parts/1042/1661013091/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx9e8-4527-8015-fe1330e7fead&X-Plex-Product=Plex%20HTPC%20for%20Windows&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.22000&X-Plex-Model=Gecko&X-Plex-Device=&X-Plex-Device-Name=Indigo&X-Plex-Device-Vendor=Plex&X-Plex-Device-Screen-Resolution=2560x1440&X-Plex-Drm=widevine%3Avideo&X-Plex-Version=1.23.2.3194-7787f5be&X-Plex-Client-Identifier=wv44ujis5b9oo1szo6emxifg&X-Plex-Language=en&X-Plex-Features=external-media%2Cindirect-media&Accept=application%2Fjson&Accept-Language=en 
  Container:  ? 
  Native seeking:  no 

Video: 
  Codec:  ? 
  Size:  ? x ? 
  Duration:  0.00 
  FPS (container):  0.00 
  FPS (filters):  0.00 
  Aspect:  -1.00 
  Bitrate:  ? 
  Display FPS:  0.00 
  Hardware Decoding:  ?  ( ? ) 

Audio:  
  Codec:  ? 
  Bitrate:  ? 
  Channels:  ?  (  )  ->  ?  (  ) 
  Output driver:  ? 

Cache: 
  Total Used (B):  ? 
  Forward Used (B):  ? 
  Forward Available (B):  157,286,400 
  Backward Available (B):  52,428,800 
  Speed (bytes per second):  ? 

Misc:  
  Seekable:  ? 
  Partially seekable:  ? 
  Paused for cache:  ? 
  Buffering state:  ? 
  Frame drop count:  ? 
  Time:  0.00  /  0.00  ( 0.00 %) 
  State:    waiting   
Aug 21, 2022 11:38:53.310 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.310 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.310 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.310 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.311 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.311 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.313 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.313 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.313 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.314 [14304] DEBUG - [MPVEngine/mpv] ffmpeg: Could not set AVOption tls_verify='1'
Aug 21, 2022 11:38:53.314 [14304] DEBUG - [MPVEngine/mpv] ffmpeg: Mime-type: 'video/x-matroska'
Aug 21, 2022 11:38:53.314 [14304] DEBUG - [MPVEngine/mpv] demux: Trying demuxers for level=normal.
Aug 21, 2022 11:38:53.369 [14304] DEBUG - [MPVEngine/mpv] mkv: Seeking to 1550990986 to read header element 0x1c53bb6b.
Aug 21, 2022 11:38:53.369 [14304] DEBUG - [MPVEngine/mpv] ffmpeg: stream level seek from 32768 to 1550990986
Aug 21, 2022 11:38:53.375 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.387 [14304] DEBUG - [MPVEngine/mpv] mkv: Parsing cues...
Aug 21, 2022 11:38:53.387 [14304] DEBUG - [MPVEngine/mpv] mkv: Seeking to 1551007740 to read header element 0x1254c367.
Aug 21, 2022 11:38:53.387 [14304] DEBUG - [MPVEngine/mpv] ffmpeg: stream level seek from 1551008899 to 5730
Aug 21, 2022 11:38:53.399 [14304] DEBUG - [MPVEngine/mpv] mkv: All headers are parsed!
Aug 21, 2022 11:38:53.400 [14304] DEBUG - [MPVEngine/mpv] demux: Detected file format: Matroska
Aug 21, 2022 11:38:53.400 [14304] DEBUG - [MPVEngine/mpv] cplayer: Opening done: http://127.0.0.1:32400/library/parts/1042/1661013091/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx9e8-4527-8015-fe1330e7fead&X-Plex-Product=Plex%20HTPC%20for%20Windows&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.22000&X-Plex-Model=Gecko&X-Plex-Device=&X-Plex-Device-Name=Indigo&X-Plex-Device-Vendor=Plex&X-Plex-Device-Screen-Resolution=2560x1440&X-Plex-Drm=widevine%3Avideo&X-Plex-Version=1.23.2.3194-7787f5be&X-Plex-Client-Identifier=wv44ujis5b9oo1szo6emxifg&X-Plex-Language=en&X-Plex-Features=external-media%2Cindirect-media&Accept=application%2Fjson&Accept-Language=en
Aug 21, 2022 11:38:53.401 [14304] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_preloaded
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Property 'aid' set to '1'
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Property 'sid' set to 'no'
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Checking codecs.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Updating cached decoders.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Updating cached decoders.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec 012v.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec ssa.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec cc_dec.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec mov_text.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec eac3_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec wmalossless_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec wmapro_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec wmav1_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec wmav2_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec wmavoice_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec eac3_eae.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec truehd_eae.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec mlp_eae.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec ssa.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec dvbsub.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec dvdsub.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec mov_text.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec eac3_eae.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec aac_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec h264_mf.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec h264_nvenc.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec h264_qsv.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Adding installed non-manifest codec hevc_mf.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Determining required decoders.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/CodecManager] Finding a suitable decoder for hevc.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecManager]   Non-system decoder %1 is present.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/CodecManager]   Best decoder is hevc (score=15).
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/CodecManager] Finding a suitable decoder for eac3.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecManager]   System decoder %1 is whitelisted.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecManager]   %1 is a supported EAE decoder.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/CodecManager]   Best decoder is eac3_mf (score=10).
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecManager] Ignoring subtitle stream srt.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Starting to fetch codecs.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] Codec hevc already exists.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] Not enqueuing hevc
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] Codec eac3_mf already exists.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] Not enqueuing eac3_mf
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] There are no more codecs to fetch.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/CodecFetcher] Telling FFmpeg that codecs folder needs to be re-scanned.
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Done fetching codecs. Result: 0
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine] Changing Refresh Rate/Resolution/HDR is disabled.
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine] Property 'audio-delay' set to '0'
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] cplayer: Running hook: main/on_preloaded
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: aid="1" -> 1
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: sid="no" -> 1
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] cplayer: Set property: audio-delay=0.000000 -> 1
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] mkv: select track 0
Aug 21, 2022 11:38:53.402 [14304] DEBUG - [MPVEngine/mpv] mkv: select track 1
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/mpv] cplayer:  (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/mpv] cplayer:  (+) Audio --aid=1 --alang=eng (*) (eac3 6ch 48000Hz)
Aug 21, 2022 11:38:53.402 [14304] INFO - [MPVEngine/mpv] cplayer:      Subs  --sid=1 --slang=eng 'English (SDH)' (subrip)
Aug 21, 2022 11:38:53.403 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Initializing GPU context 'd3d11'
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Using Direct3D 11 feature level 12_1
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Device Name: NVIDIA GeForce RTX 3090
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Device ID: 10de:2204 (rev a1)
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Subsystem ID: 1458:4043
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: LUID: 000000000001001d
Aug 21, 2022 11:38:53.425 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Initializing SPIR-V compiler 'shaderc'
Aug 21, 2022 11:38:53.427 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Using Direct3D 11.1 runtime
Aug 21, 2022 11:38:53.427 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: Maximum Texture2D size: 16384x16384
Aug 21, 2022 11:38:53.427 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/d3d11: D3DCompiler version: 10.0.18362.1
Aug 21, 2022 11:38:53.432 [14304] ERROR - [MPVEngine/mpv] vo/gpu/win32: unable to create window!
Aug 21, 2022 11:38:53.432 [14304] DEBUG - [MPVEngine/mpv] vo/gpu/win32: uninit
Aug 21, 2022 11:38:53.441 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Initializing GPU context 'd3d11'
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Using Direct3D 11 feature level 12_1
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Device Name: NVIDIA GeForce RTX 3090
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Device ID: 10de:2204 (rev a1)
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Subsystem ID: 1458:4043
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: LUID: 000000000001001d
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Initializing SPIR-V compiler 'shaderc'
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Using Direct3D 11.1 runtime
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: Maximum Texture2D size: 16384x16384
Aug 21, 2022 11:38:53.464 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/d3d11: D3DCompiler version: 10.0.18362.1
Aug 21, 2022 11:38:53.467 [14304] ERROR - [MPVEngine/mpv] vo/gpu-next/win32: unable to create window!
Aug 21, 2022 11:38:53.467 [14304] DEBUG - [MPVEngine/mpv] vo/gpu-next/win32: uninit
Aug 21, 2022 11:38:53.583 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:53.583 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Aug 21, 2022 11:38:55.539 [14248] INFO - [Web] 07/00/2022 11:38:55:536 [malianx:wv44ujis5b9oo1szo6emxifg] INFO [Server] Finished testing Indigo. Result: Completed. Status: ready
Aug 21, 2022 11:38:55.541 [14248] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)

Sure would have been better if they hadn’t started stripping features from the other desktop player without making sure this monstrosity even runs.

I’m also looking for a solution here. I almost just made my own topic and have logs if it will help. I see the same:

QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)

Line multiple times in my log including the last two lines before the crash. Anyone have an idea what’s going on here?

This is a bug in SDL2 and can be worked around by disconnecting controllers before using the app.

BTW, I’ve mentioned this several times before so searching the forums would’ve yielded an answer more quickly.

Unfortunately that does not fix it, it crashes unpredictably with or without controllers connected. I did in fact search multiple times and find that suggestion. Also disabling update checker which does not seem to even be an option anymore.

edit (the logs that I provided were under a session with no controller plugged in from boot up to shutdown)

I always have a controller connected as I also game on my computer. Though I did try to purposefully plug it in after starting HTPC and still experienced the crash.

I’m afraid I’m unfamiliar with SDL2. Do you expect this bug to be fixed? Should we stop using Plex HTPC? My experience is significantly worse than the Plex Media Player experience I am used to as HTPC reliably crashes after a couple episodes of a tv show. Not to mention boot up time is much longer, possibly due to the same issue.

New version of Plex HTPC. 1.24.2.3216, posted yesterday 8/30/200, is still crashing randomly while open and at the end of most episodes/movies if controlled by the android app (which is the reason that player exists apparently, since it has feature parity with plex for windows otherwise).

No controller ever plugged into system.

Yesterday I was playing around with different remotes and trying different input maps
I moved a .json file into the C:\Users\USERNAME\AppData\Local\PlexHTPC\inputmaps

It crashed Plex, the screen went black and I even lost mouse and keyboard function.

I’m sure it’s advisable to close Plex before you move a file into the folder but I would expect the remote not to work

Not crash the computer

(The input maps support article doesn’t say you should close Plex before you do this)

Idk if this is a related issue or not but I thought I’d mention it just in case

I’m not having random crashes but I’m not using this as a daily driver yet and I don’t have a controller connected at all

The controller crash is absurd. When using Kodi to enter, you basically have to disable your controller. Even post launch, Plex HTPC doesn’t even react to a dual sense controller…

It’s basically useless in my HT.

Having no changelog for updates is basically adding insult to injury as well, blind updates that we have to install to see if any features were added or bugs addressed, neither being apparent basically ever.

Here you go… change logs are not secret.

I finally found a workaround for this issue that actually works. It is very definitively a bug in SDL2 and the workaround I found is for a different issue in SDL2 but appears to work around this issue as well.

There has to be more than one issue at play since it crashes on sessions where no controller was connected from boot to shutdown. Any progress towards a working application is good though I suppose.

Still crashing on the Sept 7th version. Anyone got any suggestions for better player software?

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