English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 18 April 2004, 02:50   #1
Mister Szukon
 
Posts: n/a
Sloppy Mouse Cursor :-(

My Mouse Cursor is working a little bit sloppy under WinUAE, ever since Toni has rewritten Mouse handling code for DirectInput.

The problem is, that there is a delay of about 0,1 second between moving my mouse and the reaction on the screen. Of course, it's not my mouse's problem as it doesn't happen under Windows (WinXP, USB Mouse, Standard Windows Drivers).

Changing the Mouse Speed option does change the pointer speed, but the delays are still there.

Toni, would it be possible to select between the old and the new code? Or perhaps you could fix the current problem? I'd really appreciate that because WinUAE is nearly perfect, but this one bug makes it very hard to use (at least for me).
 
Old 18 April 2004, 10:23   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
I don't see any delays but you can enable old mouse mode by using input-tab.

Select custom configuration, disable "Mouse *" and enable "Windows Mouse" (enabled = checkbox next to device name is checked)

DirectInput is used by default because only it can support >3 buttons and other extra mouse features.

Latest WinUAE's readme.txt has more information about mouse handling.
Toni Wilen is offline  
Old 19 April 2004, 02:51   #3
Mister Szukon
 
Posts: n/a
great!

Thanx, Toni! This has fixed the problem!

I will investigate further if the delays are my configuration-specific or not. There is also a possibility that you simply don't notice it because delays are really small... You might try changing input from DirectInput to standard Windows Mouse Input in UAE to try to see the difference.

Greetings and sorry for not reading the docs careful enough. 8-)
 
Old 19 April 2004, 13:32   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
I have looked at the mouse control more closely than you can ever imagine... (Hi andreas )
Toni Wilen is offline  
Old 19 April 2004, 23:50   #5
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 45
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Stick out tongue hehe

*impish grin*
andreas is offline  
Old 24 April 2004, 01:38   #6
Leo
 
Posts: n/a
I also got big mouse lags here. Using old mouse mode as you stated won't change anything :/

It seems to not happen on WB/Picasso96 mode (maybe the input/mouse under AmigaOS has something to do about it) but on normal AGA/OCS, mouse lags a lot: this makes any breakout game unplayable :/

No such problem under WindowsXP...

Any idea ?

Leo.

PS: the probem seem to happen in older versions of WinUAE as well...
 
Old 26 April 2004, 23:35   #7
Ralph Wiggum
 
Posts: n/a
Quote:
Originally Posted by Toni Wilen
Select custom configuration, disable "Mouse *" and enable "Windows Mouse" (enabled = checkbox next to device name is checked)
Thanks a lot! I had the same problem with a soggy mousefeeling before. Disabling "Mouse *" fixed the problem
 
Old 24 July 2004, 18:39   #8
VermillioN
 
Posts: n/a
Unhappy

I've started using winuae a few days ago after a long while and are getting a .2 second lag with the mouse and possibly the keyboard aswell. I've built a new PC since the last time I used winuae and from what I remember this lag was not present. Switching between mouse & windows mouse makes no difference and yes it seems this problem doesn't exist when using picasso modes. I even fired up one of my dusty a500's to make sure winuae was lagging.. and it is. This is a serious pain in the ass, what could possibly be causing it?
 
Old 24 July 2004, 18:58   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
Try setting priority to "Below normal"
Toni Wilen is offline  
Old 25 July 2004, 09:54   #10
VermillioN
 
Posts: n/a
No difference
 
Old 26 July 2004, 18:26   #11
Asterix
Registered User
 
Join Date: Nov 2003
Location: Germany
Age: 47
Posts: 32
Send a message via ICQ to Asterix
perhaps post a bit more about your system-config (what system/ mouse/ drivers/ others).
maybe its a driver-problem
Asterix is offline  
Old 27 July 2004, 10:13   #12
VermillioN
 
Posts: n/a
ok why not

Abit IC-7 mobo
Intel P4 2.6C @3.3
Radeon 9800XT 256
Corsair 512MB @ 500Mhz
WinXP SP2
Standard MS Intellimouse Optical

All latest drivers already installed, latest abit bios..

I even tried hooking the mouse through PS2 but made no diff..

btw..sorry to be a pain in the ass toni as I know u must be snowed under with all the work of the upcoming winuae release..

And a couple of config which may be relevant:

Last edited by VermillioN; 18 May 2007 at 15:02.
 
Old 27 July 2004, 10:25   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
XP SP2? Does it happen without SP2? SP2 is still in beta.. Of course I don't have any problems with latest public SP2 build but that doesn't mean anything
Toni Wilen is offline  
Old 27 July 2004, 11:10   #14
VermillioN
 
Posts: n/a
Nop I first noticed the lag when I fired it up a while before installing the SP2 cd
 
Old 01 August 2004, 05:23   #15
VermillioN
 
Posts: n/a
Ok I can now confirm this lag is because I'm running winuae in 720x576x16 @50. Any other resolution results in low cpu usage and no lag, but of course crappy scrolling and fast sound. 720x576 seems to be the only res I can run in 50hz and have a faithful amiga reproduction.. (that sounded funny..), but the only res where the mouse lags
 
Old 02 August 2004, 06:20   #16
VermillioN
 
Posts: n/a
Tried the new version of winuae today. Lots of lovely new features.. kikass
Still getting the mouse lag tho..

k so in short:

-any resolution using 50/100hz and vsync results in mouse lag. cpu sits on 100%
-any resolution using 60/70/85hz etc results in no lag. cpu sits on around 5% but of course yechy scrolling

surely there are other users who use 50hz + vsync that don't experiance lag
 
Old 02 August 2004, 17:15   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
Unfortunately most (all?) display drivers busywait while waiting for vsync.

I think it could be possible to fix this by separating display and input handling in separate threads but it would make things much more complex..
Toni Wilen is offline  
Old 03 August 2004, 06:42   #18
VermillioN
 
Posts: n/a
Ok well I guess the question is whether it's worth it or not. Well considering vsync is the only way to enforce perfect timing/scrolling.. (or am I wrong..).. c'mon toni - consider it a challenge Your coding skills are elite I know u can do it hehe.
Seriously though as so many users surely utilise vsync, and that most display drivers busywait I'm surprised the lag issue has hardly been addressed by ppl at all. Well on this forum anyway. Not even andreas where is he when I need him..
 
Old 03 August 2004, 17:52   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,268
I booted to WB 1.3 with VSync enabled and I didn't see anything wrong with mouse movement. I even tried switching quickly between vsync and non-vsync.

I guess it is another driver or Windows "feature"..
Toni Wilen is offline  
Old 03 August 2004, 21:42   #20
VermillioN
 
Posts: n/a
ok well this is strange.. thought I'd try running a 50hz mode 'without' vsync checked thinking it would result in poor scrolling - cpu has drastically dropped, the lag is no more and vsync for some reason is still enabled as scrolling is as fluid as it ever could be.. wierd
thats ok though coz IT WORKZ!
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[2.1.19dev] Stuttering screen and/or mouse cursor with this version nexusle support.FS-UAE 2 22 January 2013 00:11
You shoot characters with your mouse cursor darkwave request.Old Rare Games 4 30 January 2012 18:18
Mouse cursor problem lost_lemming support.Hardware 12 01 March 2010 18:33
North And South - mouse cursor problem. pathduck support.WinUAE 1 18 September 2005 21:24
two cursor objects kaare johansson support.WinUAE 1 24 December 2002 01:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.08957 seconds with 13 queries