[pr-fix][startup] The Resizable BAR notice now checks if the card can use it #103

Closed
CRCODE22 wants to merge 1 commit from CRCODE22/Darner:fix/issue-82-rebar-notice-v2 into main
First-time contributor

Summary

Cards that cannot use Resizable BAR (NVIDIA Turing/RTX 20, AMD Polaris/Vega) were told to turn it on in the BIOS, where the setting does nothing for them. Now the notice checks the adapter's vendor and device id:

  • NVIDIA RTX 30 series and newer (Ampere, device 0x22xx+) and AMD RX 5000 series and newer (RDNA 1, device 0x73xx+): get the BIOS advice ("turn it on in the BIOS")
  • Older cards (Turing, Polaris, Vega): get a line that says the card does not support it

The log line names the reason too, so reports can be sorted.

Testing

  • cargo check -p darner-gpu --lib — compiles

Fixes #82

## Summary Cards that cannot use Resizable BAR (NVIDIA Turing/RTX 20, AMD Polaris/Vega) were told to turn it on in the BIOS, where the setting does nothing for them. Now the notice checks the adapter's vendor and device id: - **NVIDIA RTX 30 series and newer** (Ampere, device 0x22xx+) and **AMD RX 5000 series and newer** (RDNA 1, device 0x73xx+): get the BIOS advice ("turn it on in the BIOS") - **Older cards** (Turing, Polaris, Vega): get a line that says the card does not support it The log line names the reason too, so reports can be sorted. ## Testing - cargo check -p darner-gpu --lib — compiles ## Related Fixes #82
Cards that cannot use Resizable BAR (NVIDIA Turing/RTX 20, AMD Polaris/Vega)
were told to turn it on in the BIOS, where the setting does nothing for them.
Check the adapter's vendor and device id: NVIDIA RTX 30 series and newer
(Ampere, device 0x22xx+) and AMD RX 5000 series and newer (RDNA 1, device
0x73xx+) get the BIOS advice; older cards get a line that says the card does
not support it. The log line names the reason too, so reports can be sorted.
CRCODE22 closed this pull request 2026-12-03 20:45:48 +00:00

Pull request closed

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!103
No description provided.