Stuart Henderson <s...@spacehopper.org> writes:

> On 2024/05/10 13:34, Divan Santana wrote:
>> Thomas Frohwein <tfrohw...@fastmail.com> 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 -0000      1.26
> +++ Makefile  10 May 2024 12:31:08 -0000
> @@ -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.

Reply via email to