You are not logged in.

#1 2023-02-05 12:37:20

Lone_Gunman
Member
Registered: 2010-02-17
Posts: 18

Increase VRAM on Ryzen APU

Hi all,

I bought a new laptop with Ryzen 5800H and 16GB RAM and integrated graphics.
My favourite game refuses to start because it detects too low VRAM, I could start this game with my previous laptop with older processor (Ryzen 3700U)

According to forums the game detects VRAM based on Mesa info :

$ glxinfo | egrep -i 'device|memory'
egrep: warning: egrep is obsolescent; using grep -E
    Device: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.9-arch1-1) (0x1638)
    Video memory: 512MB
    Unified memory: no
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 9 MB, largest block: 9 MB
    VBO free aux. memory - total: 5631 MB, largest block: 5631 MB
    Texture free memory - total: 9 MB, largest block: 9 MB
    Texture free aux. memory - total: 5631 MB, largest block: 5631 MB
    Renderbuffer free memory - total: 9 MB, largest block: 9 MB
    Renderbuffer free aux. memory - total: 5631 MB, largest block: 5631 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 8184 MB
    Currently available dedicated video memory: 9 MB
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_memory_object, 
    GL_EXT_memory_object_fd, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, 
    GL_MESA_texture_signed_rgba, GL_NVX_gpu_memory_info, 
    GL_AMD_pinned_memory, GL_AMD_query_buffer_object, 
    GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4, GL_EXT_memory_object, 
    GL_EXT_memory_object_fd, GL_EXT_multi_draw_arrays, 
    GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_NVX_gpu_memory_info, 
    GL_EXT_map_buffer_range, GL_EXT_memory_object, GL_EXT_memory_object_fd, 

It shows 512MB  video memory, (I had 2048MB set with older laptop), and VBO memory is ridiculously low.
Game refuses to start with such low memory.

There's no BIOS setting to change the VRAM, so I've been looking to the AMDGPU kernel driver parameters :

https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html

I know APU should allocate VRAM dynamically but here this game won't start without static setting.
Is there a way I can increase available VRAM in Linux without BIOS ?

Thank you so much !

Offline

#2 2023-04-16 19:09:23

Flaire
Member
Registered: 2023-04-16
Posts: 1

Re: Increase VRAM on Ryzen APU

The tool that worked for me is called Universal AMD Form Browser . It is an EFI application that is run from a bootable thumb drive to modify your bios settings that basically are some variables stored in laptop's memory. The changes, I believe, will be lost once CMOS battery is removed. Until then they are permanent.
Also, please bear in mind this tool is closed-source.

Offline

Board footer

Powered by FluxBB