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

Can not access monitor after being disabled by shikane #8321

Closed
1 task done
Mikilio opened this issue Nov 1, 2024 · 4 comments
Closed
1 task done

Can not access monitor after being disabled by shikane #8321

Mikilio opened this issue Nov 1, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Mikilio
Copy link

Mikilio commented Nov 1, 2024

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland 0.44.0 built from branch  at commit 0b29caf9ab86518ff474eed5e7d19c12f96ebbd0  ().
Date: 2024-10-26
Tag: , commits: 
built against aquamarine 0.4.3


flags set:
debug


System Information:
System name: Linux
Node name: elitebook
Release: 6.6.32-hardened1
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:22:56 UTC 2024


GPU information: 
c3:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c4) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240916.99dc878"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"


plugins:

======Config-Start======


Config File: /home/mikilio/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/4a86f7kq7757fjwf5zzwk0jxixn4330n-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=SUPER
animations {
  bezier=myBezier, 0.05, 0.9, 0.1, 1.05
  animation=windows, 1, 3, myBezier
  animation=windowsOut, 1, 7, default, popin 80%
  animation=border, 1, 10, default
  animation=fade, 1, 7, default
  animation=workspaces, 1, 6, default
  animation=specialWorkspace, 1, 6, default, slidefadevert 20%
  enabled=true
}

binds {
  allow_workspace_cycles=true
}

decoration {
  blur {
    brightness=0.800000
    contrast=0.900000
    enabled=true
    new_optimizations=on
    noise=0.010000
    passes=2
    popups=true
    size=6
  }
  col.shadow=rgba(1e1e2e99)
  dim_inactive=false
  drop_shadow=yes
  shadow_range=8
  shadow_render_power=2
}

device {
  name=at-translated-set-2-keyboard
  kb_layout=us,eu
  kb_variant=,eurkey-cmk-dh-iso
  resolve_binds_by_sym=1
}

device {
  name=semico---usb-gaming-keyboard-
  kb_layout=us,eu
  kb_variant=,eurkey-cmk-dh-ansi
  resolve_binds_by_sym=1
}

dwindle {
  preserve_split=true
  pseudotile=true
}

general {
  col.active_border=rgb(89b4fa)
  col.inactive_border=rgb(45475a)
}

group {
  groupbar {
    col.active=rgb(89b4fa)
    col.inactive=rgb(45475a)
    text_color=rgb(cdd6f4)
  }
  col.border_active=rgb(89b4fa)
  col.border_inactive=rgb(45475a)
  col.border_locked_active=rgb(94e2d5)
}

input {
  accel_profile=flat
  float_switch_override_focus=2
}

misc {
  background_color=rgb(1e1e2e)
  disable_autoreload=true
  vrr=1
}

xwayland {
  force_zero_scaling=true
}
bind=SUPER, D, exec, pypr toggle vesktop
bind=SUPER, S, exec, pypr toggle spotify
bind=SUPER, L, exec, pypr toggle logseq
bind=SUPER, T, exec, pypr toggle telegram
bind=SUPER, X, exec, pypr hide "*"
bind=ALT, Tab, focuscurrentorlast
bind=CTRL ALT, Delete, exit
bind=SUPER, Q, killactive
bind=SUPER, F, togglefloating
bind=SUPER, P, pin
bind=SUPER, Z, fullscreen
bind=SUPER, R, layoutmsg, togglesplit
bind=SUPER, up, movefocus, u
bind=SUPER, down, movefocus, d
bind=SUPER, right, movefocus, r
bind=SUPER, left, movefocus, l
bind=SUPER, bracketleft, workspace, r-1
bind=SUPER, bracketright, workspace, r+1
bind=, code:195, workspace, r+1
bind=, code:194, changegroupactive, f
bind=, code:193, togglegroup
bind=, code:192, changegroupactive, b
bind=, code:191, workspace, r-1
bind=SUPER ALT, bracketleft, movetoworkspace, r-1
bind=SUPER ALT, bracketright, movetoworkspace, r+1
bind=SUPER CTRL, up, resizeactive, 0 -20
bind=SUPER CTRL, down, resizeactive, 0 20
bind=SUPER CTRL, right, resizeactive, 20 0
bind=SUPER CTRL, left, resizeactive, -20 0
bind=SUPER ALT, up, moveactive, 0 -20
bind=SUPER ALT, down, moveactive, 0 20
bind=SUPER ALT, right, moveactive, 20 0
bind=SUPER ALT, left, moveactive, -20 0
bind=SUPER, 1, workspace, 1
bind=SUPER, 2, workspace, 2
bind=SUPER, 3, workspace, 3
bind=SUPER, 4, workspace, 4
bind=SUPER, 5, workspace, 5
bind=SUPER, 6, workspace, 6
bind=SUPER, 7, workspace, 7
bind=SUPER, 8, workspace, 8
bind=SUPER, 9, workspace, 9
bind=SUPER ALT, 1, movetoworkspace, 1
bind=SUPER ALT, 2, movetoworkspace, 2
bind=SUPER ALT, 3, movetoworkspace, 3
bind=SUPER ALT, 4, movetoworkspace, 4
bind=SUPER ALT, 5, movetoworkspace, 5
bind=SUPER ALT, 6, movetoworkspace, 6
bind=SUPER ALT, 7, movetoworkspace, 7
bind=SUPER ALT, 8, movetoworkspace, 8
bind=SUPER ALT, 9, movetoworkspace, 9
bind=CTRL ALT, R, exec, systemctl --user restart hyprshell.service
bind=SUPER, Escape, exec, hyprshell -b hyprshell -t powermenu
bind=SUPER, Tab,    exec, hyprshell -b hyprshell -t overview
bind=, F1, exec, hyprshell -b hyprshell -r 'color.pick()'
bind=,Print, exec, hyprshell -b hyprshell -r 'recorder.screenshot()'
bind=SHIFT,Print, exec, hyprshell -b hyprshell -r 'recorder.screenshot(true)'
bindl=ALT, code:66,      exec, hyprctl switchxkblayout current next
bindl=,XF86AudioPlay,    exec, /nix/store/ji0yssq8sagpzsknamjdqpp8vds0qxq0-playerctl-2.4.1/bin/playerctl play-pause
bindl=,XF86AudioStop,    exec, /nix/store/ji0yssq8sagpzsknamjdqpp8vds0qxq0-playerctl-2.4.1/bin/playerctl pause
bindl=,XF86AudioPause,   exec, /nix/store/ji0yssq8sagpzsknamjdqpp8vds0qxq0-playerctl-2.4.1/bin/playerctl pause
bindl=,XF86AudioPrev,    exec, /nix/store/ji0yssq8sagpzsknamjdqpp8vds0qxq0-playerctl-2.4.1/bin/playerctl previous
bindl=,XF86AudioNext,    exec, /nix/store/ji0yssq8sagpzsknamjdqpp8vds0qxq0-playerctl-2.4.1/bin/playerctl next
bindl=,XF86AudioMicMute, exec, /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindle=,XF86MonBrightnessUp,   exec, /nix/store/5sapnnqarcxqiqwcpqfqjj6hhhy6fprr-brightnessctl-0.5.1/bin/brightnessctl set +5%
bindle=,XF86MonBrightnessDown, exec, /nix/store/5sapnnqarcxqiqwcpqfqjj6hhhy6fprr-brightnessctl-0.5.1/bin/brightnessctl set  5%-
bindle=,XF86AudioRaiseVolume,  exec, /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%
bindle=,XF86AudioLowerVolume,  exec, /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%
bindm=SUPER, mouse:273, resizewindow
bindm=SUPER, mouse:272, movewindow
bindr=$mod, SPACE, exec, pkill anyrun || run-as-service anyrun
monitor=desc:Chimei Innolux Corporation 0x1435,preferred,auto-down,1.2
monitor=,preferred,auto-up,auto
windowrule=float, ^(org.gnome.Calculator)$
windowrule=float, ^(org.gnome.Nautilus)$
windowrule=float, ^(pavucontrol)$
windowrule=float, ^(nm-connection-editor)$
windowrule=float, ^(blueberry.py)$
windowrule=float, ^(org.gnome.Settings)$
windowrule=float, ^(org.gnome.design.Palette)$
windowrule=float, ^(Color Picker)$
windowrule=float, ^(xdg-desktop-portal)$
windowrule=float, ^(xdg-desktop-portal-gnome)$
windowrule=float, ^(transmission-gtk)$
windowrule=float, ^(com.github.Aylur.ags)$
windowrulev2=float, initialClass:Logseq
windowrulev2=float, initialTitle:Spotify Premium
windowrulev2=float, initialClass:org.telegram.desktop
windowrulev2=float, initialTitle:Discord
windowrulev2=workspace special:scratch_logseq, initialClass:Logseq
windowrulev2=workspace special:scratch_spotify, initialTitle:Spotify Premium
windowrulev2=workspace special:scratch_telegram, initialClass:org.telegram.desktop
windowrulev2=workspace special:scratch_vesktop, initialTitle:Discord
windowrulev2=tile,title:^(Markdown Preview)(.*)$
windowrulev2=float,class:^(org.wezfurlong.wezterm)$
windowrulev2=tile,class:^(org.wezfurlong.wezterm)$
windowrulev2=noshadow, floating:0
windowrulev2=opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2=noanim,class:^(xwaylandvideobridge)$
windowrulev2=nofocus,class:^(xwaylandvideobridge)$
windowrulev2=noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2=rounding 0, xwayland:1, floating:1
windowrulev2=keepaspectratio,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2=keepaspectratio,initialTitle:^(Discord Popout)$
windowrulev2=noborder,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2=noborder,initialTitle:^(Discord Popout)$
windowrulev2=pin,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2=pin,initialTitle:^(Discord Popout)$
windowrulev2=float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2=float,initialTitle:^(Discord Popout)$
windowrulev2=float,class:thunderbird,title:^(?!Mozilla*)
workspace=w[t1], gapsout:0, gapsin:0, border: 0, rounding:0
workspace=w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0
workspace=f[1], gapsout:0, gapsin:0, border: 0, rounding:0

======Config-End========

Description

This is a continuation of #8221

It would be nice to receive @leiserfg config for comparison to see if its a configuration issue.

How to reproduce

See linked issue

Crash reports, logs, images, videos

See linked issue.

@Mikilio Mikilio added the bug Something isn't working label Nov 1, 2024
@leiserfg
Copy link
Contributor

leiserfg commented Nov 1, 2024

This is my config and it works fine for me in commit b6e226c

[[profile]]
name = "left-docked"

[[profile.output]]
enable = false
match = "eDP-1"

[[profile.output]]
enable = true
mode = "[email protected]"
scale = 1.5
search = "/.*"

[[profile]]
name = "game-mode"

[[profile.output]]
enable = false
match = "eDP-1"

[[profile.output]]
enable = true
mode = "[email protected]"
scale = 1
search = "/.*"

[[profile]]
name = "lonly"

[[profile.output]]
enable = true
match = "eDP-1"
scale = 1.6

@Mikilio
Copy link
Author

Mikilio commented Nov 2, 2024

Your matches are much more general than mine, since I got my rules from shikane export. I will try your way of matching and see if that changes anything.

@Mikilio
Copy link
Author

Mikilio commented Nov 2, 2024

So it didn't seem to change the behavior. I believe it has something to do with my laptop specifically. I learned that switching VT and then switching back brings back the screen. Now, I don't know what exactly that means and why enabling the screen seems to not be enough to turn it on.

EDIT:
I tried adding the line to "lonly" profile:

exec = ["hyprctl dispatch dpms on eDP-1"]

I did not help

@Mikilio
Copy link
Author

Mikilio commented Nov 3, 2024

Tried updating again on Friday after fixing some systemd stuff, everything seems to be working Vaxry is fixing and breaking stuff faster that I can write issues.

@Mikilio Mikilio closed this as completed Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants