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-gold
stormy-goldOP3y ago
secure-lavender
secure-lavender3y ago
can you show a game log, not the global heroic log? also, are you setting a compatibility tool in Steam?
stormy-gold
stormy-gold3y ago
I know that for some reason enable dxvk was fixing gamemode problems But that only applies for wine-ge
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
good. you shouldn't be doing it
stormy-gold
stormy-goldOP3y 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
stormy-gold3y 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-gold
stormy-goldOP3y ago
understood And thank you for your assistance
stormy-gold
stormy-goldOP3y ago
secure-lavender
secure-lavender3y ago
wine: failed to open "/home/deck/Games/Heroic/EVERSPACE\xe2\x84\xa2 2/Everspace2.exe": c0000135
Could it be that the ™️ in the folder name is throwing things off?
stormy-gold
stormy-goldOP3y 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
stormy-gold3y 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-gold
stormy-goldOP3y ago
here is the log from desktop in which it works
stormy-gold
stormy-goldOP3y ago
stormy-gold
stormy-goldOP3y ago
that makes some sense. What would interest me is if permissions can differ between DEsktop and gaming mode
stormy-gold
stormy-gold3y 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-gold
stormy-goldOP3y 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
secure-lavender3y ago
when you change the folder name, you have to tell Heroic to change the install path so it knows where to look
stormy-gold
stormy-goldOP3y 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
secure-lavender3y 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-gold
stormy-goldOP3y 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
secure-lavender3y ago
there's also a newer version of wine-GE 7-43 worth a shot to update that too
stormy-gold
stormy-goldOP3y ago
Yes I am running the newest one available to download via Wine Manager in Heroic, Wine-GE-Proton7-42
secure-lavender
secure-lavender3y ago
refresh
stormy-gold
stormy-goldOP3y ago
ill give 43 a shot works just fine in Desktop Mode
secure-lavender
secure-lavender3y ago
launched through your Steam shortcut?
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
can you provide the complete launch options from the Steam shortcut?
stormy-gold
stormy-goldOP3y ago
sure standby
secure-lavender
secure-lavender3y 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-gold
stormy-goldOP3y 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
secure-lavender3y 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 running
stormy-gold
stormy-goldOP3y ago
yes sir, standby process immediately dies, no launch actually standby, let me try something
secure-lavender
secure-lavender3y ago
do any Heroic-like logs start filling in? for example:
(deck@steamdeck ~)$ flatpak run com.heroicgameslauncher.hgl heroic://launch/1454587428 --no-gui --no-sandbox
[13:0411/114957.693406:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 11:49:59.183: Failed to load module "canberra-gtk-module"
[13:0411/114959.244023:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:0411/114959.244059:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
(11:49:59) INFO: [Connection]: Connectivity: check-online
(11:49:59) INFO: [Connection]: Pinging external endpoints
which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux)
(11:49:59) INFO: [Legendary]: Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(11:49:59) INFO: [Legendary]: Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(11:49:59) INFO: [Gog]: GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(11:49:59) INFO: [Gog]: GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
APPIMAGE env is not defined, current application is not an AppImage
LaunchProcess: failed to execvp:
xdg-settings
(11:49:59) WARNING: [Backend]: Failed to register protocol with OS.
(11:49:59) INFO: [Connection]: Connectivity: online
(deck@steamdeck ~)$ flatpak run com.heroicgameslauncher.hgl heroic://launch/1454587428 --no-gui --no-sandbox
[13:0411/114957.693406:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 11:49:59.183: Failed to load module "canberra-gtk-module"
[13:0411/114959.244023:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:0411/114959.244059:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
(11:49:59) INFO: [Connection]: Connectivity: check-online
(11:49:59) INFO: [Connection]: Pinging external endpoints
which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux)
(11:49:59) INFO: [Legendary]: Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(11:49:59) INFO: [Legendary]: Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(11:49:59) INFO: [Gog]: GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(11:49:59) INFO: [Gog]: GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
APPIMAGE env is not defined, current application is not an AppImage
LaunchProcess: failed to execvp:
xdg-settings
(11:49:59) WARNING: [Backend]: Failed to register protocol with OS.
(11:49:59) INFO: [Connection]: Connectivity: online
stormy-gold
stormy-goldOP3y ago
figured if I switched back to GE-42 it may work, same deal standby for logs
stormy-gold
stormy-goldOP3y ago
secure-lavender
secure-lavender3y ago
Wine version Wine - Wine-GE-Proton7-43 is not valid
what now?
stormy-gold
stormy-goldOP3y ago
standby will run 43 again, and 42 if you want
secure-lavender
secure-lavender3y 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 Steam
stormy-gold
stormy-goldOP3y ago
stormy-gold
stormy-goldOP3y ago
same deal switching back to 43
secure-lavender
secure-lavender3y ago
try the xdg-open command in Konsole to see if Heroic starts running via that
stormy-gold
stormy-goldOP3y ago
ran the konsole command and the game launched
secure-lavender
secure-lavender3y ago
which one? flatpak run or xdg-open?
stormy-gold
stormy-goldOP3y ago
xdg
secure-lavender
secure-lavender3y ago
did flatpak run have any errors before kicking you back to the prompt again?
stormy-gold
stormy-goldOP3y ago
I do not see a command for flatpak run, just the xdg command above
secure-lavender
secure-lavender3y ago
.
stormy-gold
stormy-goldOP3y ago
Apologies I missed that, standby it runs via flatpuk run flatpak*
secure-lavender
secure-lavender3y 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 cases
stormy-gold
stormy-goldOP3y ago
change the Target field to "/usr/bin/flatpak" correct?
secure-lavender
secure-lavender3y ago
yes
stormy-gold
stormy-goldOP3y ago
does not run
secure-lavender
secure-lavender3y ago
in theory, this shouldn't change the way it's launched, but stranger things have happened
stormy-gold
stormy-goldOP3y ago
yeah this whole situation boggles my mind, it worked months ago, just decided not work one day
secure-lavender
secure-lavender3y ago
you're not the only one who has said the Steam shortcut has failed
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
I don't think this is strictly a Heroic issue. seems like a weird flatpak thing try
flatpak repair

systemctl restart flatpak-system-helper.service

flatpak update
flatpak repair

systemctl restart flatpak-system-helper.service

flatpak update
stormy-gold
stormy-goldOP3y ago
exactly standby finished, does not launch on Desktop, will try gaming mode no luck
secure-lavender
secure-lavender3y 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 default
stormy-gold
stormy-goldOP3y ago
running now: xdg-open com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003" does not run
secure-lavender
secure-lavender3y ago
no, get rid of com.heroicgameslauncher.hgl --no-gui --no-sandbox
stormy-gold
stormy-gold3y ago
Please change the perm of the folder via the filesystem not flatseal
stormy-gold
stormy-goldOP3y ago
standby
stormy-gold
stormy-gold3y ago
It does not sound like flatpak problem
secure-lavender
secure-lavender3y ago
which folder are you thinking of?
stormy-gold
stormy-gold3y ago
The installation folder of the game
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
ls -la /home/deck/Games/Heroic to double check too should be 755 (rwxr-xr-x)
stormy-gold
stormy-goldOP3y ago
no launch through steam, launches via heroic
secure-lavender
secure-lavender3y ago
launching via Heroic isn't going to be your issue here. it's calling Heroic that seems to be it
stormy-gold
stormy-goldOP3y ago
yep done
secure-lavender
secure-lavender3y ago
why wine is saying an .exe isn't found in the failed log is weird
stormy-gold
stormy-gold3y ago
Permission problems Mostly
secure-lavender
secure-lavender3y ago
have you run any commands relating to flatpak or Heroic using sudo by chance? as in, ever
stormy-gold
stormy-goldOP3y 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
stormy-gold3y ago
Just set permission to user Where did you installed your games? On an external drive ?
stormy-gold
stormy-goldOP3y ago
microsd
stormy-gold
stormy-gold3y ago
Did you gave permission via flatseal?
secure-lavender
secure-lavender3y ago
wait what?
stormy-gold
stormy-goldOP3y ago
actually, Heroic appears to be installed on the internal storage and its games apologies
stormy-gold
stormy-gold3y ago
Does a game launch from the internal?
stormy-gold
stormy-goldOP3y 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
secure-lavender3y 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-gold
stormy-goldOP3y ago
If I could see the permissions Desktop mode are set to maybe I could mirror to Gaming
stormy-gold
stormy-gold3y ago
Just right click on folder and properties
secure-lavender
secure-lavender3y ago
folder permissions do not change between the two modes they're set on the files themselves
stormy-gold
stormy-goldOP3y 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
stormy-gold3y ago
Just change the permission to something other and back to the original and try again
stormy-gold
stormy-goldOP3y ago
that is what I thought as well
stormy-gold
stormy-gold3y ago
That fixed some similiar problem for some other iser
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
are you restarting Heroic after you do this?
stormy-gold
stormy-goldOP3y 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
stormy-gold3y ago
Btw close heroic if you swap from desktop to gamemode
stormy-gold
stormy-goldOP3y ago
understood
stormy-gold
stormy-gold3y 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-gold
stormy-goldOP3y ago
yeah standby
secure-lavender
secure-lavender3y ago
maybe an Epic game as well
stormy-gold
stormy-goldOP3y ago
I dont have an Epic account
secure-lavender
secure-lavender3y ago
ah ok it would have been to see if legendary worked differently from gogdl
stormy-gold
stormy-gold3y ago
Yes epic game would probably tell us if it is a general problem or a problem of gogdl
stormy-gold
stormy-goldOP3y 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
secure-lavender3y 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 OK
stormy-gold
stormy-goldOP3y 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
stormy-gold3y ago
Prepare gamelogs after
stormy-gold
stormy-goldOP3y ago
oddly enough, by miracle, it works via Gaming Mode too
stormy-gold
stormy-gold3y ago
So it is the special character
stormy-gold
stormy-goldOP3y ago
maybe, that one game works, but others do not without special characters, such as bio menace
stormy-gold
stormy-gold3y ago
That could be some other error We need to see if another game without special character has the same error
stormy-gold
stormy-goldOP3y 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
stormy-gold3y ago
Thats a linux game
stormy-gold
stormy-goldOP3y ago
i can reinstall as Windows
stormy-gold
stormy-gold3y ago
For native linux games you sometimes need to enable steam runtime
stormy-gold
stormy-goldOP3y 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-gold
stormy-goldOP3y ago
stormy-gold
stormy-goldOP3y ago
and that should be the log for the last launch via gaming mode
stormy-gold
stormy-gold3y ago
So it is the special character And each game has there own problems
stormy-gold
stormy-goldOP3y ago
odd maybe the issues iwth the other flatpaks via gaming mode are not related to Heroic in Gaming
stormy-gold
stormy-gold3y 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-gold
stormy-goldOP3y ago
ill try another Windows game and see if I can replicate the issue
secure-lavender
secure-lavender3y ago
Change Install Path can be used to rename a folder to get rid of special characters, such as ™️
No description
secure-lavender
secure-lavender3y 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-gold
stormy-goldOP3y 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
secure-lavender3y ago
change this back to the flatpak command flatpak in the target run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/1205406003" launch options
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
post a new game log from desktop mode, then one from game mode where it presumably will fail
stormy-gold
stormy-goldOP3y ago
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
I did call this out 2.5 hours ago 😛
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
@Nocccer looks like ™️ characters should be stripped from folder names as suspected. while you're at it ®️ and ©️ too
stormy-gold
stormy-goldOP3y 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
secure-lavender3y ago
you're welcome next time, don't push back against proposed solutions. I did suggest removing the ™️ but you resisted changing it
stormy-gold
stormy-goldOP3y 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
secure-lavender3y 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-gold
stormy-goldOP3y ago
exactly

Did you find this page helpful?