Need help with installing on Ubuntu

Post your questions here
Oprayx
Posts: 21
Joined: Fri Jan 20, 2012 9:19 am
Location: So - CaL
Contact:

Re: Need help with installing on Ubuntu

Post by Oprayx »

Ok and again thank you for all the help! I appreciate it.
-Oprayx
banda
Posts: 1
Joined: Fri Dec 07, 2012 7:33 am
Team: Privateer

Re: Need help with installing on Ubuntu

Post by banda »

This problem happens with 64 bit Ubuntu when the 32 bit compatibility layer insn't installed.

Use the Ubuntu Software Center to install "ia32-libs"

This set of libraries allows 64 bit Ubuntu to run 32 bit executables. If the libraries aren't installed, the operating system tells you that the executable isn't found, which is misleading. Just install the libraries, and all will be well.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

banda wrote:This problem happens with 64 bit Ubuntu when the 32 bit compatibility layer insn't installed.

Use the Ubuntu Software Center to install "ia32-libs"

This set of libraries allows 64 bit Ubuntu to run 32 bit executables. If the libraries aren't installed, the operating system tells you that the executable isn't found, which is misleading. Just install the libraries, and all will be well.
Just for anyone that might google, I also had the "bash: ./mxbin: No such file or directory" problem. Then I installed a bunch of 32 bit (i386) libraries and it worked. On ubuntu 16.04 LTS if that would have any affect.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

To make it easier if any one else struggles ever, I think these are all the libraries I installed. I'm not sure if you need the non i386 ones as I am not an expert, but I though I could list them since they might be needed.

Code: Select all

sudo dpkg --add-architecture i386
sudo apt-get install libstdc++6:i386
sudo apt-get install ia32-libs
sudo apt-get install libxi6:i386
sudo apt-get install libgl1-mesa-glx-lts-utopic:i386
sudo apt-get install libxtst6:i386
sudo apt-get install libxtst6
sudo apt-get install libxext6
sudo apt-get install libasound2:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

I'm getting an error when I try to load a track. It says "bikes loading" then it crashes:

Code: Select all

kristoffer@HP-PC:~$ cd mxsimulator/
kristoffer@HP-PC:~/mxsimulator$ ./mx
Segmentation fault (core dumped)
"Segmentation fault (core dumped)" is what I'm getting when the game crashes. Here's the lastlog as well:

Code: Select all

[412311:57:11.73] Logfile "/home/kristoffer/.mxsimulator/lastlog.txt" opened
[412311:57:11.75] JUGL 0.31
[412311:57:11.78] MX Simulator version 2017-01-03-1329 snapshot
[412311:57:13.59] Opening display at 0x0x16...
[412311:57:13.92] VisualID=0xab
[412311:57:13.92] Options:
[412311:57:13.92]       shm: [on]
[412311:57:13.92]      sync: [on]
[412311:57:13.94] 
XDevice: "Virtual core pointer"
[412311:57:13.94] 12 buttons
[412311:57:13.94] 4 axes (Relative)
[412311:57:13.94] 
XDevice: "Virtual core keyboard"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "Virtual core XTEST pointer"
[412311:57:13.94] 10 buttons
[412311:57:13.94] 2 axes (Relative)
[412311:57:13.94] 
XDevice: "Virtual core XTEST keyboard"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "Power Button"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "Video Bus"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "Sleep Button"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "HP HD Webcam [Fixed]"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "AT Translated Set 2 keyboard"
[412311:57:13.94] 255 keys
[412311:57:13.94] 
XDevice: "SynPS/2 Synaptics TouchPad"
[412311:57:13.94] 12 buttons
[412311:57:13.94] 4 axes (Relative)
[412311:57:13.94] 
XDevice: "HP WMI hotkeys"
[412311:57:13.94] 255 keys
[412311:57:14.12] Opening audio
[412311:57:14.67] Using ALSA
[412311:57:14.67] Audio opened
[412311:57:14.67] 	8 bit unsigned samples
[412311:57:14.67] 	stereo
[412311:57:14.67] 	22050hz
[412311:57:14.67] 	441 samples per buffer
[412311:57:14.67] 	not threaded
[412311:57:14.67] 	16 channels
[412311:57:14.67] 8 texture units
[412311:57:14.68] GL_VENDOR: Intel Open Source Technology Center
[412311:57:14.68] GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
[412311:57:14.68] GL_VERSION: 3.0 Mesa 11.2.0
[412311:57:14.68] GL_EXTENSIONS: 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_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB 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_compression_s3tc 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_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_NV_primitive_restart 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_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc 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_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced 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_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output 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_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_timer_query 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_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_texture_mirror_clamp_to_edge GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_texture_barrier GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control 
[412311:57:14.70] vertex shader status for lit:

[412311:57:14.71] fragment shader status for lit:

[412311:57:14.76] link status for lit:

[412311:57:14.76] vertex shader status for env:

[412311:57:14.76] fragment shader status for env:

[412311:57:14.79] link status for env:

[412311:57:14.79] vertex shader status for norm_lit:

[412311:57:14.80] fragment shader status for norm_lit:

[412311:57:14.83] link status for norm_lit:

[412311:57:14.83] vertex shader status for norm_env:

[412311:57:14.84] fragment shader status for norm_env:

[412311:57:14.86] link status for norm_env:

[412311:57:14.86] vertex shader status for norm_spec_lit:

[412311:57:14.87] fragment shader status for norm_spec_lit:

[412311:57:14.89] link status for norm_spec_lit:

[412311:57:14.90] vertex shader status for terrain_normals:

[412311:57:14.90] fragment shader status for terrain_normals:

[412311:57:14.91] link status for terrain_normals:

[412311:57:14.91] vertex shader status for terrain:

[412311:57:14.91] fragment shader status for terrain:

[412311:57:14.92] link status for terrain:

[412311:57:17.53] Resetting
[412311:57:17.54] Remembering lines
[412311:57:17.58] Cleaning up
[412311:57:17.58] Deallocating bikes
[412311:57:17.58] Finished deallocating bikes
[412311:57:17.61] Scanning
[412311:57:17.69] Loading lighting
[412311:57:17.72] @sx2017/sky/sky-u.png reduced to 16x16 (originally 256x256)
[412311:57:17.73] Loading terrain
[412311:57:17.91] Terrain texture rendering with TexSubImage
[412311:57:17.91] Loading shading
[412311:57:17.98] Loading shadows
[412311:57:18.01] Loading tileinfo
[412311:57:18.12] Loading tilemap
[412311:57:18.32] Loading flaggers
[412311:57:18.68] Loading billboards
[412311:57:18.73] Loading statues
[412311:57:18.89] @sx2017/stadiums/anaheim/fowl.png reduced to 16x16 (originally 32x32)
[412311:57:18.96] @sx2017/stadiums/anaheim/tarp_spec.png reduced to 32x32 (originally 256x256)
[412311:57:19.87] Can't read @sxmadness2016_rd5_thestrip/models/finish/finishscreens/0.png
[412311:57:20.10] @sx2017/models/warning_light_spec.png reduced to 16x16 (originally 512x512)
[412311:57:20.18] Loading map
[412311:57:20.20] Analyzing lines
[412311:57:20.23] Loading bikes
[412311:57:20.32] 2 degenerate triangles deleted in @rider_body.jm
I looked into it another time (the lastlog), that time it just died after "Loading Bikes".

Any clue on what my problem is? Think I have all libraries needed.
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Need help with installing on Ubuntu

Post by jlv »

Maybe a bad png file? I could take a look at the core dump if you like.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

jlv wrote:Maybe a bad png file? I could take a look at the core dump if you like.
I would doubt it since it does the same thing on Alcrest. When I try to see if there's any dump, I can't seem to find any. Not sure really how to do it, but google suggested gdb, and there's nothing for "mxbin" in there it seems.
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Need help with installing on Ubuntu

Post by jlv »

Try this:

sudo bash -c 'echo core >/proc/sys/kernel/core_pattern'
ulimit -c 1000000
mx

It should save the core dump in the current directory.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

Okay, this helped now got a "core"(dump) file to work with. Here's the link to the dump file: https://www.mediafire.com/?3w6psvcamehk8co

Also I did try to re-install all the packages I named in a few posts up, but that didn't give me any other outcome than before.
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Need help with installing on Ubuntu

Post by jlv »

Something went wrong with the core file. It's just 10k of zeros. Try "ulimit -c unlimited" instead.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

Installed it on linux tonight, these were the commands/packages I needed. No more no less.

Code: Select all

sudo dpkg --add-architecture i386
sudo apt-get install lib32z1
sudo apt-get install libasound2:i386
sudo apt-get install libxext6:i386
sudo apt-get install libgl1-mesa-glx:i386
sudo apt-get install libxi6:i386
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Need help with installing on Ubuntu

Post by jlv »

Might be easier to just use one of the newer 64 bit snapshot updates. I really do need to pack up a new official release. 1.13 is so outdated now.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Need help with installing on Ubuntu

Post by Wahlamt »

jlv wrote: Sun Apr 02, 2023 1:16 am Might be easier to just use one of the newer 64 bit snapshot updates. I really do need to pack up a new official release. 1.13 is so outdated now.
Will 1.14 eliminate the need of i386 packages then?
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Need help with installing on Ubuntu

Post by jlv »

Wahlamt wrote: Sun Apr 02, 2023 5:50 am Will 1.14 eliminate the need of i386 packages then?
Yes. The 64 bit versions don't need that and I switched to 64 bit builds in 2021.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply