Steam opens to a black screen after login

I just installed Bazzite on an Intel + AMD Laptop. After log in to steam, it opens to a black window as shown in the attached screenshot, and It keeps closing and opening again continuously, until I close steam again.
No description
40 Replies
abdorithm
abdorithmOP3d ago
It appears it only works in big picture mode, but I don't need to switch from it to windowed mode every single time I open steam.
wolfyreload
wolfyreload3d ago
Close steam fully and open it from the terminal with bazzite-steam or just steam see if you can see any useful error messages.
abdorithm
abdorithmOP3d ago
bazzite-steam and steam both open steam successfully, with bazzite-steam giving a ton of ld.so not found in LD_PRELOAD errors, but steam opens at the end. It appears the black window only happens when I launch steam from the KDE plasma application menu, I will probably need to manually make a .desktop file to open it from the app menu successfully. thoughts?
wolfyreload
wolfyreload3d ago
That makes it much more difficult to diagnose. Yeah just make a custom.desktop file and see if it launches from that
abdorithm
abdorithmOP3d ago
From the existing steam.desktop file, this entry Exec=/usr/bin/bazzite-steam %U is what causes the black window. Somehow removing the %U solves the issue. I think it means user mode or smth...
wolfyreload
wolfyreload3d ago
That's weird, it's been like that for more than a year that it executes in that way or at least it's been that way since I started using Bazzite. What happens if you run /usr/bin/bazzite-steam %U in the terminal?
abdorithm
abdorithmOP3d ago
It works. wow, so the issue is only with the app menu? I don't know. running the command in the .desktop file in the terminal works but running from application menu does not, which is weird since the app menu use the same .desktop file
wolfyreload
wolfyreload3d ago
Please run rpm-ostree status I want to switch to your image on my kde test machine and see if I can reproduce it It might not have been reported/discovered since most users have steam set to autostart
abdorithm
abdorithmOP3d ago
I did remove steam from the autostart once I installed bazzite. Just a sec...
wolfyreload
wolfyreload3d ago
Tried that image and it launches for me with the $U and without it. Super weird
abdorithm
abdorithmOP3d ago
weird indeed. I will just make another .desktop without %U for now thanks a lot for your time ❤️
wolfyreload
wolfyreload3d ago
Cool. Wish I could figure out the underlying issue but at least it works 🙂
Raevenant
Raevenant2d ago
I believe that the .desktop file that comes with Bazzite uses the dedicated GPU to launch. If you do switcherooctl launch -g 1 steam you can replicate the issue from terminal and get output for debugging Wait seriously?? That's mega weird. Imma try that
abdorithm
abdorithmOP2d ago
2 messages forward, it doesn't. Only launching from the app menu does, which is weirder 😆
Raevenant
Raevenant2d ago
oh that makes way more sense because this line is in the .desktop files: PrefersNonDefaultGPU=true it makes it use the dedicated GPU you'll get the same result of you go to a terminal and do switcherooctl launch -g 1 /usr/bin/bazzite-steam
abdorithm
abdorithmOP2d ago
okaayy it makes sense now
Raevenant
Raevenant2d ago
fyi @wolfyreload
abdorithm
abdorithmOP2d ago
I didn't look at any lines except the Exec= ones
Raevenant
Raevenant2d ago
could also be this one tbh: X-KDE-RunOnDiscreteGpu=true but regardless, for whatever reason, running Steam on the dGPU seems broken rn it's not bazzite-steam specifically either, it's Steam itself switcherooctl launch -g 1 steam also doesn't work DRI_PRIME=1 steam doesn't work either. Is real weird @abdorithm wanna see something that makes actually no sense? use the KDE menu to open big picture mode directly then from big picture mode, just exit back to normal steam
abdorithm
abdorithmOP2d ago
It will work fine :clueless: I described this behavior earlier
Raevenant
Raevenant2d ago
oh perfect
abdorithm
abdorithmOP2d ago
here
Raevenant
Raevenant2d ago
maybe I got the idea from you 😂 OH SHIT I just did something that fixed it lemme narrow down which damn thing did it (I changed like 4 settings)
abdorithm
abdorithmOP2d ago
nice
Raevenant
Raevenant2d ago
got it Hardware acceleration
Raevenant
Raevenant2d ago
No description
Raevenant
Raevenant2d ago
@wolfyreload @Kyle Gospo I realize this is probably on Steam's or mesa's side, but I'll ping you both anyways in case there's something we (royal we ofc) can do about it on bazzite's side ah damn, it makes big picture mode run like shit though
abdorithm
abdorithmOP2d ago
it is no big problem tho. I just run another .desktop file or open bpm and switch. I still love bazzite and use it for primarily development. it's my first time with immutability and it is cool af
Raevenant
Raevenant2d ago
it's awesome yeah 😄
wolfyreload
wolfyreload2d ago
Yeah that's the "fix" for nvidia GPUs to run smoothly and it breaks the menus (sometimes). Thanks for investigating Raevenant. I wonder if it's possible to dynamically turn that on for big picture mode and off for normal mode
Raevenant
Raevenant2d ago
I'm AMD 😭
wolfyreload
wolfyreload2d ago
That's probably why I can't reproduce what you getting. Hopefully the issue is reproducible for one of the Bazzite maintainers.
Kyle Gospo
Kyle Gospo2d ago
It's not Already tested this on multiple frameworks Can't reproduce
Raevenant
Raevenant20h ago
@Kyle Gospo this appears to be fixed in latest bazzite
Raevenant
Raevenant20h ago
No description
Raevenant
Raevenant20h ago
wait nvm, what? I'm confused facinating. switcherooctl launch -g 1 bazzite-steam works fine, but switcherooctl launch -g 1 steam does not. These were both broken (for me) in previous bazzite, so did you guys do something?
Kyle Gospo
Kyle Gospo19h ago
Nope
Raevenant
Raevenant19h ago
man, I am cursed lmao

Did you find this page helpful?