sjb3d,
@sjb3d@mastodon.gamedev.place avatar

Desktop Vulkan question: is it reasonable to rely on resizable BAR being enabled these days? Just filling write-combined buffer memory directly, without all the code for sync/async copies from staging buffers, is super nice.

dougbinks,
@dougbinks@mastodon.gamedev.place avatar

@sjb3d Perhaps @sascha would know.

I think NVIDIA requires the RTX 30-series or above for official resizable BAR support, and for AMD it's RX 5000+ (RDNA1). Intel ARC supports it. Also a modern CPU/Motherboard are required, but I don't know the specs.

This thread has some analysis of GPU series from the steam hardware survey:
https://gamrconnect.vgchartz.com/thread/236899/monthly-steam-hardware-survey-analysis/30/

Non resizable BAR NVIDIA GPUs account for ~20% of GPUs, and for AMD ~3%.

sjb3d,
@sjb3d@mastodon.gamedev.place avatar

@dougbinks thanks for the very useful info!

dougbinks,
@dougbinks@mastodon.gamedev.place avatar

@sjb3d I've been meaning to figure this out for myself for a bit, since Avoyd's GPU new path tracer uses Vulkan.

Currently I don't rely or use REBAR much, but I'm planning to rewrite my GPU allocation to check for support. I think the best way to do this is to check for a large device local heap accessible to the CPU.

Perhaps worth noting that I have an NVIDIA 4060 on a machine with no REBAR support (no bios support), so such systems do exist.

sjb3d,
@sjb3d@mastodon.gamedev.place avatar

@dougbinks yep, makes sense to check via the heaps.

It's difficult to judge how widespread motherboard/BIOS support is, but seems like a fallback to staging buffers is probably wise then (for older bios or just user not enabling it).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • Leos
  • kavyap
  • modclub
  • ethstaker
  • JUstTest
  • everett
  • GTA5RPClips
  • cubers
  • khanakhh
  • ngwrru68w68
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • normalnudes
  • lostlight
  • All magazines