Display problems with Rimworld

Hello!
I have a problem when try to run Rimworld after installation. The game is running but nothing is displayed.
Checking the logs of the game i found the next “issue”:

Preloaded 'lib_burst_generated.so'
Preloaded 'libsteam_api.so'
Unable to load player prefs
Desktop is 0 x 0 @ 0 Hz

I think the game are not detecting my monitor correctly.

System:
  Kernel: 6.9.3-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=4bbfa70b-17f5-4a5e-8f02-4bf1b0b82f36 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: Sway v: 0.4 with: waybar tools: swayidle avail: swaylock vt: 1
    lm: greetd Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Gaming Laptop 16-s0xxx
    v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 8BD4 v: 79.40 serial: <superuser required>
    part-nu: 836P8EA#ABE uuid: <superuser required> UEFI: Insyde v: F.12
    date: 10/05/2023
Battery:
  ID-1: BAT1 charge: 67.1 Wh (100.0%) condition: 67.1/70.1 Wh (95.8%)
    volts: 17.5 min: 15.4 model: Hewlett-Packard PABAS0241231 type: Li-ion
    serial: <filter> status: full
  ID-2: hidpp_battery_0 charge: 100% condition: N/A volts: 4.2 min: N/A
    model: Logitech G Pro Wireless Gaming Mouse type: N/A serial: <filter>
    status: charging
CPU:
  Info: model: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics 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: 0x74 (116) stepping: 1
    microcode: 0xA704103
  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: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1676 high: 4392 min/max: 400/5137 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 4392
    4: 400 5: 1756 6: 400 7: 2154 8: 400 9: 4391 10: 400 11: 4377 12: 4391
    13: 1755 14: 400 15: 400 16: 400 bogomips: 121373
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
    vendor: Hewlett-Packard driver: nouveau v: kernel non-free: 550.xx+
    status: current (as of 2024-04) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1 empty: none
    bus-ID: 01:00.0 chip-ID: 10de:28a0 class-ID: 0300
  Device-2: AMD Phoenix1 vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm) built: 2023+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none off: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4, DP-5, Writeback-1 bus-ID: 05:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 52.0 C
  Device-3: Quanta HP True Vision FHD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0408:548d
    class-ID: fe01 serial: <filter>
  Display: wayland server: Xwayland v: 24.1.0 compositor: Sway v: 0.4
    driver: gpu: amdgpu,nouveau d-rect: 3840x1080 display-ID: 1
  Monitor-1: HDMI-A-1 pos: right model: ASUS VP28U serial: <filter>
    built: 2020 res: 1920x1080 hz: 60 dpi: 157 gamma: 1.2 scale: 1
    size: 621x341mm (24.45x13.43") diag: 708mm (27.9") ratio: 16:9 modes:
    max: 3840x2160 min: 640x350
  Monitor-2: eDP-1 pos: primary,left model: BOE Display 0x0b9f built: 2022
    res: 1920x1080 dpi: 137 gamma: 1.2 size: 355x200mm (13.98x7.87")
    diag: 407mm (16") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: amd radeonsi platforms:
    device: 0 drv: nouveau device: 1 drv: radeonsi device: 2 drv: swrast
    surfaceless: drv: nouveau wayland: drv: radeonsi x11: drv: radeonsi
    inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: amd mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M (radeonsi
    gfx1103_r1 LLVM 17.0.6 DRM 3.57 6.9.3-zen1-1-zen) device-ID: 1002:15bf
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.279 layers: 7 device: 0 type: integrated-gpu name: AMD
    Radeon 780M (RADV GFX1103_R1) driver: mesa radv v: 24.1.1-arch1.1
    device-ID: 1002:15bf surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.1.1-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.9.3-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.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: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
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: 1-5:4 chip-ID: 0e8d:223c
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 953.87 GiB used: 18.91 GiB (2.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC
    SN810 SDCPNRY-1T00-1006 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS2 temp: 39.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 18.91 GiB (2.0%) fs: btrfs 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 dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 18.91 GiB (2.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 18.91 GiB (2.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 18.91 GiB (2.0%) fs: btrfs 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.63 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: 74.0 C mobo: 44.0 C gpu: amdgpu temp: 52.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Memory: total: 32 GiB note: est. available: 30.63 GiB used: 4.33 GiB (14.1%)
  Processes: 368 Power: uptime: 39m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 12.24 GiB services: upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1288 libs: 456 tools: pacseek,paru Compilers:
    gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1 running-in: foot
    inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-05-28
  Last full system update: 2024-06-09
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

Thanks for your help.

Are you running Steam native or something else?

Which display is showing nothing, the internal laptop display or the external monitor?
Have you tried it without an external monitor? It is possible that the AMD iGPU is not connected to the HDMI port but only via eDP. This means that the Nvidia card is connected to the HDMI port.

Why don’t you have Nvidia drivers installed?

2 Likes

Hello! Thank you for the reply! :slight_smile:
I am using Garuda Sway, and I understand that it only works with generic drivers. (Can I install the proprietary ones? )I am using an external monitor, but with other games I have no problem, for example ProjectZomboid…
Right now I’m using the external screen, and I have the internal one disabled.

Hi Thhnak you for the reply!!
I try steam native, runtime, and for lutris… With same result.

Ah, you’re right. I had forgotten that sway and nvidia can be really tricky.

You’ll have to wait until someone from the gamer fraction jumps in here, I’m not an expert on gaming on Linux.

1 Like

There are a couple of options but you can install:

nvidia-zen

or nvidia-dkms.

ArchWiki:

https://wiki.archlinux.org/title/NVIDIA

To debug anything running on Steam, check protonDB for how other people got it running and click “PC” from the top menu.

3 Likes

You can, but it’s a little tricky.

https://wiki.garudalinux.org/Install_Nvidia_Drivers_on_Garuda_Sway

4 Likes