Jump to content

Hardware Detection


Recommended Posts

WeAreBasstards
Posted

Hello dear Emby Community,  I have noticed in the past few days that Emby is creating quite a lot of hardware detection logs. Is this normal? It seems to vary by day; sometimes it doesn't create any, and other times it creates quite a few. The operating system is Windows Server 2022. The Emby version is listed in the log. All drivers and respective updates are up to date. I look forward to your responses. I have attached the log.

hardware_detection-63852469620.txt

Posted

Hello WeAreBasstards,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

Hi there, please attach the main emby server log as well. thanks.

WeAreBasstards
Posted

The main log is unfortunately too large to upload here.

seanbuff
Posted
7 minutes ago, WeAreBasstards said:

The main log is unfortunately too large to upload here.

If you zip it they compress to a more manageable size for upload.

WeAreBasstards
Posted

Ok, here is the log from this morning, it's still relatively small.

embyserver.txt

Lessaj
Posted

Might need to see some other server logs, but I think hardware detection is being triggered because the display settings changed?

Quote

2024-05-28 07:22:36.869 Debug SystemEvents: SystemEvents_DisplaySettingsChanged

....

2024-05-28 07:22:46.871 Debug TaskManager: SystemEventTrigger fired for task: Hardware Detection
2024-05-28 07:22:46.871 Debug TaskManager: Queueing task HardwareDetectionScheduledTask
2024-05-28 07:22:46.871 Debug TaskManager: Executing Hardware Detection

 

WeAreBasstards
Posted

But why so often during the day? The ad settings certainly don't change that often

Screenshot_2024-05-28-16-11-25-042_com.mb.android-edit.jpg

Lessaj
Posted

The log you provided only goes to 9:03 so I don't know what events are near 10:58, 11:02, 11:14, etc. Need the latest log.

WeAreBasstards
Posted

The whole log is too big to upload here (260mb)

pwhodges
Posted

It's text - zipping it to upload will work wonders.

Paul

Lessaj
Posted (edited)

Yes it's reporting the display settings are changing. Check in your event viewer maybe the display driver is crashing or something? The hardware detection runs about 10 seconds after these events.

Quote

2024-05-28 10:58:18.054 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 11:02:10.120 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 11:13:52.244 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 12:27:01.153 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 14:17:13.808 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 14:17:33.056 Debug SystemEvents: SystemEvents_DisplaySettingsChanged
2024-05-28 14:19:56.103 Debug SystemEvents: SystemEvents_DisplaySettingsChanged

 

Edited by Lessaj
Lessaj
Posted

Something else I'm seeing is it keeps reporting the system time changing too. I believe this would also show up in event viewer if the system time was changing.

Quote

2024-05-28 07:22:36.487 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 07:22:36.836 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 10:58:17.647 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 10:58:18.014 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 11:02:09.781 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 11:02:10.074 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 11:13:51.943 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 11:13:52.216 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 12:27:00.809 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 12:27:01.126 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 14:17:13.475 Info SystemEvents: SystemEvents_TimeChanged
2024-05-28 14:17:13.758 Info SystemEvents: SystemEvents_TimeChanged

 

WeAreBasstards
Posted

No crashing Display drivers detectet

Neminem
Posted

Is this a headless server, meaning no monitor connected ?

WeAreBasstards
Posted

Yes

Neminem
Posted (edited)

Wow that was a shot answer, are you a AI - bot ?

Ok try connecting an monitor to it, as a test 😁

If that works search and buy a interface dummy plug

like 1 of these Amazon.com: XEYOU DisplayPort Headless Ghost Display Emulator for PC 4K DP Dummy Plug (fit Headless 3840x2160@17hz)-3Pack : Electronics

Well only buy one if you dont want you monitor connected to it all the time.

Edited by jaycedk
WeAreBasstards
Posted

Unfortunately this is not possible because I do not have physical access to the server.

Neminem
Posted

In that case I would ask you server supplier to look into that.

WeAreBasstards
Posted

I don't think he'll connect such a plug for me

Posted

We should probably add an option to disable reacting to display settings changes.

  • Agree 1
Lessaj
Posted
3 hours ago, Lessaj said:

Something else I'm seeing is it keeps reporting the system time changing too. I believe this would also show up in event viewer if the system time was changing.

 

What about time change events in the system log? I don't know if it's related exactly but the timing of it is suspect, it's right before the display setting change events.

Posted
2 minutes ago, Lessaj said:

What about time change events in the system log? I don't know if it's related exactly but the timing of it is suspect, it's right before the display setting change events.

That's going to reset the triggers for time based operations like scheduled tasks and live tv recordings. It's not really something that's going to cause resource consumption and so therefore I don't think it needs an option to disable it.

As for why his system is firing these events, the answer to that is specific to his environment, so I'm not sure. But yes these could all be related.

Having said that, the log covers 11 hours of time, and the number of triggers is not something that I think is going to cause a problem.

WeAreBasstards
Posted

What I also noticed, however, is that as soon as Emby creates a lot of hardware protocols, the CPU usage sometimes just stays at 5 percent and then Emby becomes very, very slow.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...