HGL
stormy-gold
Steam Deck - Games work on Desktop Mode, but wont launch in Gaming Mode
Good afternoon,
About half a year ago I had Heroic working and installed some games. Ended up taking a break and coming back, though I did frequently update Heroic when an update would come out (Flatpak so I used Discover store).
For some reason, all of the games I install via Heroic work on Desktop mode no issues (whether launched via Heroic directly or through Steam on the Desktop). However, those same games will not launch via Gaming Mode, the process just appears to die.
Would anyone happen to know what sorts of things would cause this to happen? What are the differences between running games via Desktop Mode and Gaming Mode?
Something else to add, I used to be able to play Brutal Doom via the GZDoom flatpak via Gaming and Desktop mode in the not too distant past. One day I decided to boot it up via Gaming mode and it would not longer work, only on Desktop Mode, which is when this whole problem began.
Any help would be much appreciated!
137 Replies
stormy-goldOP•3y ago
secure-lavender•3y ago
can you show a game log, not the global heroic log?
also, are you setting a compatibility tool in Steam?
stormy-gold•3y ago
I know that for some reason enable dxvk was fixing gamemode problems
But that only applies for wine-ge
stormy-goldOP•3y ago
I will try and find it
Oddly enough, I am completely unable to set compatibility options in Steam when it is a game installed and added to Steam via Heroic Launcher, the Compatibility Settings box is grayed out
secure-lavender•3y ago
good. you shouldn't be doing it
stormy-goldOP•3y ago
"Auto Install/Update DXVK on Prefix" is checked for the game, it should be good to go
Wine Version is set to "Wine - Wine-GE-Proton7-42"
stormy-gold•3y ago
Just start the game from gamemode
Afterwards switch to desktop mode
Go to the gamepage of the game and press the report a problem button
Post the log here as file or via paste.bin
stormy-goldOP•3y ago
understood
And thank you for your assistance
stormy-goldOP•3y ago
secure-lavender•3y ago
wine: failed to open "/home/deck/Games/Heroic/EVERSPACE\xe2\x84\xa2 2/Everspace2.exe": c0000135Could it be that the ™️ in the folder name is throwing things off?
stormy-goldOP•3y ago
I will give that a try
the "tm" is in steam, heroic, and the name of the folder, so they all match. I removed the "tm" from the folder and tried to launch and receive an error that the game folder appears to be deleted
That may not be the root cause, the game works perfectly fine on Desktop Mode, but something about Game Mode makes this, other Heroic Games, and even Brutal Doom simply not work. My guess, is it is something to do with flatpaks?
stormy-gold•3y ago
Something todo with locale i guess?
Or it could be permission issues ?
That reminds me of something
Someone could not add games and he just changed the permission of some folder to root and back to user perm and this fixed it
So might be related to that
stormy-goldOP•3y ago
here is the log from desktop in which it works
stormy-goldOP•3y ago
stormy-goldOP•3y ago
that makes some sense. What would interest me is if permissions can differ between
DEsktop and gaming mode
stormy-gold•3y ago
Maybe but i never had your problem
I just know that somehow heroic once reported that a folder did not exist and it turned out just changing the perm to root and back to user fixed it
stormy-goldOP•3y ago
would explain why non steam games would work for one and not the otherh
went into Flatseal > All Applications > Filesystem and gave access to All system files to eliminate a variable. Did not work
secure-lavender•3y ago
when you change the folder name, you have to tell Heroic to change the install path
so it knows where to look
stormy-goldOP•3y ago
I wonder if I can just launch Heroic Laucher in game mode like Battle.net, that seems to work
I am aware, but the fact that it launches via Heroic and Steam on desktop mode and not gaming mode leads me to believe the "tm" is not the root cause
secure-lavender•3y ago
we're in a situation where minute differences can be the cause
when the failed log says
wine: failed to open "/home/deck/Games/Heroic/EVERSPACE\xe2\x84\xa2 2/Everspace2.exe": c0000135
stormy-goldOP•3y ago
Indeed, however no game works via Heroic Launcher in Gaming Mode, not just Everspace. Brutal Doom and other flatpak games are the same thing, so I do not believe it is the "tm"
I can try again, give me a moment
secure-lavender•3y ago
there's also a newer version of wine-GE 7-43
worth a shot to update that too
stormy-goldOP•3y ago
Yes I am running the newest one available to download via Wine Manager in Heroic, Wine-GE-Proton7-42
secure-lavender•3y ago
refresh
stormy-goldOP•3y ago
ill give 43 a shot
works just fine in Desktop Mode
secure-lavender•3y ago
launched through your Steam shortcut?
stormy-goldOP•3y ago
give me a sec
Launching via Steam in Desktop Mode does not work on 43 as it did on 42
will try Gaming Mode
Gaming mode still does not launch
What are the actual differences between Gaming Mode and Desktop Mode configuration wise? Is there somewhere I can go to view those differences and change them? The permissions issue pointed out earlier makes sense, as it seems like a flatpak will not run via Gaming Mode like it does in Desktop Mode, I just do not have the Linux knowledge to know why
secure-lavender•3y ago
can you provide the complete launch options from the Steam shortcut?
stormy-goldOP•3y ago
sure standby
secure-lavender•3y ago
the answer will be in here somewhere. launching via Heroic isn't a problem, but launching via Steam in either mode seems to be the issue
and you did say that you used Heroic to add the Steam shortcut, correct?
stormy-goldOP•3y ago
run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003"
Yes, I used heroic so it would autopopulate whatever launch commands were necessary
secure-lavender•3y ago
in desktop mode, try running
flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003"
and see what shakes out
that's what the Steam shortcut is ultimately runningstormy-goldOP•3y ago
yes sir, standby
process immediately dies, no launch
actually standby, let me try something
secure-lavender•3y ago
do any Heroic-like logs start filling in?
for example:
stormy-goldOP•3y ago
figured if I switched back to GE-42 it may work, same deal
standby for logs
stormy-goldOP•3y ago
secure-lavender•3y ago
Wine version Wine - Wine-GE-Proton7-43 is not validwhat now?
stormy-goldOP•3y ago
standby
will run 43 again, and 42 if you want
secure-lavender•3y ago
one other thing to try running via Konsole:
xdg-open "heroic://launch/1205406003"
some people were saying Heroic-added shortcuts weren't working, so they had to go a roundabout way of adding a desktop shortcut then adding that desktop shortcut to Steamstormy-goldOP•3y ago
stormy-goldOP•3y ago
same deal switching back to 43
secure-lavender•3y ago
try the xdg-open command in Konsole to see if Heroic starts running via that
stormy-goldOP•3y ago
ran the konsole command and the game launched
secure-lavender•3y ago
which one?
flatpak run
or xdg-open
?stormy-goldOP•3y ago
xdg
secure-lavender•3y ago
did
flatpak run
have any errors before kicking you back to the prompt again?stormy-goldOP•3y ago
I do not see a command for flatpak run, just the xdg command above
secure-lavender•3y ago
.
stormy-goldOP•3y ago
Apologies I missed that, standby
it runs via flatpuk run
flatpak*
secure-lavender•3y ago
try editing the Steam shortcut so that the target now says
/usr/bin/flatpak
instead of just flatpak
this might not make a difference, but I'm just trying to eliminate some random edge casesstormy-goldOP•3y ago
change the Target field to "/usr/bin/flatpak" correct?
secure-lavender•3y ago
yes
stormy-goldOP•3y ago
does not run
secure-lavender•3y ago
in theory, this shouldn't change the way it's launched, but stranger things have happened
stormy-goldOP•3y ago
yeah this whole situation boggles my mind, it worked months ago, just decided not work one day
secure-lavender•3y ago
you're not the only one who has said the Steam shortcut has failed
stormy-goldOP•3y ago
well it all started when I tried to boot Brutal Doom via Gaming Mode, tinkered and nothing would work. Then I tried to launch games from Heroic and they wouldnt launch either. The biggest commonality is that they are non steam games and ran via flatpak
however, if I run blizzard launcher exe with proton via Steam, it runs fine and I can play stuff. So in my mind I assume there is something going on with the flatpak, permissions, or there is some weird difference between Desktop and Gaming mode
secure-lavender•3y ago
I don't think this is strictly a Heroic issue. seems like a weird flatpak thing
try
stormy-goldOP•3y ago
exactly
standby
finished, does not launch on Desktop, will try gaming mode
no luck
secure-lavender•3y ago
try changing the Steam shortcut to be target
xdg-open
with launch options "heroic://launch/1205406003"
another thing to try is to reset Flatseal permissions for Heroic back to defaultstormy-goldOP•3y ago
running now: xdg-open com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003"
does not run
secure-lavender•3y ago
no, get rid of com.heroicgameslauncher.hgl --no-gui --no-sandbox
stormy-gold•3y ago
Please change the perm of the folder via the filesystem not flatseal
stormy-goldOP•3y ago
standby
stormy-gold•3y ago
It does not sound like flatpak problem
secure-lavender•3y ago
which folder are you thinking of?
stormy-gold•3y ago
The installation folder of the game
stormy-goldOP•3y ago
the install folder has full read/write/execute permissions, going to tick the "Apply changes to all subfolders" box just to try
secure-lavender•3y ago
ls -la /home/deck/Games/Heroic
to double check too
should be 755 (rwxr-xr-x)stormy-goldOP•3y ago
no launch through steam, launches via heroic
secure-lavender•3y ago
launching via Heroic isn't going to be your issue here. it's calling Heroic that seems to be it
stormy-goldOP•3y ago
yep done
secure-lavender•3y ago
why wine is saying an .exe isn't found in the failed log is weird
stormy-gold•3y ago
Permission problems
Mostly
secure-lavender•3y ago
have you run any commands relating to flatpak or Heroic using
sudo
by chance?
as in, everstormy-goldOP•3y ago
to my knowledge, no. I do not delve too far into any of that as I am not as knowledgeable as I should be with Linux
is there a way to revert permissions? I think that may be the culprit
stormy-gold•3y ago
Just set permission to user
Where did you installed your games? On an external drive ?
stormy-goldOP•3y ago
microsd
stormy-gold•3y ago
Did you gave permission via flatseal?
secure-lavender•3y ago
wait what?
stormy-goldOP•3y ago
actually, Heroic appears to be installed on the internal storage and its games
apologies
stormy-gold•3y ago
Does a game launch from the internal?
stormy-goldOP•3y ago
previously yes, anything would launch via Heroic and Gaming Mode and I install to wherever Heroic defaults to
now, heroic games will only launch on desktop
secure-lavender•3y ago
here's my understanding of it. the game launches from: Heroic in desktop mode, Konsole using
flatpak run ...
and xdg-open ...
in desktop mode
the game does not launch from the Steam shortcut in gaming mode
is this correct?stormy-goldOP•3y ago
If I could see the permissions Desktop mode are set to maybe I could mirror to Gaming
stormy-gold•3y ago
Just right click on folder and properties
secure-lavender•3y ago
folder permissions do not change between the two modes
they're set on the files themselves
stormy-goldOP•3y ago
correct. The game did launch via steam on Desktop, but only with the default launch options given via "add game to steam" via Heroic
stormy-gold•3y ago
Just change the permission to something other and back to the original and try again
stormy-goldOP•3y ago
that is what I thought as well
stormy-gold•3y ago
That fixed some similiar problem for some other iser
stormy-goldOP•3y ago
yes changed, saved, and reverted the permissions of /home/deck/games/heroic/Everspace 2 back, will launch again
same deal
just tried resetting to default in flatseal for Heroic, did not work
secure-lavender•3y ago
are you restarting Heroic after you do this?
stormy-goldOP•3y ago
just tried resetting gzdoom to default via flatseal for the hell of it as I have the same problem with it, works Desktop and not in Gaming Mode. GZdoom launcher will load the .wad selection but not the game
no, but I went from gaming back to Desktop so that should count
tempted to reset all applications to default via flatseal
stormy-gold•3y ago
Btw close heroic if you swap from desktop to gamemode
stormy-goldOP•3y ago
understood
stormy-gold•3y ago
Do you have a small game without any special characters we could test
I would love to see another log of another game
stormy-goldOP•3y ago
yeah standby
secure-lavender•3y ago
maybe an Epic game as well
stormy-goldOP•3y ago
I dont have an Epic account
secure-lavender•3y ago
ah ok
it would have been to see if legendary worked differently from gogdl
stormy-gold•3y ago
Yes epic game would probably tell us if it is a general problem or a problem of gogdl
stormy-goldOP•3y ago
standby have to take the dog out
I am leaning more on a permissions issue with flatpaks or somewhere on the OS, as Heroic is not the only thing there is an issue with that is exactly like this
secure-lavender•3y ago
nuclear options: reinstall SteamOS, reimage Deck. I can't think of a reason why Steam running the
flatpak run
command would fail when the same command via Konsole is OKstormy-goldOP•3y ago
yeah, was trying to avoid that but it may have to happen
okay, Cathedral installs via heroic with default WINE settings and launches via Heroic and Steam on Desktop. Will try Gaming mode
stormy-gold•3y ago
Prepare gamelogs after
stormy-goldOP•3y ago
oddly enough, by miracle, it works via Gaming Mode too
stormy-gold•3y ago
So it is the special character
stormy-goldOP•3y ago
maybe, that one game works, but others do not without special characters, such as bio menace
stormy-gold•3y ago
That could be some other error
We need to see if another game without special character has the same error
stormy-goldOP•3y ago
easy, standby
System Info:
Heroic Version: 2.7.0 Eustass Kid
Legendary Version: 0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.1
Electron Version: 23.1.4
Chrome Version: 110.0.5481.192
NodeJS Version: 18.12.1
OS: Freedesktop SDK KERNEL: 5.13.0-valve36-1-neptune ARCH: x64
CPU: AMD Custom APU 0405 @2.73 GOVERNOR: schedutil
RAM: Total: 11.52 GiB Available: 7.56 GiB
GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB
PROTOCOL: x11
AudioManager: Audio Source () created from Data Source FileSystem.
AudioManager: Audio Source () created from Data Source FileSystem.
AudioManager: Audio Source () created from Data Source FileSystem.
AudioManager: Audio Source () created from Data Source FileSystem.
AudioManager: Manager successfully shutdown.
Launch command: ['/home/deck/Games/Heroic/Cathedral/start.sh']
All processes exited
that is the log for Cathedral, which universally worked
stormy-gold•3y ago
Thats a linux game
stormy-goldOP•3y ago
i can reinstall as Windows
stormy-gold•3y ago
For native linux games you sometimes need to enable steam runtime
stormy-goldOP•3y ago
will have to look into that, not aware of that
the runtimes appear to all be installed and enabled, Steam Linux Runtime looks good, I verified integrity of tool files as well
Windows Cathedral runs via GE-42 on Desktop and Gaming Mode
stormy-goldOP•3y ago
stormy-goldOP•3y ago
and that should be the log for the last launch via gaming mode
stormy-gold•3y ago
So it is the special character
And each game has there own problems
stormy-goldOP•3y ago
odd
maybe the issues iwth the other flatpaks via gaming mode are not related to Heroic in Gaming
stormy-gold•3y ago
Yes always check thr logs
Do you have another game to check
So we can be sure that it is three different issues
stormy-goldOP•3y ago
ill try another Windows game and see if I can replicate the issue
secure-lavender•3y ago
Change Install Path can be used to rename a folder to get rid of special characters, such as ™️

secure-lavender•3y ago
looks like in the last log you posted, the game folder still has ™️ in the name
rename the folder in Dolphin then use Change Install Path to point to the renamed folder
stormy-goldOP•3y ago
good idea, I will try this as well
Bards tale trilogy windows works on steam/heroic via desktop and Gaming mode
changed the name of the folder to remove the special character, changed the install path to the renamed folder and it launches via Heroic
does not launch via Steam desktop or gaming though
and it is using the default xdg-open launch options
secure-lavender•3y ago
change this back to the flatpak command
flatpak
in the target
run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003"
launch optionsstormy-goldOP•3y ago
for the sake of argument, I removed the non steam game from steam and readded it to steam via Heroic after the folder change
I launched the new shortcut in steam and it ran via Desktop
secure-lavender•3y ago
post a new game log from desktop mode, then one from game mode where it presumably will fail
stormy-goldOP•3y ago
stormy-goldOP•3y ago
that is the log for the Steam Desktop mode shortcut working
I launched and it behaved as if it failed so I launched again and it behaved as it failed...however about 2-3 seconds later it actually ran
will try Gaming Mode
holy hell it actually launched in Gaming Mode and I do not know why or how
secure-lavender•3y ago
I did call this out 2.5 hours ago 😛
stormy-goldOP•3y ago
And of course I conflated other issues I was having with flatpaks with this issue
mountain out of a mole hill
I apologize
secure-lavender•3y ago
@Nocccer looks like ™️ characters should be stripped from folder names as suspected.
while you're at it ®️ and ©️ too
stormy-goldOP•3y ago
cant troubleshoot without assuming something worse than something more obvious lol
you are right
now to figure out why GZDoom is ridiculous
I appreciate you guys help!
secure-lavender•3y ago
you're welcome
next time, don't push back against proposed solutions. I did suggest removing the ™️ but you resisted changing it
stormy-goldOP•3y ago
Understood, however, I did not push back. The missing step was changing the install path which I did not think to do
that small step I forgot to do wasted you guys time there
secure-lavender•3y ago
fair. at least you know next time if there's a special character in the title to just rename it on installation to avoid this
stormy-goldOP•3y ago
exactly