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.

40 Replies
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.
Close steam fully and open it from the terminal with
bazzite-steam
or just steam
see if you can see any useful error messages.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?That makes it much more difficult to diagnose. Yeah just make a custom.desktop file and see if it launches from that
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...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?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
filePlease 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 autostartI did remove steam from the autostart once I installed bazzite. Just a sec...
Tried that image and it launches for me with the $U and without it. Super weird
weird indeed. I will just make another
.desktop
without %U
for now
thanks a lot for your time ❤️Cool. Wish I could figure out the underlying issue but at least it works 🙂
This is related to this issue
https://discord.com/channels/1072614816579063828/1350144121548963852
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 that2 messages forward, it doesn't. Only launching from the app menu does, which is weirder 😆
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
okaayy it makes sense now
fyi @wolfyreload
I didn't look at any lines except the
Exec=
onescould 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 steamIt will work fine :clueless: I described this behavior earlier
oh perfect
here
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)
nice
got it
Hardware acceleration

@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
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 afit's awesome yeah 😄
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
I'm AMD 😭
That's probably why I can't reproduce what you getting. Hopefully the issue is reproducible for one of the Bazzite maintainers.
It's not
Already tested this on multiple frameworks
Can't reproduce
@Kyle Gospo this appears to be fixed in latest bazzite

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?Nope
man, I am cursed lmao