Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > VICE 3.7.1 testers needed (Mouse emulation)
2023-02-03 19:22
chatGPZ

Registered: Dec 2001
Posts: 11148
VICE 3.7.1 testers needed (Mouse emulation)

So!

Apparently we have a strange bug related to mouse emulation on Windows systems. It would be great if all of you could do a quick test:

- grab the 3.7.1 release from https://github.com/VICE-Team/svn-mirror/releases/tag/3.7.1
- start it and reset settings (just incase it picks up settings from another release)
- enable 1351 mouse emulation for port 1
- run the following program: Mousetest V2
- now enable mouse grab (alt-m) and move around the mouse

Now if that does NOT move the 1351 icon as expected, please report that, and give some details about your system. In particular interesting is the exact OS (eg "Windows 10 22H2"), your graphics card and driver version, and your screen resolution...

Some people reported it does not work for them - while it works for others. This is very strange, we could not yet determine what the systems where it does not work have in common - hence this request.

Thanks in advance!
2023-02-03 22:12
aNdy

Registered: Jan 2004
Posts: 41
Doesn't work on my machine.

Running x64sc.exe
Dell G15 Ryzen Edition
Windows 11 Home 21H2 (build 22000.1455)
1920x1080
NVIDIA GeForce RTX 3050 Laptop GPU (Driver 30.0.15.1277)
2023-02-03 22:28
Angel of Death

Registered: Apr 2008
Posts: 210
I sent an email bug report...
2023-02-03 23:10
chatGPZ

Registered: Dec 2001
Posts: 11148
Another thing that might be relevant: do you have a second monitor connected?
2023-02-04 00:37
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: Another thing that might be relevant: do you have a second monitor connected?

Yes I do and I am absolutely sure I forgot to mention that. :|
Both monitors are 1920x1080 and are configured next to eachother in horizontal orientation as "Extended Desktop".
The problems occurs in the same way anywhere on the desktop.
2023-02-04 02:34
CreaMD

Registered: Dec 2001
Posts: 3036
Tested with other monitor attached and with monitor disconnected.
Mouse didn't move around as expected.

OS Name Microsoft Windows 11 Pro
Version 10.0.22621 Build 22621
LENOVO_MT_20YM_BU_idea_FM_ThinkBook 16p G2 ACH
AMD Ryzen 9 5900HX with Radeon Graphics, 3301 Mhz

Roman
2023-02-04 10:49
TheRyk

Registered: Mar 2009
Posts: 2095
works as it should on ThinkPad X230 with Trackpoint
Win10Pro V 21H2 Build 19044.2486
Res 1368x768
no real gfx card as it's not a gamer computer but got onboard gfx (<- which is the only reason why I can't upgrade to Win11 btw, narf...)

Can check out with real mouse and 2nd monitor later this day in my mancave
2023-02-04 12:33
hedning

Registered: Mar 2009
Posts: 4618
Works fine here.

Win10 Home 64bit, 21H2, OS version 19044.2486
Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
16GB RAM
NVIDIA GeForce GTX 1070 (driver: 31.0.15.1640, DirectX-driver: 31.0.15.164)
Resolution: 1600 x 1200
some crappy standard Logitech wireless USB mouse

No second monitor.
2023-02-04 16:28
MagerValp

Registered: Dec 2001
Posts: 1060
Works fine on my test machine:

Windows 22H2 build 19045.2486.
AMD FirePro D300, driver version 27.20.14540.15002.
Dummy 4k HDMI plug instead of a monitor, resolution set to 1920x1080.
Streaming over Sunshine + Moonlight.
2023-02-04 16:55
chatGPZ

Registered: Dec 2001
Posts: 11148
Haha this is super confusing right now ... it just doesn't make any sense. damn :/

Please keep it coming
2023-02-04 17:21
Black

Registered: Dec 2002
Posts: 12
Works fine here:

Windows 10 Home 22H2 build 19045
Core i3-6100U
Intel HD Graphics 520 driver version: 31.0.101.2111
1366x768
Logitech M590
2023-02-04 17:31
Oswald

Registered: Apr 2002
Posts: 5031
doesnt work

win10pro 21h2
Lenovo Legion lnvnb161216
Geforce GTX 1650
driver 27.21.14.6230
1920x1080
2023-02-04 20:37
TheRyk

Registered: Mar 2009
Posts: 2095
Quoting TheRyk
works as it should on ThinkPad X230 with Trackpoint
Win10Pro V 21H2 Build 19044.2486
Res 1368x768
no real gfx card as it's not a gamer computer but got onboard gfx (<- which is the only reason why I can't upgrade to Win11 btw, narf...)

Can check out with real mouse and 2nd monitor later this day in my mancave

*done*
1351 emulation also works with 2nd monitor and real Lenovo mouse.
2023-02-04 23:23
chatGPZ

Registered: Dec 2001
Posts: 11148
I might have found something - please everyone tell if you have some sort of "touch screen"
2023-02-05 00:31
CreaMD

Registered: Dec 2001
Posts: 3036
Quote: I might have found something - please everyone tell if you have some sort of "touch screen"

Touchpad only. And wireless mouse (connected through bluetooth)
2023-02-05 01:26
chatGPZ

Registered: Dec 2001
Posts: 11148
https://github.com/VICE-Team/svn-mirror/releases/tag/untagged-4..

Try if this one works :) If not, it would perhaps help if you could post the logfile somewhere
2023-02-05 08:39
Black

Registered: Dec 2002
Posts: 12
My config is a touchscreen one.
Above link doesn't work for me.
2023-02-05 09:03
Fred

Registered: Feb 2003
Posts: 284
For VICE 3.7.1:

Works fine here when moving the mouse. But using the touch screen will not move the icon correctly. If I slightly move my finger, the icon jumps to the corner.

Windows 11 Home
Intel(R) Core(TM) i7-1185G7
Intel graphics driver
Only 1 screen
Resolution: 2496x1664
It has a touch screen

The new link from this morning gives a 404.
2023-02-05 13:16
chatGPZ

Registered: Dec 2001
Posts: 11148
https://github.com/VICE-Team/svn-mirror/releases/tag/r43056 is the correct link. There is a small chance it fixes it. And if not, the error logged in the logfile might give a clue
2023-02-05 14:15
chatGPZ

Registered: Dec 2001
Posts: 11148
Oh also, on the setups where it doesnt work with recent VICE - the 3.2 Windows GUI version DOES work?
2023-02-05 19:09
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: https://github.com/VICE-Team/svn-mirror/releases/tag/r43056 is the correct link. There is a small chance it fixes it. And if not, the error logged in the logfile might give a clue

I tried this one and I see no difference.
And this is everything that appeared in the log concerning mouses:

AUTOSTART: Done. (this line for "time" indication)
Sync reset
GTK3MOUSE: Status changed: 1 (enabled)
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
Error - mouse_event(920, 514) - 203
GTK3MOUSE: Status changed: 0 (disabled)

However, I did try Vice3.1 (only older generation one I could find so quickly) and in there it works fine. In both the "normal" x64 and on the "new" x64SC.
2023-02-05 19:20
chatGPZ

Registered: Dec 2001
Posts: 11148
ERROR_ENVVAR_NOT_FOUND

203 (0xCB)

The system could not find the environment option that was entered.

It's getting weirder and weirder >_<
2023-02-05 22:22
Angel of Death

Registered: Apr 2008
Posts: 210
Quote:
ERROR_ENVVAR_NOT_FOUND

203 (0xCB)

The system could not find the environment option that was entered.

It's getting weirder and weirder >_<


(In my best NPC voice): "Unfortunately this is all I can do to aid you, wise Wizard. I wish you the best of luck on your quest!"
2023-02-05 22:34
chatGPZ

Registered: Dec 2001
Posts: 11148
Here is another possible fix (available in half an hour or so):

https://github.com/VICE-Team/svn-mirror/releases/tag/r43064

Please try again :)
2023-02-06 00:18
CreaMD

Registered: Dec 2001
Posts: 3036
When I had two monitors, only up and down movement worked properly. When I disconnected second monitor, disabled mouse grab and did ALT+M again it started to behave ok.

On fullscreen (ALT+D) it has weird acceleration, but I actually don't know how the mouse behaves on real C64, plus mouse sensitivity setting might be the factor (I played with it and it seemed to behave a bit less acceleratey). If I can say from my limited experience with C64 mouse/mouse emulation, it seems to work now.
2023-02-06 00:31
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: Here is another possible fix (available in half an hour or so):

https://github.com/VICE-Team/svn-mirror/releases/tag/r43064

Please try again :)


The plot thickens...
There is improvement!
(I can't do decent screen capture, so here's a written report)
It is still not possible to move the mouse into the VICE window the normal way. As soon as I activate Mouse-Grab the mouse jumps back to the center of the main screen (irreverent of the VICE window position) and as soon as I try to enter the window on the edge I see the cursor change to the resize window version for a very short time before being sent back to the center of the main screen.
But... There is an old Windows trick (bug) to work around that and which I have been using. When I keep the left button pressed and use the "drag selection window" function you can enter any window, whatever the state of it. And once you are in the window nothing happens because the window thinks the pressed button is the normal state and it's function is reversed.
So when I release the button and keep it pressed again then the window starts registering the mouse movement.
In the other versions the test sprite was moving completely irradical. In this version the test sprite moves as it should.
Long story but I think you're halfway there.
btw. Here's the log:

AUTOSTART: Done.
Sync reset
GTK3MOUSE: Status changed: 1 (enabled)
mouse move 2273.000000, 633.000000 GetCursorPos: 824, 519
mouse move 2273.000000, 631.000000 GetCursorPos: 824, 517
mouse move 2272.000000, 632.000000 GetCursorPos: 823, 518
-
(a lot of mouse movement without problems is cut out here)
-
mouse move 2273.000000, 632.000000 GetCursorPos: 824, 518
mouse move 2272.000000, 631.000000 GetCursorPos: 823, 517
mouse move 612.000000, 450.000000 GetCursorPos: -837, 336
mouse move 619.000000, 188.000000 GetCursorPos: -830, 74
mouse move 610.000000, 502.000000 GetCursorPos: -839, 388
Initiating render thread 0 shutdown
2023-02-06 13:11
chatGPZ

Registered: Dec 2001
Posts: 11148
OK So, those where it doesnt work, please try the following: before you enable "mouse grab", move the VICE window to the center of the screen, and place the mouse pointer in the center of the VICE window. NOW press ALT-M. Acoording to the current working theory this should then make it work. Does it?
2023-02-06 15:22
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: OK So, those where it doesnt work, please try the following: before you enable "mouse grab", move the VICE window to the center of the screen, and place the mouse pointer in the center of the VICE window. NOW press ALT-M. Acoording to the current working theory this should then make it work. Does it?

Did some more testing on different positions on the screen and the mouse is not necessarily placed in the center of the main screen as such but as far as I can see displaced one screen width to the right.

+---------.+ +---------.+
+---s2----+ +----s1---+
+---------.+ +---------.+
+---------.+ +---------.+

(screen size for both is 1920x1080)
eg. VICE is in center screen s2, mouse reappears in center s1.
Move VICE anywhere on s2 and mouse reappears one screen width to the right of it but on the same Y coordinate.
If VICE is started somewhere on s1 the mouse will reappear on the right most edge of s1 (no desktop there so can't go any further).

Here's the log:
AUTOSTART: Done.
Sync reset
GTK3MOUSE: Status changed: 1 (enabled)
mouse move 705.000000, 492.000000 GetCursorPos: 1207, 669
mouse move 700.000000, 344.000000 GetCursorPos: 1202, 521
mouse move 669.000000, 492.000000 GetCursorPos: 1171, 669
mouse move 562.000000, 351.000000 GetCursorPos: 1064, 528
mouse move 691.000000, 303.000000 GetCursorPos: 1193, 480
mouse move 1416.000000, 631.000000 GetCursorPos: 1918, 808
mouse move 1415.000000, 628.000000 GetCursorPos: 1917, 805
mouse move 1415.000000, 627.000000 GetCursorPos: 1917, 804
mouse move 1414.000000, 625.000000 GetCursorPos: 1916, 802
mouse move 1414.000000, 626.000000 GetCursorPos: 1916, 803
mouse move 1414.000000, 625.000000 GetCursorPos: 1916, 802
mouse move 1416.000000, 631.000000 GetCursorPos: 1918, 808
-
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 633.000000 GetCursorPos: 1919, 810
mouse move 1417.000000, 633.000000 GetCursorPos: 1919, 810
mouse move 1417.000000, 631.000000 GetCursorPos: 1919, 808
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 688.000000, 415.000000 GetCursorPos: 1190, 592
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
-
mouse move 1417.000000, 631.000000 GetCursorPos: 1919, 808
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 440.000000, 8.000000 GetCursorPos: -965, -163
mouse move 686.000000, 32.000000 GetCursorPos: -719, -139
mouse move 695.000000, 407.000000 GetCursorPos: -710, 236
(moved VICE window to second screen coords+1920)
mouse move 2274.000000, 632.000000 GetCursorPos: 869, 461
mouse move 2275.000000, 634.000000 GetCursorPos: 870, 463
mouse move 2275.000000, 634.000000 GetCursorPos: 870, 463
mouse move 2277.000000, 640.000000 GetCursorPos: 872, 469
mouse move 2279.000000, 641.000000 GetCursorPos: 874, 470
-
mouse move 2273.000000, 631.000000 GetCursorPos: 868, 460
mouse move 2272.000000, 631.000000 GetCursorPos: 867, 460
mouse move 2272.000000, 632.000000 GetCursorPos: 867, 461
mouse move 2272.000000, 631.000000 GetCursorPos: 867, 460
GTK3MOUSE: Status changed: 0 (disabled)
2023-02-07 22:50
aNdy

Registered: Jan 2004
Posts: 41
Now using 3.7.1 r43064...

Running x64sc.exe
Dell G15 Ryzen Edition Laptop
Windows 11 Home 21H2 (build 22000.1455)
1920x1080
NVIDIA GeForce RTX 3050 Laptop GPU (Driver 30.0.15.1277)
No touchscreen or second monitor

Test WORKS using both built in track-pad and USB wireless mouse.
2023-02-07 23:00
chatGPZ

Registered: Dec 2001
Posts: 11148
I think to reproduce the problem the following is needed:
- two monitors
- a relatively high display resolution (1920xsomething or so at least)
2023-02-08 18:51
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: I think to reproduce the problem the following is needed:
- two monitors
- a relatively high display resolution (1920xsomething or so at least)


This weekend I hope I'll have the opportunity to test that properly.
"I'll be back..."
2023-02-11 16:20
chatGPZ

Registered: Dec 2001
Posts: 11148
OK Good news: I can reproduce. And i can explain why it works for some and not for others: it depends on which side the primary monitor is located!

Please confirm:
- primary monitor "left", its broken
- primary monitor "right", it works fine

Also macOS and Linux users, please try this as well, so we can see if this is a bug in generic code or OS specific.
2023-02-11 17:44
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: OK Good news: I can reproduce. And i can explain why it works for some and not for others: it depends on which side the primary monitor is located!

Please confirm:
- primary monitor "left", its broken
- primary monitor "right", it works fine

Also macOS and Linux users, please try this as well, so we can see if this is a bug in generic code or OS specific.


I did some further testst and for me it only works when I have only one monitor connected. As far as I can see it doesn't matter whether the primary screen (or whatever spot VICE is on) is configured left or right.
Because of stubborn hardware I was not able to test different resolutions, though.
2023-02-11 18:12
Burglar

Registered: Dec 2004
Posts: 1051
ubuntu 22.04: 2160p left, 1440p right (primary)
3.7.1 and r43064 are both fine

ubuntu 22.04: 2160p left (primary), 1440p right
3.7.1 and r43064 are both fine
2023-02-12 18:28
chatGPZ

Registered: Dec 2001
Posts: 11148
Windows PPL please try https://github.com/VICE-Team/svn-mirror/releases/tag/r43150
2023-02-12 21:30
Angel of Death

Registered: Apr 2008
Posts: 210
Did some testing with moving about and screwing around with settings (and resetting them, etc) and works fine for me now.
Even through my docking station with dodgy drivers.
Good job, VICE people! \o/
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
stephan-a
DKT/Samar
celticdesign/G★P/M..
Guests online: 100
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Aliens in Wonderland  (9.6)
7 No Bounds  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Jazzcat  (8.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.105 sec.