what it needs to be done it rewrote to use 64/48 box and not the
fullscreen... b/c it traps it in the center anyways and using 64/48
will fit to ANY screen res....<br><br><div><span class="gmail_quote">On 11/6/05, <b class="gmail_sendername">Anders Storsveen</b> <<a href="mailto:wakko@generation.no">wakko@generation.no</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anders Storsveen wrote:<br><br>>I'm having some weird problems, with quake2-qmax I have a stable fps<br>>right under the cl_maxfps var, however in regular quake2 I got like<br>>60-70 fps max! that's really weird, isn't the entire difference between
<br>>qmax and regular some textures?<br>><br>>It's really weird! I have an ati 9700 card.<br>><br>>Also the mouse is really weird in glx-mode, it's some kind of negative<br>>acceleration, when I move it real slow it goes the wrong way, until I
<br>>turn up the speed just a little, it comes to a stop and then goes the<br>>right way. It's really problematic!<br>><br>>and the last thing is that the gamma mode is different in sdl and glx, I<br>>have noticed and posted about this before. I think it's the gamma method
<br>>it uses, glx uses desktop gamma/hw-gamma somehow, which is very nice and<br>>crips. while SDL uses software-gamma/brightness, which washes out the<br>>colors and is horrible!<br>><br>>also I get alsa buffer underuns now, which makes my sound go in a loop,
<br>>and I get 13-15fps in the game, If I do s_initsound 0 and snd_restart<br>>the game goes back to normal!<br>><br>>It would be fantastic if someone could look into this and fix it, it's<br>>also the only problems I'm having, and the game would be perfect if this
<br>>would work!<br>><br>><br>><br>><br><br>Ok, I've been testing a little more on the mouse issue, when I turn on<br>dgamouse the mouse in glx mode works again. I've been checking out the<br>sourcecode, and the mouse code is really weird in most cases, this is
<br>for glx's non-dga mousehandling..<br><br> mx -= ((int)event.xmotion.x - mwx) * 2;<br> my -= ((int)event.xmotion.y - mwy) * 2;<br> mwx = event.xmotion.x;<br> mwy = event.xmotion.y
;<br><br> if (mx || my)<br> dowarp = true;<br><br>where:<br><br> int mwx = vid.width/2;<br> int mwy = vid.height/2;<br><br>I think there might be some rounding errors here, since widht and height
<br>divided by two isn't the excact center...<br><br>also, I still don't get why it's hard to fix hardware gamma in sdlmode<br>when it works nice in glxmode...<br><br>and lastly newest cvs is really b0rked, any button I press in console
<br>scrolls one line up :P<br><br></blockquote></div><br>