Solved Big pauses on file access - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Solved Big pauses on file access (/showthread.php?tid=367421) Pages:
1
2
|
Big pauses on file access - Soobz - 2022-03-11 This has been driving me nuts. I get big pauses of 1 minute or so when going into my media, or opening a directory, or when the video stop playing (I don't think it's paused on video start). I've wiped everything ie. all settings files, reinstalled, not installed any addons, added 1 USB drive as the file source. Looks like CGUIMediaWindow::GetDirectory() could be the fault but why? Here is the relevant part of the log, I'm on the "Videos" screen, enabled debug, and clicked "Files"; 2022-03-11 11:06:48.908 T:13084 INFO <general>: Log level changed to "TRACE" 2022-03-11 11:06:48.908 T:13084 INFO <general>: Enabled debug logging due to GUI setting. Level 2. 2022-03-11 11:06:48.909 T:13084 DEBUG <general>: Skipped 1 duplicate messages.. 2022-03-11 11:06:48.909 T:13084 DEBUG <general>: ------ Window Init () ------ 2022-03-11 11:06:48.971 T:13084 DEBUG <general>: Keyboard: scancode: 0x20, sym: 0x100, unicode: 0x0000, modifier: 0x65 2022-03-11 11:06:49.021 T:13084 DEBUG <general>: Keyboard: scancode: 0x2a, sym: 0x304, unicode: 0x0000, modifier: 0x64 2022-03-11 11:06:49.038 T:13084 DEBUG <general>: Keyboard: scancode: 0x1d, sym: 0x306, unicode: 0x0000, modifier: 0x0 2022-03-11 11:06:49.773 T:13084 DEBUG <general>: ------ Window Init (Pointer.xml) ------ 2022-03-11 11:06:51.223 T:13084 DEBUG <general>: CInputManager:rocessMouse: trying mouse action leftclick 2022-03-11 11:06:51.225 T:13084 DEBUG <general>: CGUIMediaWindow::GetDirectory (library://video/files.xml/) 2022-03-11 11:06:51.225 T:13084 DEBUG <general>: ParentPath = [] 2022-03-11 11:06:51.225 T:189064 DEBUG <general>: Thread waiting start, auto delete: false 2022-03-11 11:06:51.325 T:13084 DEBUG <general>: ------ Window Init (DialogBusy.xml) ------ 2022-03-11 11:07:54.264 T:189064 DEBUG <general>: Thread waiting 189064 terminating 2022-03-11 11:07:54.269 T:13084 DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------ 2022-03-11 11:07:54.269 T:13084 DEBUG <general>: Saving fileitems [sources://video/] 2022-03-11 11:07:54.271 T:13084 DEBUG <general>: -- items: 2, sort method: 0, ascending: true 2022-03-11 11:07:54.276 T:190116 DEBUG <general>: Thread BackgroundLoader start, auto delete: false 2022-03-11 11:07:54.285 T:190116 DEBUG <general>: Thread BackgroundLoader 190116 terminating RE: Big pauses on file access - Klojum - 2022-03-11 (2022-03-11, 03:06)Soobz Wrote: Here is the relevant part of the log Don't paste log chunks in the forum / Full logs only via Kodi's paste service (link below in bright bold red text...) or a pastebin website. As always, puzzles rarely get solved with only a few pieces. RE: Big pauses on file access - Soobz - 2022-03-12 https://paste.kodi.tv/zutubukopi.kodi Hopefully I did that right. Pause is at 15:10:48 I have noticed I can access files no pauses early after Kodi starts then after a little while I get the pauses when accessing files, so probably something loading in the background is causing the issue. RE: Big pauses on file access - Klojum - 2022-03-12 (2022-03-12, 06:48)Soobz Wrote: Hopefully I did that right. 99%... 2022-03-12 10:12:55.637 T:208928 INFO <general>: Disabled debug logging due to GUI setting. Level 0. Restart Kodi after enabling debugging, and keep it enabled. Right now, most of the log is just info entries. RE: Big pauses on file access - Soobz - 2022-03-13 https://paste.kodi.tv/wagawowovi.kodi Debug on from start, 2 big pauses, 1 opening 'Files', 1 opening 'Video' parent - first open of 'Video' there was no pause. RE: Big pauses on file access - PatK - 2022-03-14 Go into settings>services and turn everything off (expert mode), shutdown and then restart; what does that do for you? RE: Big pauses on file access - Soobz - 2022-03-20 The only service that was on was remote control, I turned that off, still getting pauses. RE: Big pauses on file access - PatK - 2022-03-20 Looking at the log: "CDetectDisc:oWork: Optical media found in drive L:" might be the Kodi is trying to sniff or make sense of a disk, remove all disks. RE: Big pauses on file access - Soobz - 2022-03-21 Disc removed, pauses still happen. RE: Big pauses on file access - PatK - 2022-03-21 Large delay "Thread CWin32PowerStateWorker start, auto delete: false" here, and "ExtractThumb - seeking to pos 1439082ms (total: 4317247ms)" here. Seems to not like hevc 10 bit. Looking at the log for delays; 07:59:50.212 07:59:52.782 07:59:52.782 07:59:43.707 07:59:45.941 07:59:46.041 ---- 07:59:46.745 07:59:50.212 ---- 07:59:50.213 07:59:52.782 with CInputManager a common theme, could you have a joystick or input device issue? As an after thought, turn off 'extract thumbnails from video files' in the media/video settings. (2022-03-12, 06:48)Soobz Wrote: so probably something loading in the background is causing the issue.Yes it appears so.. Suggest a Portable mode (wiki) installation, no extras and plain vanilla with one source and let's see if your hardware can handle it. RE: Big pauses on file access - Soobz - 2022-03-22 No joystick. I have a wireless Logitech trackball and keyboard only Turned off thumbs, no change. Installed portable. Getting pauses as soon as I open the file section, ie. no source added yet. BTW hardware plays HEVC 10bit fine. RE: Big pauses on file access - PatK - 2022-03-22 (2022-03-22, 09:19)Soobz Wrote: hardware plays HEVC 10bit fineBehavior seemed to have an issue pulling thumbnail. Given you tried with a vanilla plain portable installation and still have the issue, then suggest the issue is endemic to your hardware/os or as you suggested some background task sapping system cycles. Might investigate with something like 'Process Explorer' to see priorities and other tasks. RE: Big pauses on file access - Soobz - 2022-03-22 I don't see that pulling the thumbnail had any effect on the problem. ie. turning off thumbnail made no difference, neither did loading vanilla with zero media in the library. Nothing on this computer has any speed issues other than Kodi, everything else works great, and Kodi plays 10 bit HEVC just fine as does VLC etc so I don't think the hardware is the problem. It's purely something to do with opening the files menu system. I've used process explorer, it doesn't seem to be anything hogging CPU, Kodi seems to be waiting for something but it's not using high CPU. I'll try a previous major version of Kodi and see if I still get the pauses. RE: Big pauses on file access - ezechiel1917 - 2022-03-23 I have encountered similar Kodi pauses when previously mapped network drives in Windows were no longer accessible. After unmapping these drives in Windows all Kodi pauses were gone. Kodi debug log didn't help at all. Try to check if this is not your case. RE: Big pauses on file access - Soobz - 2022-03-23 That makes the most sense! I've semi recently gone to a full wifi LAN, I didn't think I had any mapped drives but perhaps I do. |