Games crashing “Out of memory”
It’s a recurring problem: games close with an ‘out of memory’ error. I confirmed that it indeed happens when the video card’s memory limit (Nvidia GTX 1050 2GB) is reached, but the curious thing is that this doesn’t happen on Windows. In that case, the game just slows down but doesn’t close on its own. This also happened to me on Fedora, not just on Garuda, so perhaps the solution could work for both, or maybe it’s an Nvidia issue on Linux. I’ll let you decide.
Note: I am currently using dual GPUs, iGPU (Mesa Intel® UHD Graphics 630) and dGPU (Nvidia GTX 1050 2GB).
Does anyone know what could be causing this? Let me know what you need or how to obtain a log, and I’ll provide it.
edit update:
-screen shot
vulkan: Out of memory. Try lowering graphics settings and/or closing other memory consuming applications.
View post on imgur.com
garuda-inxi
> System:
Kernel: 6.12.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=100b0721-f614-447e-bc5a-ce081c786d9a rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A info: frameworks v: 6.9.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: H310M PRO-VH (MS-7B33) v: 1.0
serial: <superuser required> UEFI: American Megatrends v: 1.80
date: 03/28/2019
CPU:
Info: model: Intel Core i5-9600K bits: 64 type: MCP arch: Coffee Lake
gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xC (12) microcode: 0xF8
Topology: cpus: 1x dies: 1 clusters: 6 cores: 6 smt: <unsupported> cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 9 MiB desc: 1x9 MiB
Speed (MHz): avg: 4449 min/max: 800/4600 scaling: driver: intel_pstate
governor: powersave cores: 1: 4449 2: 4449 3: 4449 4: 4449 5: 4449 6: 4449
bogomips: 44398
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Micro-Star MSI
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: HDMI-A-2 empty: DP-2,HDMI-A-3,HDMI-A-4 bus-ID: 00:02.0
chip-ID: 8086:3e98 class-ID: 0300
Device-2: NVIDIA GP107 [GeForce GTX 1050] vendor: Micro-Star MSI
driver: nvidia v: 565.77 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-09; EOL~2026-12-xx) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s ports: active: none off: HDMI-A-1
empty: DP-1,DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:1c81 class-ID: 0300
Device-3: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3
chip-ID: 1532:0e03 class-ID: 0102
Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915,nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
s-diag: 1052mm (41.43")
Monitor-1: HDMI-A-1 mapped: HDMI-1-0 note: disabled pos: primary,right
model: Philips PHL 241V8 serial: <filter> built: 2030 res: 1920x1080 hz: 60
dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
ratio: 16:9 modes: max: 1920x1080 min: 640x480
Monitor-2: HDMI-A-2 mapped: HDMI-2 pos: left model: Samsung S22D300
built: 2013 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: iris
inactive: wayland
API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 24.3.2-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) device-ID: 8086:3e98 memory: 7.56 GiB unified: yes
API: Vulkan v: 1.4.303 layers: 15 device: 0 type: integrated-gpu
name: Intel UHD Graphics 630 (CFL GT2) driver: N/A device-ID: 8086:3e98
surfaces: xcb,xlib device: 1 type: discrete-gpu
name: NVIDIA GeForce GTX 1050 driver: N/A device-ID: 10de:1c81
surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe (LLVM 18.1.8 256
bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Device-3: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3
chip-ID: 1532:0e03 class-ID: 0102
API: ALSA v: k6.12.7-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1:2 chip-ID: 0bda:8771
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 894.25 GiB used: 85.88 GiB (9.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37960G
size: 894.25 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 62C3 scheme: GPT
Partition:
ID-1: / raw-size: 186.26 GiB size: 186.26 GiB (100.00%)
used: 85.8 GiB (46.1%) fs: btrfs dev: /dev/sda8 maj-min: 8:8
ID-2: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
used: 75.6 MiB (12.6%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 186.26 GiB size: 186.26 GiB (100.00%)
used: 85.8 GiB (46.1%) fs: btrfs dev: /dev/sda8 maj-min: 8:8
ID-4: /var/log raw-size: 186.26 GiB size: 186.26 GiB (100.00%)
used: 85.8 GiB (46.1%) fs: btrfs dev: /dev/sda8 maj-min: 8:8
ID-5: /var/tmp raw-size: 186.26 GiB size: 186.26 GiB (100.00%)
used: 85.8 GiB (46.1%) fs: btrfs dev: /dev/sda8 maj-min: 8:8
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.48 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 6
dev: /dev/zram0
ID-2: swap-2 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda7 maj-min: 8:7
Sensors:
System Temperatures: cpu: 42.0 C pch: 36.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.48 GiB used: 4.29 GiB (27.7%)
Processes: 242 Power: uptime: 2h 6m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.14 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1749 libs: 482 tools: octopi,paru Compilers:
clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.36
Garuda (2.6.26-1):
System install date: 2024-12-12
Last full system update: 2024-12-28
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: Probably (Run as root to verify)
Failed units: nvidia-powerd.service