On Thu, Sep 16, 2021 at 10:32:37AM +0200, Stefan Hagen wrote:
> Stefan Hagen wrote:
> > Daniel Dickman wrote:
> > > On Tue, Sep 14, 2021 at 2:16 AM Stefan Hagen
> > > <sh+openbsd-po...@codevoid.de> wrote:
> > > >
> > > > Daniel Dickman wrote:
> > > > > I’ve tried the update and unfortunately it doesn’t work for me. Which
> > > > > is too bad because I really want to switch this one over to python3.
> > > > >
> > > > > After I launch teeworlds, I see a loading bar and hear the music. Then
> > > > > the screen goes red and I don’t see anything.
> > > > >
> > > > > I’m on the latest OpenBSD release that sysupgrade gives me. And this
> > > > > box (a lenovo amd64 laptop) has an amdgpu video card.
> > > > >
> > > > > If you want me to try anything else let me know.
> > > >
> > > > This is unexpected, because I'm running it on amdgpu as well.
> > > > See: https://codevoid.de/9/p/rec-screen-20210914_080244.mp4
> > > >
> > > > Is there any console output that looks interesting? Something in
> > > > /var/log/messages or Xorg.0.log?
> > > 
> > > nothing stands out.
> > > 
> > > >
> > > > The only issue on amdgpu for me (which is not present on intel) is that
> > > > amdgpu freaks out when switching from window mode to fullscreen mode.
> > > > Starting the game in one of these modes is fine, but switching within
> > > > the game leads to weird flickering and I need to restart X.
> > > >
> > > 
> > > if it works for you, i'm willing to commit it to get rid of the
> > > python2 dep (and if no one else objects to doing this)
> > > 
> > > and if other people have the same issue as me then maybe it could
> > > create more motivation to help fix the issue.
> > > 
> > > my 2 cents (the port itself looked fine to me).

I agree. Haven't checked it on amdgpu; only inteldrm.

> > Maybe we should really submit it and someone who can reproduce the crash
> > is able to provide a fix or more info before 7.0. And if not... it's not
> > mission critical software.
> 
> Sorry, I mixed up the symptoms. You had the red screen. Solene
> experienced a crash on quitting the application and had to kill -9 it
> (on intel).

I get a segfault on quitting with the gamecontroller plugged in, but
not without it. There might be a bug in the SDL2 backend:

(gdb) bt full
#0  0x000008455211e1a2 in BSD_JoystickClose () from 
/usr/local/lib/libSDL2.so.0.10
No symbol table info available.
#1  0x0000084552056dc8 in SDL_JoystickClose_REAL () from 
/usr/local/lib/libSDL2.so.0.10
No symbol table info available.
#2  0x00000842a2c7aa1c in CInput::CloseJoysticks() ()
No symbol table info available.
#3  0x00000842a2c7aab2 in CInput::~CInput() ()
No symbol table info available.
#4  0x00000842a2c7498e in main ()
No symbol table info available.

Can probably look into that later. For now I think that teeworlds 0.6.4
is getting too old and we should update and fix the remaining issues as
needed based on the new version.

The following lines are superfluous and the port builds fine without
them:

WRKSRC=         ${WRKDIR}/${DISTNAME}
WRKDIST=        ${WRKSRC}

ok thfr@ for the update with those 2 lines removed.

Reply via email to