RX 5600 XT Rebar

I use a modified UEFI, with the DXE driver designed to enable rebar on unsupported cards or, in my case, fix a card with bugged Rebar addressing. The UEFI has worked in windows all this time, and with or without the mod, linux would always resize the bar to 8 GB. From what I understand linux has always worked around this bug, and this bug is specific to the 5600 XT. Right now, the bar size is set to 1 GB in Bazzite but it should be 8, I'm unsure of how to fix this.
You can use Linux with 4G Decoding on, recent versions will automatically resize and allocate GPU BARs.
You can use Linux with 4G Decoding on, recent versions will automatically resize and allocate GPU BARs.
is what's expected as stated on https://github.com/xCuri0/ReBarUEFI but the behavior I'm currently experiencing is not that.
GitHub
GitHub - xCuri0/ReBarUEFI: Resizable BAR for (almost) any UEFI system
Resizable BAR for (almost) any UEFI system. Contribute to xCuri0/ReBarUEFI development by creating an account on GitHub.
1 Reply
﴿۔LZeugirdor﴾
﴿۔LZeugirdor﴾OP2mo ago
Memory at 1040000000 (64-bit, prefetchable) [size=1G]
Memory at 1080000000 (64-bit, prefetchable) [size=2M]
Memory at 1040000000 (64-bit, prefetchable) [size=1G]
Memory at 1080000000 (64-bit, prefetchable) [size=2M]
These are my current values for the bar size. Solved my own issue, had to remod and reflash my bios then set the rebar limit.
Memory at 7c00000000 (64-bit, prefetchable) [size=8G]
Memory at 7e00000000 (64-bit, prefetchable) [size=256M]
Memory at 7c00000000 (64-bit, prefetchable) [size=8G]
Memory at 7e00000000 (64-bit, prefetchable) [size=256M]

Did you find this page helpful?