Skip to content
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

Plugging in monitor can freeze sway or can lose all windows & waybar #6563

Open
Jamedjo opened this issue Sep 29, 2021 · 2 comments
Open

Plugging in monitor can freeze sway or can lose all windows & waybar #6563

Jamedjo opened this issue Sep 29, 2021 · 2 comments
Labels
bug Not working as intended

Comments

@Jamedjo
Copy link
Contributor

Jamedjo commented Sep 29, 2021

Description

This occurs intermittently when I plug in my external monitor.

Sometimes all windows are closed including firefox and waybar, other times the whole laptop freezes, and other times I think I recall sway crashing back to the login manager. It doesn't happen every time, and I don't yet have a minimal reproduction.

I have WLR_DRM_NO_MODIFIERS=1 enabled, possibly from the suggestion in swaywm/wlroots#1877. It is a multi-gpu setup with intel active and nvidia deactivated.

Configuration & Version

  • Sway Version: sway version 1.6-adb21e2a (Sep 24 2021, branch 'jej/fix-firefox-copy-paste')

My sway branch includes a revert of #5788 and I have recently picked #6479, but the issue has occurred for longer then that. The master commit is b7b9639 from Sep 21st.

I also have a few more controversial wlroots commits, so if they sound relevant then feel free to close this. These are:

cd12aa60 Revert "backend/session: use drmIsKMS"
                 Removes dependency on libdrm version not yet available on Ubuntu 20.04
38134453 Revert "gtk-primary-selection: drop support"
                 Allows copy and paste from Firefox URL bar
599d32af Revert "seat: use WL_SEAT_ERROR_CAPABILITY"
                 Sets wayland-server dependency to 1.18 for Ubuntu 20.04 compatability
270d1511 Revert "render/egl: check "EGL_KHR_platform_gbm" for EGL gbm platform"
                 Ubuntu compatability due to Mesa version, see: https://github.com/swaywm/wlroots/pull/2832

I've been hesitant to open this issue because of these differences from master, but need these for sway to run on Ubuntu 20.04 LTS.

Proprietary graphics drivers, including nvidia, are not supported. Please use the open source equivalents, such as nouveau, if you would like to use Sway.

I have nvidia graphics disabled:

lspci -vnnn | grep VGA          
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
@Jamedjo Jamedjo added the bug Not working as intended label Sep 29, 2021
@Jamedjo
Copy link
Contributor Author

Jamedjo commented Sep 29, 2021

Possibly related to #6310 or #5757

@Xyene
Copy link
Member

Xyene commented Oct 1, 2021

03:10:06.150 [INFO] [wlr] [wayland] error marshalling arguments for keymap: dup failed: Too many open files

Yes, this looks like the same bug as #6310.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants