You are not logged in.

#1 2025-07-14 17:16:10

bio3c
Member
Registered: 2025-07-14
Posts: 1

amdgpu high vram usage with rdna 4

EDIT
fixed with this patch and updated firmware https://web.git.kernel.org/pub/scm/linu … 404ff69408


I'm booting into systemd.unit=multi-user.target session, i see around 533mb usage with amdgpu_top preallocated (no apps using that), already tried multiple kernels, mainline, endeavouros default one, tried older kernels but seems like they didn’t get backported patches (using rdna4). if i’m not mistaken this issue began around the time kde5 upgraded to kde6 while i was still using my 6700xt, i could actually get just 50mb or less of vram usage with a desktop environment loaded ( using LIBGL_ALWAYS_SOFTWARE=1), i can’t find the reason why that happens, i don't have a multi monitor setup, just a standard 1440p and used to be able to have almost no vram usage.

lsmod drm returns:

drm_panel_backlight_quirks    12288  1 amdgpu
drm_buddy              28672  1 amdgpu
drm_exec               12288  1 amdgpu
drm_suballoc_helper    16384  1 amdgpu
drm_ttm_helper         16384  2 amdgpu
ttm                   118784  2 amdgpu,drm_ttm_helper
drm_display_helper    278528  1 amdgpu
cec                    94208  2 drm_display_helper,amdgpu

ps aux X|wayland|sddm|gdm|kwin|plasma|gnome|wlroots returns

root          18  0.0  0.0      0     0 ?        S    03:30   0:00 [rcu_exp_par_gp_kthread_worker/0]
root          19  0.0  0.0      0     0 ?        S    03:30   0:00 [rcu_exp_gp_kthread_worker]
root         424  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-ext4-rsv-conversion]
root         722  0.0  0.0   6644  1840 ?        Ss   03:30   0:00 /usr/bin/mount.ntfs /dev/sda1 /mnt/games -o rw,uid=1000,gid=1000,user,nosuid,nodev,exec,umask=000
root         725  0.0  0.0   6644  2040 ?        Ss   03:30   0:00 /usr/bin/mount.ntfs /dev/nvme1n1p2 /mnt/win -o rw,uid=1000,gid=1000,user,nosuid,nodev,exec,umask=000
root         791  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-amdgpu_dm_hpd_rx_offload_wq]
root         792  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-amdgpu_dm_hpd_rx_offload_wq]
root         793  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-amdgpu_dm_hpd_rx_offload_wq]
root         794  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-amdgpu_dm_hpd_rx_offload_wq]
root         795  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-amdgpu_dm_hpd_rx_offload_wq]
root         803  0.0  0.0      0     0 ?        I<   03:30   0:00 [kworker/R-gfx_0.0.0]
dbus         823  0.0  0.0   5352  3584 ?        S    03:31   0:00 dbus-broker --log 10 --controller 9 --machine-id df222b7d3f8046fda373b076955f52bc --max-bytes 536870912 --max-fds 4096 --max-matches 131072 --audit 

system specs

System:
  Host: ian-endeavouros Kernel: 6.12.37-1-lts arch: x86_64 bits: 64
    compiler: gcc v: 15.1.1
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
CPU:
  Info: 8-core model: AMD Ryzen 7 5700X3D bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 512 KiB L2: 4 MiB L3: 96 MiB
  Speed (MHz): avg: 3598 min/max: 550/4149 boost: enabled cores: 1: 3598
    2: 3598 3: 3598 4: 3598 5: 3598 6: 3598 7: 3598 8: 3598 9: 3598 10: 3598
    11: 3598 12: 3598 13: 3598 14: 3598 15: 3598 16: 3598 bogomips: 96046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 48 [Radeon RX 9070/9070
    XT/9070 GRE] vendor: Sapphire driver: amdgpu v: kernel pcie:
    speed: 32 GT/s lanes: 16 ports: active: DP-1 empty: DP-2, HDMI-A-1,
    HDMI-A-2, Writeback-1 bus-ID: 0a:00.0 chip-ID: 1002:7550
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 model: Dell AW2725DF res: 2560x1440 hz: 360 dpi: 110
    diag: 678mm (26.7")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.0-devel
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 9070 XT (radeonsi
    gfx1201 LLVM 20.1.7 DRM 3.61 6.12.37-1-lts) device-ID: 1002:7550
    display-ID: :1.0
  API: Vulkan v: 1.4.313 surfaces: N/A device: 0 type: discrete-gpu
    driver: mesa radv device-ID: 1002:7550
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: lact,radeontop wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

Last edited by bio3c (2025-08-14 19:59:31)

Offline

Board footer

Powered by FluxBB