[7.x iGPU 'vram'] (not really a problem, rather a request for info)

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
TroubledRabbit
Posts: 132
Joined: Sat, 6. Apr 24, 21:26

[7.x iGPU 'vram'] (not really a problem, rather a request for info)

Post by TroubledRabbit » Tue, 7. May 24, 00:55

***It is not a request, nor complain.***

I perfectly understand if the informed ones would see that as no-priority-whastoever, mostly I am asking for information.

Intel iGPUs (since Broadwell IIRC) have got the 'unified memory' feature while AMD somewhat stubbornly lags behind and still uses division between 'VRAM' and support (auxiliary) ram (GTT/SAM) which does not really have sense, it is just arbitrary flag in BIOS. Still, regardles of the fact that this is just system memory alltogether with reserved space which is actually bigger than 'VRAM' reported (max 1/3 of existing RAM) effect is like that:

Code: Select all

glxinfo | grep -A30 'Extended renderer info'
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: RENOIR (renoir, LLVM 15.0.7, DRM 3.42, 5.15.0-105-generic) (0x1636)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 2048MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1509 MB, largest block: 1509 MB
    VBO free aux. memory - total: 2932 MB, largest block: 2932 MB
    Texture free memory - total: 1509 MB, largest block: 1509 MB
    Texture free aux. memory - total: 2932 MB, largest block: 2932 MB
    Renderbuffer free memory - total: 1509 MB, largest block: 1509 MB
    Renderbuffer free aux. memory - total: 2932 MB, largest block: 2932 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 5120 MB
    Currently available dedicated video memory: 1509 MB

These lines:

Code: Select all

Dedicated video memory: 2048 MB
Total available memory: 5120 MB
*the Total avaible memory regards RAM acessible for the iGPU, the system has got 32GB in total.
puts the problem (?) into the light. The game will take whatever 'VRAM' is declared and ignore the aux 'VRAM' in theory this should be solved by driver silently putting data from declared part into auxiliary one (and vice versa as needed) in the background, though until the ReBAR arrived this exposed only small amount of auxRAM for the CPU, the SAM (AMD nomenclature for BAR) however changed that. Shortly - the used Vulkan implementation seemingly is not aware of ReBAR functionalities (present since Radeon: https://gpuopen.com/learn/get-the-most- ... ss-memory/) or just ignore it.

Now - using that (if it is even possible or seen as worth necessary work at all) would not by any magic makes game perform better on integrated GPUs, however it would stop the 'overrun VRAM' routine of clearing the 'VRAM' which particularly in 7.x as I noticed breaks the map instantenously. It wasn't happening in 6.x. (I suppose something changed with transparency, maybe?)

inxi output for the attached below, VulkanInfo makes the post too big and I cannot see 'attach a file' option.

Now - I know that 'your system is below minimal' and I expect nothing. Still it would be nice to see some kind of info.



Inxi output:
Spoiler
Show

Code: Select all

System:
  Host: adam-ThinkPad-T14-Gen-1 Kernel: 5.15.0-105-generic x86_64 bits: 64
    Desktop: Cinnamon 6.0.4 Distro: Linux Mint 21.3 Virginia
Machine:
  Type: Laptop System: LENOVO product: 20UES2D700 v: ThinkPad T14 Gen 1
    serial: <superuser required>
  Mobo: LENOVO model: 20UES2D700 v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: R1BET77W(1.46 )
    date: 10/24/2023
Battery:
  ID-1: BAT0 charge: 36.4 Wh (80.5%) condition: 45.2/50.5 Wh (89.6%)
CPU:
  Info: 6-core model: AMD Ryzen 5 PRO 4650U with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1513 min/max: 1400/2100 cores: 1: 1742 2: 1414 3: 1397
    4: 1397 5: 1459 6: 1495 7: 1712 8: 1414 9: 1395 10: 1630 11: 1504 12: 1604
Graphics:
  Device-1: AMD Renoir driver: amdgpu v: kernel
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1920x1080~60Hz
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.42 5.15.0-105-generic)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    driver: snd_rn_pci_acp3x
  Device-3: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-105-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlp2s0 state: up mac: c0:3c:59:b7:07:aa
  IF-ID-1: virbr0 state: down mac: 52:54:00:1b:9d:6a
Drives:
  Local Storage: total: 953.87 GiB used: 406.44 GiB (42.6%)
  ID-1: /dev/nvme0n1 vendor: Lexar model: SSD NM620 1TB size: 953.87 GiB
Partition:
  ID-1: / size: 877.49 GiB used: 406.41 GiB (46.3%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 32.3 MiB (33.6%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): fan-1: 2900
Info:
  Processes: 354 Uptime: 3h 57m Memory: 29.1 GiB used: 7.28 GiB (25.0%)
  Shell: Bash inxi: 3.3.13
Spoiler
Show
Even Lower Spec (occasional) Gamer

Linux Mint 21.3 Cinnamon, kernel line: 5.15, X11
T14 AMD Ryzen 5 PRO 4650U/Renoir, 32GB

Post Reply

Return to “X4: Foundations - Technical Support”