Jump to content

Graphics issues on a very old i386 pc


Recommended Posts

Hello,

 

I recently acquired a new pc to tide me by for basic tasks for a while, and it ended up being pretty old, a Thinkpad x60s with 2Gigs DDR2 ram and a core duo processor at something like 1.66 Ghz. I understand that this is very, very old hardware, but I figured it might still be relevant information, given that the machine was released in 2006, so JK3 should have been able to run on it. I am building on Lubuntu 15.04, i386.

 

The build process was smooth, copied over the assets to the appropriate folder and started up. Already, at least one thing is behaving oddly in the menu:

 

2RcUMtN.png

 

 

 

In the character selection screen I see something like this:

 

QI78qZA.png

 

 

And ingame looks something like this,


6n189Dm.png

 

iVEhYJn.png

 

I piped the console output from the game to a text file, the contents of which are here:
 

OpenJK: v1.0.1.1 linux-i386 Jun 20 2015
Initialising zone memory .....
----- FS_Startup -----
Current search path:
/home/bruce/.local/share/openjk/base
./base/assets3.pk3 (16 files)
./base/assets2.pk3 (62 files)
./base/assets1.pk3 (8320 files)
./base/assets0.pk3 (15346 files)
./base

----------------------
23744 files in pk3 files
execing default.cfg
execing openjk_sp.cfg
couldn't exec autoexec_sp.cfg
Running Jedi Academy Mode
----- Client Initialization -----
----- Initializing Renderer ----
Trying to load "rdsp-vanilla_i386.so" from "."...
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
SDL using driver "x11"
Initializing OpenGL display
Display aspect: 1.333
...setting mode 4: 800 600
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '640x480 800x600 1024x768'
GL_RENDERER: Mesa DRI Intel(R) 945GM x86/MMX/SSE2
Initializing OpenGL extensions
...GL_S3_s3tc available
...no tc preference specified
.....using GL_S3_s3tc
...using GL_EXT_texture_env_add
...GL_EXT_texture_filter_anisotropic available
...using GL_EXT_texture_filter_anisotropic
...using GL_EXT_texture_edge_clamp
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...GL_NV_register_combiners not found

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) 945GM x86/MMX/SSE2
GL_VERSION: 1.4 Mesa 10.5.2
GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color 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_multitexture GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 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_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture 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_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_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_half_float_pixel 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_pixel_buffer_object GL_ARB_texture_rectangle GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_gpu_program_parameters GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_map_buffer_range GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_EXT_provoking_vertex GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_texture_storage GL_AMD_shader_trinary_minmax GL_ARB_clear_buffer_object GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_multi_bind GL_KHR_context_flush_control 
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 4, 800 x 600 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
lightmap texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: enabled
compressed lightmaps: disabled
texture compression method: GL_S3_s3tc
anisotropic filtering: enabled  (4 of 4)
Dynamic Glow: disabled

------- sound initialization -------
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "pulseaudio".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     44100
  Samples:  512
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
UI menu load time = 1785 milli seconds
------ Server Initialization ------
OpenJK: v1.0.1.1 linux-i386 Jun 20 2015
Server: yavin1
Sys_GetGameAPI(./base/jagamei386.so) failed: "Failed loading ./base/jagamei386.so: ./base/jagamei386.so: cannot open shared object file: No such file or directory"
Sys_GetGameAPI(/home/bruce/.local/share/openjk/base/jagamei386.so) failed: "Failed loading /home/bruce/.local/share/openjk/base/jagamei386.so: /home/bruce/.local/share/openjk/base/jagamei386.so: cannot open shared object file: No such file or directory"
Sys_GetGameAPI(./OpenJK/jagamei386.so): succeeded ...
------- Game Initialization -------
gamename: OpenJK
gamedate: Jun 20 2015
-----------------------------------
-----------------------------------
UI menu load time = 3076 milli seconds
...loaded 1877 faces, 58 meshes, 134 trisurfs, 0 flares
------ Unloading Game ------
------ Server Initialization ------
OpenJK: v1.0.1.1 linux-i386 Jun 20 2015
Server: yavin1b
Sys_GetGameAPI(./base/jagamei386.so) failed: "Failed loading ./base/jagamei386.so: ./base/jagamei386.so: cannot open shared object file: No such file or directory"
Sys_GetGameAPI(/home/bruce/.local/share/openjk/base/jagamei386.so) failed: "Failed loading /home/bruce/.local/share/openjk/base/jagamei386.so: /home/bruce/.local/share/openjk/base/jagamei386.so: cannot open shared object file: No such file or directory"
Sys_GetGameAPI(./OpenJK/jagamei386.so): succeeded ...
------- Game Initialization -------
gamename: OpenJK
gamedate: Jun 20 2015
-----------------------------------
-----------------------------------
UI menu load time = 49 milli seconds
...loaded 818 faces, 26 meshes, 150 trisurfs, 0 flares
WARNING: RE_RegisterSkin( 'models/players/player/model_default.skin' ) failed to load!
Saving game "auto"...
Done.
------ Unloading Game ------
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
-----------------------
Automatically freeing 4243 blocks making up 62858860 bytes
WARNING: Freeing 1 extra blocks (10 bytes) not tracked by the zone manager

If necessary, I can open this as a issue on github. It looks an awful lot like one of the libpng/libjpeg might not be working correctly, given that the meshes are visible, just no textures on certain things? </wildspeculation>

Link to comment

Cvar. You can set it at startup, or during runtime followed by a vid_restart command.

 

Yep, that fixed the issues. Now I have it running at ~25 fps, which is good enough for me. Funny enough, the setting that made the biggest difference performance wise was switching the texture filter setting to bilinear, that gained a whole 10 fps and  removed most of the jerkiness.

 

I had a pair of segfaults trying to reload video settings, but I cant seem to reliably reproduce them. I will open an issue for it if I can eventually reproduce.

 

Thanks :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...