I have an nvidia gpu and a amd cpu. To fix issues I was having with my nvidia gpu and wayland I plugged my monitors into my motherboard to use my cpu’s gpu. This has worked great and I’ve been using prime-run to play my games however I noticed Factorio refuses to use the nvidia gpu no matter what. The only difference I can find is that Factorio uses OpenGL when the rest of my games don’t. Is there a way to fix this aside from plugging my monitors into my nvidia gpu
I have confirm the issue to be OpenGL as Terraria also does not run on my Nvidia GPU and it runs on OpenGL as well
System:
Kernel: 6.7.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=bdce2a21-901c-4746-8585-0768c91ee180 rw rootflags=subvol=@
quiet loglevel=3, nvidia-drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: B650M Pro RS WiFi serial: N/A
uuid: 2a006b9c-e689-0000-0000-000000000000 UEFI: American Megatrends LLC.
v: 2.02 date: 11/17/2023
CPU:
Info: model: AMD Ryzen 7 7800X3D socket: AM5 bits: 64 type: MT MCP
arch: Zen 4 gen: 5 level: v4 note: check built: 2022+ process: TSMC n5 (5nm)
family: 0x19 (25) model-id: 0x61 (97) stepping: 2 microcode: 0xA601206
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 96 MiB desc: 1x96 MiB
Speed (MHz): avg: 807 high: 3712 min/max: 400/5050 base/boost: 4200/5050
scaling: driver: amd-pstate-epp governor: powersave volts: 1.3 V
ext-clock: 100 MHz cores: 1: 400 2: 3712 3: 400 4: 400 5: 400 6: 400
7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 3603
16: 400 bogomips: 134147
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Micro-Star MSI
driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
status: current (as of 2024-02; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none empty: DP-1,
DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:21c4 class-ID: 0300
Device-2: AMD Raphael driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: DP-4,HDMI-A-2 empty: DP-5,DP-6 bus-ID: 0e:00.0
chip-ID: 1002:164e class-ID: 0300 temp: 47.0 C
Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: amdgpu display-ID: :1 screens: 1
Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
s-diag: 1245mm (49.01")
Monitor-1: DP-4 pos: left model: BOE Display RT1971-AC built: 2017
res: 1920x1080 hz: 60 gamma: 1.2 size: N/A modes: max: 1366x768 min: 720x400
Monitor-2: HDMI-A-2 pos: primary,right model: Acer XV271U M3
serial: <filter> built: 2023 res: 2560x1440 hz: 144 dpi: 108 gamma: 1.2
size: 600x340mm (23.62x13.39") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia x11: drv: radeonsi inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.1-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
raphael_mendocino LLVM 16.0.6 DRM 3.57 6.7.6-zen1-1-zen)
device-ID: 1002:164e memory: 500 MiB unified: no
API: Vulkan v: 1.3.276 layers: 10 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
v: 24.0.1-arch1.1 device-ID: 1002:164e surfaces: xcb,xlib device: 1
type: discrete-gpu name: NVIDIA GeForce GTX 1660 SUPER driver: nvidia
v: 545.29.06 device-ID: 10de:21c4 surfaces: xcb,xlib device: 2 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 24.0.1-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA TU116 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:1aeb class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0e:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0e:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: Kingston HyperX 7.1 Audio
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 7-2:3 chip-ID: 0951:16a4 class-ID: 0300
serial: <filter>
API: ALSA v: k6.7.6-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.3 status: n/a (root, process) 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: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 05:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 06:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8:4 chip-ID: 0e8d:0616
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 2.96 TiB used: 557.65 GiB (18.4%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: TeamGroup model: TM8FP6256G
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: VC2S038C temp: 48.9 C
scheme: GPT
SMART: yes health: PASSED on: 56d 20h cycles: 365
read-units: 5,378,593 [2.75 TB] written-units: 5,477,386 [2.80 TB]
ID-2: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
family: Travelstar 7K1000 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B sata: 3.0 speed: 6.0 Gb/s tech: HDD rpm: 7200
serial: <filter> fw-rev: A3U0 temp: 41 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 38d 0h cycles: 2329
ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 1TB
family: based SSDs size: 931.51 GiB block-size: physical: 512 B
logical: 512 B sata: 3.3 speed: 6.0 Gb/s tech: SSD serial: <filter>
fw-rev: 3B6Q temp: 36 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 65d 13h cycles: 493
written: 3.14 TiB
ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD10EZEX-75WN4A1 family: Blue size: 931.51 GiB block-size:
physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD
rpm: 7200 serial: <filter> fw-rev: 7113 temp: 38 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 86d 7h cycles: 1324
read: 7.26 TiB written: 9.09 TiB
Partition:
ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 112.87 GiB (47.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 112.87 GiB (47.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 112.87 GiB (47.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 112.87 GiB (47.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 30.47 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.4 C mobo: 36.0 C gpu: amdgpu temp: 48.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 30.47 GiB used: 6.99 GiB (22.9%)
Processes: 387 Power: uptime: 34m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.15 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: 1906 pm: pacman pkgs: 1895 libs: 560 tools: octopi,paru
pm: flatpak pkgs: 11 Compilers: gcc: 13.2.1 Shell: garuda-inxi (sudo)
default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.33
Garuda (2.6.23-1):
System install date: 2024-01-25
Last full system update: 2024-02-26
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: Yes
Failed units: