Comment 14 for bug 1941854

Revision history for this message
Bin Li (binli) wrote :

On golem-amd, the memory is 8G. And in BIOS, there are "UMA frame buffer size", by default it set to 'Auto', and there are also 1GB,2GB and 4GB options. By default the 'Auto' means 1G from dmesg.

Is it possible that we compare lshw with the sum of VRAM and /proc/meminfo?

[ 1.057123] [drm] Detected VRAM RAM=1024M, BAR=1024M
[ 1.057123] [drm] RAM width 64bits DDR4
[ 1.057152] [drm] amdgpu: 1024M of VRAM memory ready
[ 1.057153] [drm] amdgpu: 3072M of GTT memory ready.

Results:
        /proc/meminfo reports: 6.61GiB
        lshw reports: 8GiB

FAIL: Meminfo reports 1493368832 less than lshw, a difference of 17.39%. Only a variance of 10% in reported memory is allowed.