MegaGlest Forum

Archives (read only) => Glest Advanced Engine => General discussion => Topic started by: Kiko on 21 January 2012, 12:25:19

Title: Graphic mouse pointer very slow in Windows
Post by: Kiko on 21 January 2012, 12:25:19
I run GAE under Windows Vista on a dual-core PC with 2GB RAM, and in most respects it's fine. When I use MegaGlest I find a nice speed-up when disabling the graphical mouse pointer, which is very sluggish in both engines. The following .ini file setting works in MG but not in GAE – is there something similar in GAE which does work? (I can't find anything after hours of searching online).

No2DMouseRendering=true

Thanks in hope!
Title: Re: Graphic mouse pointer very slow in Windows
Post by: Zoythrus on 22 January 2012, 16:37:33
i can kinda agree with this, there seems to be a tad bit of lag, which can get frustrating.
Title: Re: Graphic mouse pointer very slow in Windows
Post by: Kiko on 22 January 2012, 16:49:23
i can kinda agree with this, there seems to be a tad bit of lag, which can get frustrating.

Yeah, it's quite bad on my machine once a game has a lot of units. Sometimes I miss selecting them correctly, and other times I can't tell where the mouse pointer is for a second or two! With an ordinary pointer in MG it's as fast as it usually is in Windows.
Title: Re: Graphic mouse pointer very slow in Windows
Post by: hailstone on 18 February 2012, 08:03:33
The mouse should really be rendered in a separate thread so it doesn't get affected by any lag (unless there's another way to guarentee render time). Until then I've added an ini option to choose which mouse cursor type to use. The valid choices for RenderMouseCursorType are: ImageSetMouseCursor (default, uses images), CodeMouseCursor (hardcoded representation), OSMouseCursor. (commit 5de8487313..)

e.g. RenderMouseCursorType=OSMouseCursor
Title: Re: Graphic mouse pointer very slow in Windows
Post by: will on 18 February 2012, 10:44:01
Crazy.  *why* is it slow?  It should be exact same speed.  Threads won't help.  Its simply been implemented wrong.
Title: Re: Graphic mouse pointer very slow in Windows
Post by: Kiko on 28 February 2012, 13:41:16
Not an issue for me now as I've gone over to Linux Mint and MegaGlest, using the normal desktop mouse cursor as the '3D' one is slower in Linux too. No worries any more. :)