fabio Posted May 26, 2022 Report Share Posted May 26, 2022 I noticed this issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008531 realtive to 0.0.25b. Is it a known issue? Is it already fixed in SVN? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 26, 2022 Report Share Posted May 26, 2022 2 hours ago, fabio said: I noticed this issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008531 realtive to 0.0.25b. Is it a known issue? Is it already fixed in SVN? I've never heard of it before. Don't think that code checks for hyperthreading support :/ so likely no. Can you test ? Quote Link to comment Share on other sites More sharing options...
smiley Posted May 26, 2022 Report Share Posted May 26, 2022 (edited) _SC_NPROCESSORS_CONF returns offline cores too which will cause sched_setaffinity to fail. _SC_NPROCESSORS_ONLN is a fix but that also ignores sleeping cores, which I believe is somewhat common on power saving modes in laptops. This is unconfirmed as the documentation is not clear if sleeping cores are actually considered offline, however, there is a thread of Mozilla bugtracker about this not not counting those cores on some weird ARM setup. Either that or don't ensure sched_setaffinity to be successful and handle offline cores I guess. I would check but I cannot really go through the hassle of rebooting. Edited May 26, 2022 by smiley Quote Link to comment Share on other sites More sharing options...
fabio Posted May 27, 2022 Author Report Share Posted May 27, 2022 16 hours ago, Stan` said: I've never heard of it before. Don't think that code checks for hyperthreading support :/ so likely no. Can you test ? I don't have that issue, the reporter can eventually be contacted writing to his mail address, or adding a comment in the bug at 1008531@bugs.debian.org Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 27, 2022 Report Share Posted May 27, 2022 Hello, My name is Stan` I'm the 0 A.D: Empires Ascendant project leader. We were recently made aware of the issue, and no one seems to have experienced it before. Does it do the same if you disable hyperthreading in the BIOS rather than with a kernel flag? We have a potential fix at: https://code.wildfiregames.com/D4669 As mentioned there an ideal fix might be to use the SDL instead, to do that stuff. And the discussion thread is here: https://wildfiregames.com/forum/topic/81402-from-debian-assertion-failure-if-hyperthreading-smt-is-supported-but-disabled/ Best regards, Stanislas DOLCINI 1 Quote Link to comment Share on other sites More sharing options...
fabio Posted May 27, 2022 Author Report Share Posted May 27, 2022 BTW, if you want to be notified of all Debian 0ad bugs, you can go there https://tracker.debian.org/pkg/0ad, register and login. Then clicking on Subscribe you can get all notifications related to 0ad (new bugs, uploads and so on). Then make sure to repeat for https://tracker.debian.org/pkg/0ad-data. On the two links I provided you can also see all current bugs currently opened. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 27, 2022 Report Share Posted May 27, 2022 Ideally we'd have some nifty way of opening trac tickets with those. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.