我的 AMD RX 580 没有使用全部内存(8GB),而只使用了 2GB,这可能是什么问题?
我使用带有最新内核(4.13)的 ubuntu 17.10
我的 GPU 在概览中显示为 Radeon RX 580 系列(POLARIS10 / DRM 3.18.0 / 4.13.0-18-generic,LLVM 5.0.0)(我有 mesa 17.3)
基准测试仅显示 256 至 2560 MB
当进入
echo $"VRAM: "$(($(grep -P -o -i "(?<=memory:).*(?=kbytes)" /var/log/Xorg.0.log) / 1024))$" Mb"
我回来VRAM: 2048 Mb
了
当进入grep -i memory /var/log/Xorg.0.log
我明白了
[ 34.272] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 34.302] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 34.405] (==) NVIDIA(0): Disabling shared memory pixmaps
当进入LC_ALL=C lspci -v | grep -EA10 "3D|VGA" | grep 'prefetchable'
我明白了
Memory at feb06000 (32-bit, non-prefetchable) [size=4K]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
Memory at fea00000 (32-bit, non-prefetchable) [size=256K]
当进入 sudo lshw -class display
我明白了
*-display
description: VGA compatible controller
product: Ellesmere [Radeon RX 470/480]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: e7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:30 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:fea00000-fea3ffff memory:c0000-dffff
但我不明白:P