On 20/3/24 10:24, Jerry James wrote:
On Tue, Mar 19, 2024 at 4:32 PM Samuel Sieb <samuel@xxxxxxxx> wrote:On 3/19/24 15:25, Stephen Morris wrote:I have installed python3-pygame V2.5.2.1 from the Fedora repositories, and when I import it into python3 3.12 (installed from the Fedora repositories) I get the following message: <frozen importlib._bootstrap>:488: RuntimeWarning: Your system is avx2 capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation. How do I fix this or is the message irrelevant?It's not going to break anything, but I suggest filing a bug on the package with that suggestion.Compile-time detection of AVX2 is no good. Fedora supports pre-AVX2 CPUs. If upstream can be convinced to do runtime detection of AVX2, that would be great.
Thankyou. Just a couple of silly questions:AVX cpu's, both Intel and AMD, have been around since 2008, and this is 2024, why does Fedora not have support for the AVXx instruction sets? Given that the AVX instruction set is heavily into Integer Maths functionality why does the python import of the math module not produce the message that an import of the pygame module does (Is pygame producing because of the instruction set Vector interactions?).
regards, Steve
Attachment:
OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue