[pr-fix][startup][AMD] Correct the Resizable BAR notice for Radeon RX 5000 #381

Open
andrewpozdnakov7-jpg wants to merge 1 commit from andrewpozdnakov7-jpg/Darner:fix/374-rx5000-bar-notice into main
First-time contributor

Contributor role (optional)

  • Fluxer ID:

What it changes

Refs #374.

On main, the name match for the Radeon RX 500 series also catches RX 5500 XT, RX 5600 XT and RX 5700 XT. Darner then says the card has no Resizable BAR. AMD documents Smart Access Memory for RX 5000 on supported platforms, so that notice is too strong. Match the three-digit RX 500 models while keeping RX 5000 out of the legacy group.

When Direct3D cannot offer GPU upload heaps, the general notice now asks the player to check driver support and Resizable BAR. The capability check does not report whether the BIOS setting itself is off. No change to the upload-heap check or memory path. AMD compatibility DirectX capability check

How it was tested

  • Tested revision: 7688e35 on f3840d73.
  • Commands and results: a small Windows rustc --test fixture compiled the exact name classifier from main and the patch and ran the existing name test. All three RX 5000 false matches were removed, and nine other adapter names kept their previous classification. Both fixture tests passed.
  • Scoped cargo clippy -p darner-gpu --lib --locked -- -D warnings, cargo xtask policy (555 files) and git diff --check passed.
  • Changes a default: no.
  • Gates run on that revision: no full workspace gates.
  • Gameplay and hardware: the startup notice was checked in source. An RX 5000 with Smart Access Memory enabled has yet to confirm the Direct3D capability result.

Checklist

  • I ran this change in the game, or say below why it can't be.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

The change is in the startup message. A physical RX 5000 was unavailable.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: #284 changes the NVIDIA name check in the same function. A Git merge-tree check with its head e69c0f77 passed.
  • Replaces or overlaps: no other RX 5000 fix found.
## Contributor role (optional) - Fluxer ID: <!-- optional --> ## What it changes Refs #374. On main, the name match for the Radeon RX 500 series also catches RX 5500 XT, RX 5600 XT and RX 5700 XT. Darner then says the card has no Resizable BAR. AMD documents Smart Access Memory for RX 5000 on supported platforms, so that notice is too strong. Match the three-digit RX 500 models while keeping RX 5000 out of the legacy group. When Direct3D cannot offer GPU upload heaps, the general notice now asks the player to check driver support and Resizable BAR. The capability check does not report whether the BIOS setting itself is off. No change to the upload-heap check or memory path. [AMD compatibility](https://www.amd.com/content/dam/amd/en/documents/partner-hub/radeon/why-buy-amd-radeon-rx-6600-series-non-comp.pdf) [DirectX capability check](https://devblogs.microsoft.com/directx/preview-agility-sdk-1-710-0/) ## How it was tested - Tested revision: `7688e35` on `f3840d73`. - Commands and results: a small Windows `rustc --test` fixture compiled the exact name classifier from main and the patch and ran the existing name test. All three RX 5000 false matches were removed, and nine other adapter names kept their previous classification. Both fixture tests passed. - Scoped `cargo clippy -p darner-gpu --lib --locked -- -D warnings`, `cargo xtask policy` (555 files) and `git diff --check` passed. - Changes a default: no. - Gates run on that revision: no full workspace gates. - Gameplay and hardware: the startup notice was checked in source. An RX 5000 with Smart Access Memory enabled has yet to confirm the Direct3D capability result. ## Checklist - [ ] I ran this change in the game, or say below why it can't be. - [x] This PR contains one change based on main. - [x] The diff follows docs/asset-policy.md. - [x] I recorded this PR's dependencies below. - Depends on: none The change is in the startup message. A physical RX 5000 was unavailable. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: #284 changes the NVIDIA name check in the same function. A Git merge-tree check with its head `e69c0f77` passed. - Replaces or overlaps: no other RX 5000 fix found.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/374-rx5000-bar-notice:andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git rebase 'main'
git switch 'main'
git merge --ff-only 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git rebase 'main'
git switch 'main'
git merge --no-ff 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'main'
git merge --squash 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'main'
git merge --ff-only 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git switch 'main'
git merge 'andrewpozdnakov7-jpg-fix/374-rx5000-bar-notice'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!381
No description provided.