Hyprland: Unrecoverable freeze after clicking login on Thorium/ interacting with Steam
Hyprland Version
System/Version info
Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 (props: bump ver to 0.35.0).
Date: Mon Feb 5 01:59:02 2024
Tag: v0.35.0
flags: (if any)
System Information:
System name: Linux
Node name: mechrevo
Release: 6.7.6-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Thu, 29 Feb 2024 19:08:51 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT1 [UHD Graphics] [8086:46a3] (rev 0c) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28a0] (rev a1) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
Bug or Regression?
Bug
Description
When clicking sync data button on thorium browser everything freezes, no crash log as hyprland loops in some error, this is some parts I copied from stdout running hyprland inside xfce.
Note this has to be done after setting thorium into floating mode as o.w. I can’t even click the sync button as the window shakes a lot.
How to reproduce
Described above
Crash reports, logs, images, videos
[6524:6524:0302/190015.662044:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[6524:6524:0302/190016.089949:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[6524:6524:0302/190017.843953:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[6527:6535:0302/190031.589150:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190031.651857:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190033.645515:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190048.461478:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190053.139648:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190056.017290:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190056.074526:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190107.862282:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190116.677431:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190119.593279:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190139.013546:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190153.305101:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190155.400335:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190232.566210:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190232.634164:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190234.062521:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190234.123937:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190236.350822:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190236.429338:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
[6527:6535:0302/190316.931032:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -101
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 31 (10 by maintainers)
Commits related to this issue
- compositor: reject focus to noFocus OR xwayland windows fixes #4922 — committed to asterwyx/Hyprland by vaxerski 4 months ago
- compositor: reject focus to noFocus OR xwayland windows fixes #4922 — committed to lisuke/Hyprland by vaxerski 4 months ago
I’m also observing this issue with Steam, and it hangs Hyprland in a way that doesn’t appear to be recoverable. I have additionally noticed that as soon as the hang happens, my case fans ramp up significantly, so I can only assume there’s some kind of death loop being triggered (I’ve waited up to a minute or so and nothing seems to change or self-resolve). Running Steam with the
-cef-disable-gpuoption seems to help only slightly (reduce the likelihood of a hang). I do have the stayfocused Steam window rule mentioned above in my config.Things that seem to trigger it:
One other odd behavior I’ve observed only since this issue began is that on Steam startup, the main app window freaks out and rapidly “teleports” between my two displays before eventually settling down. The friends list also likes to spawn either in the wrong location or with 0 (or close to) width and height on occasion, but this is inconsistent. Usually I just don’t see it at all. I do have window rules to position the friends list, so they could be to blame, but I should mention that they were working as expected prior to this issue.
I checked the Steam for Linux issues and based on what’s been posted there recently, it does appear that this is a somewhat problematic release for them, and these aren’t isolated issues. I think the value of investigating from the Hypr side is that there’s an opportunity to increase overall stability if we can find a cause and resolution; ideally, one misbehaving app shouldn’t be able to bring down the entire compositor. As far as I know, there is no real way to control when or if Steam self-updates, so time probably isn’t on our side if we want to try and catch this happening with logging or instrumentation running.
I’m willing to do experimentation while collecting logs, but I’ll need some guidance on what specifically to do that won’t suffer destruction on a forced reboot due to /tmp being cleared. I don’t use a login manager at the moment, just manually run Hyprland at login, if that matters.
Also now experiencing this after a update a few days or so ago, with Steam even as a tiled window, and with these window rules which are unfortunately required to make Steam’s dropdowns somewhat usable. Simply hovering over the dropdowns at the top here can cause Hyprland to freeze and never recover;
Running Hyprland through SDDM, unable to get any logs as once frozen Hyprland doesn’t respond to any quit dispatch and I have to power off my computer with the button clearing /tmp. If there’s a way to set the log directory to a persistent location that I’m unaware of, let me know and I’ll try again to grab them.
I don’t care about the latter, stop using x11 launchers. 😃
I will ignore your post as it starts with “0.35” which is very old.
This issue freezes the GUI only. I reproduced this via Steam and my UI was stuck, however for example an audio stream from Youtube video continued to play.
To share the log, you need add this block to your
hyprland.conf:and then restart the Hyprland session:
$ Hyprland > ~/hyprland_session.logOutput: hypr.log
Will give it a shot tomorrow, just remembered I need to be up in 4 hours 😃 Thanks for all the help so far.
Guess we agree this is probably not Nvidia related as it’s reproduced both on AMD and Nvidia.
I just checked it out on hyprland-git v0.36.0-25-g7ce781e8, this issue persists.
I may reproduce this randomly with steam as well. Especially when I set
there’s a high chance to trigger with steam.