[WORKAROUND FOUND] Full System Crash (Cannot Alt+F3 to change tty)

Please help if you're able, I've been fighting this for months on other distros, and it was working on Bazzite until 20 min ago, so I don't know what happened ๐Ÿ˜ญ I believe it's a KDE bug, but since it was working until only 20 min ago, it has to be some configuration of some kind.
Solution:
Better workaround is to put KWIN_DRM_NO_DIRECT_SCANOUT=1 into /etc/environment and then reboot. There is a small hit to performance (I haven't noticed any hit, but KDE says there is), but the issue is now completely gone. I don't have to use gamescope and I can turn the steam overlay back on too
Jump to solution
224 Replies
termdisc
termdiscโ€ข3mo ago
try ctrl+alt+f3 for tty
Raevenant
RaevenantOPโ€ข3mo ago
oh oops. Typo. That's the thing that doesn't work
termdisc
termdiscโ€ข3mo ago
drat. I was hoping it would've been that simple
Raevenant
RaevenantOPโ€ข3mo ago
I'm going to try an os-tree reset to see if I can fix it, but I really don't know what I did other than install easyeffects would've loved that ๐Ÿ˜… though the bug would've still been present
Raevenant
RaevenantOPโ€ข3mo ago
This is what happens right before the crash too: https://imgur.com/a/5jTZrSv
Raevenant
RaevenantOPโ€ข3mo ago
the main screen fails to render anything that's happening, but OBS can see it just fine The bug occured right after I layered easyeffects, and I know that messes with pipewire stuff, so I'm wondering if it broke something in pipewire and now things are borked
termdisc
termdiscโ€ข3mo ago
it shouldn't break something in pipewire, but try to uninstall the package first before doing a full rpm-ostree reset rpm-ostree uninstall <package>
Raevenant
RaevenantOPโ€ข3mo ago
I did ๐Ÿ˜ญ easyeffects is gone, but the issue persists
termdisc
termdiscโ€ข3mo ago
already rebooted?
Raevenant
RaevenantOPโ€ข3mo ago
yeah I rebooted and rolled back to previous image technically but easyeffects wasn't layered anymore my hardware is a Framework 16 with dGPU, so I'm hoping that someone else with this hardware has a solution if it's just me, then I'm uber confused I'm gonna nuclear real quick after my meeting and try the reset dammit, nuclear option didn't fix anything I'm putting my two layers back lmao just tried X11 and it doesn't load at all. Blank screen, can't ctrl+alt+f3 to change tty. Had to power-button It seems to have 100% everything to do with my monitor. When I play the game on my laptop screen, everything works fine in fact, if I move Timberborn to my laptop screen first, and then quit. No crash occurs KDE completely borked lmao OK so, I tried using HDMI instead of DP-Alt Mode, and THE BUG IS GONE so it has something to do with the DP-Alt mode or DP itself. I don't have a USB to DP cable, but I'll grab one today and give it a go however, it does appear that using my USBC dock with an HDMI output also causes a similar bug, so I wonder if the dock is also DP-alt mode or smth @Kyle Gospo @matt_schwartz (effectively replying here, since it's better to keep the info centralized) I've narrowed it down to specifically the USB-C port on the dedicated GPU AMD 7700s. If I use the side ports that are connected to the Motherboard, this issue does not occur. I'm going to open a ticket with Framework and possibly AMD? Since it appears that it's specific to the GPU and / or the GPU drivers instead of just a display port bug
Raevenant
RaevenantOPโ€ข3mo ago
Framework Community
USB-C DisplayPort on GPU module is broken on Linux
I have tried both Nobara and Bazzite so far, and these are both based on Fedora. Bazzite is a community-supported OS. When using the USB-C connection on the back of the GPU to connect to an external monitor, running certain games (Timberborn is extremely consistent) on Steam with KDE Wayland causes a full system crash. I cannot ctrl+alt+f3 to c...
tulip
tulipโ€ข3mo ago
is this stuff still happenning? the first thing id do is just reboot and check what happened in the logs through journalctl -b -1 -e -k @Raevenant
Raevenant
RaevenantOPโ€ข3mo ago
indeed it is: https://bugs.kde.org/show_bug.cgi?id=492428 That's got the journalctl stuff, though I just did journalctl -b -1
tulip
tulipโ€ข3mo ago
wait is that your bug report? cool!
Raevenant
RaevenantOPโ€ข3mo ago
yep!
tulip
tulipโ€ข3mo ago
lemme check it out i wonder what is happening do you have the kernel dmesg logs? journalctl -b -1 -k
Raevenant
RaevenantOPโ€ข3mo ago
not from that crash, but I have them from the last crash (literally my previous boot lmao)
tulip
tulipโ€ข3mo ago
its just complaining that its a kernel bug on the logs :p
tulip
tulipโ€ข3mo ago
could you dump that?
Raevenant
RaevenantOPโ€ข3mo ago
there ya go
tulip
tulipโ€ข3mo ago
kinda funny how consistent that is
Raevenant
RaevenantOPโ€ข3mo ago
yeah its insane literally Turn on Timberborn, turn off timberborn, crash
tulip
tulipโ€ข3mo ago
but like does that only happen on kde?
Raevenant
RaevenantOPโ€ข3mo ago
dunno, haven't tried gnome I can layer that on if you want me to test it
tulip
tulipโ€ข3mo ago
i think that would be the best first-step to check out what the hell is happening like Xwayland coredumps kwin gets mad and your system crashes thats so weird what image are you on?
Raevenant
RaevenantOPโ€ข3mo ago
looks like there's already a bug report for that speicific part of the issue
tulip
tulipโ€ข3mo ago
(tag in this case)
Raevenant
RaevenantOPโ€ข3mo ago
The problem here is on the kernel driver side, mostly. When a GPU reset happens, Xwayland goes down, and KWin has some blocking calls to Xwayland, so it can hang. Getting rid of those blocking calls is something we can hopefully do at some point, see bug 442846 for that, but the GPU resets should be fixed as well, or the game will still crash. You can report that at https://gitlab.freedesktop.org/mesa/mesa/-/issues
GitLab
Issues ยท Mesa / mesa ยท GitLab
Mesa 3D graphics library
Raevenant
RaevenantOPโ€ข3mo ago
this was commented on my bug report like 10 min ago
tulip
tulipโ€ข3mo ago
oh LOL lemme see i wonder if it is xwayland + kwin being weird?
tulip
tulipโ€ข3mo ago
do you have gamescope on ur system? maybe running the game through gamescope might weild some other results
Raevenant
RaevenantOPโ€ข3mo ago
yeah, seems like basically, the kernel shits itself, makes the GPU reset, killing xwayland. For whatever reason KWin hangs up when that happens I can try that, is that a flatpak or a ujust or smth?
tulip
tulipโ€ข3mo ago
maybe you already have it on ur system
Raevenant
RaevenantOPโ€ข3mo ago
also, remind me how to get the tag? oh yep, it came instaleld
tulip
tulipโ€ข3mo ago
try opening a terminal and typing gamescope --help sweeet rpm-ostree status -v should return a ton of stuff about ur image
Raevenant
RaevenantOPโ€ข3mo ago
so the proglem is. It's not happening right now for some stupid reason lmao so I can't test anything ๐Ÿ˜… it happend 30/30 tries all day, and suddenly it's not happening
tulip
tulipโ€ข3mo ago
jesus christ this is the worst kind of bug ever
Raevenant
RaevenantOPโ€ข3mo ago
oh I know lmao let me re-cable things to get the exact setup I had just a sec
tulip
tulipโ€ข3mo ago
wait do you have a broadcom wifi chip? weird the kernel dump is super goofy
Raevenant
RaevenantOPโ€ข3mo ago
couldn't tell ya well actually I can, lemme look it up
tulip
tulipโ€ข3mo ago
Xwayland goes down, and KWin has some blocking calls to Xwayland, so it can hang.
bro.... try going into the game options and adding "gamescope" into the launch options
Raevenant
RaevenantOPโ€ข3mo ago
looks like it's not
No description
Kyle Gospo
Kyle Gospoโ€ข3mo ago
Framework uses mediatek and Intel The latter is the better one
tulip
tulipโ€ข3mo ago
oh!
Raevenant
RaevenantOPโ€ข3mo ago
I don't think I had an option when I put thogether the 16, so idk which one I've got XD
Kyle Gospo
Kyle Gospoโ€ข3mo ago
More than likely it's mediatek
tulip
tulipโ€ข3mo ago
apparently it is mediatek on the photo LOL
Kyle Gospo
Kyle Gospoโ€ข3mo ago
Yup
Raevenant
RaevenantOPโ€ข3mo ago
wait why, is that possibly relavent, or just interested?
tulip
tulipโ€ข3mo ago
idk the "wl" driver just showed up on the kernel dump
Raevenant
RaevenantOPโ€ข3mo ago
yeah, but you can buy a bunch of replacements on their website, so idk which one came default XD imagine this whole time, my graphics card issues are because of the internet lmao so right now though, I'm jacked in with ethernet, so the card isn't active well, assuming that's even how that works It's Ethernet-USBC Anker dock ok, we're back to the original buggy setup. USB-C DP Alt mode -> USB-C Input on 1st monitor -> DP Daisy Chain to second monitor
tulip
tulipโ€ข3mo ago
honestly like, i dont have any idea like why the hell your gpu driver segfaults when the gpu resets, but like, maybe using gamescope will be a patchwork solution for that for now
Xwayland goes down, and KWin has some blocking calls to Xwayland, so it can hang. Getting rid of those blocking calls is somet[...]
if you are running xwayland while not on kwin itll not bring everything down :p
Raevenant
RaevenantOPโ€ข3mo ago
but of course, it's still not bugging out, so we're out of luck for continuing to debug unfortunately oh yeah, gamescope is a different compositor, yeah?
tulip
tulipโ€ข3mo ago
yup!
Raevenant
RaevenantOPโ€ข3mo ago
oooooooooh, smart! I'll give that a go next time this happens and let you know. Good if I ping you about it?
tulip
tulipโ€ข3mo ago
if you just run gamescope nested itll kill gamescope but not kwin i think LOL yup its fine! just make sure to add the... the.... the thing gamescope on the game launch options
Raevenant
RaevenantOPโ€ข3mo ago
yuppers! any particular args, or just the usual -w -W -h -H etc?
tulip
tulipโ€ข3mo ago
nah! honestly maybe that wont work but lets see
Raevenant
RaevenantOPโ€ข3mo ago
Thanks a bunch! Having someone take a look is honestly a huge relief ๐Ÿ˜… I've been having this issue for months, ever since KWin 6.1.2 came out
tulip
tulipโ€ข3mo ago
jeeez thats the worst
Raevenant
RaevenantOPโ€ข3mo ago
I think it's somehow a kwin specific bug, since on Nobara, if I downgraded to KWin 6.1.1, the bugs went away
tulip
tulipโ€ข3mo ago
like it can be so many weird things oooooh you couldve done a bisect to figure that out
Raevenant
RaevenantOPโ€ข3mo ago
idk what a bisect is well, I know what one is in general but not in this case like, not in the context of packages
tulip
tulipโ€ข3mo ago
literally the general thing just like testing 6.1.X breaks or not and then narrowing down till we get a commit that makes everything break
Raevenant
RaevenantOPโ€ข3mo ago
OH that's exactly what I did more or less ๐Ÿ˜„
tulip
tulipโ€ข3mo ago
(probably some regression or someything)
Raevenant
RaevenantOPโ€ข3mo ago
downgraded plasma-workspace, kwin, and plasma-desktop, then suddenly wondered to myself if it was all or just one of those
tulip
tulipโ€ข3mo ago
oh LOL
Raevenant
RaevenantOPโ€ข3mo ago
upgraded them one by one, until eventually kwin broke it
tulip
tulipโ€ข3mo ago
ye!!!! i wonder what regression made it break
Raevenant
RaevenantOPโ€ข3mo ago
beats me XD
tulip
tulipโ€ข3mo ago
like whats the last-known good release? 6.1.1?
Raevenant
RaevenantOPโ€ข3mo ago
6.1.1 for sure well, idk I wasn't able to upgrade to 6.1.2 I skipped that one lmao
tulip
tulipโ€ข3mo ago
oh LOL shouldve tested that out!
Raevenant
RaevenantOPโ€ข3mo ago
but 6.1.3 definately breaks it on accident XD
tulip
tulipโ€ข3mo ago
so
Raevenant
RaevenantOPโ€ข3mo ago
I had waited a bit to upgrade and it just skipped a package lmao, then when on 6.1.3, doing a dnf downgrade dropped down to 6.1.1, so idk
tulip
tulipโ€ข3mo ago
one of these releases broke it
No description
Raevenant
RaevenantOPโ€ข3mo ago
also could've been all the way up at 6.1.3, but yeah
tulip
tulipโ€ข3mo ago
since the releases arent thaaaaat far apart it shouldnt be impossible to figure out LOL but like honestly maybe you should test out GNOME if that happens again just to see if its actually kwin crapping out
Raevenant
RaevenantOPโ€ข3mo ago
yeah XD I'll try gamescope first, then gnome
tulip
tulipโ€ข3mo ago
yup!!!
Raevenant
RaevenantOPโ€ข3mo ago
oh here's a question actually. So the original reason I switched to kde (apart from not liking Gnome's style in general) was because in X11, there was a very slight additional input lag that Gnome had over KDE. Is that still the case on wayland? on KDE you could turn of compositing entirely, so I had added that to the gamescope arguments
tulip
tulipโ€ข3mo ago
i havent used X11 enough to have any idea what to tell ya :( x11 was always kinda laggy on my machine for some reason probably the latest GNOME is gonna be fine with that
Raevenant
RaevenantOPโ€ข3mo ago
X11 straight up won't boot on mine XD
tulip
tulipโ€ข3mo ago
but like im interested in something like how long have you been using linux? you seem quite ingrained in the ecossystem honestly
Raevenant
RaevenantOPโ€ข3mo ago
also, what this means is that clearly you're the better IT professional. My PC recognized your power over Discord and started working when you looked at it like 6 years haha
tulip
tulipโ€ข3mo ago
LOL gotta love these schrodinger's bugs nice! i havent been for quite as long but its pretty cool to see that! did you like bazzite?
Raevenant
RaevenantOPโ€ข3mo ago
I followed the entire journey from
what is this linux thing? Seems neat
oh, the terminal is actually pretty awesome tbh
ubuntu -> mint -> ubuntu -> manjaro -> arch
holy crap its fun to use i3 and just make my own DE that's all my own
... uhh. Actually I kina just want a system that freaking works when I need it to
Fedora -> Nobara -> Bazzite
so far so good! I actually installed Bazzite last night XD Took like 4 hours to migrate my Nobara installation over pretty cleanly, (including the bugs unfortunately lmao, I was trying to run from them)
tulip
tulipโ€ข3mo ago
im still on the i3 phase LOL
Raevenant
RaevenantOPโ€ข3mo ago
but I've got my dev environments in distroboxes, I've got 1Password working with fingerprint and SSH hey, when it works, it works!
tulip
tulipโ€ข3mo ago
im in a super weird setup but gotta love those im sure ur gonna like bazzite
Raevenant
RaevenantOPโ€ข3mo ago
and lets be honest, when shit hits the fan, it's the i3 vim-ninjas that usually know what's happening XD
tulip
tulipโ€ข3mo ago
its pretty nice having a simple setup because you really really can know what the hell is happening at all times
Raevenant
RaevenantOPโ€ข3mo ago
oh for sure. I had a setup that was pretty slick, and I even learned to use XMonad, which was a trip but eventually, I just went to an "all defaults only" kind of solution hahaha change as little as possible on my system so that it's easier to know whats going on when something breaks
tulip
tulipโ€ข3mo ago
oh ofc! makes sense honestly
Raevenant
RaevenantOPโ€ข3mo ago
btw, did you happen to see this video at the top? This is what I've been dealing with XD
tulip
tulipโ€ข3mo ago
oh! didnt see it lemme see what the hell its like working on the other monitor...? wha.... thats so weird what
Raevenant
RaevenantOPโ€ข3mo ago
oh it's not even that I tried to do a screen recording so that I could add it to the bug report so I captured the screen (not the game) and instead of recording what was happening, it recorded waht should have been happening but only the mouse was rendering properly on the screen I was trying to play on
tulip
tulipโ€ข3mo ago
oh that narrows it down a bit it just must be a kwin bug
Raevenant
RaevenantOPโ€ข3mo ago
so it's like, something weird where the actual visual data is still occuring, and whatever graphics pipeline OBS taps into to record is still sending it, but the monitor doesn't receive it properly
tulip
tulipโ€ข3mo ago
yeah its so so so so weird
Raevenant
RaevenantOPโ€ข3mo ago
I really hope so
tulip
tulipโ€ข3mo ago
the GPU driver works fine! even the other screen works fine unless you are using a capture card or something?
Raevenant
RaevenantOPโ€ข3mo ago
nope, no capture card! It's just OBS and yeah, the laptop monitor works fine too
tulip
tulipโ€ข3mo ago
kwin is exploding trying to send the commits to the other monitor
Raevenant
RaevenantOPโ€ข3mo ago
ALSO also, the bug doesn't happen if I use my HDMI port on the side of the laptop, just the DP Alt-mode USBC cable on the back of my GPU the HDMI port on the side is still technically USBC though, meaning it's still DP alt-mode, it's just connected to the motherboard instead of the GPU soooo yeah ๐Ÿ˜‚ a real fun bug, that's for sure I gtg grab dinner, but thank you, thank you!! It's an insane relief having someone take as much time as you have to help me out ๐Ÿ™
tulip
tulipโ€ข3mo ago
what a mess LOL ill be here for a while! most likely asynchronously but ill be here
Raevenant
RaevenantOPโ€ข3mo ago
HOLY SHIT IT WORKS
tulip
tulipโ€ข3mo ago
no fucking way LOL NO WAY
Raevenant
RaevenantOPโ€ข3mo ago
No description
tulip
tulipโ€ข3mo ago
ooooooooh i dont remember how to fix that
Raevenant
RaevenantOPโ€ข3mo ago
looks like powering through does work, but I'd still love to not have it do that XD
tulip
tulipโ€ข3mo ago
i remember running into that at some point oh yeah LOL but like is the game working fine? like not breaking your entire pc
Raevenant
RaevenantOPโ€ข3mo ago
it does! (well, in the 20 seconds I tried it), and nope, quitting worked just fine, so it's still working ๐Ÿ˜„ yep, no bricks here
tulip
tulipโ€ข3mo ago
at the very least thats better LOL
Raevenant
RaevenantOPโ€ข3mo ago
gamescope -H 1080 -f --force-grab-cursor oh yeah so much better hey, do you know how to make the mouse speed not change inside gamescope? It's slower inside gamescope for some reason
tulip
tulipโ€ข3mo ago
you probably dont need the --force-grab-cursor thing
Raevenant
RaevenantOPโ€ข3mo ago
unfortunately, I do ๐Ÿ˜ญ when playing GW2, the mouse escapes the game
tulip
tulipโ€ข3mo ago
i havent ever changed mouse speed on gamescope tho oh weird?
Raevenant
RaevenantOPโ€ข3mo ago
yeah
tulip
tulipโ€ข3mo ago
wait are you running gamescope nested or the gamescope session?
Raevenant
RaevenantOPโ€ข3mo ago
uhhhhhhhh idk MANGOHUD=1 DRI_PRIME=1 DXVK_ASYNC=1 gamescope -H 1080 -f -- gamemoderun %command% -provider Portal
tulip
tulipโ€ข3mo ago
when ur running the game, are- oh ur nested thats good yea its fine also bazzite has the BORE scheduler, you dont need the gamemoderun thing anymore
Raevenant
RaevenantOPโ€ข3mo ago
oh sick ๐Ÿ˜„ I'll still use it tho, since I actually use gamemoderun to modify my fan profiles in-game XD
tulip
tulipโ€ข3mo ago
and from what i know to use mangohud on gamescope you gotta use the --mangoapp flag now?? idk whats the proper thing tho
Raevenant
RaevenantOPโ€ข3mo ago
oh TRUE I forgot about that. Lemme do that
tulip
tulipโ€ข3mo ago
wait you have a nvidia gpu?
Raevenant
RaevenantOPโ€ข3mo ago
but yeah weird enough, when I add the --force-grab-cursor thing, the mouse slows down by maybe 10-15% no? which flag do I apparetnly not need XD
tulip
tulipโ€ข3mo ago
you dont need DRI_PRIME i think
Raevenant
RaevenantOPโ€ข3mo ago
oh, probly not, that's left over from Nobara. It's an AMD thing too
Kyle Gospo
Kyle Gospoโ€ข3mo ago
don't need dri_prime dxvk_async is dead gamemoderun is detremental to performance on modern CPUs
tulip
tulipโ€ข3mo ago
LOL gotta love the completely deprecated command then
Raevenant
RaevenantOPโ€ข3mo ago
yeah serious
tulip
tulipโ€ข3mo ago
gamescope --mangoapp -W 1920 -H 1080 -w 1920 -h 1080 -f --force-grab-cursor -- %command% -provider Portal :P you need the -w / -h flags to force the game to actually use the proper resolution many games ive tested get super fuzzy? idk, weird somehow when running without those flags
Raevenant
RaevenantOPโ€ข3mo ago
according to the documentation, -w/-h should default to whatever -H/-W are, and if you don't specify -W, it assumes 16:9. But honestly the number of times their documentations been wrong ๐Ÿ˜…
tulip
tulipโ€ข3mo ago
its just that ive seen some of my games looking kinda weird without those probably isnt necessary but i usually put those
Raevenant
RaevenantOPโ€ข3mo ago
certainly shouldn't hurt looks like gamescope's got a -s flag that can manually modify the mouse speed, so I'll probly just add that when necessary
tulip
tulipโ€ข3mo ago
oh! nice!
Raevenant
RaevenantOPโ€ข3mo ago
now I just gota figure out exactly how much slower it is ๐Ÿ˜… OH I think --force-grab-cursor just fails to apply modifications made by the OS. In this case, I chose 40% faster on KDE, so I bet 1.4 works on gamescope
tulip
tulipโ€ข3mo ago
oh yeah!!! idk like it works fine on mine? idk why it doenst grab yours
Raevenant
RaevenantOPโ€ข3mo ago
yeah beats me but like first-person games, the mouse just flies off the window and stops working shrug still better than the linux equivilant of BSOD yeah 1.4 is perfect so I was using gamemoderun to activate/deactivate my fan profiles while in-game. Is there an alternative?
tulip
tulipโ€ข3mo ago
how did it do that tho? afaik gamemoderun doesnt have a gui right?
Raevenant
RaevenantOPโ€ข3mo ago
if you modify the ~/.config/gameode.ini file, theres a custom commands section at the bottom where you can just run whatever you want to trigger before and after gameplay
tulip
tulipโ€ข3mo ago
cool!!! what are the commands tho you could probably just put like cooler_thing && gamescope
Raevenant
RaevenantOPโ€ข3mo ago
oh, I have a framework laptop, so in my case fw-fanctrl set medium yeah, that could work honestly
tulip
tulipโ€ข3mo ago
but like there must be a way to set that through kde window rules like getting any gamescope window and setting fw-fanctrl to whatever right? idk how window rules work LOL sorry or like a kwin script maybe?
Raevenant
RaevenantOPโ€ข3mo ago
oh beats me, maybe? I haven't touched kwin since the bugs started, since I assumed I borked it by changing something haha
tulip
tulipโ€ข3mo ago
oh you know what you can do you can put a script in /usr/local/bin that does the window control for you automatically
#!/usr/bin/env bash
reset_fan() {
fw-fanctrl set lazy
}
trap reset_fan EXIT
fw-fanctrl set medium
$@
#!/usr/bin/env bash
reset_fan() {
fw-fanctrl set lazy
}
trap reset_fan EXIT
fw-fanctrl set medium
$@
put that on /usr/local/bin/fan-control-script then use fan-control-script gamescope --mangoapp -W 1920 -H 1080 -w 1920 -h 1080 -f --force-grab-cursor -- %command% -provider Portal as the command
Raevenant
RaevenantOPโ€ข3mo ago
lmao, this was because I was running mangohud in the unsupported way. Using --mangoapp instead fixed it
tulip
tulipโ€ข3mo ago
you could even make it a bit more general actually
Raevenant
RaevenantOPโ€ข3mo ago
yeah, just remove the gamescope bit, then I can spin my fans up with the script whenever I want
tulip
tulipโ€ข3mo ago
sweet! there you go
Raevenant
RaevenantOPโ€ข3mo ago
I assume I could putt fw-fanctrl set lazy after the $@ to put them back after, ye?
tulip
tulipโ€ข3mo ago
the reset_fan thing already takes care of that for you
Raevenant
RaevenantOPโ€ข3mo ago
oh, what's trap do?
tulip
tulipโ€ข3mo ago
whenever the script exits itll run reset_fan
Raevenant
RaevenantOPโ€ข3mo ago
woah new bash-magic, I love it
tulip
tulipโ€ข3mo ago
trap is for running something whenver a signal is called for bash LOL
Raevenant
RaevenantOPโ€ข3mo ago
oh, so it'll run regardless of a successful run?
tulip
tulipโ€ข3mo ago
if something goes wrong delete the entire root there you go LOL yup!
Raevenant
RaevenantOPโ€ข3mo ago
this is the way
tulip
tulipโ€ข3mo ago
censoring that command so that no one will run that
tulip
tulipโ€ข3mo ago
not exactly the best solution but it kinda works right
Raevenant
RaevenantOPโ€ข3mo ago
well yeah
tulip
tulipโ€ข3mo ago
probably they will fix this regression eventually on kwin
Raevenant
RaevenantOPโ€ข3mo ago
it's a workaround, since the real solution is basically a KDE bug
tulip
tulipโ€ข3mo ago
yup!
Raevenant
RaevenantOPโ€ข3mo ago
thanks so much, that's such a clean workaround too, just stick gamescope --mangoapp -H 1080 -f --force-grab-cursor -s 1.4 -- in front of literally all my games and I'll never have an issue ๐Ÿ˜‚
tulip
tulipโ€ข3mo ago
honestly like
Raevenant
RaevenantOPโ€ข3mo ago
well, knock on wood, I shouldn't have said that out loud lmao
tulip
tulipโ€ข3mo ago
in my system i dont even let steam be on the root xwayland instance check this out
โฏ cat (which xsteam | get path.0)
#!/bin/sh
gamescope -W 1920 -H 1080 -w 1920 -h 1080 -f -e flatpak run com.valvesoftware.Steam
โฏ cat (which xsteam | get path.0)
#!/bin/sh
gamescope -W 1920 -H 1080 -w 1920 -h 1080 -f -e flatpak run com.valvesoftware.Steam
Raevenant
RaevenantOPโ€ข3mo ago
oh nice, you gamescope steam as a whole?
tulip
tulipโ€ข3mo ago
yup! it just works better in general on the environment im on you can just patch the steam desktop file if you wanna do that try running steam like that and see if it is better for you somehow (just make sure to remove gamescope from the games' arguments)
Raevenant
RaevenantOPโ€ข3mo ago
-e is designed for running steam in gamescope, right?
tulip
tulipโ€ข3mo ago
yup! without that it breaks gamescope LOL
Raevenant
RaevenantOPโ€ข3mo ago
perf, I'll give that a go, thanks ๐Ÿ˜„
tulip
tulipโ€ข3mo ago
fan-control-script gamescope -W 1920 -H 1080 -w 1920 -h 1080 -f -e steam would be your command
Raevenant
RaevenantOPโ€ข3mo ago
well, I'll give it a go when I'm feeling adventurous again ๐Ÿ˜… I need to take a break after all this lmao
tulip
tulipโ€ข3mo ago
fair!! i hope it works fine just make sure to ping me whenever you wanna mess around with that :p
Raevenant
RaevenantOPโ€ข3mo ago
thanks a bunch again! ๐Ÿ˜„ Absolute legend I will!
tulip
tulipโ€ข3mo ago
have fun!!!
Raevenant
RaevenantOPโ€ข3mo ago
I sent a FR so I can remember ๐Ÿ˜‚
tulip
tulipโ€ข3mo ago
accepted it
Raevenant
RaevenantOPโ€ข3mo ago
also, it seems like the not-grabbing-mouse thing is a known issue. Apparently new versions of proton changed some mouse protocols and gamescope hasn't caught up yet
tulip
tulipโ€ข3mo ago
oh! so its gonna get fixed eventually, sweet! whats ur gamescope version? gamescope --version
Raevenant
RaevenantOPโ€ข3mo ago
[gamescope] [Info] console: gamescope version 3.15.5+
tulip
tulipโ€ข3mo ago
not the best idea but you could try downgrading your version till it gets fixed on the newer ones
Raevenant
RaevenantOPโ€ข3mo ago
not sure I can tbh, gamescope came with Bazzite, so Ithink it's layered in
tulip
tulipโ€ข3mo ago
the --force-grab thing fixes it soooo..... you can just download a gamescope version and put it in /usr/local/bin
Raevenant
RaevenantOPโ€ข3mo ago
oh tru that's more trouble than it's worth I think ๐Ÿ˜‚
tulip
tulipโ€ข3mo ago
idk if there are precompiled static binaries tho :p ye LOL probably!
Raevenant
RaevenantOPโ€ข3mo ago
I too am very prone to just trying random shit tho ๐Ÿ˜‚
tulip
tulipโ€ข3mo ago
from what im seeing you would need to compile the thing from source (too much hassle for nothing)
Raevenant
RaevenantOPโ€ข3mo ago
oof, yeah definately not worth lol I avoid compile from source at almost any cost hahaha
tulip
tulipโ€ข3mo ago
honestly when you have a good build system its super easy
Raevenant
RaevenantOPโ€ข3mo ago
oh fair
tulip
tulipโ€ข3mo ago
gentoo makes it super easy to do that for example
Raevenant
RaevenantOPโ€ข3mo ago
honestly too, with distrobox, I betchu it's super clean to do that too since the main reason I avoid it is to not have leftover build libraries
tulip
tulipโ€ข3mo ago
oh! so probably distrobox would be super sweet for you then! LOL compile, get your binary, then throw the box in the trash. there you go! super sweet isnt it
Raevenant
RaevenantOPโ€ข3mo ago
oh yeah, it's nutty cool
CyberZombySquid
CyberZombySquidโ€ข3mo ago
This was a rollercoaster. I think I am experiencing the same issue as you The display is going black and the system hangs for a bit but then the whole desktop will do a hard restart. Just tried the workaround though and it is still crashing
tulip
tulipโ€ข3mo ago
do you have any logs? journalctl -b -1 -e and journalctl -b -1 -e -k maybe its being caused by some other thing if it is a graphics driver issue at the absolute worst case you can just install flatpak steam and test if your thing still crashes
CyberZombySquid
CyberZombySquidโ€ข3mo ago
I will definitely try this the journalctl logs I have posted in the GitHub issue for this on bazzites repo But when I get back to my desktop Iโ€™ll send them here too for continuity
tulip
tulipโ€ข3mo ago
oh! ill check out the issues
Raevenant
RaevenantOPโ€ข3mo ago
might be a good idea to open a new thread then if it's a different issue just to keep this one clear and single-issue if possible
CyberZombySquid
CyberZombySquidโ€ข3mo ago
Alright will do! Sorry about that as I was thinking that this was the same initially
Raevenant
RaevenantOPโ€ข3mo ago
no worries at all! ๐Ÿ˜„ If it turns out to be a variation of this one, for sure it's the right place for it are you JustAChucklin on Github?
CyberZombySquid
CyberZombySquidโ€ข3mo ago
Yep Yep
Raevenant
RaevenantOPโ€ข3mo ago
perf
CyberZombySquid
CyberZombySquidโ€ข3mo ago
I created another discussion to be safe if this is intruding on this topic https://discordapp.com/channels/1072614816579063828/1285021394047860757
Raevenant
RaevenantOPโ€ข2mo ago
LMAO DUDE @tulip turning off the steam overlay also fixes it without gamescope ๐Ÿ˜‚ it's a steam bug! well, steam+wayland I guess
tulip
tulipโ€ข2mo ago
oh amazing LOL honestly the steam overlay is so buggy god damnnnnnnnnn
Raevenant
RaevenantOPโ€ข2mo ago
honestly though, idk if it even matters XD turning off steam overlay and using gamescope (which has a broken steam overlay) are literally the same thingg at t his point https://bugs.kde.org/show_bug.cgi?id=492830
Raevenant
RaevenantOPโ€ข2mo ago
GitLab
Atomic Commit Failed when Gaming (#2075) ยท Issues ยท drm / amd ยท Git...
Brief summary of the problem: When playing games on KDE Wayland the game would freeze but not crashed.. so it like...
Raevenant
RaevenantOPโ€ข2mo ago
just for bug references ๐Ÿ‘†
Solution
Raevenant
Raevenantโ€ข2mo ago
Better workaround is to put KWIN_DRM_NO_DIRECT_SCANOUT=1 into /etc/environment and then reboot. There is a small hit to performance (I haven't noticed any hit, but KDE says there is), but the issue is now completely gone. I don't have to use gamescope and I can turn the steam overlay back on too
tulip
tulipโ€ข2mo ago
god damn! very nice! i never knew this was even a thing very good to know!!!
Want results from more Discord servers?
Add your server