project-navigation
Personal tools

Author Topic: Mouse speed  (Read 7456 times)

pikton

  • Guest
Mouse speed
« on: February 16, 2008, 02:01:21 pm »
Hi,

I installed the game on Kubuntu FF on a Dell Inspiron 640m, following the indications given in this forum.

I got the two packages from http://getdeb.net/app/UFO+Alien+Invasion
They installed just fine.

You did a great work, it looks to me like one of best linux port I've seen. I haven't seen much, but still !

Now here's the bad part :
On first run, it wasn't fullscreen and I found the mouse going very fast. So I tried to play with cvars in ~/.ufoai/base/config.cfg
I tried several combinations with in_dgamouse, in_mouse : didn't change anything.

I finally set vid_ref to "sdl" ; that gave me fullscreen. And the mouse seemed a little bit slower.
And config.cfg was modified so that the cvar in_dgamouse doesn't show anymore.

But the mouse has a latency that makes the game very hard to play.

Moreover, but this seems to be another issue, all the in-game text descriptions appear as the file name or the database entry (bolterrifle_pre_txt, intro_sentence1, laser_pre_txt, etc. that kind of thing).

I'll give you all output needed, just ask (I don't know where to start)

Thanks

ufogio

  • Guest
Re: Mouse speed
« Reply #1 on: February 16, 2008, 04:24:25 pm »
Quote
On first run, it wasn't fullscreen and I found the mouse going very fast. So I tried to play with cvars in ~/.ufoai/base/config.cfg
Why??

To switch to fullscreen, Options->Video->FullScreen.

pikton

  • Guest
Re: Mouse speed
« Reply #2 on: February 16, 2008, 06:14:10 pm »
Probably. But that's not an issue, I simply mentioned it because setting vid_ref to "sdl" made the game to start fullscreen.

My problem is the mouse latency. Just to clarify what I mean by latency : you move the mouse, you go chopping some wood or fishing, and when you come back the pointer has just moved. Okay, I'm exaggerating a bit, but it's almost a half-a-second-long delay, so it doesn't make the interface very user friendly...

If anyone has an idea ?

nemchenk

  • Guest
Re: Mouse speed
« Reply #3 on: February 16, 2008, 10:08:33 pm »
Are you getting decent FPS? ("Show FPS" in Options/Video)

pikton

  • Guest
Re: Mouse speed
« Reply #4 on: February 17, 2008, 05:40:17 pm »
I suppose 5.1 FPS and very shortly after 1.1 FPS is not decent FPS.
I tried with vid_ref set to glx and sdl - no decent FPS...

nemchenk

  • Guest
Re: Mouse speed
« Reply #5 on: February 17, 2008, 07:35:18 pm »
That's the mouse problem, at least for me :) When FPS drops below 5, the mouse (the game, really!) becomes unresponsive.

See my thread on 2.3.x -- I'm having poor FPS on Linux with the SVN code :(

pikton

  • Guest
Re: Mouse speed
« Reply #6 on: February 19, 2008, 07:02:20 pm »
Nemchenc,

I checked your post out.

I got the game from two Debian packages, I mean I'm not using a dev version compiled by me.

I got the glx direct rendering on.

and lspci outputs
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

I know it's not the gamer's graphic controller, but is it that bad that I can't get a better FPS ?

nemchenk

  • Guest
Re: Mouse speed
« Reply #7 on: February 19, 2008, 07:10:30 pm »
Are you getting hardware or software rendering? glxinfo | grep direct

pikton

  • Guest
Re: Mouse speed
« Reply #8 on: February 19, 2008, 09:02:04 pm »
I got the glx direct rendering on.

direct rendering : yes

That would mean hardware

nemchenk

  • Guest
Re: Mouse speed
« Reply #9 on: February 19, 2008, 09:50:55 pm »
yep :(

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Mouse speed
« Reply #10 on: February 25, 2008, 12:30:29 pm »
I'm on Windows, and I've recently switched my driver to Catalyst 7.12. I find myself having the same mouse latency, which was not the case on an older driver. Still, at least the game runs with that driver, which is somewhat surprising (see this thread).