Jump to content

from Debian: assertion failure if hyperthreading (SMT) is supported but disabled


fabio
 Share

Recommended Posts

_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 by smiley
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

  • Thanks 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...