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

External Screen issues with dual GPU system #4571

Open
sriedel opened this issue Sep 19, 2019 · 0 comments
Open

External Screen issues with dual GPU system #4571

sriedel opened this issue Sep 19, 2019 · 0 comments

Comments

@sriedel
Copy link

sriedel commented Sep 19, 2019

I have two issues with external screens which are probably closely related, thus only one bug report.

My setup is a laptop with an external screen (Dell UltraSharp U2718Q identified as DP-1; the internal screen is identified as eDP-1), connected via display port. There are two GPUs: the cpu-internal i915 as well as a discrete Quadro M1000M running the nouveau driver. The external screen connections are only attached to the Quadro GPU.

When the external screen is disconnected sway becomes unresponsive to mouse and keyboard input, requiring a reboot since I can't kill sway via the mod+shift+e key combo. If I reinsert the display port plug while in this state, the external screen shows the appropriate workplaces again, however sway remains unresponsive to keyboard and mouse inputs. (this is should in the debug log - disconnecting the external screen, waiting a bit then reconnecting the screen, waiting a few seconds and then rebooting)

If I put the laptop to sleep via systemctl suspend before disconnecting the external screen, and reconnect before waking the laptop back up, everthing is as it should be.

If I put the laptop to sleep before disconnecting and wake the laptop without the external screen attached, the workplaces migrate to the internal screen and everything continues to work as expected. When I re-attach the external screen in this state, regardless of the laptops sleep state, the external screen shows the workspaces that were originally there (even if swaylock is running and the internal screen is locked and blanked by swaylock). The workspaces that were on the external screen before the screen was disconnected reappear on the external screen. I can move my mouse to the external screen as expected, however sway on the external screen (and only on the external screen) is unresponsive to mouse clicks and keyboard input.

Disabling the external screen in this state with "swaymsg output DP-1 disable" disables the screen as expected. Re-enabling the screen via "swaymsg output DP-1 enable" leaves the screen blank, the workspaces jump back to the external screen though and I can move the mouse cursor to the external screen (the mouse cursor is the only thing visible there). In this state I need to restart sway in order to interact with the external screen again as expected.

No coredumps are generated as far was I can see.

@sriedel sriedel changed the title External Screen issues with dual CPU system External Screen issues with dual GPU system Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant