GithubHelp home page GithubHelp logo

Freeze on Mac OS X 10.5 PowerPC about dhewm3 HOT 3 OPEN

vkosikhin avatar vkosikhin commented on June 2, 2024
Freeze on Mac OS X 10.5 PowerPC

from dhewm3.

Comments (3)

DanielGibson avatar DanielGibson commented on June 2, 2024

I have no idea about this (and can't reproduce it because I don't own such hardware) - but maybe @SiliconExarch does, she contributed some Mac PPC fixes in the past (like #412)?

from dhewm3.

vkosikhin avatar vkosikhin commented on June 2, 2024

I figured the freeze was SDL-related, so I rebuilt with SDL 1.2.15 instead of 2.0.3, and the game has been stable so far. Still, it'd be great if @SiliconExarch or someone else has the means to get to the root cause of the issue and make SDL2 work, as it is the default version dhewm3 expects and you have to pass a cmake flag to use SDL 1. I'm willing to help with testing however I can.

from dhewm3.

DanielGibson avatar DanielGibson commented on June 2, 2024

Yeah, from the backtraces it looks possible that the main thread is frozen because it waits for AsyncTimer() (from neo/framework/Common.cpp) to call Sys_TriggerEvent(TRIGGER_EVENT_ONE);.

And AsyncTimer is called every 16ms from an SDL timer thread (SDL_AddTimer(USERCMD_MSEC, AsyncTimer, NULL);)

But I have no idea why that SDL timer thread (I think it's "Thread 3" in your backtrace) should itself freeze (or stop calling Sys_TriggerEvent() at least).
Of course it kinda sucks that on OSX PPC you're stuck with SDL 2.0.3, which at this point is about as ancient as 1.2.15 :-/

from dhewm3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.