HGL
fascinating-indigo

Rocket League crashing before launch

I installed RL through heroic on my system (NixOS + Sway + Nvidia) and when I click Play Now it loads and then goes back to Play Now without any new screen showing up at all.
130 Replies
fascinating-indigo
fascinating-indigoOP2y ago
Sending logs in a min Here are the logs from start to finish:
fascinating-indigo
fascinating-indigoOP2y ago
fascinating-indigo
fascinating-indigoOP2y ago
Seems like it couldn't find Wine :Pikathink: Oh I have to install Wine separately
subsequent-cyan
subsequent-cyan2y ago
install Wine-GE-latest from the Wine Manager in Heroic
fascinating-indigo
fascinating-indigoOP2y ago
I did and then got this error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine'
FileNotFoundError: [Errno 2] No such file or directory: '/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine'
subsequent-cyan
subsequent-cyan2y ago
you may need to install the wine dependencies then: https://github.com/lutris/docs/blob/master/WineDependencies.md
GitHub
docs/WineDependencies.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.
fascinating-indigo
fascinating-indigoOP2y ago
but it exists:
~ λ ls .config/heroic/tools/wine/Wine-GE-latest/bin/wine
.config/heroic/tools/wine/Wine-GE-latest/bin/wine
~ λ ls .config/heroic/tools/wine/Wine-GE-latest/bin/wine
.config/heroic/tools/wine/Wine-GE-latest/bin/wine
why do I need to install it
subsequent-cyan
subsequent-cyan2y ago
because it's a quirk of Wine where some dependencies aren't always installed
distinguished-silver
distinguished-silver2y ago
I'm getting this issue on my steam deck It was after the latest update
subsequent-cyan
subsequent-cyan2y ago
you are likely having a different issue even if the result is the same. create a new post with your game logs #:pushpin: Read Me First | Frequently Asked Questions
fascinating-indigo
fascinating-indigoOP2y ago
I'm guessing this is entirely unrelated? https://discord.com/channels/812703221789097985/818939492244258826/1149148722081583195 Ah. TL;DR: install Wine system-wide?
distinguished-silver
distinguished-silver2y ago
Seems sus that multiple people are having the exact same issue on the same game near the same time 🤷‍♂️
fascinating-indigo
fascinating-indigoOP2y ago
You could try this solution then Looks like I already have Wine installed. winePackages.stagingFull this one in particular now what?
distinguished-silver
distinguished-silver2y ago
@G you can try resetting your Rocket League prefix Who is G 💀 @GetPsyched you can try resetting your Rocket League prefix That seemed to work for me but you might not have the same issue
fascinating-indigo
fascinating-indigoOP2y ago
how do I do that? just rm -rf the prefix dir so it gets built again?
distinguished-silver
distinguished-silver2y ago
I guess, just make sure any other games linked to that prefix don't have any saves or anything Or you can make a new one
fascinating-indigo
fascinating-indigoOP2y ago
how? sorry I'm new to this. Got this error on launch of heroic BTW
fascinating-indigo
fascinating-indigoOP2y ago
distinguished-silver
distinguished-silver2y ago
Go into heroic settings for rocket League and set it to a dir you'd want it to make it at There's like a prefix dir in the settings
fascinating-indigo
fascinating-indigoOP2y ago
(22:11:25) DEBUG: [Backend]: Running Wine command: wineboot --init
Error: spawn /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine',
path: '/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine',
spawnargs: [ 'wineboot', '--init' ]
}
(22:11:25) WARNING: [DXVKInstaller]: DXVK cannot be installed on a Proton or a invalid prefix!
(22:11:25) WARNING: [DXVKInstaller]: DXVK cannot be installed on a Proton or a invalid prefix!
(22:11:25) DEBUG: [Backend]: Running Wine command: wineboot --init
Error: spawn /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine',
path: '/home/getpsyched/.config/heroic/tools/wine/Wine-GE-latest/bin/wine',
spawnargs: [ 'wineboot', '--init' ]
}
(22:11:25) WARNING: [DXVKInstaller]: DXVK cannot be installed on a Proton or a invalid prefix!
(22:11:25) WARNING: [DXVKInstaller]: DXVK cannot be installed on a Proton or a invalid prefix!
seems like this might be the error
distinguished-silver
distinguished-silver2y ago
Interesting I don't really know much above that I did use proton ge but I'm not sure that'd change anything
fascinating-indigo
fascinating-indigoOP2y ago
hmm @termdisc anything beyond this? Hmm. So it looks like this is an issue with Heroic on the AppImage version As switching to the Nix expression that builds heroic from source seems to have worked. Though I've run into a new issue, RL is just a black screen I think this might be what @p0wder has faced? nvm I guess that was just an initial launch delay
adverse-sapphire
adverse-sapphire2y ago
did you get it working? from looking at that log above, it looks like you never remade the prefix you deleted earlier or the path to the prefix is set incorrectly
fascinating-indigo
fascinating-indigoOP2y ago
well I got it working by installing through Nix And the game runs fine now EXCEPT I am getting 72 FPS lol I used to get 400 when I used i3 instead of Sway Plus I used legendary instead of heroic which idt matters
adverse-sapphire
adverse-sapphire2y ago
heroic is just a frontend for legendary, so that probly shouldnt matter
fascinating-indigo
fascinating-indigoOP2y ago
yeah, thought so likely Sway is having issues with Nvidia not utilising my card properly but like I reduced my video settings and the FPS remained the same
adverse-sapphire
adverse-sapphire2y ago
you could try rolling back dxvk to see if it is the same bug i was having issues with
fascinating-indigo
fascinating-indigoOP2y ago
what did your bug do to the game? I am just having FPS issues nothing more
adverse-sapphire
adverse-sapphire2y ago
mine made fullscreen and borderless unplayable, but windowed mode ran fine a quick way to test would be to launch the game with -windowed and then check your fps 🤷‍♂️
fascinating-indigo
fascinating-indigoOP2y ago
unplayable in what sense
adverse-sapphire
adverse-sapphire2y ago
like it just wasnt responsive but when i rolled back to last version of dxvk it went back to normal
fascinating-indigo
fascinating-indigoOP2y ago
can't I just change that during runtime
adverse-sapphire
adverse-sapphire2y ago
yeah, you can set it that way too i havent really had time to troubleshoot it.. planning on doing it this weekend
fascinating-indigo
fascinating-indigoOP2y ago
YO I switched to Windowed mode and got back 400 FPS
distinguished-silver
distinguished-silver2y ago
W
fascinating-indigo
fascinating-indigoOP2y ago
Thanks p0wder and Worst, termdisc
distinguished-silver
distinguished-silver2y ago
No probs
adverse-sapphire
adverse-sapphire2y ago
nice! so that means that rolling back dxvk should fix it for you for me, i used: WINEPREFIX=/path/to/rl-prefix WINE=/path/to/wine-g/binary winetricks --force dxvk2010 or just play in windowed mode untill dxvk gets fixed lol
fascinating-indigo
fascinating-indigoOP2y ago
Yeah lmao my lazy ass would do just that Sucks that I can't launch rocket-league through my app browser though I have to open heroic and then RL
subsequent-cyan
subsequent-cyan2y ago
at first I read this as a criticism as in "I leave to do work and get called the worst?!" hah
adverse-sapphire
adverse-sapphire2y ago
you can actually.. just make a .desktop and use the games launch command from heroic log with bash -c '*game-launch-command*'
subsequent-cyan
subsequent-cyan2y ago
why can you not launch it through a browser? I'm missing something throughout the day. does the command simply not work?
adverse-sapphire
adverse-sapphire2y ago
i think hes referring to his app menu (start menu) as app browser, so that he can run the game without having to launch heroic first
adverse-sapphire
adverse-sapphire2y ago
this is the .desktop that i use to do it:
adverse-sapphire
adverse-sapphire2y ago
you would need to edit the Exec line and the Icon line to reflect your setup
subsequent-cyan
subsequent-cyan2y ago
heroic can generate those. is there something wrong with the .desktop that it generates?
adverse-sapphire
adverse-sapphire2y ago
the ones that heroic generates still launches heroic those use Exec=xdg-open heroic://launch/Sugar to launch the game
subsequent-cyan
subsequent-cyan2y ago
isn't that expected when there still is some legendary backend stuff that needs to happen?
adverse-sapphire
adverse-sapphire2y ago
its not required, my command just uses legendary without heroic
subsequent-cyan
subsequent-cyan2y ago
this should be clarified because I interpret this as manually opening Heroic + RL via Heroic
adverse-sapphire
adverse-sapphire2y ago
yeah, i thought he meant launch the game without launching heroic first not sure tho
fascinating-indigo
fascinating-indigoOP2y ago
Lmao But I checked the toggle that should've created this automatically. Yeah, this It should have but I don't see RL in my app menu this seems like a more efficient method when you just want the game since you skip all the UI
subsequent-cyan
subsequent-cyan2y ago
The standard shortcut generated by Heroic skips the UI as well It’s just a .desktop shortcut that has Exec=xdg-open heroic://launch/Sugar Create one manually if it wasn’t auto created First try the menu to create one
adverse-sapphire
adverse-sapphire2y ago
the xdg-open command still opens heroic in the background.. but it does technically skip needing to touch heroic
fascinating-indigo
fascinating-indigoOP2y ago
Yeah you interpreted it correctly I launch heroic -> launch RL from the game library Instead of just opening RL from my app menu through some shortcut didn't work I get this output in the terminal:
(13:09:55) INFO: [Backend]: Adding shortcuts for Rocket League®
(13:09:55) INFO: [Backend]: Shortcut saved on /home/getpsyched/Desktop/Rocket League®.desktop
(13:09:55) INFO: [Backend]: Shortcut saved on /home/getpsyched/.local/share/applications/Rocket League®.desktop
(13:09:55) INFO: [Backend]: Adding shortcuts for Rocket League®
(13:09:55) INFO: [Backend]: Shortcut saved on /home/getpsyched/Desktop/Rocket League®.desktop
(13:09:55) INFO: [Backend]: Shortcut saved on /home/getpsyched/.local/share/applications/Rocket League®.desktop
But I neither have a ~/Desktop dir, nor a ~/.local/share/applications dir.
subsequent-cyan
subsequent-cyan2y ago
You don’t have those folders at all?
extended-salmon
extended-salmon2y ago
Weird it works for me on nixos
fascinating-indigo
fascinating-indigoOP2y ago
Nope Do you use KDE?
extended-salmon
extended-salmon2y ago
No, gnome Are you sure lol? That's weird Idk
fascinating-indigo
fascinating-indigoOP2y ago
Yeah, you have a DE, I don't Nope, those folders are a norm that I don't prefer. It mostly comes from Windows too lol
extended-salmon
extended-salmon2y ago
Oh I see Well that might be why Maybe create .local/share/applications and try again?
subsequent-cyan
subsequent-cyan2y ago
Yeah, just create those folders Desktop won’t display on gnome anyway And .local/share/applications is just user space application menu shortcuts As in anything you add to the desktop folder won’t actually appear on the desktop of the DE These will appear in your launchpad
fascinating-indigo
fascinating-indigoOP2y ago
There must be another way to do this on NixOS though Since I have other apps that don't require this folder But perhaps they exist in my app menu because they're installed using NixOS' package manager And RL would be through Heroic
extended-salmon
extended-salmon2y ago
they would be in the system applications this is in userspace
fascinating-indigo
fascinating-indigoOP2y ago
I don't have anything in my system applications except for my VPN Everything else is in the userspace
CommandMC
CommandMC2y ago
Base Directories, User Directories, and Desktop Entries are all standardized specifications (Base Directory Spec, xdg-user-dirs, Desktop Entry spec ). If you don't want to participate in this standard, that's fine, but don't blame applications for relying on them
extended-salmon
extended-salmon2y ago
desktop i dont see being as much of an issue though it could still cause stuff but .local/share/applications is a good idea to have im not quite sure how userspace apps work on nix, i have most of mine system, but i assume the desktop entry is in /nix/store/<(hash)-application/share/applications/<something>.desktop, just like system nix apps
fascinating-indigo
fascinating-indigoOP2y ago
I didn't mean to blame haha. I was only saying that there must be some alternative method in NixOS that I wanna explore Because 0 applications use this spec on NixOS and that must be only true for this distro Meaning that the unwrapped applications would use these specs and NixOS is redirecting them somehow I just want to figure out that redirection Regardless, if those folders don't exist, Heroic should either create them OR at least error out saying that the parent folder doesn't exist. Giving a success message even if there no tangible success is misleading
adverse-sapphire
adverse-sapphire2y ago
just google where nix puts user .desktops and then creat it yourself 🤷‍♂️
fascinating-indigo
fascinating-indigoOP2y ago
Yeah fair.
adverse-sapphire
adverse-sapphire2y ago
or better yet, i will give you a copy from my system
CommandMC
CommandMC2y ago
I would've thought that this was the case, but it seems the code just prints "Success" once the writeFile operation is done (regardless of whether it was actually successful) 'nother one for the :yakstack:
adverse-sapphire
adverse-sapphire2y ago
adverse-sapphire
adverse-sapphire2y ago
you will need to change the 'Icon=' part in the .desktop bcus it points to my home folder .desktop contents: [Desktop Entry] Name=Rocket League Exec=xdg-open heroic://launch/legendary/Sugar Terminal=false Type=Application Icon=/home/p0wder/.config/heroic/icons/Sugar.jpg Categories=Game;
adverse-sapphire
adverse-sapphire2y ago
i use this icon for mine tho (ocd lol):
No description
extended-salmon
extended-salmon2y ago
What is a yakstack lol??
fascinating-indigo
fascinating-indigoOP2y ago
Yeah I prefer this haha Can I change Sugar.jpg to this? I guess the art for RL on heroic would become messy since this isn't of the right proportions
adverse-sapphire
adverse-sapphire2y ago
yup, just edit the .desktop and change the Icon= line to that one
fascinating-indigo
fascinating-indigoOP2y ago
I meant changing the actual Sugar.jpg and not the icon path
adverse-sapphire
adverse-sapphire2y ago
that line sets the icon, you can set it to whatever you want it to be
fascinating-indigo
fascinating-indigoOP2y ago
Oh it's not for the art? Cool.
adverse-sapphire
adverse-sapphire2y ago
no, it would be for the icon you see in your app menu/app launcher
fascinating-indigo
fascinating-indigoOP2y ago
Just so we're on the same page, I am referring to how Heroic uses /home/p0wder/.config/heroic/icons/Sugar.jpg Not what the Icon path in the desktop entry does Hmm makes sense.
adverse-sapphire
adverse-sapphire2y ago
i meant like change it to Icon=/home/p0wder/.config/heroic/icons/rocket-league.png but edit the path to reflect wherever you save the .png to did you figure out where the .desktops go? they are basically just text files that you make executable and then they show up in your app menu
fascinating-indigo
fascinating-indigoOP2y ago
Yeah, I have the app menu entry now hmmmmmmmmm makes my system at an impure state haha I can do it but if I reinstall, that part won't be reproducible
adverse-sapphire
adverse-sapphire2y ago
yeah i was thinkin about that lol
fascinating-indigo
fascinating-indigoOP2y ago
I could put it in a different directory But for now I'm just using the default Sugar.jpg Thanks for the help!
adverse-sapphire
adverse-sapphire2y ago
np :CatYeah:
CommandMC
CommandMC2y ago
Explaining jokes, my favorite activity See this for a full explanation, TLDR is "your to-do list"
extended-salmon
extended-salmon2y ago
Ah cool :)
fascinating-indigo
fascinating-indigoOP2y ago
uh it opens this link in firefox heroic://launch/legendary/Sugar 🥲
extended-salmon
extended-salmon2y ago
@GetPsyched are you maybe using flatpak? No wait nix Huh Very weird
fascinating-indigo
fascinating-indigoOP2y ago
idt this is a flatpak or nix issue lol
extended-salmon
extended-salmon2y ago
It used to be an issue with flatpak iirc Idk about nix tho
fascinating-indigo
fascinating-indigoOP2y ago
I see I think this is an issue because I don't have heroic installed via nixpkgs I just have it as a shell alias
extended-salmon
extended-salmon2y ago
oh that would be why what is your alias to
fascinating-indigo
fascinating-indigoOP2y ago
nix shell github:aidalgol/nixpkgs/heroic-white-screen-fix#heroic -c heroic
nix shell github:aidalgol/nixpkgs/heroic-white-screen-fix#heroic -c heroic
extended-salmon
extended-salmon2y ago
oh. that was merged into master now you know
fascinating-indigo
fascinating-indigoOP2y ago
yes, but it's not in nixos-unstable yet
extended-salmon
extended-salmon2y ago
yeah
fascinating-indigo
fascinating-indigoOP2y ago
I have nixpkgs pinned to unstable
extended-salmon
extended-salmon2y ago
thats why i added it as a flake input
fascinating-indigo
fascinating-indigoOP2y ago
or should I pin it to master 🤔
extended-salmon
extended-salmon2y ago
no do not thats not a good idea
fascinating-indigo
fascinating-indigoOP2y ago
Yeah as in?
extended-salmon
extended-salmon2y ago
do you use flakes or regular config?
fascinating-indigo
fascinating-indigoOP2y ago
flakes
extended-salmon
extended-salmon2y ago
add this as an input nixpkgs-master.url = "github:nixos/nixpkgs"; add this to packages inputs.nixpkgs-master.legacyPackages.x86_64-linux.heroic
fascinating-indigo
fascinating-indigoOP2y ago
I know there's a way to do it using flake inputs but my lazy ass is just waiting for it to arrive in unstable lol
extended-salmon
extended-salmon2y ago
fair enough
fascinating-indigo
fascinating-indigoOP2y ago
Oh it's that easy
extended-salmon
extended-salmon2y ago
yeah
fascinating-indigo
fascinating-indigoOP2y ago
wait why legacyPackages
extended-salmon
extended-salmon2y ago
idk maybe you can do it differently this is what ive seen and it works
rival-black
rival-black2y ago
Nothing important, but having the same issue with Nobara (Fedora) 38 on KDE Plasma. Game starts windowed though, but crashes seconds afterwards. Can't find anything in the logs, they seem normal.
CommandMC
CommandMC2y ago
@Raphipod Please send in a game log regardless. RL should just work
rival-black
rival-black2y ago
Where is this log located or which one do you need?
rival-black
rival-black2y ago
rival-black
rival-black2y ago
Well, there's a Wine error. But it happened in the past and it worked.
CommandMC
CommandMC2y ago
Hmm yup, nothing obvious in there. Have you tried verifying your game files?
rival-black
rival-black2y ago
I'll go ahead and do that now. Get back to you when it's finished. Legendary just seems to straight-up redownload the game as I see R/W access and I am downloading something. The game also exists on the specified path in Heroic. It's been downloaded before.
CommandMC
CommandMC2y ago
There were probably corrupted files then (which are now re-downloaded)
rival-black
rival-black2y ago
Ah, that's what it probably is. But it would be nice if it said that there are corrupted files in the log.
CommandMC
CommandMC2y ago
(Heroic's progress reporting on repairs isn't the best; so I'm just guessing here)
rival-black
rival-black2y ago
Don't really think that's Heroic's fault though It's finished now. goddamnit i feel so stupid rn haha it works Thanks for your help.
fascinating-indigo
fascinating-indigoOP2y ago
Oh yeah it worked nicely. Forgot to reply here sorry haha. Also, it turns out that I can create .desktop files through my nix config as well. ref: https://github.com/GetPsyched/nix-config/blob/master/getpsyched/games.nix#L12-L21 super neat
extended-salmon
extended-salmon2y ago
yeah ik its cool :)
# The "legacy" in `legacyPackages` doesn't imply that the packages exposed
# through this attribute are "legacy" packages. Instead, `legacyPackages`
# is used here as a substitute attribute name for `packages`. The problem
# with `packages` is that it makes operations like `nix flake show
# nixpkgs` unusably slow due to the sheer number of packages the Nix CLI
# needs to evaluate. But when the Nix CLI sees a `legacyPackages`
# attribute it displays `omitted` instead of evaluating all packages,
# which keeps `nix flake show` on Nixpkgs reasonably fast, though less
# information rich.
# The "legacy" in `legacyPackages` doesn't imply that the packages exposed
# through this attribute are "legacy" packages. Instead, `legacyPackages`
# is used here as a substitute attribute name for `packages`. The problem
# with `packages` is that it makes operations like `nix flake show
# nixpkgs` unusably slow due to the sheer number of packages the Nix CLI
# needs to evaluate. But when the Nix CLI sees a `legacyPackages`
# attribute it displays `omitted` instead of evaluating all packages,
# which keeps `nix flake show` on Nixpkgs reasonably fast, though less
# information rich.
fascinating-indigo
fascinating-indigoOP2y ago
Ah nice Available at nixos-unstable https://nixpk.gs/pr-tracker.html?pr=254075 cc @QuadRadical (Ping on reply)
extended-salmon
extended-salmon2y ago
great thanks

Did you find this page helpful?