Re: openarena crash 7.5

2024-05-12 Thread Divan Santana
Stuart Henderson  writes:

> On 2024/05/10 13:34, Divan Santana wrote:
>> Thomas Frohwein  writes:
>> 
>> > On Thu, May 09, 2024 at 07:22:50PM +0200, Divan Santana wrote:
>> >> Greetings :)
>> >> 
>> >> Is openarena suppose to work from ports?  Or perhaps it's my laptop
>> >> that's not compatible with it? 
>> 
>> > This issue is fine to raise on ports@. 
>> 
>> Noted.
>> 
>> 
>> > It's a BTCFI issue, see from
>> > ktrace(1)/kdump(1) output:
>> 
>> > 67964 openarena-client PSIG  SIGILL SIG_DFL code=ILL_BTCFI 
>> > addr=0xf9ba34f3000 trapno=21
>> 
>> Thanks.  In layman's terms?  Does this mean it's broken on all openbsd's
>> or just my CPU/graphics card?
>
> It's broken on newer intel CPUs.
>
> It can probably be worked-around with this:
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/openarena/Makefile,v
> diff -u -p -r1.26 Makefile
> --- Makefile  25 Sep 2023 17:07:29 -  1.26
> +++ Makefile  10 May 2024 12:31:08 -
> @@ -1,4 +1,5 @@
>  ONLY_FOR_ARCHS = amd64 i386 macppc
> +USE_NOBTCFI =Yes
>
>  BROKEN-i386 =code/qcommon/vm_x86.c:(.text+0x18): undefined 
> reference to `callMask'
>
> @@ -15,8 +16,8 @@ E_V =   ${V}#   engine version
>
>  PKGNAME =openarena-${V}
>
> -REVISION-main =  1
> -REVISION-server =0
> +REVISION-main =  2
> +REVISION-server =1
>
>  PKG_ARCH-data =  *

This patch, does indeed make it build and launch!  Thank you very much
Stuart.

Sadly, in the game, it works for a few seconds, then there is a brief
graphics jerk or something, then my mouse no longer moves left or right.
I can still walk etc, but not move the mouse left or right.

I did try SDL_VIDEO_X11_DGAMOUSE=0 set, and without it, but the issue
occurs in both.  I'm played with different graphics settings in the game
too, but it seems the issue persists.



Re: openarena crash 7.5

2024-05-10 Thread Stuart Henderson
On 2024/05/10 13:34, Divan Santana wrote:
> Thomas Frohwein  writes:
> 
> > On Thu, May 09, 2024 at 07:22:50PM +0200, Divan Santana wrote:
> >> Greetings :)
> >> 
> >> Is openarena suppose to work from ports?  Or perhaps it's my laptop
> >> that's not compatible with it? 
> 
> > This issue is fine to raise on ports@. 
> 
> Noted.
> 
> 
> > It's a BTCFI issue, see from
> > ktrace(1)/kdump(1) output:
> 
> > 67964 openarena-client PSIG  SIGILL SIG_DFL code=ILL_BTCFI 
> > addr=0xf9ba34f3000 trapno=21
> 
> Thanks.  In layman's terms?  Does this mean it's broken on all openbsd's
> or just my CPU/graphics card?

It's broken on newer intel CPUs.

It can probably be worked-around with this:

Index: Makefile
===
RCS file: /cvs/ports/games/openarena/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile25 Sep 2023 17:07:29 -  1.26
+++ Makefile10 May 2024 12:31:08 -
@@ -1,4 +1,5 @@
 ONLY_FOR_ARCHS =   amd64 i386 macppc
+USE_NOBTCFI =  Yes

 BROKEN-i386 =  code/qcommon/vm_x86.c:(.text+0x18): undefined reference 
to `callMask'

@@ -15,8 +16,8 @@ E_V = ${V}#   engine version

 PKGNAME =  openarena-${V}

-REVISION-main =1
-REVISION-server =  0
+REVISION-main =2
+REVISION-server =  1

 PKG_ARCH-data =*




Re: openarena crash 7.5

2024-05-10 Thread Divan Santana
Thomas Frohwein  writes:

> On Thu, May 09, 2024 at 07:22:50PM +0200, Divan Santana wrote:
>> Greetings :)
>> 
>> Is openarena suppose to work from ports?  Or perhaps it's my laptop
>> that's not compatible with it? 

> This issue is fine to raise on ports@. 

Noted.


> It's a BTCFI issue, see from
> ktrace(1)/kdump(1) output:

> 67964 openarena-client PSIG  SIGILL SIG_DFL code=ILL_BTCFI addr=0xf9ba34f3000 
> trapno=21

Thanks.  In layman's terms?  Does this mean it's broken on all openbsd's
or just my CPU/graphics card?



Re: openarena crash 7.5

2024-05-09 Thread Thomas Frohwein
On Thu, May 09, 2024 at 07:22:50PM +0200, Divan Santana wrote:
> Greetings :)
> 
> Is openarena suppose to work from ports?  Or perhaps it's my laptop
> that's not compatible with it? 

This issue is fine to raise on ports@. It's a BTCFI issue, see from
ktrace(1)/kdump(1) output:

67964 openarena-client PSIG  SIGILL SIG_DFL code=ILL_BTCFI addr=0xf9ba34f3000 
trapno=21

> 
> ds@swift ~ $ /usr/local/bin/openarena-client
> ioq3+oa 1.36 openbsd-amd64 Mar 15 2024
> - FS_Startup -
> Current search path:
> /home/ds//.openarena/baseoa
> /usr/local/share/openarena/baseoa/pak6-patch088.pk3 (711 files)
> /usr/local/share/openarena/baseoa/pak6-patch085.pk3 (559 files)
> /usr/local/share/openarena/baseoa/pak6-misc.pk3 (229 files)
> /usr/local/share/openarena/baseoa/pak5-TA.pk3 (139 files)
> /usr/local/share/openarena/baseoa/pak4-textures.pk3 (1753 files)
> /usr/local/share/openarena/baseoa/pak2-players.pk3 (669 files)
> /usr/local/share/openarena/baseoa/pak2-players-mature.pk3 (231 files)
> /usr/local/share/openarena/baseoa/pak1-maps.pk3 (100 files)
> /usr/local/share/openarena/baseoa/pak0.pk3 (1042 files)
> /usr/local/share/openarena/baseoa
> 
> --
> 5433 files in pk3 files
> execing default.cfg
> couldn't exec q3config.cfg
> couldn't exec autoexec.cfg
> Hunk_Clear: reset the hunk ok
> 
> (zenity:54194): Gtk-WARNING **: 19:07:49.508: Failed to parse 
> /home/ds/.config/gtk-4.0/settings.ini: Key file does not start with a group
> - Client Initialization -
> Couldn't read q3history.
> - Initializing Renderer 
> ---
> QKEY building random string
> QKEY generated
> - Client Initialization Complete -
> - R_Init -
> SDL using driver "x11"
> Initializing OpenGL display
> Estimated display aspect: 1.778
> ...setting mode 3: 640 480
> Using 8/8/8 Color bits, 24 depth, 8 stencil display.
> Available modes: '320x180 432x243 480x270 512x288 640x360 720x405 800x450 
> 864x486 960x540 1024x576 1280x720 1440x810 1600x900 1920x1080 2560x1440 
> 360x202 684x384 1368x768 640x400 840x525 960x600 1280x800 1680x1050 700x450 
> 1400x900 320x240 400x300 512x384 640x480 700x525 800x600 896x672 928x696 
> 960x720 1024x768 1280x960 1400x1050 640x512 1280x1024'
> GL_RENDERER: Mesa Intel(R) Graphics (ADL GT2)
> 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
> ...ignoring GL_ARB_vertex_shader
> 
> GL_VENDOR: Intel
> GL_RENDERER: Mesa Intel(R) Graphics (ADL GT2)
> GL_VERSION: 4.6 (Compatibility Profile) Mesa 23.1.9
> 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_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_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map 
> GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels 
> 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_depth_bounds_test 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 

openarena crash 7.5

2024-05-09 Thread Divan Santana
Greetings :)

Is openarena suppose to work from ports?  Or perhaps it's my laptop
that's not compatible with it? 

ds@swift ~ $ /usr/local/bin/openarena-client
ioq3+oa 1.36 openbsd-amd64 Mar 15 2024
- FS_Startup -
Current search path:
/home/ds//.openarena/baseoa
/usr/local/share/openarena/baseoa/pak6-patch088.pk3 (711 files)
/usr/local/share/openarena/baseoa/pak6-patch085.pk3 (559 files)
/usr/local/share/openarena/baseoa/pak6-misc.pk3 (229 files)
/usr/local/share/openarena/baseoa/pak5-TA.pk3 (139 files)
/usr/local/share/openarena/baseoa/pak4-textures.pk3 (1753 files)
/usr/local/share/openarena/baseoa/pak2-players.pk3 (669 files)
/usr/local/share/openarena/baseoa/pak2-players-mature.pk3 (231 files)
/usr/local/share/openarena/baseoa/pak1-maps.pk3 (100 files)
/usr/local/share/openarena/baseoa/pak0.pk3 (1042 files)
/usr/local/share/openarena/baseoa

--
5433 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

(zenity:54194): Gtk-WARNING **: 19:07:49.508: Failed to parse 
/home/ds/.config/gtk-4.0/settings.ini: Key file does not start with a group
- Client Initialization -
Couldn't read q3history.
- Initializing Renderer 
---
QKEY building random string
QKEY generated
- Client Initialization Complete -
- R_Init -
SDL using driver "x11"
Initializing OpenGL display
Estimated display aspect: 1.778
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
Available modes: '320x180 432x243 480x270 512x288 640x360 720x405 800x450 
864x486 960x540 1024x576 1280x720 1440x810 1600x900 1920x1080 2560x1440 360x202 
684x384 1368x768 640x400 840x525 960x600 1280x800 1680x1050 700x450 1400x900 
320x240 400x300 512x384 640x480 700x525 800x600 896x672 928x696 960x720 
1024x768 1280x960 1400x1050 640x512 1280x1024'
GL_RENDERER: Mesa Intel(R) Graphics (ADL GT2)
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
...ignoring GL_ARB_vertex_shader

GL_VENDOR: Intel
GL_RENDERER: Mesa Intel(R) Graphics (ADL GT2)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 23.1.9
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_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_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map 
GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels 
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_depth_bounds_test 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_ATI_texture_compression_3dc 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