Optimus works great to offload the Xorg VRAM usage when playing native linux games, but pretty much no games run through wine (tried several versions), the games launch but they freeze after ~10 secs or at the first input, can’t find any error messages in the terminal (run through steam or lutris), how can I troubleshoot and find out what is hanging my system and make it work?
Running with dGPU only in UEFI everything works fine, but my system consumes ~25% of my VRAM, leaving my games crippled.
System information:
System:
Kernel: 6.14.0-29-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: hpet
Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble
Machine:
Type: Laptop System: SchenkerGmbH product: XMG CORE (REN/E21) v: Standard
serial: <superuser required>
Mobo: NB02 model: GMxNGxx v: Standard serial: <superuser required>
part-nu: XCO15AE21 / XCO17AE21 uuid: <superuser required> UEFI: American Megatrends v: N.1.06A03
date: 08/27/2021
Battery:
ID-1: BAT0 charge: 46.2 Wh (95.1%) condition: 48.6/62.3 Wh (78.0%) volts: 15.9 min: 15.2
model: standard type: Li-ion serial: <filter> status: not charging
CPU:
Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
Speed (MHz): avg: 1580 high: 2895 min/max: 1400/2900 boost: disabled cores: 1: 1490 2: 1488
3: 1281 4: 1345 5: 1553 6: 1551 7: 1212 8: 1400 9: 2895 10: 2895 11: 1287 12: 1400 13: 1400
14: 1400 15: 1286 16: 1400 bogomips: 92629
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Tongfang Hongkong
driver: nvidia v: 580.65.06 arch: Ampere pcie: speed: 2.5 GT/s lanes: 8 ports: active: none
off: HDMI-A-1 empty: DP-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
Device-2: AMD Renoir [Radeon RX Vega 6 ] vendor: Tongfang Hongkong driver: amdgpu v: kernel
arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-2 empty: none bus-ID: 06:00.0
chip-ID: 1002:1636 class-ID: 0300 temp: 45.0 C
Device-3: Chicony Integrated IR Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-4:3 chip-ID: 04f2:b71a class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
gpu: amdgpu,nv_platform,nvidia,nvidia-nvswitch display-ID: 0
Monitor-1: HDMI-A-1 model: Samsung U28E590 serial: <filter> res: 3840x2160 dpi: 160
size: 608x345mm (23.94x13.58") diag: 699mm (27.5") modes: max: 3840x2160 min: 640x480
Monitor-2: eDP-2 model: Sharp LQ156M1JW26 res: 1920x1080 dpi: 142 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 1 drv: radeonsi device: 2 drv: nouveau device: 3 drv: swrast gbm:
drv: kms_swrast surfaceless: drv: nvidia wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4
direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.61 6.14.0-29-generic)
device-ID: 1002:1636 display-ID: :0.0
API: Vulkan v: 1.3.275 layers: 10 surfaces: xcb,xlib,wayland device: 0 type: integrated-gpu
driver: N/A device-ID: 1002:1636 device: 1 type: discrete-gpu driver: N/A device-ID: 10de:2520
device: 2 type: cpu driver: N/A device-ID: 10005:0000
Audio:
Device-1: NVIDIA GA106 High Definition Audio vendor: Tongfang Hongkong driver: snd_hda_intel
v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Tongfang Hongkong driver: N/A pcie:
speed: 8 GT/s lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Tongfang Hongkong driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.14.0-29-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Tongfang Hongkong driver: r8169 v: kernel pcie:
speed: 5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8125 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
bus-ID: 3-4:4 chip-ID: 8087:0029 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2 lmp-v: 11
sub-v: 2184 hci-v: 11 rev: 2184 class-ID: 7c010c
Drives:
Local Storage: total: 1.82 TiB used: 52.81 GiB (2.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 1B4QFXO7 temp: 36.9 C scheme: GPT
ID-2: /dev/nvme1n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 211070WD temp: 35.9 C scheme: GPT
Partition:
ID-1: / size: 125 GiB used: 52.8 GiB (42.2%) fs: btrfs dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme1n1p1
ID-3: /home size: 125 GiB used: 52.8 GiB (42.2%) fs: btrfs dev: /dev/nvme0n1p2
Swap:
Alert: No swap data was found.
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-2:2 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s lanes: 1
chip-ID: 05e3:0610 class-ID: 0900
Device-1: 1-2.2:4 info: Areson Corp 2.4G Wireless Receiver type: mouse,keyboard
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 power: 98mA
chip-ID: 25a7:fa07 class-ID: 0301
Device-2: 1-4:3 info: Chicony Integrated IR Camera type: video driver: uvcvideo interfaces: 4
rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 04f2:b71a class-ID: 0e02 serial: <filter>
Hub-3: 2-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Device-1: 2-1:2 info: Realtek Card Reader type: mass storage driver: usb-storage interfaces: 1
rev: 3.0 speed: 5 Gb/s lanes: 1 power: 800mA chip-ID: 0bda:0316 class-ID: 0806 serial: <filter>
Hub-4: 2-2:3 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2 speed: 5 Gb/s lanes: 1
chip-ID: 05e3:0620 class-ID: 0900
Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2 info: SINO WEALTH Gaming Keyboard type: keyboard,HID driver: hid-generic,usbhid
interfaces: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 258a:002a class-ID: 0300
Hub-6: 3-3:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 power: 500mA
chip-ID: 05e3:0608 class-ID: 0900
Device-1: 3-4:4 info: Intel AX200 Bluetooth type: bluetooth driver: btusb interfaces: 2
rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 8087:0029 class-ID: e001
Hub-7: 4-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 52.2 C mobo: 43.0 C gpu: amdgpu temp: 45.0 C
Fan Speeds (rpm): N/A
Repos:
Packages: pm: dpkg pkgs: 3054
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/docker.list
1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https: //download.docker.com/linux/ubuntu noble stable
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com zara main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/oibaf-graphics-drivers-noble.list
1: deb [signed-by=/etc/apt/keyrings/oibaf-graphics-drivers-noble.gpg] https: //ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu noble main
Active apt repos in: /etc/apt/sources.list.d/tuxedo-computers.list
1: deb https: //deb.tuxedocomputers.com/ubuntu noble main
Info:
Memory: total: 32 GiB note: est. available: 30.77 GiB used: 4 GiB (13.0%)
Processes: 432 Power: uptime: 7m states: freeze,mem,disk suspend: deep wakeups: 0
hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34
Wine versions tested:
Wine 10.8 staging, GE 8.26 and Ubuntu~9
Proton 9, 10, experimental and GE 10.16