Created attachment 453180 [details] crashlog.txt from wop I've installed gentoo 64bit on a second drive and I've installed world of padman as well. WOP runs fine on the 32bit version of gentoo but crashed on my new installed 64bit version: stephan@gen2_64 ~/.padman/wop $ worldofpadman WoP 1.6 (ioq3 r2140M) linux-x86_64 Nov 12 2016 Have SSE support ----- FS_Startup ----- Current search path: /home/stephan/.padman/wop /usr/share/games/worldofpadman/wop /usr/share/games/worldofpadman/wop/wop_006.pk3 (582 files) /usr/share/games/worldofpadman/wop/wop_005.pk3 (3224 files) /usr/share/games/worldofpadman/wop/wop_004.pk3 (798 files) /usr/share/games/worldofpadman/wop/wop_003.pk3 (296 files) /usr/share/games/worldofpadman/wop/wop_002.pk3 (1903 files) /usr/share/games/worldofpadman/wop/wop_001.pk3 (534 files) ---------------------- 7337 files in pk3 files execing default.cfg execing wopconfig.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. ----- Client Initialization ----- Couldn't read wophistory. ----- Initializing Renderer ---- ------------------------------- QKEY found. ----- Client Initialization Complete ----- ----- R_Init ----- SDL using driver "x11" Initializing OpenGL display Estimated display aspect: 1.778 ...setting mode 0: 640 480 Using 8/8/8 Color bits, 24 depth, 8 stencil display. Available modes: '1280x720 1366x768 1600x900 1920x1080 1280x800 1440x900 1680x1050 640x480 800x600 1024x768 1280x1024' GL_RENDERER: GeForce GT 430/PCIe/SSE2 Initializing OpenGL extensions ...ignoring GL_EXT_texture_compression_s3tc ...ignoring GL_S3_s3tc ...using GL_EXT_texture_env_add ...using GL_ARB_multitexture ...using GL_EXT_compiled_vertex_array ...ignoring GL_EXT_texture_filter_anisotropic GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 430/PCIe/SSE2 GL_VERSION: 4.5.0 NVIDIA 361.28 GL_EXTENSIONS: GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array 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_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array 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_binGL_MAX_TEXTURE_SIZE: 16384 GL_MAX_TEXTURE_UNITS_ARB: 4 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits) MODE: 0, 640 x 480 windowed hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_LINEAR picmip: 0 texture bits: 32 multitexture: enabledtexenv add: enabled compressed textures: disabled Initializing Shaders ----- finished R_Init ----- ------ Initializing Sound ------ SDL_Init( SDL_INIT_AUDIO )... OK SDL audio driver is "pulse". SDL_AudioSpec: Format: AUDIO_S16LSB Freq: 44100 Samples: 512 Channels: 2 Starting SDL audio callback... SDL audio initialized. ----- Sound Info ----- 1 stereo 16384 samples 16 samplebits 1 submission_chunk 44100 speed 0x2ae3560 dma buffer No background file. ---------------------- Sound initialization successful. -------------------------------- Sound memory manager started Loading vm file vm/ui.qvm... File "vm/ui.qvm" found in "/usr/share/games/worldofpadman/wop/wop_006.pk3" ...which has vmMagic VM_MAGIC_VER2 Loading 1305 jump table targets VM file ui compiled to 937144 bytes of code ui loaded in 1977664 bytes on the hunk ******************** ERROR: program tried to execute code outside VM ******************** recursive error after: program tried to execute code outside VM Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. compiled vertex arrays: enabled
Created attachment 453182 [details] output of emerge --info
Created attachment 453184 [details] output of emerge -pv worldofpadman
hmm, possibly this is a bug in the Quake 3 Arena engine as mentioned here: https://lists.fedoraproject.org/pipermail/package-announce/2015-March/151406.html
Confirm this is the same situation, the only difference is that NVIDIA 378.13.
Can replicate on different machines. Same outside-of-VM issue.
Can someone please re-add the older ebuilds of this game, so it becomes usable again? 1.4 used to work ok for years, but 1.6 clearly is broken on various machines. Not sure why it's still "unconfirmed" after a year of filing.
confirmed by "globus".
At least on my Intel setup it looks to work ok
$ worldofpadman WoP 1.6 (ioq3 r2140M) linux-x86_64 Dec 4 2017 Have SSE support ----- FS_Startup ----- Current search path: /home/globus/.padman/wop /usr/share/games/worldofpadman/wop /usr/share/games/worldofpadman/wop/wop_006.pk3 (582 files) /usr/share/games/worldofpadman/wop/wop_005.pk3 (3224 files) /usr/share/games/worldofpadman/wop/wop_004.pk3 (798 files) /usr/share/games/worldofpadman/wop/wop_003.pk3 (296 files) /usr/share/games/worldofpadman/wop/wop_002.pk3 (1903 files) /usr/share/games/worldofpadman/wop/wop_001.pk3 (534 files) ---------------------- 7337 files in pk3 files execing default.cfg couldn't exec wopconfig.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok ----- Client Initialization ----- Couldn't read wophistory. ----- Initializing Renderer ---- ------------------------------- QKEY found. ----- Client Initialization Complete ----- ----- R_Init ----- SDL using driver "x11" Initializing OpenGL display Estimated display aspect: 1.600 ...setting mode 2: 1024 768 Using 8/8/8 Color bits, 24 depth, 8 stencil display. Available modes: '1280x800 1440x900 1680x1050 1280x720 1366x768 1680x945 640x480 800x600 1024x768 1152x864 1280x960 1600x1200 1280x1024' GL_RENDERER: GeForce GT 430/PCIe/SSE2 Initializing OpenGL extensions ...ignoring GL_EXT_texture_compression_s3tc ...ignoring GL_S3_s3tc ...using GL_EXT_texture_env_add ...using GL_ARB_multitexture ...using GL_EXT_compiled_vertex_array ...ignoring GL_EXT_texture_filter_anisotropic GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 430/PCIe/SSE2 GL_VERSION: 4.6.0 NVIDIA 390.42 GL_EXTENSIONS: GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_textureGL_MAX_TEXTURE_SIZE: 16384 GL_MAX_TEXTURE_UNITS_ARB: 4 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits) MODE: 2, 1024 x 768 fullscreen hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_LINEAR picmip: 0 texture bits: 32 multitexture: enabled compiled vertex arrays: enabled texenv add: enabled compressed textures: disabled Initializing Shaders ----- finished R_Init ----- ------ Initializing Sound ------ SDL_Init( SDL_INIT_AUDIO )... OK SDL audio driver is "alsa".SDL_AudioSpec: Format: AUDIO_S16LSB Freq: 44100 Samples: 1024 Channels: 2 Starting SDL audio callback... SDL audio initialized. ----- Sound Info ----- 1 stereo 32768 samples 16 samplebits 1 submission_chunk 44100 speed 0x5639be00f250 dma buffer No background file. ---------------------- Sound initialization successful. -------------------------------- Sound memory manager started Loading vm file vm/ui.qvm... File "vm/ui.qvm" found in "/usr/share/games/worldofpadman/wop/wop_006.pk3" ...which has vmMagic VM_MAGIC_VER2 Loading 1305 jump table targets VM file ui compiled to 937144 bytes of code ui loaded in 1977664 bytes on the hunk ******************** ERROR: program tried to execute code outside VM ******************** recursive error after: program tried to execute code outside VM $
peraphs you will has more luck with the following ebuild (a fork of 1.6-r1) Also the demo isn't found. probably i put it in the wrong folder... I didn't test the bots.
Created attachment 536502 [details] wop ebuild
Created attachment 536506 [details, diff] worldofpadman-1.6-Makefile.patch
Created attachment 536518 [details, diff] worldofpadman-1.6-inline.patch gcc 8.1 w/o lto
Created attachment 536524 [details, diff] worldofpadman-1.6-gentoo.patch
Created attachment 536526 [details, diff] worldofpadman-1.6-fastcall.patch
Thanks for the patches. I can now run this game again on Gentoo.
Thanks, Jimmy! Except for demos and maps which don't seem to be hosted anymore, the rest works great!
I sent a PR on github that addresses this issue. Can I get someone to review it?
https://github.com/gentoo/gentoo/pull/39122