Chaosforge Forum

  • August 24, 2019, 07:15
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: JH 0.6.0 on Ubuntu 19.04 through Itch Fails to Start  (Read 1991 times)

fritzy

  • Backer
  • Private
  • *
  • *
  • Offline Offline
  • Posts: 2
  • Lost Soul
    • View Profile

fritzy@ubuntuvm:~/.config/itch/apps/jupiterhell$ ls
assets.nvc  BUGS.txt  CHANGELOG.txt  core.nvc  fmod64.dll  freetype6_64.dll  jh  jh.exe  libfmod.so  liblua5.1.so  log.txt  lua51_64.dll  pdcurses64.dll  run_jh.sh  SDL2_64.dll
fritzy@ubuntuvm:~/.config/itch/apps/jupiterhell$ ./jh
00:00:00.00 [NOTICE  ] Logging started
00:00:00.00 [NOTICE  ] Configuring...
00:00:00.00 [NOTICE  ] library "liblua5.1.so" : loading...
00:00:00.00 [NOTICE  ] library "liblua5.1.so" : failed to open!
00:00:00.00 [CRITICAL] library "liblua5.1.so" : failed to load!
00:00:00.00 [CRITICAL] Abort called : Can't load library!
00:00:00.00 [CRITICAL]   in ../../../nv/src/core/library.cc:47 (void nv::library::open(nv::string_view))
00:00:00.00 [CRITICAL] Aborting...
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4459
    • View Profile
    • http://chaosforge.org/
Re: JH 0.6.0 on Ubuntu 19.04 through Itch Fails to Start
« Reply #1 on: April 27, 2019, 19:00 »

have you tried running through run_jh?
Logged
at your service,
Kornel Kisielewicz

fritzy

  • Backer
  • Private
  • *
  • *
  • Offline Offline
  • Posts: 2
  • Lost Soul
    • View Profile
Re: JH 0.6.0 on Ubuntu 19.04 through Itch Fails to Start
« Reply #2 on: April 27, 2019, 19:42 »

That fixed the liblua problem, and exposed that it expected libsdl2, so I installed that, and everything worked -- except for bringing up the GL context -- which I assume is a result of the Parallels Virtual Machine (oh well, it was worth a shot!).

Just in case you're interested, here is the glxinfo output, otherwise I'd expect that you don't really want to support virtual machines!

Code: [Select]
fritzy@ubuntu:~/.config/itch/apps/jupiterhell$ sh run_jh.sh
00:00:00.00 [NOTICE  ] Logging started
00:00:00.00 [NOTICE  ] Configuring...
00:00:00.00 [NOTICE  ] library "liblua5.1.so" : loading...
00:00:00.00 [NOTICE  ] Loading Lua buffer 'lua::configuration::scheme'
00:00:00.00 [NOTICE  ] Loading Lua buffer 'lua::configuration::scheme'
00:00:00.00 [NOTICE  ] Creating World...
00:00:00.00 [NOTICE  ] Creating Interface...
00:00:00.00 [NOTICE  ] Loading Lua buffer 'style'
00:00:00.00 [NOTICE  ] library "libSDL2-2.0.so.0" : loading...
00:00:00.00 [NOTICE  ] Creating device...
00:00:00.00 [NOTICE  ] Creating window...
00:00:00.06 [INFO    ] sdl::window_manager - autodetected 2560x1440
00:00:00.13 [CRITICAL] GL Context creation failed: Could not create GL context
00:00:00.13 [INFO    ] Joystick count : 0
00:00:00.13 [NOTICE  ] Creating resource manager...
Segmentation fault (core dumped)
fritzy@ubuntu:~/.config/itch/apps/jupiterhell$ glxinfo
name of display: :1
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: Parallels Inc
server glx version string: 1.4
server glx extensions:
    GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
client glx vendor string: Parallels Inc
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
OpenGL vendor string: Parallels and ATI Technologies Inc.
OpenGL renderer string: Parallels using AMD Radeon Pro 560X OpenGL Engine
OpenGL version string: 2.1 ATI-2.8.38
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_color_buffer_float, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_depth_texture, GL_ARB_draw_buffers,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_half_float_pixel,
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_instanced_arrays,
    GL_ARB_map_buffer_range, 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_provoking_vertex,
    GL_ARB_seamless_cube_map, GL_ARB_shader_objects,
    GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shadow,
    GL_ARB_shadow_ambient, GL_ARB_sync, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    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_texture_rg, GL_ARB_transpose_matrix,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_blend,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_window_pos, GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_depth_bounds_test, GL_EXT_draw_buffers2,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
    GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_float, GL_EXT_provoking_vertex, 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_array, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
    GL_EXT_texture_shared_exponent, GL_EXT_transform_feedback,
    GL_EXT_vertex_array_bgra, GL_NV_blend_square, GL_NV_conditional_render,
    GL_NV_depth_clamp, GL_NV_fog_distance, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGI_color_matrix

2 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  1  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16 16  0 0 None
0x064 32 tc  1  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None

6 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x065 24 dc  1  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16 16  0 0 None
0x066 32 dc  1  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x067 24 tc  1  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16 16  0 0 None
0x068 32 tc  1  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x069 24 dc  1  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16 16  0 0 None
0x06a 32 dc  1  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4459
    • View Profile
    • http://chaosforge.org/
Re: JH 0.6.0 on Ubuntu 19.04 through Itch Fails to Start
« Reply #3 on: April 28, 2019, 02:22 »

The virtual machine may be accelerated, but it only provides a OpenGL 2.1 context, whereas we need a 4.3 one at least. If running it on mac would be that easy a mac version would be already there :P
Logged
at your service,
Kornel Kisielewicz

tsp

  • Private
  • *
  • Offline Offline
  • Posts: 1
  • Lost Soul
    • View Profile
Re: JH 0.6.0 on Ubuntu 19.04 through Itch Fails to Start
« Reply #4 on: June 27, 2019, 12:01 »

I've got the same error in Fedora 28. Which Linux distro should be able to run the game?

Do you have any instructions how to install the necessary libraries etc?
Logged
Pages: [1]