project-navigation
Personal tools

Author Topic: I can't move my mouse  (Read 13314 times)

kilrathi

  • Guest
I can't move my mouse
« Reply #15 on: April 09, 2006, 09:37:28 pm »
Just tried with the newest nvidia drivers and it's even worse - "mouse crash" is almost immidiate and "pointing zone" is reduced to about 50x50 pixels :(

I'll download the newest ufo version from svn - it's my only hope  :?

If there is anyone who succeed running UFO:AI on Debian - please contact me

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
I can't move my mouse
« Reply #16 on: April 10, 2006, 08:19:50 am »
i am running and developing ufo:ai under debian. but try the newest svn and then we can talk about that.
and don´t forget to install the x-extensions for vidmode and dga (+dev)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
I can't move my mouse
« Reply #17 on: April 10, 2006, 08:59:39 pm »
ok, i´ve changed quite a lot mouse related things in svn - please give feedback

kilrathi

  • Guest
I can't move my mouse
« Reply #18 on: April 11, 2006, 11:42:01 pm »
I don't have much time now so i guess i'll try the svn version this weekend.
Is there any compiling manual for svn version?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
I can't move my mouse
« Reply #19 on: June 16, 2006, 12:37:59 am »
> Is there any compiling manual for svn version?

Yes:

http://ufo.myexp.de/wiki/index.php/Compile_for_Linux#Compile

(but the Debian desctiption at the bottom of that seems more comprehensive).

marvin

  • Guest
I can't move my mouse
« Reply #20 on: July 15, 2006, 03:51:19 am »
Hallo everybody,
I am new here so first greetings to everybody and a big thanks to all the hard working people making a great game.

I have this very slow mouse problem too. Tried all the solutions offered here upgraded to the newest version. Still the same problem.
Are there more things I can try to make it run.
I am running the svn version on ubuntu 6.06

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
I can't move my mouse
« Reply #21 on: July 15, 2006, 09:29:04 am »
more infos - post the ufoconsole.log or send it to mailinglist.

marvin

  • Guest
I can't move my mouse
« Reply #22 on: July 15, 2006, 11:46:14 am »
Here is my ufoconsole.log


Console initialized.

------- sound initialization -------
Using Alsa
sound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting fullscreen mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
Using hardware gamma
GL_VENDOR: Mesa project: www.mesa3d.org
GL_RENDERER: Mesa GLX Indirect
GL_VERSION: 1.2 (1.5 Mesa 6.4.1)
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_HP_occlusion_test GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
...GL_EXT_compiled_vertex_array not found
...using GL_EXT_point_parameters
...using GL_ARB_multitexture
...using GL_EXT_texture_env_combine
...GL_SGIS_multitexture not found
...GL_ARB_texture_compression not found
...GL_EXT_texture_filter_anisotropic not found
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...GL_ATI_separate_stencil not found
...max texture size:
......cannot detect !
...SDL_ttf inited
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
couldn't exec autoexec.cfg
...using language: en_GB.UTF-8
Shared Client/Server Info loaded
Couldn't open 'music/theme.ogg'
...precaching 45 menus
Can't find pics/
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
====== UFO Initialized ======

Changing to Singleplayer

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
I can't move my mouse
« Reply #23 on: July 15, 2006, 05:28:19 pm »
> GL_VENDOR: Mesa project: www.mesa3d.org

You seem to have software renderer enabled (or not, I'm not sure). For me this reads:

> GL_VENDOR: NVIDIA Corporation

Do you have not only the Nvidia drivers installed but also their -dev portions and  the xlibmesa***-dev packages removed? Then recompile...

BTW, should I have anything about dga in my log when compile with DGA and then run with +set in_dgamouse 1?

P.S. Have all of you uncommented the "omit" option in /etc/X11/xorg.conf (or /etc/X11/XF86Config-4 if you have an old distro)? Like that:
Code: [Select]

#SubSection "extmod"
#Option "omit xfree86-dga"
#EndSubSection

and make sure to have
Code: [Select]
Load "extmod"
somewhere in the file...

Oh, and there is one more tip from an old forum:
Code: [Select]
Manually edited config.cfg to:
- set in_mouse "0"
- set in_dgamouse "1"


(Unfortunately, for me in fullscreen mode, none of this works. So I'm stuck with glx with no DGA in Makefile (only then it says "...XF86DGA is not compiled in", so the makefile option really works for me, but mouse does not work with DGA).)

erno

  • Guest
the same problem
« Reply #24 on: July 30, 2006, 10:45:42 pm »
Hi,
I've the same problem, but when I tried set
Load "extmod"
into my xorg.conf, something changed - now mouse can move continuously but only horizontally on top of screen, cannot move vertically....

Any idea, pls?

Thanks for reply

erno

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
I can't move my mouse
« Reply #25 on: July 30, 2006, 11:32:20 pm »
Have you tried every trick in the thread and on the wiki? (In particular both sdl and glx renderers and DGA...) Have you tried SVN trunk?

erno

  • Guest
I can't move my mouse
« Reply #26 on: August 06, 2006, 01:58:20 pm »
Hi,
so I've got already figured out.
Bandobras: You have had true, there was my mistake, 'cause I had "onfig.cfg" instead of "config.cfg", and it was in bad location. I run Gentoo and this build is from stable tree, which means that there is something in /usr/games/ and something in /usr/share/games/ufo-ai/base/ and I had the "onfig.cfg" in /usr/share/games/ufo-ai/ instead "config.cfg" in ~/base/. So, in a nutshell it's fixed (for Gentoo) in a few steps:

1) in /etc/X11/xorg.conf add in Section "Module" >>
#subsection "extmod"
#Option "omit xfree-dga"
#EndSubSection
Load "extmod"

2) create file config.cfg in
/etc/share/games/ufo-ai/base/ with lines >>
set in_mouse "0"
set in_dgamouse "1"

that's all. I don't know why, but portage didn't create file config.cfg, and doesn't work ./ufo (in any location including /home/**user**.

Thanks to all for assistance and sorry for my english, I'm from Czech Republic..

-erno-

erno

  • Guest
I can't move my mouse
« Reply #27 on: August 06, 2006, 02:51:16 pm »
Uh, I must send some accessary:

From my previous tests I had in my /usr/share/games/ufo-ai/base/default.cfg some commented lines:
#set in_mouse "0"
#set in_dgamouse "1"

this is because it doesn't work. So, when I removed this lines (due to cleaning), mouse going back on top of screen and problem was back. So I sended this strange lines again back in default.cfg and it's again work fine. I don't know, what this means, but in thi time I have:
1)
/usr/share/games/ufo-ai/base/default.cfg >>
//
// DEFAULT CVARS
//

set vid_ref         glx
set gl_driver      libGL.so
set gl_mode         6
set   vid_fullscreen   0
set crosshair      1
#set in_mouse "0"
#set in_dgamouse "1"

//----------------------------------------------

//
//   INIT STUFF
//
alias   init      "mn_main main;mn_sequence sequence;mn_push main"

//
// newgame command
//
alias   newgame " killserver ; maxclients 1"

//
// quake2 +set dedicated 1
// will run this command if no other +map is included
//
alias   dedicated_start   "map base1"

2)
/usr/share/games/ufo-ai/base/config.cfg >>
set in_mouse "0"
set in_dgamouse "1"

ant now it's work perfectly. If I'll remove #set in_mouse "0" and #set in_dgamouse "1" from default.cfg, problem is back...
why?

can anyone cast light on this?

thanks for all...

erno

  • Guest
I can't move my mouse
« Reply #28 on: August 06, 2006, 03:05:57 pm »
uff, I'm sorry for this, but:
what I post previously, it's not true. The problem is accidental, once time mouse work fine, next time doesn't. I don't know... maybe it's fixed, when I try ./ufo in /usr/share/games/ufo-ai/ and then ufo-ai instead of just ufo-ai...

I apologize, again..

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
I can't move my mouse
« Reply #29 on: August 06, 2006, 09:39:19 pm »
Congratulations for you patience. For the mouse now runs perfectly both in glx and sdl, thanks to some recent mattn fixes in SVN trunk. Upgrade and you should be fine...