Hyprland
Hyprland copied to clipboard
Monitor detected with active workspace but blank screen on Hyprland Archlinux with Nvidia/intel laptop
System Info and Version
System/Version info
Hyprland, built from branch main at commit fefa55d406e38eda481ce75178cef3e43298762d (build: fix non-pch build (6337)).
Date: Wed Jun 5 04:42:44 2024
Tag: v0.40.0-157-gfefa55d4, commits: 4763
flags: (if any)
System Information:
System name: Linux
Node name: arch
Release: 6.9.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] [10de:1c8c] (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:
======Config-Start======
Config File: /home/user/.config/hypr/hyprland.conf: Read Succeeded
# This is an example Hyprland config file.
#
# Refer to the wiki for more information.
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1080@60,2560x0,1
monitor=HDMI-A-1,[email protected],0x0,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
debug:disable_logs = false
#env = WLR_DRM_DEVICES,$HOME/.config/hypr/card
#env = _JAVA_AWT_WM_NONREPARENTING,1
#env = XCURSOR_SIZE,24
#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Set programs that you use
# Some default env vars.
env = XCURSOR_SIZE,24
#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
#decoration {
# # See https://wiki.hyprland.org/Configuring/Variables/ for more
#
# rounding = 5
#
# blur {
# enabled = true
# size = 3
# passes = 1
#
# vibrancy = 0.15
# }
#
# drop_shadow = true
# shadow_range = 4
# shadow_render_power = 3
# col.shadow = rgba(1a1a1aee)
#}
dwindle {
preserve_split = true
}
animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, foot
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
#bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, exec, fuzzel
bind = $mainMod, R, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = SUPER_CTRL, mouse:272, resizewindow
======Config-End========
Bug or Regression?
Bug
Description
Monitor: Samsung Odyssey G50A GPU: NVidia GTX 1050TI CPU/dGPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] laptop: Acer Nitro 5
kernels linux-zen and linux give same result with nvidia and nvidia-dkms(nvidia-open didn't work with gpu) I'm using the following in config, yet get blank monitor with active workspace(SUPER+2 makes mouse disappear, whereas this doesn't happen when gpu isn't recognized in running hyprland) no matter the following as long as the above is in place
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
not sure what's wrong, I know nvidia is working because the kernels and drivers i mentioned are he only ones that give any nvidia-smi output after running nvx(nvidia-exec)
this all occured after an update after not updating for like 1.5 weeks; I'm not sure what changed it since I've tried reverting nvidia and linux drivers back to 2023 releases that worked fine for me and I can't recall what changed, despite the monitor working fine with this setup for the past year. I might be able to provide a list of changes from that time period from /var/log/pacman.log but it would have like 6 GiB worth of packages in it to sift through so I'll only post it if necessary/requested by someone who is legitimately able to help.
tl;dr: why no monitor worky?!
How to reproduce
install and attempt to run above setup
Crash reports, logs, images, videos
No response