[enhancement][startup][AMD] The start notice tells Radeon RX 5000 cards they have no Resizable BAR; AMD added it for them in 2021 #374
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you would like
At start, when the card's memory cannot be mapped, Darner shows one of two notices. For cards it takes as unable to use Resizable BAR it says "This card has no Resizable BAR, so its memory is not mapped: slower, and nothing to change" (since
5973f7c9, #82). I would like Radeon RX 5000 cards to get the other notice, the advice to turn Resizable BAR on in the BIOS, if that advice is true for them.This is from reading the code and AMD's driver news, not from a run. I have no RX 5000 card, and no log from one.
Where it comes from (
crates/darner-gpu/src/host.rs,no_resizable_bar, on mainf3840d73, releasev2026.12.03.02): every adapter name with "RX 5" counts as a card without Resizable BAR. That takes in the RX 500 series (RX 550 to RX 590) and the RX 5000 series (RX 5700 XT, RX 5600 XT, RX 5500 XT).Why the RX 5000 series may not belong there: AMD's Adrenalin 21.9.1 (13 September 2021) added Smart Access Memory, AMD's name for Resizable BAR, to the RX 5000 series on a supported platform: https://www.techpowerup.com/286658/amd-radeon-software-adrenalin-21-9-1-released-with-auto-overclock-sam-for-rx-5000-series
So with Resizable BAR off in the BIOS, the owner of an RX 5700 XT is told there is nothing to change.
Not known to me: whether the card's memory can be mapped on an RX 5000 card once Resizable BAR is on. The check asks the driver for GPU upload heaps, and Smart Access Memory in the driver does not have to mean those. A play log from an RX 5000 card with Resizable BAR on would tell: it has the line
card memory the CPU maps supported=.... If it saysfalsethere too, the notice is right as it is and this can be closed.A possible change: count "RX 5" as old only when three digits follow, so the four-digit RX 5000 names get the BIOS advice. The RX 400 and RX 500 series and Vega stay as they are.
Related: #82 (closed, added the notice), #284 (open, the same function, another card name).
Are you working on a fix?
No