Using Kodi 16.1 on windows 10
Ever since i installed it for the first time on this PC, Kodi has been crashing usually after its been running for anywhere between 30 mins to a few hours.
Every time i get the same error in the logs:
Code:
T:5952 WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
I tried debug logging - it did not give me any further details.
I have made sure that all devices in my Device Manager are recognized and working normally.
I have uninstalled and reinstalled Kodi a few times. The latest itteration has Kodi running bare bones. Just the base install (no additional addons/skins etc) and i am still getting this error.
I have other Win10 boxes running Kodi 16 just fine. Only on this one machine am i getting this error.
I tried searching but havnt been able to find anything conclusive.
Edit: A Debug Log i just ran:
http://xbmclogs.com/pbml4plnn
Thanks Helta! ...Well right now I'm logged into this PC through Remote Desktop which is what remote audio is referring to
Ok, and that behavior exists when its not in Remote Desktop as well?
Can you list everything that is plugged into your USB ports?
Yes it does, It happens when im at home too. So the only things i have plugged in are a 'Generic USB Hub' (a 4 port usb hub that usually sits empty unless i need to hook up my iphone or kindle or something), and the usb connector to my wireless Microsoft Mouse and Keyboard. I just uninstalled all of my USB device drivers and booted my system so it does a clean USB driver setup. I'll try kodi again and see if it still errors out
If it still does, remove the USB hub and see if that helps.
Ok so i tried this both after a clean USB driver setup and then again after removing the USB hub. Both times i still go the same error but this time with an extra line of information. Also i've included a few lines prior to that error that may help shed some light on whats going on
The first one was after reinstalling all the drivers was
Code:
21:49:00 T:6576 DEBUG: Parsed rss feed: http://feeds.kodi.tv/updated_xbmc_addons
21:49:00 T:6576 DEBUG: Thread RSSReader 6576 terminating
21:49:30 T:5552 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.kodi.tv (easy=D53D4010, multi=0788EC20)
22:20:00 T:5552 DEBUG: Updating RSS
22:20:00 T:5552 ERROR: CThread::SpawnThread - fatal error 8 creating thread
22:20:00 T:5552 DEBUG: Updating RSS
22:22:43 T:6724 DEBUG: Previous line repeats 1 times.
22:22:43 T:6724 WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
22:22:43 T:6724 DEBUG: Thread PeripBusUSB 6724 terminating
The second one after running kodi with the USB hub removed was
Code:
23:16:04 T:6628 DEBUG: CWinEventsWin32::WndProcWindow is active
23:16:04 T:6628 DEBUG: DXGI_STATUS_OCCLUDED
23:16:29 T:6560 DEBUG: Thread RemoteControl 6560 terminating
23:32:44 T:6628 ERROR: CGUIFontTTFDX::CreateVertexBuffer - Failed to create vertex buffer.
23:40:00 T:6628 ERROR: Previous line repeats 4 times.
23:40:00 T:6628 DEBUG: Updating RSS
23:40:00 T:6628 ERROR: CThread::SpawnThread - fatal error 8 creating thread
23:40:00 T:6628 DEBUG: Updating RSS
23:41:32 T:6628 DEBUG: Previous line repeats 1 times.
23:41:32 T:6628 ERROR: CGUIFontTTFDX::CreateVertexBuffer - Failed to create vertex buffer.
23:42:29 T:10176 WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
23:42:29 T:10176 DEBUG: Thread PeripBusUSB 10176 terminating
Thats the second log that I've seen with "DXGI_STATUS_OCCLUDED". But I have no idea what it means, you might want to wait for a Dev to pop into the thread to see whats up.
So i turned on debugging for all components as well. Here is what i got.
Code:
02:49:37 T:6372 INFO: Platinum [platinum.core.ctrlpoint]: Device "VAIO" expiration time renewed..
02:50:26 T:7448 INFO: Previous line repeats 18 times.
02:50:26 T:7448 INFO: Platinum [neptune.http]: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(result)]
02:50:27 T:6372 INFO: Previous line repeats 1 times.
02:50:27 T:6372 INFO: Platinum [platinum.core.ctrlpoint]: Device "VAIO" expiration time renewed..
02:50:57 T:5588 INFO: Previous line repeats 1 times.
02:50:57 T:5588 WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
02:50:57 T:5588 DEBUG: Thread PeripBusUSB 5588 terminating
02:51:16 T:7448 INFO: Platinum [neptune.http]: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(result)]
02:51:21 T:6372 INFO: Previous line repeats 1 times.
02:51:21 T:6372 INFO: Platinum [platinum.core.ctrlpoint]: Device "VAIO" expiration time renewed..
02:52:03 T:8568 INFO: Previous line repeats 1 times.
02:52:03 T:8568 ERROR: exception in CApplication::Render()
02:52:06 T:7448 INFO: Platinum [neptune.http]: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(result)]
Anyone have any insight into this?
The two errors i seem to be getting consistnatly during crashes are
Code:
ERROR: exception in CApplication::Render()
and
Code:
WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
Code:
22:50:30 T:8056 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.kodi.tv (easy=2C481018, multi=07C716F0)
22:55:34 T:8056 ERROR: CGUIFontTTFDX::CreateVertexBuffer - Failed to create vertex buffer.
23:12:44 T:8056 ERROR: Previous line repeats 11 times.
23:12:44 T:8056 ERROR: exception in CApplication::Render()
23:12:45 T:10132 WARNING: PERIPHERALS::CPeripheralBusUSB::PerformDeviceScan - cannot query USB devices: invalid handle
i have done everything to ensure i have the latest BIOS, motherboard drivers, nvidia drivers but nothing seems to be working here
Did you found a solution for the "WARNING: PERIPHERALS::CPeripheralBusUSB:
erformDeviceScan - cannot query USB devices: invalid handle" crashes? Because I have the same problem