Hardware Mouse Cursor Problems

Hardware Mouse Cursor Problems

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Lokstjert
Posts: 3
Joined: 20 May 2013, 20:15

Hardware Mouse Cursor Problems

Post by Lokstjert »

Hi!
My computer is ancient so when the first scout spam begin I get nasty lags. I figured (or rather vbs told me) that the hardware mouse cursor option would at least fix my cursor being lagged up.

This works like a charm until I select a unit.
Normally my cursor would change from an arrow to that green selection thingy icon. But with the hardware cursor option enabled it just disappears.
Ba v7.78, Spring 94 etc.
Any ideas?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Hardware Mouse Cursor Problems

Post by hoijui »

might this be an npot problem? as in, the cursor icon might not be 2^{a}*2^{b} sized? for example, it might be 16px*10px, but would have to be 16px*16px?
i just checked, and the cursors in springs base content are all 39px*39px.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Hardware Mouse Cursor Problems

Post by Beherith »

hoijui, what is the suggested fix? Should they rather just be upped to 64x64 with the canvas anchored in the top left?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Hardware Mouse Cursor Problems

Post by hoijui »

if this was issue, then yes, this could be a fix. though the anchor is in the middle, at least with some that i saw, so can not be in a corner.
but maybe this assumption is already totally off. jk should know about it. even if it is this, jk might just suggest to get a newer gfx card or driver. ;-)

Lokstjert, can you attach an infolog.txt log file to your post (as file) please? we could then see all the info about your GFX card and driver that we might need, plus possibly other things that could cause the problem.
Lokstjert
Posts: 3
Joined: 20 May 2013, 20:15

Re: Hardware Mouse Cursor Problems

Post by Lokstjert »

hoijui wrote:if this was issue, then yes, this could be a fix. though the anchor is in the middle, at least with some that i saw, so can not be in a corner.
but maybe this assumption is already totally off. jk should know about it. even if it is this, jk might just suggest to get a newer gfx card or driver. ;-)

Lokstjert, can you attach an infolog.txt log file to your post (as file) please? we could then see all the info about your GFX card and driver that we might need, plus possibly other things that could cause the problem.


Absolutely! Thank you for looking in to this.
Attachments
infolog.txt
(32.84 KiB) Downloaded 6 times
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Hardware Mouse Cursor Problems

Post by hoijui »

[f=0000000] GL version: 3.3.10907 Compatibility Profile Context
[f=0000000] GL vendor: ATI Technologies Inc.
[f=0000000] GL renderer: ATI Radeon HD 3800 Series
[f=0000000] GLSL version: 3.30
[f=0000000] GLEW version: 1.5.8
[f=0000000] Video RAM: total 225MB, available 449MB
[f=0000000] GL info:
haveARB: 1, haveGLSL: 1, ATI hacks: 1
FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 0
maximum texture size: 8192, compress MIP-map textures: 0
maximum SmoothPointSize: 63, maximum vec4 varying/attributes: 32/29
maximum drawbuffers: 8, maximum recommended indices/vertices: 16777215/2147483647
number of UniformBufferBindings: 45 (64kB)
NPOT-texture support: 1
so in theory, it should not be that.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Hardware Mouse Cursor Problems

Post by jK »

cursors are POTified.
Possible problems:
* the game's used cursor is >64x64 and ati fails with those
* just another ati bug (hw cursor is known to fail in fullscreen on atis)
User avatar
PepeAmpere
Posts: 591
Joined: 03 Jun 2010, 01:28

Re: Hardware Mouse Cursor Problems

Post by PepeAmpere »

I had a similar problem with "blicking" hardware cursor (sometimes not transparent squares behind) . It usually happends if i used some media program before playing spring (VLC player, PhotoShop). After restart it is ok. My drivers are updated.

Happends with default TA cursors, arrow is ok, but "orders-cursors" do this.
Post Reply

Return to “Help & Bugs”