X-mouse Hang no reason

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Post Reply
mrsurf
New User
Posts: 4
Joined: Mon May 22, 2023 2:55 pm

X-mouse Hang no reason

Post by mrsurf »

Please fill in this template when posting!
XMBC Version: 2.20.4
Installed or Portable version: Installed
Windows Version: Windows 11 22h2
Mouse Information (brand/model): Jolly Comb Vertical mouse (5 buttons)
Relevant Computer Information (CPU, RAM etc): I7-12700K 32 Go
Graphical card onboard intel Iris
Did the problem occur after an upgrade of XMBC? (If so, from what version?): yes, it hang sometimes while juste using button 4 or 5 (scroll page)
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: 5 years
What language and keyboard layout do you use in Windows?: french

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).:
Mapping
Button 4 : Scrool window up
Button 5 : Scroll window down

Problem : sometimes, while using scroll up or down, the mouse start to slow down, i can't go on the parameters of the x-mouse, no popup show up.
i have to kill the process, then relaunch the program.

Logs : i just took the end near the last hang, kill and restart.
22-05-2023 15:44:30.998> Translating WheelUp Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
22-05-2023 15:44:30.998> CanSendToProcess: Process integrity 0x00002000 (8192), our integrity 0x00003000 (12288)
22-05-2023 15:44:30.998> Redirecting vertical wheel message 0x00780000 to 0x000C1CE2: 'OneNote::DocumentCanvas'
22-05-2023 15:44:30.998> MouseHookLLProc: Removing message 0x020A (425,596) from mouse hook queue as we have overridden it.
22-05-2023 15:44:31.448> MouseHookLLProc: MouseHookData: Msg=0x020a (WM_MOUSEWHEEL), X=425, Y=596, Data=0xFF880000, Flags=0x00000000, Time=231514421, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:31.448> Translating WheelDown Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
22-05-2023 15:44:31.448> CanSendToProcess: Process integrity 0x00002000 (8192), our integrity 0x00003000 (12288)
22-05-2023 15:44:31.448> Redirecting vertical wheel message 0xFF880000 to 0x000C1CE2: 'OneNote::DocumentCanvas'
22-05-2023 15:44:31.448> MouseHookLLProc: Removing message 0x020A (425,596) from mouse hook queue as we have overridden it.
22-05-2023 15:44:31.476> MouseHookLLProc: MouseHookData: Msg=0x020a (WM_MOUSEWHEEL), X=425, Y=596, Data=0x00780000, Flags=0x00000000, Time=231514453, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:31.476> Translating WheelUp Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
22-05-2023 15:44:31.476> CanSendToProcess: Process integrity 0x00002000 (8192), our integrity 0x00003000 (12288)
22-05-2023 15:44:31.476> Redirecting vertical wheel message 0x00780000 to 0x000C1CE2: 'OneNote::DocumentCanvas'
22-05-2023 15:44:31.476> MouseHookLLProc: Removing message 0x020A (425,596) from mouse hook queue as we have overridden it.
22-05-2023 15:44:31.488> MouseHookLLProc: MouseHookData: Msg=0x020a (WM_MOUSEWHEEL), X=425, Y=596, Data=0xFF880000, Flags=0x00000000, Time=231514468, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:31.488> Translating WheelDown Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
22-05-2023 15:44:31.488> CanSendToProcess: Process integrity 0x00002000 (8192), our integrity 0x00003000 (12288)
22-05-2023 15:44:31.488> Redirecting vertical wheel message 0xFF880000 to 0x000C1CE2: 'OneNote::DocumentCanvas'
22-05-2023 15:44:31.488> MouseHookLLProc: Removing message 0x020A (425,596) from mouse hook queue as we have overridden it.
22-05-2023 15:44:31.526> TimerThread[0xA700]: Started MOUSE OVER timer 1015 for 150ms - ID 000041D9
22-05-2023 15:44:31.674> ProcessMouseOverTimerProc: Checking MouseOver(422,596)...
22-05-2023 15:44:31.700> TimerThread[0xA700]: Started MOUSE OVER timer 1015 for 150ms - ID 000041D8
22-05-2023 15:44:31.861> ProcessMouseOverTimerProc: Checking MouseOver(423,595)...
22-05-2023 15:44:32.071> MouseHookLLProc: MouseHookData: Msg=0x020b (WM_XBUTTONDOWN), X=423, Y=595, Data=0x00010000, Flags=0x00000000, Time=231515046, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:32.071> Translating XLeft Button Down Key state 0x0: Action 67 [Scroll Window Up]
22-05-2023 15:44:32.071> Scroll: Scroll method = default.
22-05-2023 15:44:32.071> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.071> MouseHookLLProc: Removing message 0x020B (423,595) from mouse hook queue as we have overridden it.
22-05-2023 15:44:32.099> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E6D0 (5)) Fired
22-05-2023 15:44:32.099> Scroll: Scroll method = default.
22-05-2023 15:44:32.099> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.099> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.128> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E6E1 (5)) Fired
22-05-2023 15:44:32.128> Scroll: Scroll method = default.
22-05-2023 15:44:32.128> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.128> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.156> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E6F0 (5)) Fired
22-05-2023 15:44:32.156> Scroll: Scroll method = default.
22-05-2023 15:44:32.156> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.156> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.184> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E701 (5)) Fired
22-05-2023 15:44:32.184> Scroll: Scroll method = default.
22-05-2023 15:44:32.184> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.184> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.213> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E710 (5)) Fired
22-05-2023 15:44:32.213> Scroll: Scroll method = default.
22-05-2023 15:44:32.213> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.213> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.241> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E721 (5)) Fired
22-05-2023 15:44:32.241> Scroll: Scroll method = default.
22-05-2023 15:44:32.241> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.241> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.269> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E730 (5)) Fired
22-05-2023 15:44:32.269> Scroll: Scroll method = default.
22-05-2023 15:44:32.269> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.269> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.298> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E741 (5)) Fired
22-05-2023 15:44:32.298> Scroll: Scroll method = default.
22-05-2023 15:44:32.298> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.298> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.318> MouseHookLLProc: MouseHookData: Msg=0x020c (WM_XBUTTONUP), X=425, Y=595, Data=0x00010000, Flags=0x00000000, Time=231515296, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:32.318> Translating XLeft Button Up Key state 0x0: Action 67 [Scroll Window Up]
22-05-2023 15:44:32.318> SendInput::FlushQueue requested, nothing in queue!
22-05-2023 15:44:32.318> StopEventTimer: Stopped event timer 5
22-05-2023 15:44:32.318> MouseHookLLProc: Removing message 0x020C (425,595) from mouse hook queue as we have overridden it.
22-05-2023 15:44:32.318> TimerThread[0xA700]: Started MOUSE OVER timer 1015 for 300ms - ID 000041D7
22-05-2023 15:44:32.630> ProcessMouseOverTimerProc: Checking MouseOver(425,595)...
22-05-2023 15:44:32.718> MouseHookLLProc: MouseHookData: Msg=0x020b (WM_XBUTTONDOWN), X=425, Y=595, Data=0x00010000, Flags=0x00000000, Time=231515703, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:32.718> Translating XLeft Button Down Key state 0x0: Action 67 [Scroll Window Up]
22-05-2023 15:44:32.718> FindAppSettings: Matching profile not found.
22-05-2023 15:44:32.718> Scroll: Scroll method = default.
22-05-2023 15:44:32.718> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.718> MouseHookLLProc: Removing message 0x020B (425,595) from mouse hook queue as we have overridden it.
22-05-2023 15:44:32.746> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E760 (5)) Fired
22-05-2023 15:44:32.746> Scroll: Scroll method = default.
22-05-2023 15:44:32.746> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.746> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.774> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E771 (5)) Fired
22-05-2023 15:44:32.774> Scroll: Scroll method = default.
22-05-2023 15:44:32.774> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.774> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.803> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E780 (5)) Fired
22-05-2023 15:44:32.803> Scroll: Scroll method = default.
22-05-2023 15:44:32.803> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.803> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.831> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E791 (5)) Fired
22-05-2023 15:44:32.831> Scroll: Scroll method = default.
22-05-2023 15:44:32.831> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.831> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.859> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E7A0 (5)) Fired
22-05-2023 15:44:32.859> Scroll: Scroll method = default.
22-05-2023 15:44:32.859> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.859> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.888> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E7B1 (5)) Fired
22-05-2023 15:44:32.888> Scroll: Scroll method = default.
22-05-2023 15:44:32.888> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.888> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.916> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E7C0 (5)) Fired
22-05-2023 15:44:32.916> Scroll: Scroll method = default.
22-05-2023 15:44:32.916> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.916> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.944> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E7D1 (5)) Fired
22-05-2023 15:44:32.944> Scroll: Scroll method = default.
22-05-2023 15:44:32.944> Re-enable Timer: Delay 28 (milliseconds)
22-05-2023 15:44:32.944> Started event timer 5, fire in 28ms windows timer resolution 15ms
22-05-2023 15:44:32.972> MouseHookLLProc: MouseHookData: Msg=0x020c (WM_XBUTTONUP), X=426, Y=595, Data=0x00010000, Flags=0x00000000, Time=231515953, Info=0x0, Ptr=0x6461755, Layer=0
22-05-2023 15:44:32.972> Translating XLeft Button Up Key state 0x0: Action 67 [Scroll Window Up]
22-05-2023 15:44:32.973> SendInput::FlushQueue requested, nothing in queue!
22-05-2023 15:44:32.973> RepeatTimerProc(0x00008B00): RepeatTimer(0x0000E7E0 (5)) Fired
22-05-2023 15:44:32.973> CThreadLock::Constructor Waiting to enter critical section for 'RepeatTimerProc Still Sending' (TID: 00008B00). It is currently locked by 'MouseHookLLProc 1'...
22-05-2023 15:44:55.688> CThreadLock::Constructor Waiting to enter critical section for 'GetCurrentLayername' (TID: 00009BE0). It is currently locked by 'MouseHookLLProc 1'...

*******************************************************************************************************************************************
22-05-2023 15:45:27.358> X-Mouse Button Control v2.20.4 (x64) Startup. Commandline '/notportable'
22-05-2023 15:45:27.414> Running in high integrity mode (as Administrator) (0x00003000)
22-05-2023 15:45:27.420> Loaded 0 application specific profiles (0 normal and 0 custom window).
22-05-2023 15:45:27.420> Running on Microsoft Windows 11 Professional Edition (build 22621), 64-bit, Hook Timeout: 200 ms
22-05-2023 15:45:27.420> Warning: Low Level Hook Timeout is low. If you have problems try increasing this value.
22-05-2023 15:45:27.420> Startup folder: 'C:\Program Files\Highresolution Enterprises\X-Mouse Button Control\'
22-05-2023 15:45:27.420> Settings (and log) folder: 'C:\Users\samue\AppData\Roaming\Highresolution Enterprises\XMouseButtonControl\'
22-05-2023 15:45:27.569> HookThreadProc[0x8AF4]: Unable to find suitable English keyboard layout...
22-05-2023 15:45:27.569> HookThreadProc[0x8AF4]: Use of US English has been disabled. Some keyboard input functions may not work.
22-05-2023 15:45:32.028> CMyMessageWnd::OnSetup - Opening setup dialog.
22-05-2023 15:45:32.043> Loaded 0 application specific profiles (0 normal and 0 custom window).
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

Aha the third report - this is actually good - the more info the better....
Any chance you can turn on debug logging and reproduce it (then send me the log with the debug info in it (will be much more!)).

EDIT: Ahhh maybe that was with debug turned on? There certainly seems more than normal in there - and potentially a problem with the repeat timer (which was the main thing that changed in 2.20.4 so that makes some sense!)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
mrsurf
New User
Posts: 4
Joined: Mon May 22, 2023 2:55 pm

Re: X-mouse Hang no reason

Post by mrsurf »

hello,
yes, that was with the debug option on, i did not put every thing, just the last before the bug.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

Sorry for the slow replies, Ive been really busy at work this past few weeks...
Can you possibly share your full setup with me (export it from the main screen) and I will import it here and see if that I can repeat the problem here.
It looks like its getting stuck while you have a repeating action going on - does that sound about right (does it always hang while a repeated action is happening?). But as I don't know how you have configured XMBC, its difficult to be sure.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Akiwave
New User
Posts: 1
Joined: Sat May 27, 2023 7:13 pm

Re: X-mouse Hang no reason

Post by Akiwave »

phil wrote: Sat May 27, 2023 10:15 am Sorry for the slow replies, Ive been really busy at work this past few weeks...
Can you possibly share your full setup with me (export it from the main screen) and I will import it here and see if that I can repeat the problem here.
It looks like its getting stuck while you have a repeating action going on - does that sound about right (does it always hang while a repeated action is happening?). But as I don't know how you have configured XMBC, its difficult to be sure.
Hi. I have the same problem for the last... several weeks or so? I've tried both stable and beta versions. Currently on beta, because it feels like it occurs less frequent (although it can be just my imagination), but still several times a day. Also when it happens in stable version (2.20.4), the program makes my cursor lag for several seconds and then crashes and closes itself completely, while in beta it also makes my cursor lag, but instead of closing itself, the program stops working, but the icon and the process are still there, until I kill it in task manager.
And no, it doesn't happen always. I can be scrolling pages for hours and everything is fine, but then it occurs without any apparent reason.

The only settings that I've changed after installing are Mouse Button 4 to Mouse Wheel Down, Mouse Button 5 to Mouse Wheel Up and "Lines to scroll" from 3 to 1. These settings had been working for couple of years before it started recently.

Not sure what exactly you meant by export, because that button is gray, but here is the profile that I saved.
gofile. io/d/i61vVT
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

The beta (2.21 Beta 15) is exactly the same as 2.20.4, except the version number of course! 2.20.4 patch was actually built a day after 2.21 Beta 15, same source, because I have been using the 2.21 beta's to fix issues in 2.20 series.

So I would expect them to behave the same. The beta versions have a little more logging enabled by default (before debug logging is switched on), which could impact timings very slightly which in this case could be relevant!

By export, I mean the "Save Profile" which does the whole settings (the export button is different and applies to the selected application/window profile, but not the default one) Confusing I know but haven't gotten around to changing the language yet!
So yes, that profile you sent is exactly that I meant - thanks.

I suspect this is the same problem, it looks like a classic thread deadlock.... The mouse wheel up/down mappings repeat while the button is held down. And I think the changes to the repeat timer in 2.20.4/2.21 Beta is causing the is this problem - I just need time and debug log from those affected to narrow it down and find exactly where it is going wrong!

Can I also ask you for some debug logging of the problem? You need to turn it on first in settings/updates & logging, then when it happens find the log file (also available from that tab in settings) and send me a copy. Ideally with the time the problem happened (roughly). And note that debug logging will turn itself off automatically when XMBC restarts!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

OK Give 2.21 Beta 16 a try if you can, it should (hopefully) fix the problem, but if not, has a little mode debug logging.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

Anyone tried 2.21 beta 16 yet? I've had positive feedback from someone on Discord who was also suffering the same. Would be good to get some feedback here too - if its working then I can push it out as another patch release on 2.20 (2.20.5) in the next few days!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
mengisman
New User
Posts: 1
Joined: Thu Jun 01, 2023 1:20 am

Re: X-mouse Hang no reason

Post by mengisman »

phil wrote: Wed May 31, 2023 9:04 pm Anyone tried 2.21 beta 16 yet? I've had positive feedback from someone on Discord who was also suffering the same. Would be good to get some feedback here too - if its working then I can push it out as another patch release on 2.20 (2.20.5) in the next few days!
I have been having this issue since 2.20.4. I just installed 2.21beta16 and have been problem-free so far! I would have expected to have an occurrence of the issue by now in 2.20.4.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: X-mouse Hang no reason

Post by phil »

mengisman wrote: Thu Jun 01, 2023 1:24 am I have been having this issue since 2.20.4. I just installed 2.21beta16 and have been problem-free so far! I would have expected to have an occurrence of the issue by now in 2.20.4.
Thank you for confirmation. I thought it probably would fix it but as I was not experiencing the hang, its always good to get feedback. I will probably release 2.21 Beta 16 as a patch to 2.20 (so 2.20.5) so everyone can benefit in the normal release channel!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Post Reply