2017-12-28, 17:20
Hello everyone. I'm running Kodi 17.6 on a Windows 10 box. I'm getting daily "kodi stopped working errors" and the program quits. This is a new installation of Windows 10 64 bit education edition. As far as I can tell in the logs it's an issue with the audio card. To fix this I made sure my audio card drivers were up to date. I'm making sure the audio output setting is directsound. It seems to error out when I use either directsound or wasapi however. If someone who knows more about kodi error logs than myself has the time to look at the error logs and give me feedback, I would appreciate it. Thanks!
Here is the last part of the log where it errors out. It seems like an audio driver issue to me, but I will leave that decision to the experts.
0 T:9128 DEBUG: Output Device : default
19:59:33.380 T:9128 DEBUG: Sample Rate : 44100
19:59:33.380 T:9128 DEBUG: Sample Format : AE_FMT_FLOAT
19:59:33.380 T:9128 DEBUG: Channel Count : 2
19:59:33.380 T:9128 DEBUG: Channel Layout: FL,FR
19:59:33.380 T:9128 DEBUG: Frames : 661
19:59:33.380 T:9128 DEBUG: Frame Size : 8
19:59:33.381 T:9176 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
19:59:33.457 T:9128 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
20:00:43.391 T:9128 DEBUG: CAESinkDirectSound:einitialize: Cleaning up
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_NOTPRESENT
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDeviceRemoved: Removed device: {
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eConsole
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eMultimedia
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eCommunications
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = ??
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eConsole
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eMultimedia
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eCommunications
20:08:14.356 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = ??
20:08:14.356 T:9176 DEBUG: CActiveAE - device change event
20:08:14.356 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:14.356 T:9176 NOTICE: No Devices found - retry: 4
20:08:15.856 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:15.856 T:9176 NOTICE: No Devices found - retry: 3
20:08:17.357 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:17.357 T:9176 NOTICE: No Devices found - retry: 2
20:08:18.859 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:18.859 T:9176 NOTICE: No Devices found - retry: 1
20:08:20.360 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:20.360 T:9176 NOTICE: Found 0 Lists of Devices
20:08:20.361 T:9128 INFO: CActiveAESink::OpenSink - initialize sink
20:08:20.361 T:9128 DEBUG: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:default
20:08:20.363 T:9128 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:20.364 T:9128 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device with error DSERR_NODRIVER, trying the default device.
20:08:20.365 T:9128 ERROR: CAESinkDirectSound::Initialize: Failed to create the default DirectSound device with error DSERR_NODRIVER.
20:08:20.365 T:9128 DEBUG: CActiveAESink::OpenSink - open NULL sink
20:08:20.369 T:4108 DEBUG: Thread AESinkNull start, auto delete: false
20:08:20.369 T:4108 DEBUG: CAESinkNULL:rocess
20:08:20.369 T:9128 DEBUG: CActiveAESink::OpenSink - NULL Initialized:
20:08:20.369 T:9128 DEBUG: Output Device : Device not found
20:08:20.369 T:9128 DEBUG: Sample Rate : 44100
20:08:20.369 T:9128 DEBUG: Sample Format : AE_FMT_FLOAT
20:08:20.369 T:9128 DEBUG: Channel Count : 2
20:08:20.369 T:9128 DEBUG: Channel Layout: FL,FR
20:08:20.369 T:9128 DEBUG: Frames : 11000
20:08:20.369 T:9128 DEBUG: Frame Size : 8
20:08:20.373 T:9176 WARNING: ActiveAE::ActiveAE::CActiveAE::Configure - sink returned large buffer of 249 ms, reducing to 100 ms
20:08:20.373 T:9176 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
Here is the last part of the log where it errors out. It seems like an audio driver issue to me, but I will leave that decision to the experts.
0 T:9128 DEBUG: Output Device : default
19:59:33.380 T:9128 DEBUG: Sample Rate : 44100
19:59:33.380 T:9128 DEBUG: Sample Format : AE_FMT_FLOAT
19:59:33.380 T:9128 DEBUG: Channel Count : 2
19:59:33.380 T:9128 DEBUG: Channel Layout: FL,FR
19:59:33.380 T:9128 DEBUG: Frames : 661
19:59:33.380 T:9128 DEBUG: Frame Size : 8
19:59:33.381 T:9176 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
19:59:33.457 T:9128 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
20:00:43.391 T:9128 DEBUG: CAESinkDirectSound:einitialize: Cleaning up
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_NOTPRESENT
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDeviceRemoved: Removed device: {
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eConsole
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eMultimedia
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eCommunications
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = ??
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eConsole
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eMultimedia
20:08:14.355 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eCommunications
20:08:14.356 T:6196 DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = ??
20:08:14.356 T:9176 DEBUG: CActiveAE - device change event
20:08:14.356 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:14.356 T:9176 NOTICE: No Devices found - retry: 4
20:08:15.856 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:15.856 T:9176 NOTICE: No Devices found - retry: 3
20:08:17.357 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:17.357 T:9176 NOTICE: No Devices found - retry: 2
20:08:18.859 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:18.859 T:9176 NOTICE: No Devices found - retry: 1
20:08:20.360 T:9176 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:20.360 T:9176 NOTICE: Found 0 Lists of Devices
20:08:20.361 T:9128 INFO: CActiveAESink::OpenSink - initialize sink
20:08:20.361 T:9128 DEBUG: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:default
20:08:20.363 T:9128 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
20:08:20.364 T:9128 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device with error DSERR_NODRIVER, trying the default device.
20:08:20.365 T:9128 ERROR: CAESinkDirectSound::Initialize: Failed to create the default DirectSound device with error DSERR_NODRIVER.
20:08:20.365 T:9128 DEBUG: CActiveAESink::OpenSink - open NULL sink
20:08:20.369 T:4108 DEBUG: Thread AESinkNull start, auto delete: false
20:08:20.369 T:4108 DEBUG: CAESinkNULL:rocess
20:08:20.369 T:9128 DEBUG: CActiveAESink::OpenSink - NULL Initialized:
20:08:20.369 T:9128 DEBUG: Output Device : Device not found
20:08:20.369 T:9128 DEBUG: Sample Rate : 44100
20:08:20.369 T:9128 DEBUG: Sample Format : AE_FMT_FLOAT
20:08:20.369 T:9128 DEBUG: Channel Count : 2
20:08:20.369 T:9128 DEBUG: Channel Layout: FL,FR
20:08:20.369 T:9128 DEBUG: Frames : 11000
20:08:20.369 T:9128 DEBUG: Frame Size : 8
20:08:20.373 T:9176 WARNING: ActiveAE::ActiveAE::CActiveAE::Configure - sink returned large buffer of 249 ms, reducing to 100 ms
20:08:20.373 T:9176 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted