AMDGPU RAS SYSFS GPU_VRAM_BAD_PAGES INTERFACE(9)
π 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 ofpage_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 π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c AMDGPU RAS debugfs control interface(9)AMDGPU RAS debugfs EEPROM table reset interface(9)AMDGPU RAS sysfs Error Count Interface(9)amdgpu_ras_query_error_count_helper(9)amdgpu_ras_query_error_count(9)AMDGPU RAS Reboot Behavior for Unrecoverable Errors(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms