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
Opening steam with running google chrome randomly hang/crash whole system #9793
Comments
Hello @Pharmasolin, in general, no OpenGL application including Steam should be capable of taking down the whole system and symptoms like this usually hint towards a video driver issue. It might be worthwhile to also mention this issue to your video driver vendor. |
@kisak-valve I'm afraid that's the issue with the gnome/mutter version on LTS Ubuntu. Because the desktop hangs I can't do anything but music from Spotify is playing. And there was a bug with chromium apps in gnome. Please let this issue be open for a while, maybe someone will add more context. |
This is the output from
|
ChatGPT: The line GpuWatchdog[72412]: segfault at 0 ip 00007fd3f5d929a6 sp 00007fd3ea9fd370 error 6 in libcef.so[7fd3f18ef000+7770000] indicates that there was a segmentation fault (segfault) within the libcef.so library. This library is part of the Chromium Embedded Framework (CEF), which is used by many applications to embed web content. In this case, the log mentions "GpuWatchdog", which is a process that watches for GPU (Graphics Processing Unit) tasks that are taking too long. If it detects a long-running GPU task, it terminates it to prevent the entire system from becoming unresponsive. The segfault means that the GpuWatchdog process tried to access memory that it wasn't allowed to, which is often a sign of a software bug. It could be a bug in the GPU drivers, in the Chromium Embedded Framework, or in the way the application is using them. If you're seeing this error repeatedly, it might be worth trying a few things: Updating your system: Make sure your system is fully updated. This includes the operating system, the application, and any drivers. If it's a known bug, there's a chance it's been fixed in a newer version. Switching to a different GPU driver: If you're using proprietary GPU drivers, you could try switching to the open-source ones, or vice versa. Disabling hardware acceleration: Some applications offer an option to disable hardware acceleration, which can sometimes work around issues like this. Reporting the bug: If none of the above helps, consider reporting the bug to the developers of the application or the GPU driver. Make sure to provide them with as much information as possible, including the full error message and the circumstances under which it occurs. |
I'm actually having the same issue here. Running Ubuntu 23.04 with a thunderbolt 3 eGPU enclosure with a Radeon Vega 64. Running Chrome using "integrated graphics" with steam running seem to cause the random crash + lockup as described. However, it seems like by running Chrome using the "dedicated gpu" (DRI PRIME offloading) seems to not result in the random crash, at least for the limited time I'm doing it. (There is a bug that causes Steam to crash loop if it is run using PRIME) |
same issue here, Ryzen 5900X + Radeon 6900XT, Debian 12.1, GNOME 43.6, running Chrome + Steam in background and other apps, I suddenly get a hard freeze of the desktop, keyboard becomes unresponsive and mouse lights go off, no way of switching to a terminal or doing anything except keeping power button pressed to shut down. Tried all suggested option in the BIOS for hard freezes involving AMD processors, but keeps happening every week: root@localhost:~# tac /var/log/syslog | grep "libcef" |
@calindan2013 fyi, disabling hardware acceleration in steam settings fixes this issue. |
yes that worked thanks. still, this situation should not be allowed to degenerate into a complete system freeze by the kernel and/or its video hardware modules. |
I don't know how to report this bug up in a chain and whose bug it is. CEF, mesa (radeonsi(?)), or gnome (mutter?) |
After 3 days of headache and lots of googling, trying to figure out why does this happen to me on Debian 12.1 while Steam Flatpak is downloading games, I've come to the conclusion that this is caused by yet another rare bug in Chromium (which is unfortunately full of those). Either that, or the way the specific app utilizes Chromium (For those who don't know, Steam client embeds Chromium for webpages and web uis). I mean I've seen people had this exact same GpuWatchdog segfault with electron and other Chromium apps as well and in those cases it also caused a full gui freeze. This also seem to happen on any gpu vendor / driver on Linux, both open source and proprietary and on any DE, with both X and Wayland. So the solution to this is either Chromium devs should fix this, or maybe Steam can have some workaround to prevent this issue. Since I didn't experience this before the big Steam ui update, I think it might have something to do with the fact that the Steam client now makes heavier use of web uis. |
@kisak-valve But they can. See my comment above. The root cause of the issue is most likely a Chromium bug. The fact that it takes the whole gui down is a flaw in the Linux gui stack (this is one of the few areas where Windows is ahead of Linux, because just like this issue, incorrect graphics api usage on Windows also doesn't take the Windows gui down ((unless it's a bug in the kernel driver))). |
I've been having this issue since the new UI also (Ubuntu 23.04, on Intel integrated graphics). I'm using Wayland, so there's a wrinkle: this doesn't take down the whole system UI, just X programs. This means that the problem is recoverable: killing Xwayland (it has to be a My main workaround has been to have the actual Steam UI open less. The hang will happen quite often if Steam is just sitting in the background all the time, but more or less will never happen if Steam's actual windows are closed and it's just a notification icon. But the risk remains that the moment you do go to briefly interact with it will cause the hang. |
The same crash occasionally happens here. There's no desktop hang, though. (Linux 6.5.9, Mesa 23.2.1, RX 6600 XT; Devuan daedalus.) |
I am having the same issue, I am unsure if its from steam, discord, spotify, or any number of other apps that might use chromium. hardware: amd 5950x, radeon 6900XT, example log:
Willing to do any debugging or grabbing of logs if it helps someone. |
This affects more than just Steam. Users of the Electron framework could help by working together. https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.2/+bug/2045951 |
Your system information
Please describe your issue in as much detail as possible:
I noticed that from time to time when I have opened google chrome and I open steam in few moments I will see popup that steam/google chrome is not responding, and if I will kill any of the crashed apps - whole system will hang and crash. I will need to power off and power on my laptop.
Steps for reproducing this issue:
--
I will re-generate logs again after my OS will crash again and I will reboot PC, may be those logs will be more helpful.
https://gist.github.com/Pharmasolin/43290fc327cf54b7b64a04c19dff8c52
The text was updated successfully, but these errors were encountered: