Author Topic: [not a bug] v3.6.0, radeon: Mouse clicks are registered at bottom of screen  (Read 2170 times)

brodix

  • Guest
Edit (tomreyn): Similar reports: one, two


Hi I am having some issues with character movement and couldn't find a solution googling or searching this forum.

 When I click on a resource, character, or existing building everything works as it should. However if I click on empty space to build something, set rally point,  or just to move the character then the click will register to the bottom edge of the screen instead of where I actually clicked.

 I am running Arch Linux 64bit  and it is up to date. I had the same problems on this machine using Fedora16 as well.

 
« Last Edit: 22 February 2012, 14:10:29 by tomreyn »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Moving to bottom of screen instead of where I clicked
« Reply #1 on: 17 December 2011, 16:35:09 »
Sounds like a buggy driver. Unfortunatley you're not providing anywhere close to enough information to make a more educated guess. See the sticky thread in the bug reports forums for hints on what information to provide.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

brodix

  • Guest
Re: Moving to bottom of screen instead of where I clicked
« Reply #2 on: 17 December 2011, 17:01:51 »
Thanks let me know if anything else is needed

-Operating System: Arch Linux 64bit
-Graphics Card:  ATI Technologies Inc 760G [Radeon 3000]
-Normal resolution of the monitor: 1600x900

The only setting I changed was the resolution to 1600x900 but It does the same thing at the default resolution.

------------------------------------------------------------------------------------------------------------------

Code: [Select]
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
   Subsystem: ASUSTeK Computer Inc. Device 8388
   Flags: bus master, 66MHz, medium devsel, latency 0
   Capabilities: [c4] HyperTransport: Slave or Primary Interface
   Capabilities: [54] HyperTransport: UnitID Clumping
   Capabilities: [40] HyperTransport: Retry Mode
   Capabilities: [9c] HyperTransport: #1a
   Capabilities: [f8] HyperTransport: #1c

00:01.0 PCI bridge: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx) (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 0000d000-0000dfff
   Memory behind bridge: fe800000-fe9fffff
   Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
   Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. Device 8388
   Kernel modules: shpchp

00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
   I/O behind bridge: 0000e000-0000efff
   Memory behind bridge: fea00000-feafffff
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot+), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. Device 8388
   Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [110] Virtual Channel
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
   I/O ports at c000 [size=8]
   I/O ports at b000 [size=1.45em]
   I/O ports at a000
   I/O ports at 9000
   I/O ports at 8000 [size=16]
   Memory at fe7ffc00 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [60] Power Management version 2
   Capabilities: [70] SATA HBA v1.0
   Kernel driver in use: ahci
   Kernel modules: ahci

00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
   Memory at fe7fe000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd

00:12.1 USB controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
   Memory at fe7fd000 (32-bit, non-prefetchable)
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd

00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at fe7ff800 (32-bit, non-prefetchable) [size=256]
   Capabilities: [c0] Power Management version 2
   Capabilities: [e4] Debug port: BAR=1 offset=00e0
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd

00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe7fc000 (32-bit, non-prefetchable)
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd

00:13.1 USB controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe7fb000 (32-bit, non-prefetchable)
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd

00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at fe7ff400 (32-bit, non-prefetchable)
   Capabilities: [c0] Power Management version 2
   Capabilities: [e4] Debug port: BAR=1 offset=00e0
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd

00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
   Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard
   Flags: 66MHz, medium devsel
   Capabilities: [b0] HyperTransport: MSI Mapping Enable- Fixed+
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c-piix4, sp5100_tco

00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (prog-if 8a [Master SecP PriP])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
   I/O ports at 01f0
   I/O ports at 03f4 [size=0.7em]
   I/O ports at 0170
   I/O ports at 0374
   I/O ports at ff00
   Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit-
   Kernel driver in use: pata_atiixp
   Kernel modules: ata_generic, pata_acpi, pata_atiixp

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
   Subsystem: ASUSTeK Computer Inc. Device 840c
   Flags: bus master, slow devsel, latency 64, IRQ 16
   Memory at fe7f4000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel

00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
   Memory behind bridge: feb00000-febfffff

00:14.5 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8389
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe7fa000 (32-bit, non-prefetchable)
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
   Flags: fast devsel
   Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
   Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
   Flags: fast devsel
   Kernel modules: amd64_edac_mod

00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
   Flags: fast devsel
   Capabilities: [f0] Secure device <?>
   Kernel driver in use: k10temp
   Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
   Flags: fast devsel

01:05.0 VGA compatible controller: ATI Technologies Inc 760G [Radeon 3000] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device 8388
   Flags: bus master, fast devsel, latency 0, IRQ 18
   Memory at d0000000 (32-bit, prefetchable) [size=256M]
   I/O ports at d000
   Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K]
   Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: [50] Power Management version 3
   Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Kernel driver in use: radeon
   Kernel modules: radeon

02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0)
   Subsystem: ASUSTeK Computer Inc. Device 83fe
   Flags: bus master, fast devsel, latency 0, IRQ 41
   Memory at feac0000 (64-bit, non-prefetchable) [size=256K]
   I/O ports at ec00 [size=128]
   Capabilities: [40] Power Management version 3
   Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [58] Express Endpoint, MSI 00
   Capabilities: [6c] Vital Product Data
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [180] Device Serial Number ff-37-ef-e4-20-cf-30-ff
   Kernel driver in use: atl1c
   Kernel modules: atl1c

03:07.0 Network controller: Ralink corp. RT2500 802.11g (rev 01)
   Subsystem: Ralink corp. Sweex LC700050 802.11b/g Wireless LAN PCI Card
   Flags: bus master, slow devsel, latency 64, IRQ 21
   Memory at febfe000 (32-bit, non-prefetchable) [size=8K]
   Capabilities: [40] Power Management version 2
   Kernel driver in use: rt2500pci
   Kernel modules: rt2500pci

Edit (tomreyn): Wrap lspci outout into code/spoiler tags.
Edit (Omega): Removed spoiler tag. Combined with code tags makes crappy formatting bugs.
« Last Edit: 18 December 2011, 08:03:56 by Omega »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Moving to bottom of screen instead of where I clicked
« Reply #3 on: 17 December 2011, 17:34:42 »
The information you provide on your PCI devices is definitely detailed now. :)
Some more basic information is missing though:
  • Which version of MegaGlest and Arch Linux are you running?
  • How much RAM is available for MegaGlest to work with (i.e. total physical RAM minus what operating system and other running processes consume)?
  • Which CPU does this computer have?
Please also run this in the MegaGlest installation directory and paste its output here, wrapped in a code tag (use the # button while editing your post):
./start_megaglest --opengl-info

And please try whether running the game like this helps:
./start_megaglest --disable-vbo
« Last Edit: 17 December 2011, 17:40:45 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

brodix

  • Guest
Re: Moving to bottom of screen instead of where I clicked
« Reply #4 on: 17 December 2011, 17:38:39 »
I'm using the latest Arch 2011.08.19
I have 8GB installed. System monitor shows 1.4GB of 7.6GB is used

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Moving to bottom of screen instead of where I clicked
« Reply #5 on: 17 December 2011, 18:03:57 »
Please see my edited post above.

The issue you are describing seems known to me. I think I used to have this once with an integrated Intel GPU and unstable drivers. I think this was a MESA issue then, so this may also be the case for you. Can you check whether this issue also occurs for others who use Arch 2011.08.19 and the radeon drivers with OpenGL software? Alternatively, you could test your hardware and graphics issue against an alternative, well tested combination of X, mesa and the radeon drivers (such as an Ubuntu 11.10 live CD-ROM)?

Another option is to wait for Softcoder to come up with a better way to help you analyze this issue (he often has a more targetted approach there than I do).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

brodix

  • Guest
Re: Moving to bottom of screen instead of where I clicked
« Reply #6 on: 17 December 2011, 18:54:12 »
megaglest-3.6.0.1-1
Arch Linux 2011.08.19
1.4GB of 7.6GB used
AMD Athlon(tm) II X2 245 Processor (2.9GHz)

./megaglest --disable-vbo     did not help

I'll try your other suggestions shortly

Code: [Select]
OpenGL Info:
   OpenGL Version: 2.1 Mesa 7.11.2
   OpenGL Renderer: 2.1 Mesa 7.11.2
   OpenGL Vendor: X.Org
   OpenGL Max Lights: 8
   OpenGL Max Texture Size: 8192
   OpenGL Max Texture Units: 8
   OpenGL Modelview Stack: 32
   OpenGL Projection Stack: 32
OpenGL Extensions:
   GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract
   GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array
   GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels
   GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap
   GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB
   GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix
   GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic
   GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4
   GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_dot3
   GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow
   GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos
   GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers
   GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers
   GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_ARB_depth_clamp
   GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100
   GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate
   GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float
   GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc
   GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object
   GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil
   GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_gpu_program_parameters GL_EXT_texture_compression_latc GL_EXT_texture_env_combine
   GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_half_float_vertex GL_ARB_instanced_arrays
   GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects
   GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_draw_buffers_blend GL_AMD_shader_stencil_export
   GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions
   GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod
   GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_robustness

OpenGL Platform Extensions:
« Last Edit: 17 December 2011, 19:00:26 by brodix »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Moving to bottom of screen instead of where I clicked
« Reply #7 on: 18 December 2011, 07:38:42 »
There is a way to use the normal operating system mouse. Try this to see if it solves the problem:

start the game as you normally would. At the start of the game (after launching it) press the / key and it till toggle to normal Operating system mouse. Then see if clicking works?

brodix

  • Guest
Re: Moving to bottom of screen instead of where I clicked
« Reply #8 on: 18 December 2011, 17:10:06 »
Switching the mouse curso made no difference.
 I tried LinuxMint 12 live cd and the games plays properly in it. What should I be comparing between it and my ArchLinux install to find the culprit?

x211321

  • Guest
Re: Moving to bottom of screen instead of where I clicked
« Reply #9 on: 20 December 2011, 13:13:46 »
Hi there,

just wanted to let you know that i noticed the same behavior on one of my arch machines when i switched the graphics driver from catalyst/fglrx to radeon. So my guess would be that there is a bug in the newer radeon drivers since op mentiond that it also wasn't working for him on the new fedora.

@brodix: did you try downgrading the radeon driver?
+ im pretty sure that it should work with the catalyst one so you might try it that way.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
It is also possible that this is an SDL bug: Try add this in start_megaglest script before the game launches:

export SDL_MOUSE_RELATIVE=0

(found this bug report here: https://bugs.launchpad.net/ubuntu/+source/glest/+bug/521893)

 

anything