Hello, this is my first entry here so excuse my mistakes if I make any.
Whenever I try to launch Genshin Impact from Lutris with the “NVIDIA Prime Render Offload” option enabled, both the AAGL and Standard Version, it fails to launch. This happens when I start Lutris with the prime-run command too.
If it’s anything of importance, when I try it with the AAGL version actuall a transparent window pops up at least but that’s it.
Here is the terminal output when I try to launch the game:
2023-12-25 00:43:37,903: Starting Lutris 0.5.14
2023-12-25 00:43:37,904: Using NVIDIA drivers 545.29.06 for x86_64
2023-12-25 00:43:37,912: GPU: NVIDIA GeForce RTX 3050 Ti Laptop GPU
2023-12-25 00:43:37,912: GPU: 1002:1681 103C:8A22 (amdgpu drivers)
2023-12-25 00:43:37,912: GPU: 10DE:25A0 103C:8A22 (nvidia drivers)
(lutris:44233): Gtk-WARNING **: 00:43:38.762: Creating a portal monitor failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/lutris/style_manager.py", line 77, in _call_cb
values = obj.call_finish(result)
^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
"Everything after this is after I hit 'Play'"
(lutris:44233): Gtk-WARNING **: 00:43:46.979: Calling org.freedesktop.portal.Inhibit.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
lutris-wrapper: Genshin Impact
Started initial process 45837 from /home/atlas/.local/share/lutris/runners/wine/wine-ge-8-25-x86_64/bin/wine /home/atlas/Games/genshin-impact/drive_c/Program Files/Genshin Impact/launcher.exe
Start monitoring process.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
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: 423
Current serial number in output stream: 424
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
2023-12-25 00:43:50,993: Game still running (state: running)
2023-12-25 00:43:50,994: Stopping Genshin Impact (wine)
2023-12-25 00:43:50,994: The game has run for a very short time, did it crash?
2023-12-25 00:43:57,822: Shutting down Lutris
This is the neofetch info of my system:
./o. atlas@Endeavour-PC
./sssso- ------------------
`:osssssss+- OS: EndeavourOS Linux x86_64
`:+sssssssssso/. Host: Victus by HP Laptop 16-e1xxx
`-/ossssssssssssso/. Kernel: 6.6.7-arch1-1
`-/+sssssssssssssssso+:` Uptime: 10 hours, 43 mins
`-:/+sssssssssssssssssso+/. Packages: 1120 (pacman), 7 (flatpak)
`.://osssssssssssssssssssso++- Shell: bash 5.2.21
.://+ssssssssssssssssssssssso++: Resolution: 1920x1080
.:///ossssssssssssssssssssssssso++: DE: Plasma 5.27.10
`:////ssssssssssssssssssssssssssso+++. WM: KWin
`-////+ssssssssssssssssssssssssssso++++- Theme: [Plasma], Breeze [GTK2/3]
`..-+oosssssssssssssssssssssssso+++++/` Icons: [Plasma], breeze [GTK2/3]
./++++++++++++++++++++++++++++++/:. Terminal: konsole
`:::::::::::::::::::::::::------`` CPU: AMD Ryzen 5 6600H with Radeon Graphics (12) @ 4.564GHz
GPU: AMD ATI Radeon 680M
GPU: NVIDIA GeForce RTX 3050 Ti Mobile
Memory: 5276MiB / 15204MiB
Do tell me if you want me to provide any other diagnostics.
Thanks in advance.