• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

SAM/ReBAR Stripped Out of AMD Open-Source OpenGL Driver RadeonSI Gallium3D

Joined
May 30, 2015
Messages
1,941 (0.56/day)
Location
Seattle, WA
Support for AMD's Smart Access Memory and the overarching Resizable BAR technologies has been removed from the RadeonSI Gallium3D OpenGL driver as of today's Mesa 22.3.7 release. The comment in the announcement simply reads, "Disable Smart Access Memory because CPU access has large overhead." The nail in the coffin seems to have been this bug ticket submitted last month for the game Hyperdimension Neptunia Re;Birth1, in which the user reported the game running oddly slow on their RX 6600 while previously they had no issues on the much older R9 380. The solution provided was to simply disable ReBAR/SAM either with radeonsi_disable_sam=true or via UEFI. In the comments of the ticket lead RadeonSI developer Marek Olšák states, "We've never tested SAM with radeonsi, and it's not necessary there."

Apparently the performance advantages weren't panning out for RadeonSI, and since direct optimizations of these features was not a primary goal the decision was made to cut them out. Attempts to optimize SAM with RadeonSI date as far back as December 2020 and Mesa 21.0, but support for SAM under Linux goes further back. None of the changes to RadeonSI will affect other drivers such as RADV, the open-source Radeon Vulkan driver, and this code change is limited to only the RadeonSI OpenGL driver.



View at TechPowerUp Main Site | Source
 
Joined
Feb 12, 2021
Messages
220 (0.16/day)
I am no expert here, but don't companies typically say such things because they are about to fix this and see the storm brewing." and thus get ahead of it, and put their driver team to the face of the wheel...
 
Joined
Oct 30, 2008
Messages
1,768 (0.30/day)
System Name Lailalo
Processor Ryzen 9 5900X Boosts to 4.95Ghz
Motherboard Asus TUF Gaming X570-Plus (WIFI
Cooling Noctua
Memory 32GB DDR4 3200 Corsair Vengeance
Video Card(s) XFX 7900XT 20GB
Storage Samsung 970 Pro Plus 1TB, Crucial 1TB MX500 SSD, Segate 3TB
Display(s) LG Ultrawide 29in @ 2560x1080
Case Coolermaster Storm Sniper
Power Supply XPG 1000W
Mouse G602
Keyboard G510s
Software Windows 10 Pro / Windows 10 Home
And just recently there was reviews showing how beneficial this was, especially for the new 7900s on AMD hardware. Also showed how the tech only really benefits AMD on AMD or nVidia on Intel. Even turned it on with my XT and saw improvements.
 
Joined
Nov 18, 2010
Messages
7,590 (1.48/day)
Location
Rīga, Latvia
System Name HELLSTAR
Processor AMD RYZEN 9 5950X
Motherboard ASUS Strix X570-E
Cooling 2x 360 + 280 rads. 3x Gentle Typhoons, 3x Phanteks T30, 2x TT T140 . EK-Quantum Momentum Monoblock.
Memory 4x8GB G.SKILL Trident Z RGB F4-4133C19D-16GTZR 14-16-12-30-44
Video Card(s) Sapphire Pulse RX 7900XTX. Water block. Crossflashed.
Storage Optane 900P[Fedora] + WD BLACK SN850X 4TB + 750 EVO 500GB + 1TB 980PRO+SN560 1TB(W11)
Display(s) Philips PHL BDM3270 + Acer XV242Y
Case Lian Li O11 Dynamic EVO
Audio Device(s) SMSL RAW-MDA1 DAC
Power Supply Fractal Design Newton R3 1000W
Mouse Razer Basilisk
Keyboard Razer BlackWidow V3 - Yellow Switch
Software FEDORA 41
The weird thing that SAM is part of PCIe spec and not something AMD came with, basically Linux was aware of it way before GPU's started using it. The problem is handled in a weird matter also.

The most important question lies... as the biggest Linux user SONY, how do they handle it. I bet they have it working fine... there is something else going on.
 
Last edited:
Joined
Mar 20, 2019
Messages
427 (0.20/day)
Location
Australia
System Name Ryzen
Processor AMD Ryzen 7 5700X
Motherboard Asus TUF Gaming B550-Plus (Wi-Fi)
Cooling Cryorig H7
Memory Kingston Fury Beast DDR4 3200MHz 2x8GB + 2x16GB
Video Card(s) Sapphire NITRO+ Radeon RX 6700 XT GAMING OC
Storage WD_Black SN850 500GB NVMe SSD + Adata XPG SX8200 Pro 512GB NVMe SSD
Display(s) Gigabyte G27QC
Case NZXT H510 Flow
Audio Device(s) SteelSeries Arctis Prime
Power Supply Corsair RM650x Gold 650W
Mouse Logitech G502 X
Keyboard HyperX Alloy FPS Cherry MX Blue
Software Windows 11 Pro
The weird thing that SAM is part of PCIe spec and not something AMD came with, basically Linux was aware of it way before GPU's started using it. The problem is handled in a weird matter also.

The most important question lies... as the biggest Linux user SONY, how do they handle it. I bet they have it working fine... there is something else going on.
PlayStation uses FreeBSD, not Linux. Similar but not the same thing.
 
Joined
Nov 18, 2010
Messages
7,590 (1.48/day)
Location
Rīga, Latvia
System Name HELLSTAR
Processor AMD RYZEN 9 5950X
Motherboard ASUS Strix X570-E
Cooling 2x 360 + 280 rads. 3x Gentle Typhoons, 3x Phanteks T30, 2x TT T140 . EK-Quantum Momentum Monoblock.
Memory 4x8GB G.SKILL Trident Z RGB F4-4133C19D-16GTZR 14-16-12-30-44
Video Card(s) Sapphire Pulse RX 7900XTX. Water block. Crossflashed.
Storage Optane 900P[Fedora] + WD BLACK SN850X 4TB + 750 EVO 500GB + 1TB 980PRO+SN560 1TB(W11)
Display(s) Philips PHL BDM3270 + Acer XV242Y
Case Lian Li O11 Dynamic EVO
Audio Device(s) SMSL RAW-MDA1 DAC
Power Supply Fractal Design Newton R3 1000W
Mouse Razer Basilisk
Keyboard Razer BlackWidow V3 - Yellow Switch
Software FEDORA 41
PlayStation uses FreeBSD, not Linux. Similar but not the same thing.

For PS4 for sure... But I have no hard info about PS5 OS.
 
Joined
Dec 1, 2014
Messages
44 (0.01/day)
Location
Ottawa ON, Canada
System Name Titan
Processor AMD Ryzen 5 7600, 6C12T,
Motherboard Asus B650 ProArt Creator
Cooling ThermalRight SI-100
Memory 2x16GB Corsair Vengeance 6000 MT/s CL36 EXPO
Video Card(s) Gigabyte Radeon RX 6650XT Gaming OC 8GB
Storage XPG GAMMIX S70 Blade 2TB PCI x4 Main Drive (+5.5TB in other drives)
Display(s) DELL S3422DWG 1440P UltraWide + DELL SE2723DS 1440P in Portrait
Case CoolerMaster Qube 500
Audio Device(s) EPOS H3 Pro Hybrid, Senheiser HD 598
Power Supply Seasonic Focus SGX-500W SFX-L 80+ Gold
Mouse Zelotes T-50 Vertical Mouse
Keyboard Keychron K3 Pro Low Profile Mechanical 75% or Microsoft Natural Ergo 4000
Software Windows 11 + Linux (distro hopping)
Benchmark Scores GeekBench 6.2: SC 2939 / MC 13857
Engineer: hey boss, theres a bug in our open source driver
Boss: Don't bother fixing it just disable the feature
 

Mussels

Freshwater Moderator
Joined
Oct 6, 2004
Messages
58,413 (7.92/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
And just recently there was reviews showing how beneficial this was, especially for the new 7900s on AMD hardware. Also showed how the tech only really benefits AMD on AMD or nVidia on Intel. Even turned it on with my XT and saw improvements.
That has nothing to do with this news or its content



It's an open source openGL driver, nothing to do with any other OS platform or rendering method
 
Joined
Jul 23, 2011
Messages
1,586 (0.32/day)
Location
Kaunas, Lithuania
System Name my box
Processor AMD Ryzen 9 5950X
Motherboard ASRock Taichi x470 Ultimate
Cooling NZXT Kraken x72
Memory 2×16GiB @ 3200MHz, some Corsair RGB led meme crap
Video Card(s) AMD [ASUS ROG STRIX] Radeon RX Vega64 [OC Edition]
Storage Samsung 970 Pro && 2× Seagate IronWolf Pro 4TB in Raid 1
Display(s) Asus VG278H + Asus VH226H
Case Fractal Design Define R6 Black TG
Audio Device(s) Using optical S/PDIF output lol
Power Supply Corsair AX1200i
Mouse Razer Naga Epic
Keyboard Keychron Q1
Software Funtoo Linux
Benchmark Scores 217634.24 BogoMIPS
The weird thing that SAM is part of PCIe spec and not something AMD came with, basically Linux was aware of it way before GPU's started using it. The problem is handled in a weird matter also.

The most important question lies... as the biggest Linux user SONY, how do they handle it. I bet they have it working fine... there is something else going on.

The article is misleading: they didn't remove ReBAR support, it's still fully there. What was removed were specifically certain memory placement optimizations that are possible to do when ReBAR is active (that's where the "smart" in SAM comes from).

See:
Marek Olšak said:
SAM isn't really removed. The behavior that's removed is an aggressive use of VRAM for everything when SAM is enabled in the BIOS, which has slower CPU access.
SAM is still used if an app specifically asks for VRAM and then demands full CPU access to it. The kernel handles that optimally if SAM is enabled in the BIOS.

further clarifications Here and Here
 
Top