Factorio on steam, couldn't initialize steam api

lately i saw that issue when i’m not focusing any window for example obs studio, keyboard shortucts aren’t working.
So if i start a game and recording is set to ctrl + num7 when i click that in game nothing is happening, but when i focus (click on obs studio window) keyboard shortcuts are working

i was trying to set to a different buttons combination, or for example alt alone, and no response

i have checked that on x11 session, it’s working

any similliar issues?

also since kde6 and wayland i cannot play some games on steam, or steam is not connecting to game services, very strange. Games aren’t connecting on x11 also, so it might be a steam issue

System:
  Kernel: 6.8.2-zen2-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=6f7982fa-f801-4a9f-a47e-a2cd8f08ee86 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=4fb2a623-f3ae-4757-9e65-4eb2471f1194 loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.0.2 tk: Qt v: N/A info: frameworks v: 6.0.0
    wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F65a date: 02/09/2023
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2023 high: 3023 min/max: 400/4673 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 2986 2: 2995 3: 3023
    4: 400 5: 400 6: 2993 7: 400 8: 400 9: 2992 10: 2994 11: 400 12: 3005
    13: 2994 14: 3001 15: 2994 16: 400 bogomips: 121368
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Sapphire 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: HDMI-A-1 empty: DP-1, DP-2, DP-3, Writeback-1
    bus-ID: 03:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 res: 2560x1440 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.3-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 17.0.6 DRM 3.57 6.8.2-zen2-1-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: 13 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 24.0.3-arch1.2
    device-ID: 1002:73df surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.3-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 0a:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.8.2-zen2-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.0.4 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: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 06: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: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:4
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.56 TiB used: 500.4 GiB (31.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 34.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: GOODRAM model: SSDPR-CL100-480-G2
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: V4.9 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: PNY model: CS900 240GB SSD
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0615 scheme: GPT
Partition:
  ID-1: / raw-size: 100 GiB size: 100 GiB (100.00%) used: 18.89 GiB (18.9%)
    fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: /boot/efi raw-size: 4 GiB size: 3.99 GiB (99.80%)
    used: 296 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /home raw-size: 811.51 GiB size: 811.51 GiB (100.00%)
    used: 481.51 GiB (59.3%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 18.89 GiB (18.9%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-5: /var/tmp raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 18.89 GiB (18.9%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.21 GiB used: 706 MiB (2.2%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p1 maj-min: 259:1
Sensors:
  System Temperatures: cpu: 30.4 C mobo: N/A gpu: amdgpu temp: 33.0 C
    mem: 34.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 920
Info:
  Memory: total: 32 GiB available: 31.21 GiB used: 5.13 GiB (16.4%)
  Processes: 386 Power: uptime: 39m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.46 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 2029 libs: 572 tools: octopi,paru,yay
    Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi default: fish
    v: 3.7.0 running-in: konsole inxi: 3.3.33
Garuda (2.6.23-1):
  System install date:     2023-06-03
  Last full system update: 2024-03-29
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

The global shortcuts feature is a known issue on Wayland.

Can you be a bit more specific? I personally have not experience any issues with launching Steam games.

3 Likes

I will provide errors when i get into pc

errors:

factorio
factorio-error

insurgency sandstorm

Czesc. Not sure what happened, or how you have installed Steam. I also do not own any of those games to test.
The second might indicate issues with easy anti-cheat.

For me, the combination of Steam Native and Proton-GE works. Try to re-install.
Also, in another thread, there was a suggestion to delete the Steam cache folder (home - .steam), but I do not know how safe that is.

Cześć:)
Well i havent touched steam installation since i have installed garuda
And im adding proton ge by hand if i need to
Since last patches o havent had any issues with steam, lately something happened

You can find some details on the Steam cache cleaning at the end of this post:

I am not aware of any problematic Steam changes. And the issues that came from the recent KDE Plasma 6 changes were not related to Steam, and were concerning mostly for Nvidia users.

Try the official one from Garuda Gamer, or try any of the official Proton versions from within Steam.

well nothing seams to work
i have reinstalled steam, steam-native runtime, proton custom ge
removed
rm -rf usr/share/steam
rm -rf .steam/*

reinstalled factorio game
cleaned up steam memory cache under, options > download

still same issue

I am sorry to say I am out of ideas.
Factorio has a Platinum rating on ProtonDB, so it should work just fine:
https://www.protondb.com/app/427520?device=pc

Unless someone else has a different idea, a clean reinstall with the new Garuda ISO might be the last option. I think it is still being tested and come out soon.

You have also two topics in this thread (against the forum rules), this is not about a strange keyboard behavior only.

1 Like

Can you please post the link?
I can’t find it right now.

It was working perfectly untill some patches few days ago
Not game is starting but stran service cannot connect to factorio, or factorio cannot connect to steam api, no idea how to resolve this, on factorio forums no help also

It is in the same topic sgs, i have started two threads here

He means: two issues in this topic.

If you check the original post, you will see two issues being raised:
1: Global shortcuts not working properly
2: Steam having issues starting games after the KDE Plasma 6 update

1 Like

But anyway i do not think steam issue is related with garuda system

I have not seen issues like yours on AMD hardware here. I hope you will be able to make sense of the errors and fix them eventually.

Hey i have finally fixed the error with factorio game on steam

so previously before some system updates i was running steam in compatibillity none
and it was running fine, after some recent patches it has changed and broken steam api connection

now i have set

and it’s working fine

Awesome. I run a general compatibility with Proton-GE, I have never needed to force specific games, so good to know. Please mark your post as the Solution, thanks.

factorio has a linux support, i’m always setting different for different games

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.