Giter Site home page Giter Site logo

Comments (4)

fdev31 avatar fdev31 commented on June 12, 2024

I mostly use multi-monitors and don't have any problem.
Can you share your config and logs ?

from pyprland.

dantefromhell avatar dantefromhell commented on June 12, 2024

I've updated to

❯ pypr version
2.0.8-16-gcc7def9

and can't reproduce anymore.
Closing this request as fixed.

from pyprland.

dantefromhell avatar dantefromhell commented on June 12, 2024

Re-opening since the issue is still happening.

It's somehow connected to using systemctl hybrid-sleep with 2 monitors connected but not reliably/ reproducibly happening.

pyprland debug output from last suspend/ resume cycle

2024-03-14 12:46:29,591 [DEBUG] scratchpads :: event_monitorremoved('DP-4',) :: command.py:149
2024-03-14 12:46:29,594 [INFO] scratchpads :: Hiding kitty :: scratchpads.py:916
2024-03-14 12:46:29,594 [DEBUG] ipc :: dispatch movetoworkspacesilent special:scratch_kitty,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:29,595 [DEBUG] pyprland :: event_workspace('5',) :: command.py:149
2024-03-14 12:46:29,595 [DEBUG] pyprland :: event_focusedmon('eDP-1,3',) :: command.py:149
2024-03-14 12:46:32,444 [DEBUG] pyprland :: event_workspace('2',) :: command.py:149
2024-03-14 12:46:32,444 [DEBUG] pyprland :: event_focusedmon('DP-4,6',) :: command.py:149
2024-03-14 12:46:32,445 [DEBUG] monitors :: event_monitoradded('DP-4',) :: command.py:149
2024-03-14 12:46:33,446 [DEBUG] ipc :: monitors :: ipc.py:75
2024-03-14 12:46:33,449 [DEBUG] monitors :: Using {'DP-4': {'topof': ['eDP-1']}} :: monitors.py:126
2024-03-14 12:46:33,449 [INFO] monitors :: wlr-randr --output DP-4 --pos 0,0 --output eDP-1 --pos 0,2160 :: monitors.py:145
2024-03-14 12:46:40,218 [DEBUG] pyprland :: event_activewindowv2('30cf130',) :: command.py:149
2024-03-14 12:46:40,219 [DEBUG] scratchpads :: event_activewindowv2('30cf130',) :: command.py:149
2024-03-14 12:46:40,287 [DEBUG] pyprland :: event_activewindowv2('3f28bf0',) :: command.py:149
2024-03-14 12:46:40,288 [DEBUG] scratchpads :: event_activewindowv2('3f28bf0',) :: command.py:149
2024-03-14 12:46:41,435 [DEBUG] scratchpads :: run_toggle('kitty',) :: command.py:149
2024-03-14 12:46:41,435 [DEBUG] scratchpads :: kitty is visible = False :: scratchpads.py:738
2024-03-14 12:46:41,436 [INFO] scratchpads :: Showing kitty :: scratchpads.py:789
2024-03-14 12:46:41,437 [DEBUG] ipc :: clients :: ipc.py:75
2024-03-14 12:46:41,438 [DEBUG] ipc :: monitors :: ipc.py:75
2024-03-14 12:46:41,439 [DEBUG] ipc :: dispatch ['moveworkspacetomonitor special:scratch_kitty DP-4', 'movetoworkspacesilent 4,address:0x3094440', 'alterzorder top,address:0x3094440'] :: ipc.py:114
2024-03-14 12:46:41,441 [DEBUG] pyprland :: event_activewindowv2('3f28bf0',) :: command.py:149
2024-03-14 12:46:41,445 [DEBUG] pyprland :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:41,445 [DEBUG] ipc :: dispatch resizewindowpixel exact 2841 1296,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:41,446 [DEBUG] ipc :: clients :: ipc.py:75
2024-03-14 12:46:41,450 [DEBUG] ipc :: dispatch movewindowpixel exact 499 151,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:41,451 [DEBUG] ipc :: dispatch focuswindow address:0x3094440 :: ipc.py:114
2024-03-14 12:46:41,453 [DEBUG] pyprland :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:41,653 [DEBUG] scratchpads :: event_activewindowv2('3f28bf0',) :: command.py:149
2024-03-14 12:46:41,654 [DEBUG] scratchpads :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:41,654 [DEBUG] scratchpads :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:42,241 [DEBUG] scratchpads :: run_toggle('kitty',) :: command.py:149
2024-03-14 12:46:42,241 [DEBUG] scratchpads :: kitty is visible = True :: scratchpads.py:738
2024-03-14 12:46:42,242 [INFO] scratchpads :: Hiding kitty :: scratchpads.py:916
2024-03-14 12:46:42,242 [DEBUG] ipc :: dispatch movetoworkspacesilent special:scratch_kitty,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:42,245 [DEBUG] pyprland :: event_activewindowv2('3f39990',) :: command.py:149
2024-03-14 12:46:42,245 [DEBUG] scratchpads :: event_activewindowv2('3f39990',) :: command.py:149
2024-03-14 12:46:42,880 [DEBUG] scratchpads :: run_toggle('kitty',) :: command.py:149
2024-03-14 12:46:42,881 [DEBUG] scratchpads :: kitty is visible = False :: scratchpads.py:738
2024-03-14 12:46:42,881 [INFO] scratchpads :: Showing kitty :: scratchpads.py:789
2024-03-14 12:46:42,883 [DEBUG] ipc :: clients :: ipc.py:75
2024-03-14 12:46:42,884 [DEBUG] ipc :: monitors :: ipc.py:75
2024-03-14 12:46:42,884 [DEBUG] ipc :: dispatch ['moveworkspacetomonitor special:scratch_kitty DP-4', 'movetoworkspacesilent 4,address:0x3094440', 'alterzorder top,address:0x3094440'] :: ipc.py:114
2024-03-14 12:46:42,886 [DEBUG] pyprland :: event_activewindowv2('3f39990',) :: command.py:149
2024-03-14 12:46:42,889 [DEBUG] ipc :: dispatch resizewindowpixel exact 2841 1296,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:42,890 [DEBUG] ipc :: clients :: ipc.py:75
2024-03-14 12:46:42,892 [DEBUG] ipc :: dispatch movewindowpixel exact 499 151,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:42,893 [DEBUG] ipc :: dispatch focuswindow address:0x3094440 :: ipc.py:114
2024-03-14 12:46:42,895 [DEBUG] pyprland :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:43,096 [DEBUG] scratchpads :: event_activewindowv2('3f39990',) :: command.py:149
2024-03-14 12:46:43,097 [DEBUG] scratchpads :: event_activewindowv2('3094440',) :: command.py:149
2024-03-14 12:46:43,534 [DEBUG] scratchpads :: run_toggle('kitty',) :: command.py:149
2024-03-14 12:46:43,535 [DEBUG] scratchpads :: kitty is visible = True :: scratchpads.py:738
2024-03-14 12:46:43,536 [INFO] scratchpads :: Hiding kitty :: scratchpads.py:916
2024-03-14 12:46:43,536 [DEBUG] ipc :: dispatch movetoworkspacesilent special:scratch_kitty,address:0x3094440 :: ipc.py:114
2024-03-14 12:46:43,539 [DEBUG] pyprland :: event_activewindowv2('3f39990',) :: command.py:149
2024-03-14 12:46:43,539 [DEBUG] scratchpads :: event_activewindowv2('3f39990',) :: command.py:149

hyprland debug log from last suspend/ resume cycle

[WARN] [12:46:32.802393980] Orphaned wlr_surface 39f1130 in setPreferredScaleForSurface
[WARN] [12:46:32.802419758] Orphaned wlr_surface 39f1130 in setPreferredTransformForSurface
[ERR] [12:46:32.802476138] BUG THIS: No CWLSurface for surface in damageSurface!!!
[WARN] [12:46:32.802505700] Orphaned wlr_surface 39f1130 in setPreferredScaleForSurface
[WARN] [12:46:32.802530738] Orphaned wlr_surface 39f1130 in setPreferredTransformForSurface
[LOG] [12:46:32.812908966] New Gamma event at 7ffef1d5cfc0
[LOG] [12:46:32.813516368] New Gamma event at 7ffef1d5cfc0
[LOG] [12:46:32.886605743] Registered signal for owner 39f3ee0: 39f3a28 -> 39f4318 (owner: layerSurface)
[LOG] [12:46:32.886709376] Registered signal for owner 39f3ee0: 39f3c08 -> 39f41e0 (owner: layerSurface)
[LOG] [12:46:32.886729666] Registered signal for owner 39f3ee0: 39f3a38 -> 39f4248 (owner: layerSurface)
[LOG] [12:46:32.886747187] Registered signal for owner 39f3ee0: 39f3a48 -> 39f42b0 (owner: layerSurface)
[LOG] [12:46:32.886767605] Registered signal for owner 39a2840: 39f3c18 -> 39a29c0 (owner: CPopup Head)
[LOG] [12:46:32.886785192] LayerSurface 39f3b40 (namespace waybar layer 1) created on monitor DP-4
[ERR] [12:46:32.886845316] BUG THIS: No CWLSurface for surface in damageSurface!!!
[WARN] [12:46:32.886874263] Orphaned wlr_surface 39f3750 in setPreferredScaleForSurface
[WARN] [12:46:32.886892997] Orphaned wlr_surface 39f3750 in setPreferredTransformForSurface
[LOG] [12:46:32.993911727] LayerSurface 39f3b40 mapped
[LOG] [12:46:32.993999913] Registered signal for owner 39f40c0: 39f3a68 -> 39f4108 (owner: CWLSurface)
[LOG] [12:46:32.994021433] Registered signal for owner 39f40c0: 39f3a28 -> 39f4170 (owner: CWLSurface)
[LOG] [12:46:32.994037233] CWLSurface 39f40c0 called init()
[LOG] [12:46:33.048167518] LayerSurface 39f1ac0 mapped
[LOG] [12:46:33.048296091] Registered signal for owner 39f1e50: 39f1448 -> 39f1e98 (owner: CWLSurface)
[LOG] [12:46:33.048319258] Registered signal for owner 39f1e50: 39f1408 -> 39f1f00 (owner: CWLSurface)
[LOG] [12:46:33.048333814] CWLSurface 39f1e50 called init()
[LOG] [12:46:33.459975208] OutputMgr Applied/Tested.
[LOG] [12:46:33.461359149] Applying monitor rule for eDP-1
[LOG] [12:46:33.461415670] Monitor eDP-1: Applying highest mode [email protected].
[LOG] [12:46:33.461443086] output eDP-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [12:46:33.481635935] arrangeMonitors: 2 to arrange
[LOG] [12:46:33.481713111] arrangeMonitors: eDP-1 explicit [792.00, 2160.00]
[LOG] [12:46:33.481756931] arrangeMonitors: DP-4 explicit [0.00, 0.00]
[LOG] [12:46:33.481778739] arrangeMonitors: eDP-1 xwayland [0, 0.00]
[LOG] [12:46:33.481798830] arrangeMonitors: DP-4 xwayland [2256, 0.00]
[LOG] [12:46:33.481846746] Monitor eDP-1 data dump: res [email protected], scale 1.00, transform 0, pos 792x2160, 10b 0
[LOG] [12:46:33.481912685] Applying monitor rule for DP-4
[LOG] [12:46:33.483952687] Monitor DP-4: Applying highest mode [email protected].
[LOG] [12:46:33.484006604] output DP-4 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [12:46:33.494789435] arrangeMonitors: 2 to arrange
[LOG] [12:46:33.494853648] arrangeMonitors: eDP-1 explicit [792.00, 2160.00]
[LOG] [12:46:33.494891546] arrangeMonitors: DP-4 explicit [0.00, 0.00]
[LOG] [12:46:33.494913010] arrangeMonitors: eDP-1 xwayland [0, 0.00]
[LOG] [12:46:33.494932429] arrangeMonitors: DP-4 xwayland [2256, 0.00]
[LOG] [12:46:33.494959008] Monitor DP-4 data dump: res [email protected], scale 1.00, transform 0, pos 0x0, 10b 0
[wlr] [backend/drm/drm.c:826] connector DP-4: Failed to page-flip output: a page-flip is already pending

In case the log output is not help, what is the best way to prepare debugging for next occurance?

from pyprland.

fdev31 avatar fdev31 commented on June 12, 2024

When you say they can't be interacted with, you mean you can't focus them back ?
I suspect this is caused by Hyprland... I don't see any anomaly in the pyprland log...
What happens if you switch workspace and then return, is the window still visible ?

It would also be interesting to test commands "manually" to see if hyprland reacts, eg:
if you have something in the "ipc" log of pyprland such as:

dispatch movewindowpixel exact 499 151,address:0x3094440 

you can just type

hyprctl dispatch movewindowpixel exact 499 151,address:0x3094440 

such log:

[DEBUG] ipc :: dispatch ['moveworkspacetomonitor special:scratch_kitty DP-4', 'movetoworkspacesilent 4,address:0x3094440', 'alterzorder top,address:0x3094440'] :: ipc.py:114

means there are multiple commands issued, all starting with "dispatch".
By testing it manually you'll figure if it's a communication (pyprland?) issue or an hyprland issue...

Also double check the client address is correct even though I doubt this can be the problem.

from pyprland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.