[enhancement][startup] The start notice "Resizable BAR is off: turn it on in the BIOS" also shows on cards that cannot use Resizable BAR #82

Closed
opened 2026-12-03 19:29:26 +00:00 by Jesper-A · 2 comments
Contributor

What you would like

At start, Darner puts a notice at the top of the picture when the card's memory cannot be mapped by the CPU. On Windows 11 24H2 or newer the notice reads: "Resizable BAR is off: turn it on in the BIOS (Above 4G Decoding and Re-Size BAR) for speed, and the card is lost (device removed) far less often". It shows on every card that fails that check, including older cards that have no Resizable BAR support to turn on. For their owners it points to a BIOS setting that does nothing for them.

I would like the notice to say something true for those cards, or not to show the BIOS advice at all.

Seen here: an RTX 2070 SUPER (Turing, RTX 20 series), driver 621.40, Windows 11 build 26320, Resizable BAR off. The play log darner-play-20261203-191508 has, at 19:15:14 UTC:

  • card memory the CPU maps supported=false
  • the CPU cannot map the card's memory: Resizable BAR is off in the BIOS (or the driver is too old for GPU upload heaps); slower, less tested, ...

Windows 26320 is newer than 24H2 (build 26100), so this is the Resizable BAR notice, not the Windows 11 24H2 one. The driver (621.40) is recent. Not checked here: whether this card can be given Resizable BAR at all by any BIOS or driver route; we have not tried, and we keep it off.

Where it comes from (crates/darner-gpu/src/host.rs, mapped_card_memory, lines 21234-21271 on main 1a5286a78; same text at 21261 and 21266): the notice is added when CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS16) fails or reports GPUUploadHeapSupported false. Only the Windows build is looked at after that (older than 26100 gives the 24H2 text, anything else gives the Resizable BAR text). The card, its maker and its driver are not looked at. So "false" on a card that cannot do Resizable BAR gets the same advice as "false" on a card whose owner just has the BIOS setting off. The log line itself already says "(or the driver is too old for GPU upload heaps)", but the on-screen notice does not.

Which cards cannot use it: NVIDIA lists Resizable BAR support for GeForce RTX 30 series cards and newer (NVIDIA); RTX 20 and GTX 16 (Turing) are not on that list. AMD lists Smart Access Memory (its name for Resizable BAR) for Radeon RX 5000 series and newer (AMD quick reference, PC Gamer on RX 5000). Owners of older cards can turn the BIOS setting on (if their board even offers it) and still get this notice.

Ideas, not a patch (no code written; the maintainer knows the code better):

  1. Show the BIOS advice only for cards whose maker lists Resizable BAR, and for the others show a short line that the card cannot map its memory (so some features run the slower way), or nothing.
  2. Or check the adapter and driver before advising the BIOS, and keep the current text only when the card is on the supported list.
  3. The log line could name the card too, so reports can be sorted by it.

The "far less often lost (device removed)" claim in the notice comes from a code comment, "in players' logs about three times as many device losses an hour". That comparison is about the cards in those logs, not about the BIOS setting, and cards that cannot enable Resizable BAR get the extra device-loss risk whatever text is shown, so the number may still be worth showing to them as a warning. Not checked by us beyond reading the comment.

Are you working on a fix?

No

Related: searched open and closed issues and pull requests on 2026-12-03 for "Resizable", "ReBAR", "Re-Size", "Above 4G" and "BAR": nothing about this notice. Mentions only: #19 (our own spec line, ReBAR off), #1 (reporter's card has ReBAR on), #25 (hardware detector, ReBAR off in our test line).

Spec dependence: likely general: the check and the text are the same on every PC, so any card without Resizable BAR support sees it. Our own sighting is on an RTX 2070 SUPER 8 GB (Turing), Resizable BAR off, Ryzen 7 5800X, 32 GB, Series S + DLSS Performance. Untested: other NVIDIA generations, AMD, Intel, Windows 10, Linux/Proton (the code skips the 24H2 branch on Wine).

Files to attach: none (the two log lines above are enough; the log has no more on this).

Drafted with AI assistance (Claude Code).

### What you would like At start, Darner puts a notice at the top of the picture when the card's memory cannot be mapped by the CPU. On Windows 11 24H2 or newer the notice reads: "Resizable BAR is off: turn it on in the BIOS (Above 4G Decoding and Re-Size BAR) for speed, and the card is lost (device removed) far less often". It shows on every card that fails that check, including older cards that have no Resizable BAR support to turn on. For their owners it points to a BIOS setting that does nothing for them. I would like the notice to say something true for those cards, or not to show the BIOS advice at all. **Seen here:** an RTX 2070 SUPER (Turing, RTX 20 series), driver 621.40, Windows 11 build 26320, Resizable BAR off. The play log `darner-play-20261203-191508` has, at 19:15:14 UTC: - `card memory the CPU maps supported=false` - `the CPU cannot map the card's memory: Resizable BAR is off in the BIOS (or the driver is too old for GPU upload heaps); slower, less tested, ...` Windows 26320 is newer than 24H2 (build 26100), so this is the Resizable BAR notice, not the Windows 11 24H2 one. The driver (621.40) is recent. Not checked here: whether this card can be given Resizable BAR at all by any BIOS or driver route; we have not tried, and we keep it off. **Where it comes from** (`crates/darner-gpu/src/host.rs`, `mapped_card_memory`, lines 21234-21271 on main 1a5286a78; same text at 21261 and 21266): the notice is added when `CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS16)` fails or reports `GPUUploadHeapSupported` false. Only the Windows build is looked at after that (older than 26100 gives the 24H2 text, anything else gives the Resizable BAR text). The card, its maker and its driver are not looked at. So "false" on a card that cannot do Resizable BAR gets the same advice as "false" on a card whose owner just has the BIOS setting off. The log line itself already says "(or the driver is too old for GPU upload heaps)", but the on-screen notice does not. **Which cards cannot use it:** NVIDIA lists Resizable BAR support for GeForce RTX 30 series cards and newer ([NVIDIA](https://www.nvidia.com/en-gb/geforce/news/geforce-rtx-30-series-resizable-bar-support/)); RTX 20 and GTX 16 (Turing) are not on that list. AMD lists Smart Access Memory (its name for Resizable BAR) for Radeon RX 5000 series and newer ([AMD quick reference](https://www.amd.com/content/dam/amd/en/documents/partner-hub/radeon/amd-radeon-rx-6000-series-quick-reference-competitive.pdf), [PC Gamer on RX 5000](https://www.pcgamer.com/amd-rx-5000-graphics-card-sam-support/)). Owners of older cards can turn the BIOS setting on (if their board even offers it) and still get this notice. **Ideas, not a patch** (no code written; the maintainer knows the code better): 1. Show the BIOS advice only for cards whose maker lists Resizable BAR, and for the others show a short line that the card cannot map its memory (so some features run the slower way), or nothing. 2. Or check the adapter and driver before advising the BIOS, and keep the current text only when the card is on the supported list. 3. The log line could name the card too, so reports can be sorted by it. The "far less often lost (device removed)" claim in the notice comes from a code comment, "in players' logs about three times as many device losses an hour". That comparison is about the cards in those logs, not about the BIOS setting, and cards that cannot enable Resizable BAR get the extra device-loss risk whatever text is shown, so the number may still be worth showing to them as a warning. Not checked by us beyond reading the comment. ### Are you working on a fix? No **Related:** searched open and closed issues and pull requests on 2026-12-03 for "Resizable", "ReBAR", "Re-Size", "Above 4G" and "BAR": nothing about this notice. Mentions only: #19 (our own spec line, ReBAR off), #1 (reporter's card has ReBAR on), #25 (hardware detector, ReBAR off in our test line). **Spec dependence:** likely general: the check and the text are the same on every PC, so any card without Resizable BAR support sees it. Our own sighting is on an RTX 2070 SUPER 8 GB (Turing), Resizable BAR off, Ryzen 7 5800X, 32 GB, Series S + DLSS Performance. Untested: other NVIDIA generations, AMD, Intel, Windows 10, Linux/Proton (the code skips the 24H2 branch on Wine). **Files to attach:** none (the two log lines above are enough; the log has no more on this). Drafted with AI assistance (Claude Code).
Owner

Fixed in main (5973f7c9): on a card without Resizable BAR (GTX, RTX 20, RX 5000 and older), the start notice now says the card has no Resizable BAR and that there is nothing to change, instead of telling you to turn a setting on.

Fixed in main (5973f7c9): on a card without Resizable BAR (GTX, RTX 20, RX 5000 and older), the start notice now says the card has no Resizable BAR and that there is nothing to change, instead of telling you to turn a setting on.
Author
Contributor

Closing: fixed on main by 5973f7c9f (5973f7c9f), see TrustNo1's comment above. Not tried on our RTX 2070 SUPER yet.

Closing: fixed on main by 5973f7c9f (https://git.gtahub.st/TrustNo1/Darner/commit/5973f7c9f), see TrustNo1's comment above. Not tried on our RTX 2070 SUPER yet.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
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#82
No description provided.