AMDGPU RAS SYSFS GPU_VRAM_BAD_PAGES INTERFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– AMDGPU RAS sysfs gpu_vram_bad_pages Interface πŸ’–

okay bestie so we're in the Kernel API Manual today and this page is literally the whole vibe check on your GPU's bad vram pages ✨


🌸 DESCRIPTION 🌸

this interface lets u (yes u 🫢) read the bad pages of vram on the gpu β€” and u get to do it right through:

/sys/class/drm/card[0/1/2...]/device/ras/gpu_vram_bad_pages

it outputs multiple lines, and each line stands for one gpu page πŸ‘‘ no cap, one page per line.

the format of one line is below, bestie:

gpu pfn : gpu page size : flags

gpu pfn and gpu page size are printed in hex format πŸ”₯ (hex girl summer fr fr). and flags can be one of the below characters:

  • R β€” reserved, this gpu page is reserved and not able to use πŸ’€
  • P β€” pending for reserve, this gpu page is marked as bad, will be reserved in next window of page_reserve ⏳
  • F β€” unable to reserve. this gpu page can't be reserved due to some reasons 😭

πŸ¦‹ Examples πŸ¦‹

like, actual receipts:

0x00000001 : 0x00001000 : R
0x00000002 : 0x00001000 : P

⭐ SEE ALSO ⭐

go read these next, iykyk πŸ’…


πŸŽ€ that's the whole page, mwah πŸŽ€ β€” this came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's serving AMDGPU RAS ...es Interface(9) energy from the Kernel API Manual. slay, go read ur bad pages πŸ’œπŸ¦‹

πŸ“¦ where this page comes from