120 Replies
rising-crimsonOP•2y ago
Logs for Rocket League
foreign-sapphire•2y ago
NVIDIA GeForce RTX 3050 Ti Laptop GPUI 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-crimsonOP•2y 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) 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 thererising-crimsonOP•2y ago
Oh! Sorry.
That log file just contains:
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
yourselfrising-crimsonOP•2y ago
Thanks!
I guess I'll have to do the same for Cities Skylines
Where can I check the nickname for that?
It'll always be right after the
launch
in the "Launch Command" (in the game log). In this case, it's bcbc03d8812a44c18f41cf7d5f849265
rising-crimsonOP•2y ago
Gotcha
The repair didn't fix Rocket League rip
Heroic log:
rising-crimsonOP•2y ago
RL log
rising-crimsonOP•2y ago
it is the same AFAIK
rising-crimsonOP•2y ago
Cities Skylines log (this is slightly different from the one I posted initially)
rising-crimsonOP•2y 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•2y 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 somethingrising-crimsonOP•2y 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-crimsonOP•2y ago
Oh 🤔

rising-crimsonOP•2y ago
This is not good
yelping-magenta•2y ago
yeah nvidia driver bugs
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•2y ago
it's still probably the same issue
wdym
rising-crimsonOP•2y ago
Except it is?

yelping-magenta•2y ago
amd also uses PRIME
AMD CrossFire, AMD's equivalent to Nvidia Optimus
yelping-magenta•2y ago
crossfire is not the same thing as optimus :Facepalm:
crossfire is SLI
both are long dead
rising-crimsonOP•2y 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•2y ago
just downgrade your drivers
or upgrade
maybe try wayland
rising-crimsonOP•2y ago
But I don't think this was triggered by an update
yelping-magenta•2y ago
it probably is
rising-crimsonOP•2y ago
Well yeah that explanation makes sense
yelping-magenta•2y ago
I don't have this issue if I using DRI_PRIME=1 to render on my iGPU
rising-crimsonOP•2y ago
My memory might be betraying me
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-crimsonOP•2y ago
So, this?
services.xserver.videoDrivers = [ "nvidia" ];
yelping-magenta•2y ago
I would try wayland first
but yeah that's right I think
rising-crimsonOP•2y ago
I don't want to try Wayland
It breaks a ton of my apps
yelping-magenta•2y ago
I have used wayland for 3 years
it's fine
rising-crimsonOP•2y ago
Especially given that Sway doesn't support Nvidia
yelping-magenta•2y ago
nothing breaks
which DE are you using?
rising-crimsonOP•2y ago
I've tried Sway just last month. Let me fetch the list of apps that broke
none+i3
yelping-magenta•2y ago
oh
well good luck then
rising-crimsonOP•2y ago
🥲
yelping-magenta•2y ago
only DEs that work properly is KDE and gnome
rising-crimsonOP•2y ago
Yeah, KDE + Wayland is decent as much as I've heard
yelping-magenta•2y ago
even then xwayland is broken
rising-crimsonOP•2y ago
Know anything about riverwm?
yelping-magenta•2y ago
because the nvidia drivers some how get screen tearing on xwayland
which is wild because that's litterally impossible without tearing protocol
rising-crimsonOP•2y 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•2y ago
have you tried hyprland it might work with nvidia
rising-crimsonOP•2y ago
Feels icky to switch my entire DE just for this; but hey, worth a try
yelping-magenta•2y ago
which GPU do you have btw?
rising-crimsonOP•2y ago
hyprland's default config has always looked repelling to me
NVIDIA GeForce RTX 3050 Ti Mobile
yelping-magenta•2y ago
might be worth trying NVK once that gets good
rising-crimsonOP•2y ago
What's NVK
yelping-magenta•2y ago
(it ain't ready yet)
open source nvidia vulkan driver
based on nouveau
rising-crimsonOP•2y ago
About time there existed one
Needless to say, it's unofficial?
yelping-magenta•2y ago
yeah
made by community
rising-crimsonOP•2y ago
Gotta love the community
yelping-magenta•2y ago
just like the good AMD vulkan driver
(RADV)
rising-crimsonOP•2y ago
I see
I might just have a new laptop by the time NVK gets stable
yelping-magenta•2y ago
the one made by AMD just dropped vega support, a GPU architecture that was still in products up until 2021 ☠️
rising-crimsonOP•2y ago
Damn, that's so early
yelping-magenta•2y ago
RADV supports GCN 1.2
from late 2013
rising-crimsonOP•2y ago
Sweet
Wonder if anyone uses it anymore
yelping-magenta•2y ago
yeah people do
rising-crimsonOP•2y 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•2y ago
ill try it once I get home
rising-crimsonOP•2y ago
Thanks
yelping-magenta•2y ago
worked when I tried it a while 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-crimsonOP•2y 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 oneNot quite sure why your Wine is saying the file's corrupted then, considering the same file works fine for me
rising-crimsonOP•2y ago
Perhaps a Wine version issue?
Should I try changing it?
Can you share your config?
flat-fuchsia•2y ago
the wine version is probably fine, just make sure you've refreshed it and installed the latest
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-crimsonOP•2y 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•2y ago
That BadMatch thing usually means there is some borked thing in driver setup/config
inxi -SMGxx
And post a current log too
@GetPsychedrising-crimsonOP•2y ago
Yeah, I think my game broke after a Driver update
rising-crimsonOP•2y ago
full log
continuing-cyan•2y 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-crimsonOP•2y ago
continuing-cyan•2y ago
loaded: nvidia
So module is there
"nvidiaPrime": true,Try disabling this
rising-crimsonOP•2y 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 gamecontinuing-cyan•2y 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-crimsonOP•2y ago
Hmm, wouldn't that basically uninstall the drivers 🤔
continuing-cyan•2y ago
Nope
rising-crimsonOP•2y ago
idk much about prime btw
continuing-cyan•2y ago
Prime is a set of env vars to handle multi gpu use case aka optimus
Heroic passes those to app
rising-crimsonOP•2y ago
wait so I turn off prime externally and not with the option in Heroic?
continuing-cyan•2y ago
Just option in Heroic
rising-crimsonOP•2y ago
Ah
continuing-cyan•2y ago
Then launch the game
And when it is running check
nvidia-smi
rising-crimsonOP•2y ago
I think it took longer to launch with that checked off. Will set a timer this time
continuing-cyan•2y 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-crimsonOP•2y ago
EOS overlay?
Wine virtual desktop? lol
continuing-cyan•2y ago
Epic Online Services overlay, thing that people has to use on games like Fall Guys to matchmaking with friends etc
rising-crimsonOP•2y ago
Nope, your game works on dgpu still.the option is very misleading then I see
continuing-cyan•2y ago
Not that misleading as without it OpenGL games would run on igpu
rising-crimsonOP•2y ago
So it must be on for me as well since that applies to RL
Hmm
continuing-cyan•2y ago
Yes, game runs on dgpu
rising-crimsonOP•2y ago
nice
what now
I just use the game as is
continuing-cyan•2y ago
Yep
Done
rising-crimsonOP•2y 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•2y ago
Sadly ye
rising-crimsonOP•2y 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•2y ago
Nope, that X process has to be there all the time.
rising-crimsonOP•2y ago
I see
continuing-cyan•2y ago
But doesn"t mean your de runs on it
https://us.download.nvidia.com/XFree86/Linux-x86_64/545.29.02/README/primerenderoffload.html
Further info about Prime
rising-crimsonOP•2y ago
Gotcha
Thanks
continuing-cyan•2y ago
Yw
rising-crimsonOP•2y 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•2y ago
By default you don't a need an x config, i used such laptop for years without any extra conf
Lol
rising-crimsonOP•2y ago
sweet. my conf is also just setting prime + installing a driver
continuing-cyan•2y ago
Tagging this as solved 👍
rising-crimsonOP•2y ago
Sure, thanks a lot!
continuing-cyan•2y ago
Yw :CatYeah:
rising-crimsonOP•2y ago
so it's because of this?
or one of these?
continuing-cyan•2y 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-crimsonOP•2y ago
No worries
continuing-cyan•2y ago
Heroic passes same ones wit use dgpu enabled
rising-crimsonOP•2y ago
Good to know