Discussion:
Shutdown problems
Nelson Marques
2005-02-20 03:20:26 UTC
Permalink
Hi,

Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like a
terminal open, you can still type, keyboard input is still present, all
the rest is gone. Latest nvidia drivers on FC 3 running .xorg-x11-6.8.1-12.

Any help would be welcome,

Thanks in advance,
nelson marques
Brendan Burns
2005-02-21 14:08:47 UTC
Permalink
Hey,
I've had this happen when quake2 crashes, but not when I quit... It
has something to do with Quake grabbing the cursor and not letting it
go cleanly... I've found that restarting quake and quitting again
often fixes it... Obviously this is not a perfect solution...

--brendan
Post by Nelson Marques
Hi,
Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like
a terminal open, you can still type, keyboard input is still present,
all the rest is gone. Latest nvidia drivers on FC 3 running
.xorg-x11-6.8.1-12.
Any help would be welcome,
Thanks in advance,
nelson marques
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2377 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20050221/9333509a/attachment.bin>
x0563511
2005-02-21 19:00:07 UTC
Permalink
Little OT, but how is FC3? I'm using debian Sarge/Sid - would switching
to FC3 be a good or a bad thing? I'm not having any issues with it ATM.

As for the mouse problem... I have no idea. If you're kernel has
hotplugging/pnp support and you have a USB mouse, have you tried
unhooking it for a few seconds?
Post by Nelson Marques
Hi,
Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like
a terminal open, you can still type, keyboard input is still present,
all the rest is gone. Latest nvidia drivers on FC 3 running
.xorg-x11-6.8.1-12.
Any help would be welcome,
Thanks in advance,
nelson marques
Nelson Marques
2005-02-21 20:28:42 UTC
Permalink
Post by x0563511
Little OT, but how is FC3? I'm using debian Sarge/Sid - would
switching to FC3 be a good or a bad thing? I'm not having any issues
with it ATM.
Neither am I. One small problem, wich everything points to a third party
software problem isn't enough to gun down the mainstream distro, and the
proud sucessor of the product who won most of the battle in the linux vs
windows scene.
Post by x0563511
As for the mouse problem... I have no idea. If you're kernel has
hotplugging/pnp support and you have a USB mouse, have you tried
unhooking it for a few seconds?
Usually I don't unplug my mouse. Anyway, it's isn't only Q2 problem, it
happens to all the ID games, only in ID Quake Engine (Q2 and Q3A, also
doom 3) based games.

Wolfenstein: Enemy Territory -> Same problem
Quake 2 -> ...
Quake 3 Arena -> ... (same doesn't happen while using the Urban
Territory mod)
Doom 3 -> same happens
Return to Castle Wolfenstein -> Same issue.

Unreal Tournament and UT2004 have been fail proof when I try to
recreate the problem. Anyway, SELinux doesn't help in many things. Got
completly wipped out. Goodbye NSA!

I confirm what Brendan said in a previous post.

regs,
nmarques
Post by x0563511
Post by Nelson Marques
Hi,
Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like
a terminal open, you can still type, keyboard input is still present,
all the rest is gone. Latest nvidia drivers on FC 3 running
.xorg-x11-6.8.1-12.
Any help would be welcome,
Thanks in advance,
nelson marques
Nick Warne
2005-02-21 20:47:12 UTC
Permalink
Post by Nelson Marques
Usually I don't unplug my mouse. Anyway, it's isn't only Q2 problem, it
happens to all the ID games, only in ID Quake Engine (Q2 and Q3A, also
doom 3) based games.
Wolfenstein: Enemy Territory -> Same problem
Quake 2 -> ...
Quake 3 Arena -> ... (same doesn't happen while using the Urban
Territory mod)
Doom 3 -> same happens
Return to Castle Wolfenstein -> Same issue.
Unreal Tournament and UT2004 have been fail proof when I try to
recreate the problem. Anyway, SELinux doesn't help in many things. Got
completly wipped out. Goodbye NSA!
I confirm what Brendan said in a previous post.
Usual mouse problems in Linux stem from gpm which reads mouse events. I have
never used it, and the always remove the gpm daemon (or not install it).

Maybe a bum steer, but worth looking at if not tried.

Nick
--
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."
tei
2005-02-22 16:07:59 UTC
Permalink
[..]
Post by Nick Warne
Post by Nelson Marques
Wolfenstein: Enemy Territory -> Same problem
Quake 2 -> ...
Quake 3 Arena -> ... (same doesn't happen while using the Urban
Territory mod)
Doom 3 -> same happens
Return to Castle Wolfenstein -> Same issue.
Unreal Tournament and UT2004 have been fail proof when I try to
recreate the problem. Anyway, SELinux doesn't help in many things. Got
completly wipped out. Goodbye NSA!
I confirm what Brendan said in a previous post.
Usual mouse problems in Linux stem from gpm which reads mouse events. I have
never used it, and the always remove the gpm daemon (or not install it).
Maybe a bum steer, but worth looking at if not tried.
Nick
How dificult can be to write a small app that get the cursor and restore
the cursor?

restoremouse.o

then run games trough a script:

#!/bin/sh

./mygamedoom -q $1 $2 $3
./restoresemouse.o


I am not linux developer, so I dont know how you trap the cursor on
linux, but maybe you can do something like this:

/*compile me as restoremouse*/
void main() {
trap_mouse();
untrap_mouse();
untrap_mouse();
}
Fabrice Colin
2005-02-21 19:44:34 UTC
Permalink
Post by Nelson Marques
Hi,
Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like a
terminal open, you can still type, keyboard input is still present, all
the rest is gone. Latest nvidia drivers on FC 3 running .xorg-x11-6.8.1-12.
I have a very similar setup here and I am not seeing this problem.
Did you try the RPMs I built for FC3 ? The URL is :
http://www.chez.com/colinf/quake2/

Fabrice
Nicolai Haehnle
2005-02-22 22:33:12 UTC
Permalink
Post by Nelson Marques
Hi,
Anyone had any exiting problems on Quake2 client using ref GLX ?
Currenlty when I quit the game it just stalls mouse movement on the
screen and the X Server stops right there, if you have something like a
terminal open, you can still type, keyboard input is still present, all
the rest is gone. Latest nvidia drivers on FC 3
running .xorg-x11-6.8.1-12.

This is a *very* common problem with many games. As Brendan said, Quake
grabs the mouse pointer and fails to release it again.

I'd argue that this is actually an X server bug, since the X server should
really release all resources when a client quits, and the mouse grab is a
kind of resource.

cu,
Nicolai
Post by Nelson Marques
Any help would be welcome,
Thanks in advance,
nelson marques
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20050222/cee81ade/attachment.pgp>
Loading...