Page 1 of 1

Oolite running in a VM on a M4 Mac?

Posted: Mon Jan 06, 2025 9:53 pm
by AndyEW
I'm not sure if this is the right forum and will be happy for moderators to move the post to the right one.

Has anybody managed to get the Linux port of Oolite running on a VM hosted on a M4 Mac mini? I'm beginning to think that it's not possible due to the ARM architecture but would be happy to be proved wrong.

Andy

Re: Oolite running in a VM on a M4 Mac?

Posted: Wed Jan 29, 2025 2:16 pm
by Cholmondely
AndyEW wrote: Mon Jan 06, 2025 9:53 pm
I'm not sure if this is the right forum and will be happy for moderators to move the post to the right one.

Has anybody managed to get the Linux port of Oolite running on a VM hosted on a M4 Mac mini? I'm beginning to think that it's not possible due to the ARM architecture but would be happy to be proved wrong.

Andy
No, sorry.

I had a stab (with Hiran's help) at running Oolite on Ubuntu on my 2020 MacBook Air (Intel). Eventually reverted to running the AppleMac version on my old AppleMac. Running AppleMac Oolite on a slightly newer Mac with an M1 chip was pretty unsatisfying.

Did you get anywhere with it? If you still have problems, try bugging Hiran.

Re: Oolite running in a VM on a M4 Mac?

Posted: Thu Feb 06, 2025 8:38 pm
by Cholmondely
How goes it?

Re: Oolite running in a VM on a M4 Mac?

Posted: Sat Feb 08, 2025 8:49 am
by AndyEW
Hello and sorry for taking so long to reply.

The short answer is no. I did manage to build a linux VM but it's Ubuntu 64 ARM server with a desktop GUI chucked on top. Oolite won't build as a library it requires isn't on this VM. It was an interesting exercise and a steep learning curve :shock: I can't

I'm going to instal the Mac build of Oolite and give it a try.

Cheers,

Andy

Re: Oolite running in a VM on a M4 Mac?

Posted: Wed Feb 12, 2025 12:46 am
by Cholmondely
MrFlibble has doing a fair amount of work on Linux Libraries required for Oolite...

I run Oolite on my old 2020 MacBook Air (Cataline 10.15.3). No major problems. But. When I tried it on my Supreme Uxorial Counterparts M1 machine, it was greatly slowed down and not particularly playable.

Re: Oolite running in a VM on a M4 Mac?

Posted: Sun Mar 02, 2025 9:29 am
by DavidKroc
I run Oolite 1.90 on my 2020 MacBook Air M1 / Mac OS Monterey without any problem.

Here's my Latest.log if you're interested:

Code: Select all

Opening log for Oolite version 1.90 (x86-64) under Mac OS X Version 10.16 (Build 21H1320) at 2025-03-01 12:45:06 +0000.
Machine type: MacBookAir10,1, 8192 MiB memory, 8 x x86 (Westmere) @ 2400 MHz.
Build options: OpenAL, new planets.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

13:45:06.615 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
13:45:06.616 [rendering.opengl.version]: OpenGL renderer version: 2.1.0 ("2.1 Metal - 76.3"). Vendor: "Apple". Renderer: "Apple M1".
13:45:06.616 [rendering.opengl.extensions]: OpenGL extensions (133):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_EXT_bindable_uniform, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_ARB_imaging, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_NV_vertex_program2_option, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_fragment_program2, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_NV_vertex_program3, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_NV_fragment_program_option, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_SGI_color_matrix, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ARB_shadow_ambient, GL_EXT_framebuffer_multisample, GL_APPLE_float_pixels, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
13:45:06.631 [rendering.opengl.shader.support]: Shaders are supported.
13:45:06.653 [searchPaths.dumpAll]: Resource paths: 
    ~/Documents/Oolite/Oolite.app/Contents/Resources
    ~/Library/Application Support/Oolite/Managed AddOns
    ~/Library/Application Support/Oolite/AddOns
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.cim.skilled-npcs.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.SolarFlares.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Alnivel.RoutePlanner.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.AndreyBelov.Targeter.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.ManualWitchspaceAlignment.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.captsolo.tori2.02.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Ngalo.NPC_Equipment_Damage.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Wildeblood.Untrumbled.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Wildeblood.distant_suns.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.hoqllnq.missile-beep.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.cim.systemfeatures.sunspots.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.spara.navigation_mfd.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.HUDSelector.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.CombatMFD.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolie.oxp.redspear.janes_galactic_shipset.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.redspear.masslock_reimagined.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.redspear.new_lasers.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.davidkroc.Sidewinder-ng.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.ZygoUgo.ZygoCinematicSkyNebulas.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.VariableMasslock.oxz
13:45:06.662 [shipData.load.begin]: Loading ship data.
13:45:07.115 [startup.complete]: ========== Loading complete in 0.57 seconds. ==========
13:45:07.195 [joystick.connect]: Joystick connected: Wireless Controller
13:45:21.259 [shipData.load.begin]: Loading ship data.
13:45:21.759 [script.load.world.listAll]: Loaded 35 world scripts:
    combat_MFD 1.17
    hudselector 1.25
    Jane's Galactic Shipset 1.2
    ManualWitchspaceAlignment 2.9
    masslock_reimagined 1.2
    Missile Beep 1.3
    navi_mfd 1.9.2
    new_lasers 0.7
    NPC_Equipment_Damage 0.3.0
    Oolite Equipment Control 1.90
    Oolite Ship Library 1.90
    oolite-cloaking-device 1.90
    oolite-constrictor-hunt 1.90
    oolite-contracts-cargo 1.90
    oolite-contracts-helpers 1.90
    oolite-contracts-parcels 1.90
    oolite-contracts-passengers 1.90
    oolite-libPriorityAI 1.90
    oolite-nova 1.90
    oolite-populator 1.90
    oolite-primable-equipment-register 1.90
    oolite-registership 1.90
    oolite-thargoid-plans 1.90
    oolite-trumbles 1.90
    oolite-tutorial 1.90
    RoutePlanner 0.2
    RoutePlanner_Interface 0.2
    RoutePlanner_InterfaceLib 0.2
    Skilled NPCs 1.6
    SolarFlares 1.1
    Stars 0.5.1
    System Features: Sunspots 1.5
    Target System Upgrade 0.73
    Untrumbled 1.1
    variablemasslock 1.1
13:45:21.802 [Untrumbled]: Removed oolite-trumbles world script.
13:45:22.167 [hudselector]: HUDs: ,Default HUD,hud,hudselector,ExtraLarge HUD with 10 MFDs and custom dials,hudselector-extralarge,hudselector-extralarge10,hudselector,Large HUD with 10 MFDs and custom dials,hudselector-large,hudselector,Small HUD with 10 MFDs and custom dials,hudselector-small
13:45:22.167 [hudselector]: 0: ,Default HUD,hud
13:45:22.167 [hudselector]: 1: hudselector,ExtraLarge HUD with 10 MFDs and custom dials,hudselector-extralarge,hudselector-extralarge10
13:45:22.167 [hudselector]: 2: hudselector,Large HUD with 10 MFDs and custom dials,hudselector-large
13:45:22.167 [hudselector]: 3: hudselector,Small HUD with 10 MFDs and custom dials,hudselector-small
13:45:22.170 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (new_lasers 0.7): TypeError: xh is undefined
13:45:22.178 [hudselector]: Scanner NonLinear:false UltraZoom:false HUD:hudselector-large.plist Crosshairs: null, scanner settings is not fixed.
13:46:09.669 [exit.context]: Exiting: Cocoa terminate event.

Re: Oolite running in a VM on a M4 Mac?

Posted: Sun Mar 02, 2025 10:54 am
by Cholmondely
DavidKroc wrote: Sun Mar 02, 2025 9:29 am
I run Oolite 1.90 on my 2020 MacBook Air M1 / Mac OS Monterey without any problem.
No VM? When I tried Oolite 1.90 on a slightly newer MacBook Air M1, I found that the Frame Rate suffered massively. But then I play with 10x as many OXPs - some of which really interfere with the Vanilla game.

Re: Oolite running in a VM on a M4 Mac?

Posted: Sun Mar 02, 2025 11:16 am
by DavidKroc
Cholmondely wrote: Sun Mar 02, 2025 10:54 am
No VM? When I tried Oolite 1.90 on a slightly newer MacBook Air M1, I found that the Frame Rate suffered massively. But then I play with 10x as many OXPs - some of which really interfere with the Vanilla game.
No VM! If Oolite is slow for you, it must be because of some of the OXP you're loading (or maybe too much?).