Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734164 - games-strategy/0ad-0.0.23b_alpha fails to run on AMD Ryzen CPUs
Summary: games-strategy/0ad-0.0.23b_alpha fails to run on AMD Ryzen CPUs
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Deadline: 2020-10-09
Assignee: Gentoo Games
URL: https://wildfiregames.com/forum/index...
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks:
 
Reported: 2020-07-28 03:10 UTC by asdfg
Modified: 2021-02-12 20:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make the game even launch on Ryzen CPUs. (D2726.diff,1.12 KB, patch)
2020-07-28 03:10 UTC, asdfg
Details | Diff
Patch to avoid slowdowns on Ryzen CPUs (D2353.diff,720 bytes, patch)
2020-07-28 03:10 UTC, asdfg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description asdfg 2020-07-28 03:10:10 UTC
Created attachment 651078 [details, diff]
Patch to make the game even launch on Ryzen CPUs.

As you can see on https://wildfiregames.com/forum/index.php?/topic/28367-amd-ryzen-threadripper-user-read-before-posting/, games-strategy/0ad-0.0.23b_alpha can't run on Ryzen and Threadripper CPUs without some patches, which can be found on https://code.wildfiregames.com/file/data/6kx26sfefazlyr4rt2y7/PHID-FILE-4ay3h6ssd7mou2cmp37b/D2353.diff and https://code.wildfiregames.com/file/data/hsogdbcylbgln4pej67f/PHID-FILE-w6lbby5m5ndjv5nqaz4y/D2726.diff (this one is rather large and has a lot of changes that only affect Windows builds; for Linux, only those made to the timer.cpp file are important, according to a dev).

However, the file paths on those patches must be adjusted in order to work on Portage. I'm sending attached two .diff files that I inserted in /etc/portage/games-strategy/0ad to make it run on my 3700X CPU.

As such, you could add a new USE flag for Ryzen CPUs to get these patches implemented on the systems that could use it.
Comment 1 asdfg 2020-07-28 03:10:50 UTC
Created attachment 651080 [details, diff]
Patch to avoid slowdowns on Ryzen CPUs
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-12 20:19:56 UTC
Please retry with 0.0.24_alpha_pre20210116040036-r1.