Author Topic: Window/Mouse Major Problem in Ubuntu  (Read 5543 times)

luddini

  • Posts: 10
  • Turrets: +1/-0
Window/Mouse Major Problem in Ubuntu
« on: June 02, 2008, 04:40:28 pm »
I'm trying to run the game on my laptop running Ubuntu.  Never played Tremulous before but I'm not having any luck so far..

When I try to run the game it seems to try to go fullscreen, fails, and opens in a window.  In the window the mouse is completely not working.  So the game works in a window without a mouse, not very useful!  Its a USB mouse, but the actual mousepad on the laptop doesn't work either if that helps.

Its a new laptop with 2 ghz processor, 2GB ram, and a nvidia graphics card (cant remember which one but i can look it up if its important).

Please, any ideas?

jackForward

  • Posts: 100
  • Turrets: +12/-4
Re: Window/Mouse Major Problem in Ubuntu
« Reply #1 on: June 03, 2008, 07:09:01 am »
You can toggle the window mode by pressing "Alt + enter". Try this.
If this does not solve your problem, run tremulous in a console and post the output here.

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #2 on: June 03, 2008, 01:00:53 pm »
tremulous 1.1.0 linux-x86 Jun 16 2007
----- FS_Startup -----
Current search path:
/home/greg/.tremulous/base
/usr/share/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/share/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/share/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/share/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/share/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/share/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/share/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/share/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/share/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/share/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/share/games/tremulous/base
/usr/lib/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: GeForce Go 7600/PCI/SSE2
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce Go 7600/PCI/SSE2
GL_VERSION: 2.1.2 NVIDIA 169.12
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters 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_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
GL_MAX_TEXTURE_SIZE: 4096
GL_MAX_ACTIVE_TEXTURES_ARB: 4

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 3, 640 x 480 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/uncreation.shader'
...loading 'scripts/q3map2_tremor.shader'
...loading 'scripts/tremor.shader'
...loading 'scripts/transit.shader'
...loading 'scripts/niveus.shader'
...loading 'scripts/nexus6.shader'
...loading 'scripts/karith.shader'
...loading 'scripts/atcs.shader'
...loading 'scripts/arachnid2.shader'
...loading 'scripts/jetpack.shader'
...loading 'scripts/core.shader'
...loading 'scripts/flame.shader'
...loading 'scripts/misc.shader'
...loading 'scripts/common-trem.shader'
...loading 'scripts/titan.shader'
...loading 'scripts/water.shader'
...loading 'scripts/displays.shader'
...loading 'scripts/plant_life.shader'
...loading 'scripts/stasis.shader'
...loading 'scripts/booster.shader'
...loading 'scripts/eggpod.shader'
...loading 'scripts/medistat.shader'
...loading 'scripts/mgturret.shader'
...loading 'scripts/reactor.shader'
...loading 'scripts/telenode.shader'
...loading 'scripts/trapper.shader'
...loading 'scripts/overmind.shader'
...loading 'scripts/tesla.shader'
...loading 'scripts/dcc.shader'
...loading 'scripts/hive.shader'
...loading 'scripts/level2.shader'
...loading 'scripts/human.shader'
...loading 'scripts/null.shader'
...loading 'scripts/weapons.shader'
...loading 'scripts/conkit.shader'
...loading 'scripts/advckit.shader'
...loading 'scripts/psaw.shader'
...loading 'scripts/mdriver.shader'
...loading 'scripts/flamer.shader'
...loading 'scripts/crosshairs.shader'
...loading 'scripts/grenade.shader'
...loading 'scripts/splash.shader'
...loading 'scripts/marks.shader'
...loading 'scripts/sprites.shader'
...loading 'scripts/muzzleflashes.shader'
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  470
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x8b48be8 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
UI menu load time = 386 milli seconds
UI menu load time = 27 milli seconds
UI menu load time = 21 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
Hostname: greg-laptop
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Window/Mouse Major Problem in Ubuntu
« Reply #3 on: June 03, 2008, 04:49:13 pm »
Press the tilde key to release the mouse in windowed mode.

Sounds like the screen mode that tremulous is attempting to set is not supported on your system. Try adding the following to your ~/.tremulous/base/autogen.cfg :

set r_customwidth "[width]"
set r_customheight "[height]"
set r_mode "-1"

Where [width] and [height] are those of your normal desktop resolution.

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #4 on: June 03, 2008, 05:24:47 pm »
My /usr/share/games/tremulous/base directory doesn't contain a autogen.cfg file?

I tried a search of my whole filesystem for autogen.cfg and no luck.. does it maybe need to be created and added to that base dir?

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Window/Mouse Major Problem in Ubuntu
« Reply #5 on: June 03, 2008, 05:33:08 pm »
It should be in your home directory

/home/yourname/.tremulous/base/autogen.cfg

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #6 on: June 03, 2008, 06:06:44 pm »
Doesn't exist (no Tremulous dir in my home dir).

I should mention I installed the game using the package manager repository and not from downloading the install file.  Make a difference?

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #7 on: June 03, 2008, 07:16:00 pm »
That doesn't make a difference. There's a directory called ".tremulous"(NOTE THE PERIOD IN THE NAME. THAT IS NOT A TYPO!) which can be revealed in Nautilus by going to View -> Show Hidden Files.

However, the problem is most likely because of Compiz. For some reason, recent versions of Compiz in Ubuntu break fullscreen in Tremulus, so the only way to fix it is to kill Compiz and use Metacity while Tremulous is running. Here's a start script I put in my bin directory(/home/me/bin/):
Code: [Select]
#!/bin/bash

if ps ax | grep -v grep | grep metacity > /dev/null; then
donotreplace="1"
else
donotreplace="0"
fi

if [[ $donotreplace == "0" ]]; then
metacity --replace &
fi

/usr/bin/tremulous +set r_fullscreen 1 "$@"

if [[ $donotreplace == "0" ]]; then
compiz --replace &
fi
This tests for Compiz running, replaces Compiz(if it's running) with Metacity, loads Tremulous(and waits for you to close Tremulous), then replaces Metacity with Compiz after you close Tremulous.

Also, you must apply executable permissions to this script. You can do that with the file properties dialog. Then you run this script(double click). DO NOT run the Tremulous game shortcut in your Applications menu or this script won't work. I recommend naming this script "tremulous" so that when you run it from a console, your shell will prefer this script over just running Tremulous from /usr/bin/.

If someone could improve this, that would be great.

Also, here's the bug report on Launchpad. There seems to be a better script on there for handling any SDL application(like Tremulous). Both mine and his solutions work.
« Last Edit: June 03, 2008, 07:26:15 pm by Odin »

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #8 on: June 03, 2008, 07:40:35 pm »
I'll give it a shot Odin.  How then should I launch the game?

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #9 on: June 03, 2008, 07:46:41 pm »
The script should launch the game for you, all you have to do is execute the script. You can execute it from anywhere by typing out the full path to the script, but I recommend putting it in bin/ in your home directory, so that you can truly run it from anywhere just by typing "tremulous".

Note that you have to log out then in again on your shell to get bin/ to function as bin/ is not available by default. You'll have to create the directory in your home directory. This can be done in bash with "mkdir ~/bin", or in Nautilus by simple right-click tools. Then put my script in bin/ and call the script "tremulous"(with no file type or extension, and no quotes).

You have to log out then log in again for bash to recognize the new directory in your executable PATH. If you run Tremulous from a terminal emulator(like gnome-terminal) all you have to do is just close the terminal and open it up again.

Once you're done, either double click the script, or type "tremulous" in a terminal to get it to work.
« Last Edit: June 03, 2008, 07:49:36 pm by Odin »

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #10 on: June 03, 2008, 07:50:32 pm »
Ok it launches in a bigger window, but its just a big blank black window now (with sound working).  When I try alt-enter to go full screen it seems to try and then just hangs up.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #11 on: June 03, 2008, 07:52:46 pm »
Run it from a terminal and show us the output.

Example:
$ tremulous &>log.txt

EDIT: I forgot the magic "&" symbol.
« Last Edit: June 03, 2008, 07:54:24 pm by Odin »

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #12 on: June 03, 2008, 08:00:28 pm »
tremulous 1.1.0 linux-x86 Jun 16 2007
----- FS_Startup -----
Current search path:
/home/greg/.tremulous/base
/usr/share/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/share/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/share/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/share/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/share/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/share/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/share/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/share/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/share/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/share/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/share/games/tremulous/base
/usr/lib/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode -1: 0 0
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: GeForce Go 7600/PCI/SSE2
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce Go 7600/PCI/SSE2
GL_VERSION: 2.1.2 NVIDIA 169.12
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters 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_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
GL_MAX_TEXTURE_SIZE: 4096
GL_MAX_ACTIVE_TEXTURES_ARB: 4

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: -1, 0 x 0 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/uncreation.shader'
...loading 'scripts/q3map2_tremor.shader'
...loading 'scripts/tremor.shader'
...loading 'scripts/transit.shader'
...loading 'scripts/niveus.shader'
...loading 'scripts/nexus6.shader'
...loading 'scripts/karith.shader'
...loading 'scripts/atcs.shader'
...loading 'scripts/arachnid2.shader'
...loading 'scripts/jetpack.shader'
...loading 'scripts/core.shader'
...loading 'scripts/flame.shader'
...loading 'scripts/misc.shader'
...loading 'scripts/common-trem.shader'
...loading 'scripts/titan.shader'
...loading 'scripts/water.shader'
...loading 'scripts/displays.shader'
...loading 'scripts/plant_life.shader'
...loading 'scripts/stasis.shader'
...loading 'scripts/booster.shader'
...loading 'scripts/eggpod.shader'
...loading 'scripts/medistat.shader'
...loading 'scripts/mgturret.shader'
...loading 'scripts/reactor.shader'
...loading 'scripts/telenode.shader'
...loading 'scripts/trapper.shader'
...loading 'scripts/overmind.shader'
...loading 'scripts/tesla.shader'
...loading 'scripts/dcc.shader'
...loading 'scripts/hive.shader'
...loading 'scripts/level2.shader'
...loading 'scripts/human.shader'
...loading 'scripts/null.shader'
...loading 'scripts/weapons.shader'
...loading 'scripts/conkit.shader'
...loading 'scripts/advckit.shader'
...loading 'scripts/psaw.shader'
...loading 'scripts/mdriver.shader'
...loading 'scripts/flamer.shader'
...loading 'scripts/crosshairs.shader'
...loading 'scripts/grenade.shader'
...loading 'scripts/splash.shader'
...loading 'scripts/marks.shader'
...loading 'scripts/sprites.shader'
...loading 'scripts/muzzleflashes.shader'
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  470
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x8b48e80 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
UI menu load time = 366 milli seconds
UI menu load time = 22 milli seconds
UI menu load time = 18 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
Hostname: greg-laptop
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
Shutdown tty console

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #13 on: June 03, 2008, 08:11:46 pm »
You're not running it with the script, according to the output of that log. Did you log out, then log back in? Try running the script directly in your terminal(before trying logging out/in) to see if it actually works.
Code: [Select]
~$ bin/tremulous &>log2.txt
« Last Edit: June 03, 2008, 08:13:32 pm by Odin »

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #14 on: June 03, 2008, 08:18:22 pm »
Forgot to log out/in.  Here is the output now:

/home/greg/bin/tremulous: line 13: /usr/bin/tremulous: No such file or directory
Checking for Xgl: greg@greg-laptop:~$ not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0398 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1680x1050) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
GConf backend: There is an unsupported value at path /apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings from this path won't be read. Try to remove that value so that operation can continue properly.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #15 on: June 04, 2008, 05:33:28 am »
Change line 13(the Tremulous execution line) to be /usr/games/tremulous, instead of /usr/bin/tremulous. I made a mistake with how the Tremulous Debian package installs the game on the system and thought it was /usr/bin/.

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #16 on: June 04, 2008, 01:30:35 pm »
Ok so when I tried this now it came up fullscreen but totally black (blank).  So I tried removing the
seta r_customheight "[1050]"
seta r_customwidth "[1680]"
seta r_mode "-1"

and then it worked.  Full screen.  But the actual game is a small window on my screen.  Appreciate the help this is a bit crazy.. any other ideas for how to change the resolution?


Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Window/Mouse Major Problem in Ubuntu
« Reply #17 on: June 04, 2008, 05:49:43 pm »
noo! Don't include the square braces!

should be:

set r_customheight "1050"
set r_customwidth "1680"
set r_mode "-1"

You can change the in-game screen size using the + and - keys just like in DOOM.

luddini

  • Posts: 10
  • Turrets: +1/-0
Re: Window/Mouse Major Problem in Ubuntu
« Reply #18 on: June 04, 2008, 06:38:48 pm »
...and .. it works great now.  thanks for all the help.

90 fps.  great graphics.

thx

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Window/Mouse Major Problem in Ubuntu
« Reply #19 on: June 04, 2008, 08:45:49 pm »
No problem. Hopefully in the near future the bug will be fixed and you won't have to use the workaround script anymore(it seems like a regression since it used to work just fine with fullscreen SDL apps).