I installed Age of Wonders 4 via the exe file from gog, but when I start the game it immediately stops, the following message is in the log:
Started initial process 9376 from gamemoderun taskset -c 0-15 /home/fuscator/.local/share/lutris/runners/wine/lutris-GE-Proton8-2-x86_64/bin/wine start /unix /home/fuscator/Games/age-of-wonders-4/drive_c/GOG Games/Age of Wonders 4/Launch Age of Wonders 4.lnk
Start monitoring process.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Initial process has exited (return code: 0)
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 156 (NV-GLX)
Minor opcode of failed request: 43 ()
Serial number of failed request: 326
Current serial number in output stream: 327
Monitored process exited.
Exit with return code 0
ubuntu 22.04 LTS, asus laptop, there are 2 video cards: built-in amd and discrete nvidia, nvidia driver version is 525, nvidia prime render offload is enabled in the lutris settings, wine uses lutris-GE-proton8-2-x86_64.
May you please hepl me to solve this problem?