HGL
rising-crimson

Rocket League BadMatch (invalid parameter attributes)

System Info:
CPU: 16x 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Memory: 16.55 GB (used: 3.42 GB)
GPUs:
GPU 0:
Name: undefined undefined
IDs: D=0 V=0 SD=undefined SV=undefined
Driver: undefined
OS: NixOS 23.11 (Tapir) (linux)

Launch Command: HEROIC_APP_NAME=bcbc03d8812a44c18f41cf7d5f849265 HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= WINEPREFIX="/home/getpsyched/.heroic/Prefixes/default/Cities Skylines" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary launch bcbc03d8812a44c18f41cf7d5f849265 --wine /etc/profiles/per-user/getpsyched/bin/wine --language en

Game Log:
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching bcbc03d8812a44c18f41cf7d5f849265...
esync: up and running.
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.17 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Bad EXE format for Z:\home\getpsyched\.heroic\CitiesSkylines\dowser.exe.
System Info:
CPU: 16x 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Memory: 16.55 GB (used: 3.42 GB)
GPUs:
GPU 0:
Name: undefined undefined
IDs: D=0 V=0 SD=undefined SV=undefined
Driver: undefined
OS: NixOS 23.11 (Tapir) (linux)

Launch Command: HEROIC_APP_NAME=bcbc03d8812a44c18f41cf7d5f849265 HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= WINEPREFIX="/home/getpsyched/.heroic/Prefixes/default/Cities Skylines" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary launch bcbc03d8812a44c18f41cf7d5f849265 --wine /etc/profiles/per-user/getpsyched/bin/wine --language en

Game Log:
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching bcbc03d8812a44c18f41cf7d5f849265...
esync: up and running.
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.17 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Bad EXE format for Z:\home\getpsyched\.heroic\CitiesSkylines\dowser.exe.
120 Replies
rising-crimson
rising-crimsonOP2y ago
Logs for Rocket League
foreign-sapphire
foreign-sapphire2y ago
NVIDIA GeForce RTX 3050 Ti Laptop GPU
I wonder if it's to do with laptop GPUs weirdness plus nvidia pain. Which would be a NixOS issue. While I am using NixOS on Nvidia hardware, I do not have a laptop with an Nvidia GPU, so I can't help much. Have you tried asking in the #gaming:nixos.org matrix channel? I've seen some troubleshooting with Nvidia laptop GPUs in there not too long ago, so hopefully someone in there can help.
rising-crimson
rising-crimsonOP2y ago
I'm unsure if the problem is with Nvidia Since this isn't my first time playing RL on this system using Heroic This error just happened out of nowhere one day I hadn't even updated my system; so that didn't trigger this bug Additional context: I tried verifying the game files of RL and it doesn't work. (flickers to verifying for one second and goes back) logs when I try to repair:
(14:41:36) INFO: [Legendary]: Repairing Sugar: XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary repair -y
(14:41:36) DEBUG: [Legendary]: Logging to file "/home/getpsyched/.config/heroic/GamesConfig/Sugar.log"
(14:41:36) INFO: [Backend]: Preventing machine to sleep
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) INFO: [Backend]: Finished repairing
(14:41:36) INFO: [Frontend]: Refreshing legendary Library
(14:41:36) INFO: [Legendary]: Refreshing library...
(14:41:36) INFO: [Legendary]: Refreshing Epic Games...
(14:41:36) INFO: [Legendary]: Game list updated, got 147 games & DLCs
(14:41:36) INFO: [Backend]: Stopping Power Saver Blocker
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) INFO: [Legendary]: Running command: XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary list --third-party
(14:41:36) INFO: [Legendary]: Repairing Sugar: XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary repair -y
(14:41:36) DEBUG: [Legendary]: Logging to file "/home/getpsyched/.config/heroic/GamesConfig/Sugar.log"
(14:41:36) INFO: [Backend]: Preventing machine to sleep
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) INFO: [Backend]: Finished repairing
(14:41:36) INFO: [Frontend]: Refreshing legendary Library
(14:41:36) INFO: [Legendary]: Refreshing library...
(14:41:36) INFO: [Legendary]: Refreshing Epic Games...
(14:41:36) INFO: [Legendary]: Game list updated, got 147 games & DLCs
(14:41:36) INFO: [Backend]: Stopping Power Saver Blocker
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) DEBUG: [Legendary]: Using cached install info
(14:41:36) INFO: [Legendary]: Running command: XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary list --third-party
CommandMC
CommandMC2y ago
(14:41:36) DEBUG: [Legendary]: Logging to file "/home/getpsyched/.config/heroic/GamesConfig/Sugar.log"
That'd be the relevant log file here RL doesn't look corrupted (those "X Error of failed request" messages usually point to Optimus weirdness), but a repair never hurts Cities Skylines on the other hand does look weird, see if a repair helps there
rising-crimson
rising-crimsonOP2y ago
Oh! Sorry. That log file just contains:
usage: legendary install <App Name> [options]
legendary install: error: the following arguments are required: <App Name>
usage: legendary install <App Name> [options]
legendary install: error: the following arguments are required: <App Name>
CommandMC
CommandMC2y ago
Oh, I see what the issue is here, our command handler isn't adding the app name for repair While I work on a PR fixing that, you can run XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary repair Sugar -y yourself
rising-crimson
rising-crimsonOP2y ago
Thanks! I guess I'll have to do the same for Cities Skylines Where can I check the nickname for that?
CommandMC
CommandMC2y ago
It'll always be right after the launch in the "Launch Command" (in the game log). In this case, it's bcbc03d8812a44c18f41cf7d5f849265
rising-crimson
rising-crimsonOP2y ago
Gotcha The repair didn't fix Rocket League rip Heroic log:
(18:16:38) INFO: [Legendary]: Launching Rocket League®: LD_LIBRARY_PATH=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 HEROIC_APP_NAME=Sugar HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= WINEPREFIX=/home/getpsyched/.heroic/Prefixes/default/rocket-league WINEDLLOVERRIDES=winemenubuilder.exe=d MANGOHUD_CONFIGFILE=/home/getpsyched/.config/MangoHud/MangoHud.conf WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib/wine XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary launch Sugar --wine /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --wrapper "/usr/bin/mangohud --dlsym" --language en
(18:16:56) INFO: [Backend]: Stopping Display Power Saver Blocker
[5462:1025/181656.266792:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5462:1025/181656.266826:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5462:1025/181656.266845:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(18:16:56) INFO: [Frontend]: Refreshing legendary Library
(18:16:38) INFO: [Legendary]: Launching Rocket League®: LD_LIBRARY_PATH=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 HEROIC_APP_NAME=Sugar HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= WINEPREFIX=/home/getpsyched/.heroic/Prefixes/default/rocket-league WINEDLLOVERRIDES=winemenubuilder.exe=d MANGOHUD_CONFIGFILE=/home/getpsyched/.config/MangoHud/MangoHud.conf WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 ORIG_LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32 GST_PLUGIN_SYSTEM_PATH_1_0=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/lib/wine XDG_CONFIG_HOME=/home/getpsyched/.config/heroic/legendaryConfig /nix/store/syhwvhwp1yjmby0xpd6r6xp3lyvsq9bx-heroic-unwrapped-2.9.2/share/heroic/build/bin/linux/legendary launch Sugar --wine /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --wrapper "/usr/bin/mangohud --dlsym" --language en
(18:16:56) INFO: [Backend]: Stopping Display Power Saver Blocker
[5462:1025/181656.266792:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5462:1025/181656.266826:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5462:1025/181656.266845:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(18:16:56) INFO: [Frontend]: Refreshing legendary Library
rising-crimson
rising-crimsonOP2y ago
rising-crimson
rising-crimsonOP2y ago
it is the same AFAIK
rising-crimson
rising-crimsonOP2y ago
Cities Skylines log (this is slightly different from the one I posted initially)
rising-crimson
rising-crimsonOP2y ago
This log is after trying to repair Cities Skylines
002c:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (126).
Probably this? Relevant maybe: https://askubuntu.com/questions/235507/xconfig-xrandr-badmatch For RL error
variable-lime
variable-lime2y ago
this 002c:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (126). is normal, shouldn't create any issue this doesn't look good at all Bad EXE format for Z:\home\getpsyched\.heroic\CitiesSkylines\dowser.exe, like the dowser.exe file is corrupted or something
rising-crimson
rising-crimsonOP2y ago
Yeah I tried repairing using this command but that didn't help So, to summarise: Rocket League: X Error of failed request: BadMatch (invalid parameter attributes) Cities Skylines: Bad EXE format for Z:\home\getpsyched\.heroic\CitiesSkylines\dowser.exe RL error seems to be caused by Nvidia somehow; except I haven't touched my Nvidia config for a while (including updates) The more I search for the RL error, it seems as if it's related to my screen resolution :Pikathink:
rising-crimson
rising-crimsonOP2y ago
Oh 🤔
No description
rising-crimson
rising-crimsonOP2y ago
This is not good
yelping-magenta
yelping-magenta2y ago
yeah nvidia driver bugs
CommandMC
CommandMC2y ago
That's not the same opcode though Well, hard to blame Nvidia here if an AMD equivalent to this tech doesn't exist (or at least is so uncommon that I've never seen it)
yelping-magenta
yelping-magenta2y ago
it's still probably the same issue wdym
rising-crimson
rising-crimsonOP2y ago
Except it is?
No description
yelping-magenta
yelping-magenta2y ago
amd also uses PRIME
CommandMC
CommandMC2y ago
AMD CrossFire, AMD's equivalent to Nvidia Optimus
yelping-magenta
yelping-magenta2y ago
crossfire is not the same thing as optimus :Facepalm: crossfire is SLI both are long dead
rising-crimson
rising-crimsonOP2y ago
Do I really have to do this? (referring to running X11 entirely on Nvidia) 🥲 RL used to work just fine on this exact configuration
yelping-magenta
yelping-magenta2y ago
just downgrade your drivers or upgrade maybe try wayland
rising-crimson
rising-crimsonOP2y ago
But I don't think this was triggered by an update
yelping-magenta
yelping-magenta2y ago
it probably is
rising-crimson
rising-crimsonOP2y ago
Well yeah that explanation makes sense
yelping-magenta
yelping-magenta2y ago
I don't have this issue if I using DRI_PRIME=1 to render on my iGPU
rising-crimson
rising-crimsonOP2y ago
My memory might be betraying me
CommandMC
CommandMC2y ago
Huh, well that's what I've always heard was the equivalent (and looking at some info, it seems like it can also be an equivalent, even if that isn't its main focus)
rising-crimson
rising-crimsonOP2y ago
So, this? services.xserver.videoDrivers = [ "nvidia" ];
yelping-magenta
yelping-magenta2y ago
I would try wayland first but yeah that's right I think
rising-crimson
rising-crimsonOP2y ago
I don't want to try Wayland It breaks a ton of my apps
yelping-magenta
yelping-magenta2y ago
I have used wayland for 3 years it's fine
rising-crimson
rising-crimsonOP2y ago
Especially given that Sway doesn't support Nvidia
yelping-magenta
yelping-magenta2y ago
nothing breaks which DE are you using?
rising-crimson
rising-crimsonOP2y ago
I've tried Sway just last month. Let me fetch the list of apps that broke none+i3
yelping-magenta
yelping-magenta2y ago
oh well good luck then
rising-crimson
rising-crimsonOP2y ago
🥲
yelping-magenta
yelping-magenta2y ago
only DEs that work properly is KDE and gnome
rising-crimson
rising-crimsonOP2y ago
Yeah, KDE + Wayland is decent as much as I've heard
yelping-magenta
yelping-magenta2y ago
even then xwayland is broken
rising-crimson
rising-crimsonOP2y ago
Know anything about riverwm?
yelping-magenta
yelping-magenta2y ago
because the nvidia drivers some how get screen tearing on xwayland which is wild because that's litterally impossible without tearing protocol
rising-crimson
rising-crimsonOP2y ago
If only I could just sell this system in exchange for one with an AMD dGPU my-next-gpu-wont-be-nvidia moment
yelping-magenta
yelping-magenta2y ago
have you tried hyprland it might work with nvidia
rising-crimson
rising-crimsonOP2y ago
Feels icky to switch my entire DE just for this; but hey, worth a try
yelping-magenta
yelping-magenta2y ago
which GPU do you have btw?
rising-crimson
rising-crimsonOP2y ago
hyprland's default config has always looked repelling to me NVIDIA GeForce RTX 3050 Ti Mobile
yelping-magenta
yelping-magenta2y ago
might be worth trying NVK once that gets good
rising-crimson
rising-crimsonOP2y ago
What's NVK
yelping-magenta
yelping-magenta2y ago
(it ain't ready yet) open source nvidia vulkan driver based on nouveau
rising-crimson
rising-crimsonOP2y ago
About time there existed one Needless to say, it's unofficial?
yelping-magenta
yelping-magenta2y ago
yeah made by community
rising-crimson
rising-crimsonOP2y ago
Gotta love the community
yelping-magenta
yelping-magenta2y ago
just like the good AMD vulkan driver (RADV)
rising-crimson
rising-crimsonOP2y ago
I see I might just have a new laptop by the time NVK gets stable
yelping-magenta
yelping-magenta2y ago
the one made by AMD just dropped vega support, a GPU architecture that was still in products up until 2021 ☠️
rising-crimson
rising-crimsonOP2y ago
Damn, that's so early
yelping-magenta
yelping-magenta2y ago
RADV supports GCN 1.2 from late 2013
rising-crimson
rising-crimsonOP2y ago
Sweet Wonder if anyone uses it anymore
yelping-magenta
yelping-magenta2y ago
yeah people do
rising-crimson
rising-crimsonOP2y ago
Any idea about the CS error? Cities Skylines is a fresh install for me Wonder what happened to it Tried repairing it twice
yelping-magenta
yelping-magenta2y ago
ill try it once I get home
rising-crimson
rising-crimsonOP2y ago
Thanks
yelping-magenta
yelping-magenta2y ago
worked when I tried it a while ago
CommandMC
CommandMC2y ago
Oh I own that game; will give it a go as well Yup that just... works The dowser.exe file has the following checksums: - MD5: 7fe817df05fe87b9e701e58acc4f6a78 - SHA1: fe6e4a2b99ce989d4d01f06b2e2dd2413e7bf9f8 - SHA256: 3990514ea7d5568913d0ee65b991434f55304959b19bb74b411738e84c417bb3
rising-crimson
rising-crimsonOP2y ago
My SHA256 is the same Idk how to check the others Any updates on CS? the error seems fixable (don't ask me how I'm measuring that lol) at least more fixable than the RL one
CommandMC
CommandMC2y ago
Not quite sure why your Wine is saying the file's corrupted then, considering the same file works fine for me
rising-crimson
rising-crimsonOP2y ago
Perhaps a Wine version issue? Should I try changing it? Can you share your config?
flat-fuchsia
flat-fuchsia2y ago
the wine version is probably fine, just make sure you've refreshed it and installed the latest
CommandMC
CommandMC2y ago
Yup I'm on the latest Wine-GE (that's generally what I assume everyone is using, so I don't specify it if that's all a game needs)
rising-crimson
rising-crimsonOP2y ago
Yeah, that's what I have too but :/ Something is bugging out the game and I just can't figure out what RL is annoying me, it used to work just fine; I didn't even touch the game or its config before it stopped working 😭
continuing-cyan
continuing-cyan2y ago
That BadMatch thing usually means there is some borked thing in driver setup/config inxi -SMGxx And post a current log too @GetPsyched
rising-crimson
rising-crimsonOP2y ago
Yeah, I think my game broke after a Driver update
System: Host: piglin Kernel: 6.6.0 x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: i3 4.23 dm: LightDM
Distro: NixOS 23.11 (Tapir)
Machine: Type: Laptop System: Acer product: Nitro AN515-57 v: V1.17 serial: <superuser required>
Mobo: TGL model: Scala_TLS v: V1.17 serial: <superuser required> UEFI: Insyde v: 1.17 date: 06/02/2022
Graphics: Message: No device data found.
Device-1: SunplusIT HD User Facing type: USB driver: uvcvideo bus-ID: 3-9:3 chip-ID: 0408:a061
Display: x11 server: X.org 1.21.1.9 driver: loaded: N/A resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 23.1.9 direct render: Yes
System: Host: piglin Kernel: 6.6.0 x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: i3 4.23 dm: LightDM
Distro: NixOS 23.11 (Tapir)
Machine: Type: Laptop System: Acer product: Nitro AN515-57 v: V1.17 serial: <superuser required>
Mobo: TGL model: Scala_TLS v: V1.17 serial: <superuser required> UEFI: Insyde v: 1.17 date: 06/02/2022
Graphics: Message: No device data found.
Device-1: SunplusIT HD User Facing type: USB driver: uvcvideo bus-ID: 3-9:3 chip-ID: 0408:a061
Display: x11 server: X.org 1.21.1.9 driver: loaded: N/A resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 23.1.9 direct render: Yes
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: 452
Current serial number in output stream: 453
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: 452
Current serial number in output stream: 453
rising-crimson
rising-crimsonOP2y ago
full log
continuing-cyan
continuing-cyan2y ago
https://discourse.nixos.org/t/how-to-actually-use-a-packages-optional-features/15335/2 Do this first, as your inxi output is way too broken Of course replace -G with -SMGxx
rising-crimson
rising-crimsonOP2y ago
System: Host: piglin Kernel: 6.6.0 x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: i3 4.23 dm: LightDM
Distro: NixOS 23.11 (Tapir)
Machine: Type: Laptop System: Acer product: Nitro AN515-57 v: V1.17 serial: <superuser required>
Mobo: TGL model: Scala_TLS v: V1.17 serial: <superuser required> UEFI: Insyde v: 1.17 date: 06/02/2022
Graphics: Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Acer Incorporated ALI driver: i915 v: kernel
bus-ID: 0000:00:02.0 chip-ID: 8086:9a60
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Acer Incorporated ALI driver: nvidia v: 545.29.02
bus-ID: 0000:01:00.0 chip-ID: 10de:25a0
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 3-9:3 chip-ID: 0408:a061
Display: x11 server: X.Org 21.1.9 driver: loaded: nvidia note: n/a (using device driver)
resolution: 1920x1080~144Hz s-dpi: 96
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 23.1.9 direct render: Yes
System: Host: piglin Kernel: 6.6.0 x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: i3 4.23 dm: LightDM
Distro: NixOS 23.11 (Tapir)
Machine: Type: Laptop System: Acer product: Nitro AN515-57 v: V1.17 serial: <superuser required>
Mobo: TGL model: Scala_TLS v: V1.17 serial: <superuser required> UEFI: Insyde v: 1.17 date: 06/02/2022
Graphics: Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Acer Incorporated ALI driver: i915 v: kernel
bus-ID: 0000:00:02.0 chip-ID: 8086:9a60
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Acer Incorporated ALI driver: nvidia v: 545.29.02
bus-ID: 0000:01:00.0 chip-ID: 10de:25a0
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 3-9:3 chip-ID: 0408:a061
Display: x11 server: X.Org 21.1.9 driver: loaded: nvidia note: n/a (using device driver)
resolution: 1920x1080~144Hz s-dpi: 96
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 23.1.9 direct render: Yes
continuing-cyan
continuing-cyan2y ago
loaded: nvidia So module is there
"nvidiaPrime": true,
Try disabling this
rising-crimson
rising-crimsonOP2y ago
BTW, I should add that the game works when unchecking Use Dedicated Graphics Card in Heroic Somehow my iGPU is able to sustain the game
continuing-cyan
continuing-cyan2y ago
Nope, your game works on dgpu still. Launch RL with dedicated graphics option ( aka prime ) off and when it is running check nvidia-smi
rising-crimson
rising-crimsonOP2y ago
Hmm, wouldn't that basically uninstall the drivers 🤔
continuing-cyan
continuing-cyan2y ago
Nope
rising-crimson
rising-crimsonOP2y ago
idk much about prime btw
continuing-cyan
continuing-cyan2y ago
Prime is a set of env vars to handle multi gpu use case aka optimus Heroic passes those to app
rising-crimson
rising-crimsonOP2y ago
wait so I turn off prime externally and not with the option in Heroic?
continuing-cyan
continuing-cyan2y ago
Just option in Heroic
rising-crimson
rising-crimsonOP2y ago
Ah
continuing-cyan
continuing-cyan2y ago
Then launch the game And when it is running check nvidia-smi
rising-crimson
rising-crimsonOP2y ago
I think it took longer to launch with that checked off. Will set a timer this time
continuing-cyan
continuing-cyan2y ago
If Rocket League listed there that means game runs on your dgpu Problem with those prime env vars is they blow up when EOS overlay is installed Or wine virtual desktop is enabled
rising-crimson
rising-crimsonOP2y ago
EOS overlay? Wine virtual desktop? lol
continuing-cyan
continuing-cyan2y ago
Epic Online Services overlay, thing that people has to use on games like Fall Guys to matchmaking with friends etc
rising-crimson
rising-crimsonOP2y ago
Nope, your game works on dgpu still.
the option is very misleading then I see
continuing-cyan
continuing-cyan2y ago
Not that misleading as without it OpenGL games would run on igpu
rising-crimson
rising-crimsonOP2y ago
So it must be on for me as well since that applies to RL Hmm
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 68C P0 59W / 60W | 1902MiB / 4096MiB | 77% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2329 G ...6q0mkvprgx-xorg-server-21.1.9/bin/X 14MiB |
| 0 N/A N/A 17632 C+G ...gue\Binaries\Win64\RocketLeague.exe 1846MiB |
+---------------------------------------------------------------------------------------+
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 68C P0 59W / 60W | 1902MiB / 4096MiB | 77% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2329 G ...6q0mkvprgx-xorg-server-21.1.9/bin/X 14MiB |
| 0 N/A N/A 17632 C+G ...gue\Binaries\Win64\RocketLeague.exe 1846MiB |
+---------------------------------------------------------------------------------------+
continuing-cyan
continuing-cyan2y ago
Yes, game runs on dgpu
rising-crimson
rising-crimsonOP2y ago
nice what now I just use the game as is
continuing-cyan
continuing-cyan2y ago
Yep Done
rising-crimson
rising-crimsonOP2y ago
damn, I spent hours researching this and several potential games with friends cancelled just for it to work with one option unchecked?
continuing-cyan
continuing-cyan2y ago
Sadly ye
rising-crimson
rising-crimsonOP2y ago
development in a nutshell TBH, why am I surprised wait does this mean my desktop is running on my dGPU?
| 0 N/A N/A 2329 G ...6q0mkvprgx-xorg-server-21.1.9/bin/X 14MiB |
continuing-cyan
continuing-cyan2y ago
Nope, that X process has to be there all the time.
rising-crimson
rising-crimsonOP2y ago
I see
continuing-cyan
continuing-cyan2y ago
rising-crimson
rising-crimsonOP2y ago
Gotcha Thanks
continuing-cyan
continuing-cyan2y ago
Yw
rising-crimson
rising-crimsonOP2y ago
Time to undo all the changes I did to my nvidia config istg my nvidia config is the only one that is purely copy pasted from any source(s) I find a mess trying to get linux to work with nvidia my-next-gpu-wont-be-nvidia moment
continuing-cyan
continuing-cyan2y ago
By default you don't a need an x config, i used such laptop for years without any extra conf Lol
rising-crimson
rising-crimsonOP2y ago
sweet. my conf is also just setting prime + installing a driver
continuing-cyan
continuing-cyan2y ago
Tagging this as solved 👍
rising-crimson
rising-crimsonOP2y ago
Sure, thanks a lot!
continuing-cyan
continuing-cyan2y ago
Yw :CatYeah:
rising-crimson
rising-crimsonOP2y ago
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
exec "$@"
'';
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
exec "$@"
'';
so it's because of this? or one of these?
continuing-cyan
continuing-cyan2y ago
One of those, those env vars ( nvidia-offload is just a wrapper ) are the ones that i linked from NV readme Dunno which one, i moved to desktop pc 5 months ago so can't test it even if i wanted as well
rising-crimson
rising-crimsonOP2y ago
No worries
continuing-cyan
continuing-cyan2y ago
Heroic passes same ones wit use dgpu enabled
rising-crimson
rising-crimsonOP2y ago
Good to know

Did you find this page helpful?