-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External tools run inside the same gamescope window as the game #490
Comments
funny bug. |
Well it's not like they mash together lol it's more like they overlay on top of each other also cheat engine doesn't render correctly (visual glitches) |
An interesting bug, I'm not sure if there's a way to differentiate here. I was under the impression you can launch anything with Gamescope, I've been able to (or rather forced to) run things like the official Minecraft launcher with Gamescopee, but I just tested and this doesn't seem to be the case! Trying to launch some system applications from Gamescope didn't work, they either segfaulted or launched normally (Gamescope process was running in the background tho according to KDE System Monitor). I tested MultiMC which is a third party Minecraft launcher, with So clearly, Gamescope has some way of differentiating what is a game and what isn't. Game launchers still seem to use Gamescope, and MO2 with STL uses Gamescope, but the Minecraft launcher mentioned doesn't launch with Gamescope yet when Minecraft itself is running it uses Gamescope. Some more investigation may be needed here :) |
only took a quick look for now, but this could be complicated to fix. |
Yeah, I haven't tested but it's very likely that the custom command stuff might be affected. same for vortex and mod manager but I don't use them (go figure I use cheat engine but not mod managers lol jk the games I play don't have mods on vortex so that's why) |
seems like this does not happen with every game. just tried with I assume this is more a gamescope issue/feature (iirc it always can render only one screen) I doubt that this can be fixed properly from steamtinkerlaunch side: There is no control over where a 2nd program opens its window (the order of the started programs could be switched, but they would be still launched within the same wineprefix/compatdata and therefore this would't help anything). disabling gamescope would be the only (partial) workaround, but as it seems to be impossible to say which game even has this issue, this would be more a dirty hack. So I decided to not touch this at all. Maybe worth a wiki entry and/or check upstream for open issue (I'm sure there are multiple into this direction), but no steamtinkerlaunch code changes for now. |
Yeah if anything it might just be best to add a note that external tools might not work or render correctly when the game is running with gamescope I did a little testing earlier and it doesn't look like it matters when the external tool is launched so I was afraid this might happen. I need to find out how I can run cheat engine separately from steamtinkerlaunch maybe even in the steam launch commands to confirm this though. |
I guess running CE in its own wineprefix/compatdata would be already enough. |
no, doesn't make sense, as CE in its own prefix doesn't see processess in other prefixes. |
yeah it needs to run in the same prefix that's the thing so they need to be launched together which I was afraid might make this issue not fixable from here. |
I'm afraid this is impossible to fix from our end. do you want to add a little note to the wiki, @zany130? |
yeah agreed. hadn't had much time to look into this but it looks like it may have to be reported upstream. When I have time i look into this more and report it upstream. In the unlikely case that it can be fixed on our end ill just reopen the issue (:. Ill update the wiki with a note in the meantime with a link here. |
External tools like cheat engine and GDB run inside the same gamescope window as the game
Steps to reproduce
Possible Solutions
One solution might be to see if its possible to run the game with game scope and then run the tool separately without (or other way around) don't know how feasible this is though.
Another solution would be to disable gamescope in these situations (not ideal)
The text was updated successfully, but these errors were encountered: