Discussion:
Mouse inverted
Michael Stather
2005-09-25 14:14:45 UTC
Permalink
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon graphics
card. Video worked, although sloppy with both glx and sdlgl (any ideas what
could cause this). But both mouse axises were inverted, e.g. left was right
and up was down. What can I do about this?

regards and hanks for your help

Michael Stather
Michel Dänzer
2005-09-25 16:37:01 UTC
Permalink
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon graphics
card. Video worked, although sloppy with both glx and sdlgl (any ideas what
could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
--
Earthling Michel D?nzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Michael Stather
2005-09-25 19:30:56 UTC
Permalink
Post by Michel Dänzer
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl (any
ideas what could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
Michael Stather
2005-09-25 19:32:06 UTC
Permalink
No, I mean that sometimes the framerate is high and sometimes its low,
independant of the details in game. This changes every second or so. If I
walk it seems to me that I walk fast, then slow, then fast again.
Post by Michel Dänzer
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl (any
ideas what could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
eatdeadmonkeys
2005-09-25 22:52:24 UTC
Permalink
that is a bug in quake2... im not sure why it happens... i made a hack.. its
really easy.. goto where it init the mouse and put "x=-x; y=-y;" (you can
also make it a cvar...
my guess it happens with non-dga mouse..
Post by Michael Stather
No, I mean that sometimes the framerate is high and sometimes its low,
independant of the details in game. This changes every second or so. If I
walk it seems to me that I walk fast, then slow, then fast again.
Post by Michel Dänzer
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl
(any
Post by Michel Dänzer
Post by Michael Stather
ideas what could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake2/attachments/20050925/d971ae55/attachment.htm>
Michael Stather
2005-09-25 23:01:48 UTC
Permalink
Yeah, thanks for the help.

However I suggest fixing the bug is a better solution than writing hacks to
workaround it. Is there any active development on q2 for linux?
Post by eatdeadmonkeys
that is a bug in quake2... im not sure why it happens... i made a hack..
its really easy.. goto where it init the mouse and put "x=-x; y=-y;" (you
can also make it a cvar...
my guess it happens with non-dga mouse..
Post by Michael Stather
No, I mean that sometimes the framerate is high and sometimes its low,
independant of the details in game. This changes every second or so. If I
walk it seems to me that I walk fast, then slow, then fast again.
Post by Michel Dänzer
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl
(any
Post by Michel Dänzer
Post by Michael Stather
ideas what could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
Nelson Marques
2005-09-26 06:16:37 UTC
Permalink
I think you guys might want to take a look at Quake 3 source, since it's
been solved. Yes, it's related to DGA, and Quake 3 enables it by default
if it's disabled. You can check that in the startup console when the
game starts outputed to tty.

I'm not a coder, but an answer or an idea might be taken from there to
permanently solve this issue.

Cheers,
NM
Post by Michael Stather
Yeah, thanks for the help.
However I suggest fixing the bug is a better solution than writing hacks to
workaround it. Is there any active development on q2 for linux?
Post by eatdeadmonkeys
that is a bug in quake2... im not sure why it happens... i made a hack..
its really easy.. goto where it init the mouse and put "x=-x; y=-y;" (you
can also make it a cvar...
my guess it happens with non-dga mouse..
Post by Michael Stather
No, I mean that sometimes the framerate is high and sometimes its low,
independant of the details in game. This changes every second or so. If I
walk it seems to me that I walk fast, then slow, then fast again.
Post by Michel Dänzer
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl
(any
Post by Michel Dänzer
Post by Michael Stather
ideas what could cause this).
If by sloppy you mean lag between input and rendering, try setting
gl_finish to 1 if it isn't yet.
Brendan Burns
2005-09-26 02:47:53 UTC
Permalink
The bug is fixed in the CVS version (As I recall it is only present when
DGA is enabled...)

There is (semi) active development on this project...

Which I suppose means that I should get another release together ;-P

--brendan
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon graphics
card. Video worked, although sloppy with both glx and sdlgl (any ideas what
could cause this). But both mouse axises were inverted, e.g. left was right
and up was down. What can I do about this?
regards and hanks for your help
Michael Stather
Michael Stather
2005-09-26 08:09:02 UTC
Permalink
Cool, I?m looking forward to it :)

Just for interest, is it hard to understand the source of Q2 (is it C or C++).
I thought about trying to understand the source code of one of those classic
games (like doom or quake) and I wonder which one is the best to start. Is
the source commented?

regards

Michael
Post by Brendan Burns
The bug is fixed in the CVS version (As I recall it is only present when
DGA is enabled...)
There is (semi) active development on this project...
Which I suppose means that I should get another release together ;-P
--brendan
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl (any
ideas what could cause this). But both mouse axises were inverted, e.g.
left was right and up was down. What can I do about this?
regards and hanks for your help
Michael Stather
Brendan Burns
2005-09-26 13:20:26 UTC
Permalink
Hmm, is it hard to understand?
(It's in C, btw)

I don't think its really that hard to understand, with two big caveats:
I wouldn't try it if it were the first big application I was trying to
understand...
Its really not written for understandability (quake3 might be a better
place to look) it was written to be fast and thus has some ugliness...

Btw, if you do try to look at the code, one of the weirdest things to
wrap your head around is the use of shared libraries, the functions from
the shared libraries get loaded into a data structure, and they those
functions get called from the main source...

If you do take a look and have any questions, feel free to post them to
the list...

--brendan
Post by Michael Stather
Cool, I?m looking forward to it :)
Just for interest, is it hard to understand the source of Q2 (is it C or C++).
I thought about trying to understand the source code of one of those classic
games (like doom or quake) and I wonder which one is the best to start. Is
the source commented?
regards
Michael
Post by Brendan Burns
The bug is fixed in the CVS version (As I recall it is only present when
DGA is enabled...)
There is (semi) active development on this project...
Which I suppose means that I should get another release together ;-P
--brendan
Post by Michael Stather
I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
graphics card. Video worked, although sloppy with both glx and sdlgl (any
ideas what could cause this). But both mouse axises were inverted, e.g.
left was right and up was down. What can I do about this?
regards and hanks for your help
Michael Stather
qudos
2005-09-27 17:21:57 UTC
Permalink
Post by Michael Stather
Cool, I?m looking forward to it :)
Just for interest, is it hard to understand the source of Q2 (is it C or C++).
I thought about trying to understand the source code of one of those classic
games (like doom or quake) and I wonder which one is the best to start. Is
the source commented?
regards
Me, with no knowledge about programing or code in general was able to
modify hardly quake2 engine (both q2icculus & quake2 id vanilla
sources), you can take a look to my QuDos engine based in q2icculus
port.

I began just this year (Feb or March), first following game moding
guides, later little engine changes and now ripping from other engines
and also following tuts from quakesrc.org.

Now i'm able even to modify functions for linux compatibility, again i
have no idea about programing so if you have a minimun knowledge for
sure will be easy to go.

Just today downloaded an enhanced quake1 modification from this site
http://user.tninet.se/~xir870k/ got it succesfully running in linux
:) , also got working partially the updated nehahra engine too (all in
about two hours).

Slowly but i'm learning, i'm happy =)

Cheers!

Loading...