project-navigation
Personal tools

Author Topic: Problem with mouse / sdl  (Read 5426 times)

kUnde

  • Guest
Problem with mouse / sdl
« on: May 12, 2006, 11:29:44 am »
Hello,
I've downloaded the latest beta (svn down??) but I have strange problems with the mouse.
I have search the forum but every tip doesn't help for me (grabmouse, fullscren etc)
my mous lags extremely if resolution is high, if I set mode to 640x480 mous speed is fine but I cannot reach with the mouse the right side of the screen (no buttons and so on)

I'm running Fedora 4 with installed fglrx module

there was a tip to set vid_ref to "sdl" but when I am doing this I'm getting:

Code: [Select]

M@localhost ufoai]$ ./ufoai
Adding game dir: ./base
using /home/M/.ufoai/base/ for writing
Adding game dir: /home/M/.ufoai/base
Using data dir (./base/i18n/) for locate settings
Setting language to C
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Using OSS
Soundsystem: OSS.
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
------- Loading ref_sdl.so -------
LoadLibrary("ref_sdl.so"): can't open /etc/ufo.conf
LoadLibrary("ref_sdl.so") failed: No such file or directory
Dumped console text to /home/M/.ufoai/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.


thanks

Hoehrer

  • Guest
Problem with mouse / sdl
« Reply #1 on: May 12, 2006, 11:45:51 am »
I think one possible solution would be to lower the "Options"->"Texture Resolution Cap" setting in the menu (or edit the 'set gl_maxtexres "2048"' setting to something lower in config.cfg .. i think it should be a power of 2 .. but i'm not sure it's the correct setting)
At least that helped me when the mouse was moving slow/funky.

The problem with the missing "ref_sdl.so"-file is that you either didn't compile with sdl-support (see the Makefile in src/linux) or it wasn't shipped with your downloaded package.

If that doesn't help i'm out of ideas, maybe mattn has some tips.

Werner

kUnde

  • Guest
Problem with mouse / sdl
« Reply #2 on: May 12, 2006, 11:52:13 am »
I played a bit around with the texture resolution but this did not help.
Only lowering the resolution speed up the mouse.
I cannot currently access the svn, is this a problem of my PC or is it really down (500 server error)
And yes, my binary package hat no ref_sdl.so included

Hoehrer

  • Guest
Problem with mouse / sdl
« Reply #3 on: May 12, 2006, 12:25:48 pm »
Quote from: "kUnde"
I played a bit around with the texture resolution but this did not help.
Only lowering the resolution speed up the mouse.
I cannot currently access the svn, is this a problem of my PC or is it really down (500 server error)
And yes, my binary package hat no ref_sdl.so included

The SVN-service seems to work fine, i can update normally.
Only the web-frontend is still down.

Sorry, i do not know what else could cause this mouse-behaviour.

Werner

kUnde

  • Guest
Problem with mouse / sdl
« Reply #4 on: May 12, 2006, 12:47:09 pm »
ah ok I only tried the web directory sorry for confusing you
so I will try the latest svn version

Hoehrer

  • Guest
Problem with mouse / sdl
« Reply #5 on: May 12, 2006, 01:47:01 pm »
Quote from: "kUnde"
ah ok I only tried the web directory sorry for confusing you

That problem has been around some days now, so i already suspected it was 'only' the web-frontend when you mentioned the server-problem :)

Quote from: "kUnde"
so I will try the latest svn version

Please post any obstacles or extra steps you encounter in this thread.
It's always good to have feedback on such things.

Werner

kUnde

  • Guest
Problem with mouse / sdl
« Reply #6 on: May 12, 2006, 02:38:58 pm »
I got it working with the svn version.
it works with glx and sdl. (had to link the ref_sdl.so)
however I had to set alowdownload to 0 because it was searching for file env/tr.tga while entering a combat...