Page 1 of 1

Errors mentioned in log file

Posted: Wed Dec 06, 2023 6:41 pm
by Doubleclick
XMBC Version: v2.20.5
Installed or Portable version: Installed.
Windows Version: WinXP SP3 x86
Mouse Information (brand/model): Logitech 3 button
Relevant Computer Information (CPU, RAM etc): Core, 4GB
Did the problem occur after an upgrade of XMBC? (If so, from what version?): No.
Did the problem occur after a Windows update/upgrade? (If so, from what version?): No.
How long have you used XMBC?: A few weeks.
What language and keyboard layout do you use in Windows?: EN/US, SL layout.

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).: I tried your fine mouse button control on my XP machine and it works nicely (I use it only for middle button double click, layer 1 and layer 2 = copy of layer 1), there is a complaint however in its log file, it goes:
06-12-2023 18:19:07.080> CVolumeManager(SendInput Thread 2252)::GetVolume: EndpointVolume is invalid!
06-12-2023 18:19:22.189> CVolumeManager(SendInput Thread 2252)::Initialise: Call to CoCreateInstance failed (Error code -2147221164: Class not registered )
This is logged every time XMBC is used I would guess, looking at the log times. Would you be so kind and fix it, please?

Re: Errors mentioned in log file

Posted: Thu Dec 07, 2023 12:52 am
by phil
Those errors indicate missing or incorrectly setup Windows components that XMBC relies upon. Maybe you don't have any audio devices?
It means that XMBC may struggle to control your computers volume - not a big deal unless you wanted to do that.

Not really anything I can fix as it will be something specific to your Windows installation. However, they are also not all that important and can probably be ignored (I suppose I could take the logging out but I don't intend to do that).

Thinking about it, it may well be because Windows XP does not have the volume controls that newer versions of Windows have.
As far as I am concerned, Windows XP is not supported by Microsoft, nor me. If XMBC works then fine, but I'm certainly not going to put any effort into supporting an operating system that has not been supported by Microsoft for 9 years - In many ways, I'm surprised that it even works stil (XMBC on Windows XP). Next time I upgrade my development environment (which is long overdue), it wont be supported by the compiler (likely nor will Windows 7).

Re: Errors mentioned in log file

Posted: Thu Dec 07, 2023 10:22 am
by Doubleclick
Well that's a bummer - please consider making a log optional. That's all. Works fine otherwise.

Re: Errors mentioned in log file

Posted: Fri Dec 08, 2023 11:25 am
by phil
You can turn off logging completely - there is a command line argument to do that I believe....
If you add /NoLog to the launch command it will completely disable logging.

I will look into seeing if I can easily check if the volume controls are not available (and maybe not treat it as an error, thus no log) but I cant promise anything.

Re: Errors mentioned in log file

Posted: Fri Jan 12, 2024 11:31 am
by Doubleclick
Wonderful!
Version 2.21 Beta 31 works well, no more excessive logging.
Idle RAM consumption is rather high in WinXP though, 10-12MB, not 3 like in Win7/10. :(
Thank you for the progress so far. :cheers:

Re: Errors mentioned in log file

Posted: Sat Jan 13, 2024 1:44 pm
by phil
Interesting, I have no idea why idle would be higher in XP... I wonder if its because it has created the volume OSD overlay window (which is not needed on Windows 7 and later) - you could try turning that off (I think there is a windows 7 specific option in the general settings tab - I cant check that quickly as I don't have any windows 7 systems to check it on).

Re: Errors mentioned in log file

Posted: Tue Feb 20, 2024 10:19 am
by Doubleclick
I'm sorry, there's no OSD overlay or similar setting anywhere in "Settings". Without any keys mapped it's just sitting there with 12,536K of used RAM reported in Task Manager.

Re: Errors mentioned in log file

Posted: Tue Feb 20, 2024 2:39 pm
by phil
Well that is certainly odd, on my (windows 10) system with 20 profiles set up, it sat at 4MB with the setup window closed, and it goes up to 6MB when the setup screen is opened (dropping slightly after closing it, but now all the way back down to 4MB because I guess the MS MFC system libraries XMBC depends on will keep some stuff in memory for the next time it is needed. However, 12MB is still miles less than the >50MB many other tools (Logitech) sit using. So not a massive problem (unless you have very limited RAM I guess!).

The OSD options may not be applicable to Windows XP. I thought it was *only* applicable to XP but maybe I'm getting confused, and its for Windows 7 only. It maybe Windows 7 minimum, its so old I cant remember to be honest, and I've not got any access to XP systems to test it on these days. I'd have to have a trawl through the code, and I'm away for the next 12 days with limited access to my stuff at home, so that wont be a quick process.

Re: Errors mentioned in log file

Posted: Thu Feb 22, 2024 8:04 pm
by Doubleclick
Thank you anyway. I understand you're busy, you'll get to it when you can. ß33 works well though.