Bug 441111 - Launching steam games logs me out
Summary: Launching steam games logs me out
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-18 05:52 UTC by retrooperdev
Modified: 2021-08-23 18:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Journal log (1.11 MB, text/x-log)
2021-08-22 11:12 UTC, retrooperdev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description retrooperdev 2021-08-18 05:52:17 UTC
SUMMARY


STEPS TO REPRODUCE
1. Launch steam
2. Download ANY game
3. Launch the game

OBSERVED RESULT
* Each time I launch a game from steam it loads a bit and then Garuda Linux just logs me out of my system. Its so annoying. I don't know why, this never happened to me when I was using Manjaro before. I have used the Steam that Garuda came with andn this happened, I reinstalled steam and it still persisted. Why?

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Garuda Linux?
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-08-18 16:00:43 UTC
Are you using the Wayland session, or X11?
Comment 2 retrooperdev 2021-08-18 17:24:41 UTC
I'm running x11
Comment 3 Nate Graham 2021-08-18 17:53:35 UTC
In that case, something is crashing the X server, so I highly doubt any KDE code is at fault here. What graphics hardware and drivers are you using? can you find anything in the `dmesg` log when the session crashes?
Comment 4 retrooperdev 2021-08-18 17:56:47 UTC
Should I check the output of 'dmesg' after my X server crashes? Basically I log back in (put in my pass) then run the cmd?
Comment 5 Nate Graham 2021-08-18 18:01:16 UTC
Yeah.
Comment 6 retrooperdev 2021-08-18 19:01:28 UTC
My GPU is Intel HD Graphics 4000, I'm using the latest Mesa drivers (through AUR package manager) and "dmesg" in the console gives this output:
dmesg: read kernel buffer failed: Operation not permitted
Comment 7 Christophe Marin 2021-08-18 19:06:26 UTC
`sudo dmesg` then
Comment 8 retrooperdev 2021-08-18 19:56:17 UTC
'sudo dmesg' gave me this output (Its quite long so I put it in pastebin)
https://pastebin.com/9REiKH8r
Comment 9 Nate Graham 2021-08-18 21:26:36 UTC
Thanks! Unfortunately it is all gibberish to me. Is there anyone around who can help interpret it?
Comment 10 Alex 2021-08-21 14:20:54 UTC
Honestly I can't find anything notable in that dmesg. If its an X server crash, I wouldn't expect there to be anything there, because dmesg is for kernel stuff, so that would be helpful if there was a driver issue. I can't see any noteworthy messages from graphics drivers in that log.

Assuming your distro uses systemd, try looking in your journal from the boot it happened. So if it happened last boot, check the output of

journalctl --boot=-1

You can also redirect this output to a file for convenience:

journalctl --boot=-1 &> journal.log
Comment 11 retrooperdev 2021-08-22 11:06:36 UTC
I'm not sure what you mean by 'boot it happened in' or the 'last boot'? I will try launching a steam game, then run that command and then I will send you the output.
Comment 12 retrooperdev 2021-08-22 11:12:40 UTC
Created attachment 140939 [details]
Journal log

Here is the log file
Comment 13 Alex 2021-08-22 11:55:45 UTC
Thanks for the log.

Maybe this line is it:

Aug 22 11:29:01 NewLaptopDevice dbus-daemon[2877]: [session uid=1000 pid=2877] Activating service name='org.kde.LogoutPrompt' requested by ':1.32' (uid=1000 pid=3257 comm="/usr/bin/latte-dock ")

I'm not sure why latte-dock would be requesting a logout, I don't use it. But maybe I'm misunderstanding this line.
Comment 14 Nate Graham 2021-08-23 14:57:14 UTC
Well that's weird. Does the problem go away if you temporarily uninstall Latte Dock?
Comment 15 retrooperdev 2021-08-23 17:30:54 UTC
Seems like my distribution relies heavily on Latte-dock. I killed the latte-dock process and even tried configuring it to not automatically enable on system login. Lots of features aren't working anymore, for example managing windows through the GUI, and when I launched the steam game, I couldn't see it.
Comment 16 retrooperdev 2021-08-23 17:39:07 UTC
I don't think the steam game successfully launched, because usually that specific steam game would launch in fullscreen right away. And after I saw the game displayed as Currently running in Steam, I tried running the latte-dock process and I couldn't see any Steam game running. Weird. I spent so much time migrating to Garuda Linux, I might have to consider moving back, although I love how it looks so much (even latte-dock's features). Can anyone help? What is odd is others I know aren't experiencing this?
Comment 17 retrooperdev 2021-08-23 17:41:37 UTC
Update: It doesn't seem to crash for every steam game, Terraria which launched NOT In fullscreen seems to work? I'm not sure if its a fullscreen or not fullscreen issue. But what is odd is games like Minecraft (not through steam) run perfectly fine in fullscreen mode.
Comment 18 retrooperdev 2021-08-23 17:43:15 UTC
Huge update: I managed to confirm that its a steam fullscreen issue with latte-dock. As soon as I enabled the fullscreen setting in Terraria, it crashed the game!
Comment 19 Nate Graham 2021-08-23 17:44:47 UTC
If uninstalling Latte Dock blew up your system, then something is seriously misconfigured somewhere. Latte Dock should not be responsible for system actions like that. I would recommend talking to your distro about it.

FWIW you can install Latte Dock in any distro and configure it to your liking; you don't need to use a specific distro just because of its default visual style.
Comment 20 retrooperdev 2021-08-23 17:47:47 UTC
I didn't uninstall it, I just killed its process. It just hid many features, you know the app launcher menu operating systems like Windows have? Basically I had something like that and it dissapeared (meaning it was part of latte-dock), and when I pressed the Super key, some menu showing me all applications would pop up (that also dissapeared) so using the distro become pretty hard.
Comment 21 Nate Graham 2021-08-23 17:48:58 UTC
Nonetheless, my point remains. :)
Comment 22 retrooperdev 2021-08-23 17:58:36 UTC
Migrating is gonna take a while XD.
I'm just a bit sad, because it took like 3 days to fully migrate to this distro. Now I'm probably gonna be switching back.
Comment 23 Nate Graham 2021-08-23 18:06:11 UTC
You don't have to leave Garuda Linux if you're otherwise happy with it; I'm just saying you should ask them about this, because evidently they have an extensively customized Latte Dock config which appears to be causing this issue.
Comment 24 retrooperdev 2021-08-23 18:12:57 UTC
Ok. Thank you.