Screen saver activates during game on Wayland when using gamepad

I am on Fedora WS 41. I game regularly and have had little to no issues. One of the games I play is Rocket League via Steam using GE-Proton9-21. I had a short break from RL but now after some weeks I have been playing again and I noticed that now, the screen saver is activated during gameplay when I play using a Xbox One Controller… It obviously does not recognize my controller in the same way it does with keyboard and mouse. I need to press any key on the keyboard or move the mouse, mid game, to prevent it from going black. Quite frustrating. This was not an issue earlier, so something has changed. I am not sure what to blame though, the controller is the same, same driver etc. Sure, the game itself has probably got some updates but I doubt that is the reason. I have kept my system up to date so it could be something in Wayland perhaps?

Anyone else had similar issues? I have read of some “workarounds” but most are 2+ years old and I don’t really want a workaround, I would expect this to just work, as it has before.

inxi -Fzxx

System:
  Kernel: 6.12.9-200.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: GNOME v: 47.3 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 41 (Workstation Edition)
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 5013
    date: 03/22/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2
    rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
  Speed (MHz): avg: 550 min/max: 550/4426 boost: enabled cores: 1: 550
    2: 550 3: 550 4: 550 5: 550 6: 550 7: 550 8: 550 9: 550 10: 550 11: 550
    12: 550 13: 550 14: 550 15: 550 16: 550 bogomips: 115206
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: ASUSTeK driver: nvidia
    v: 565.77 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
    off: DP-1,DP-2 empty: DP-3,HDMI-A-1 bus-ID: 08:00.0 chip-ID: 10de:2487
  Device-2: Microsoft LifeCam HD-3000 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-2.1:4
    chip-ID: 045e:0779
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: Samsung LC24RG50 res: 1920x1080 dpi: 92
    diag: 613mm (24.1")
  Monitor-2: DP-2 model: Samsung LC24RG50 res: 1920x1080 dpi: 92
    diag: 613mm (24.1")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo gpu: nvidia-settings,nvidia-smi x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 08:00.1 chip-ID: 10de:228b
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 0a:00.4 chip-ID: 1022:1487
  Device-3: Microsoft LifeCam HD-3000 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-2.1:4
    chip-ID: 045e:0779
  Device-4: SteelSeries ApS Arctis Nova 5
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-2.4:9 chip-ID: 1038:2232
  API: ALSA v: k6.12.9-200.fc41.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 8086:1539
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.29 TiB used: 736.47 GiB (31.5%)
  ID-1: /dev/nvme0n1 vendor: A-Data model: SX8200PNP size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
  ID-2: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 174.61 GiB used: 74.25 GiB (42.5%) fs: btrfs
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 465.1 MiB (47.8%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 95 MiB used: 50.1 MiB (52.7%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 174.61 GiB used: 74.25 GiB (42.5%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 1.42 GiB (17.8%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 39.0 C mobo: 35.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.52 GiB used: 4.62 GiB (29.8%)
  Processes: 468 Power: uptime: 2h 7m wakeups: 0 Init: systemd v: 256
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 12
    Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 running-in: gnome-terminal
    inxi: 3.3.37

Can you disable the screensaver with this command in terminal?

gsettings set org.gnome.desktop.session idle-delay 0

And here is a link to a site that I find high-quality tutorials https://www.baeldung.com/linux/gnome-disable-screensaver-permanently

Hi. Well, as I said, I don’t want a workaround, I want to resolve the issue. I don’t want to disable the screensaver, I want it to not become active when gaming for 5+min with controller only…

That being said, for now I have gotten the “Caffeine” gnome extension which allows me to toggle the screen saver disable/enable easily. It probably does something along the lines of what you are suggesting behind the scenes.

Yea, thanks. I actually found that post I believe after creating this one. Via that one I found the Mutter open issue as well as the tip about Caffeine. Apparently Caffeine turns on automatically when I start my game, and turns off automatically when I tab out. That is quite nice actually, not sure if it is due to full screen content or what, but it is actually now on the other hand a handy and sufficient solution for me. Ofc, ideally this would not be an issue OTB