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

Monitors connected through displaylink dock get no signal #7292

Closed
zjeffer opened this issue Aug 11, 2024 · 28 comments
Closed

Monitors connected through displaylink dock get no signal #7292

zjeffer opened this issue Aug 11, 2024 · 28 comments
Labels
bug Something isn't working

Comments

@zjeffer
Copy link
Contributor

zjeffer commented Aug 11, 2024

Regression?

No

System Info and Version

System/Version info
Hyprland, built from branch main at commit 09bb5658b7fa6c0dc4e2744797e51ad4dd25af42 dirty (window/ls: reset core signals after destroy).
Date: Fri Aug 2 00:31:44 2024
Tag: v0.41.1-223-g09bb5658, commits: 5041

flags: (if any)


System Information:
System name: Linux
Node name: zjeffer
Release: 6.10.3-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  555.58.02  Tue Jun 25 01:39:15 UTC 2024


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:
  split-monitor-workspaces by Duckonaut ver 1.2.0

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


Config File: /home/zjeffer/.config/hypr/hyprland.conf: Read Succeeded
# ###################################################################
# ██╗  ██╗██╗   ██╗██████╗ ██████╗ ██╗      █████╗ ███╗   ██╗██████╗
# ██║  ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║     ██╔══██╗████╗  ██║██╔══██╗
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║     ███████║██╔██╗ ██║██║  ██║
# ██╔══██║  ╚██╔╝  ██╔═══╝ ██╔══██╗██║     ██╔══██║██║╚██╗██║██║  ██║
# ██║  ██║   ██║   ██║     ██║  ██║███████╗██║  ██║██║ ╚████║██████╔╝
# ╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝
# ###################################################################

$HYPR_FOLDER = ~/.config/hypr
$APP_FOLDER = $HYPR_FOLDER/apps
$CONFIG_FOLDER = $HYPR_FOLDER/configs

source = $CONFIG_FOLDER/env.conf

source = $CONFIG_FOLDER/general.conf
source = $CONFIG_FOLDER/animations.conf
source = $CONFIG_FOLDER/decoration.conf
source = $CONFIG_FOLDER/monitors.conf
source = $CONFIG_FOLDER/window_rules.conf
source = $CONFIG_FOLDER/keybinds.conf
source = $CONFIG_FOLDER/input.conf
source = $CONFIG_FOLDER/workspace_rules.conf
source = $CONFIG_FOLDER/plugins.conf

# Execute your favorite apps at launch
exec-once = xhost + local:
exec-once = /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = hyprpaper --config $APP_FOLDER/hyprpaper.conf
exec-once = nm-applet
exec-once = dunst
exec-once = ~/.config/activePlayer/mediaplayers.sh 2>~/.config/activePlayer/.mediaplayer.err
exec-once = hyprpm reload -n
exec-once = ydotoold
exec-once = bash $APP_FOLDER/waybar/launch.sh
exec-once = swayosd-server

# this should always be at the bottom
# exec-once = dbus-update-activation-environment --systemd --all


Config File: /home/zjeffer/.config/hypr/configs/env.conf: Read Succeeded
# Some default env vars.
env = XCURSOR_SIZE,32
env = XCURSOR_THEME,Nordzy-cursors-white
env = HYPRCURSOR_THEME,Nordzy-cursors-white
env = HYPRCURSOR_SIZE,32
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = SDL_VIDEODRIVER,wayland
env = _JAVA_AWT_WM_NONREPARENTING,1

env = __GL_GSYNC_ALLOWED,0
env = __GL_VRR_ALLOWED,0
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

env = WLR_DRM_NO_ATOMIC,1
env = GBM_BACKEND,nvidia-drm
env = XDG_CURRENT_DESKTOP,Hyprland

env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = DESKTOP_SESSION,gnome
env = MOZ_ENABLE_WAYLAND,1

# gtk
env = GDK_BACKEND,wayland

# xdg stuff
env = XDG_CONFIG_HOME,$HOME/.config
env = XDG_CACHE_HOME,$HOME/.cache
env = XDG_DATA_HOME,$HOME/.local/share
env = XDG_DATA_DIRS,/usr/local/share:/usr/share
env = XDG_CONFIG_DIRS,/etc/xdg

# environment variables to use in configs
env = EWW_CONFIG_DIR,$HOME/.config/eww
env = APP_FOLDER,$HOME/.config/hypr/apps
env = PLUGIN_FOLDER,$HOME/.local/share/hyprload/plugins/bin

# docking station workaround: use correct GPU
# env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1



Config File: /home/zjeffer/.config/hypr/configs/general.conf: Read Succeeded

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 10

    border_size = 4
    col.active_border = rgba(5e81acff)
    col.inactive_border = rgba(00000000)

    layout = dwindle
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section
    preserve_split = true # you probably want this
}

misc {
  vrr = 2
  no_direct_scanout = false
  render_ahead_of_time = false
  focus_on_activate = false
  force_default_wallpaper = 0
  initial_workspace_tracking = 0
}

debug {
  overlay = false
  disable_logs = false
  disable_time = false
  error_limit = 1
  error_position = 2 # bottom
}

opengl {
  nvidia_anti_flicker = true
}


Config File: /home/zjeffer/.config/hypr/configs/animations.conf: Read Succeeded
animations {
  enabled = true
  # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  animation = windows, 1, 1, default
  animation = windowsOut, 1, 2, default
  animation = border, 1, 5, default
  animation = borderangle, 1, 8, default
  animation = fade, 1, 3, default
  animation = workspaces, 1, 4, default
  animation = specialWorkspace, 1, 4, default, slidevert
}


Config File: /home/zjeffer/.config/hypr/configs/decoration.conf: Read Succeeded

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    rounding = 5
    
    blur {
      enabled = true
      size = 15
      passes = 2
      ignore_opacity = true
      new_optimizations = true
    }
    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(2e3440ee)
    col.shadow_inactive = rgba(00000000)
}


Config File: /home/zjeffer/.config/hypr/configs/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=desc:California Institute of Technology 0x1600, [email protected], 1920x0, 1
monitor=desc:Acer Technologies K222HQL T0EEE0018512, 1920x1080@60, 4480x0, 1
monitor=desc:Philips Consumer Electronics Company PHL 240V5A UK01715035811, 1920x1080@60, 0x0, 1

monitor=desc:DENON Ltd. DENON-AVR 0x01010101, preferred, auto, 1, mirror, desc:California Institute of Technology 0x1600 # Denon
# monitor=desc:DENON Ltd. DENON-AVR 0x01010101, preferred, auto, 1 # Denon

monitor=,preferred,auto,1



Config File: /home/zjeffer/.config/hypr/configs/window_rules.conf: Read Succeeded
windowrulev2 = float, title:^(Open Folder)$
windowrulev2 = float, title:^(Open File)$
windowrulev2 = float, title:^(Save As)$
windowrulev2 = float, title:^(Friends List)$
windowrulev2 = float, title:^(File Operation Progress)$
windowrulev2 = float, title:^(Firefox — Sharing Indicator)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - — Mozilla Firefox)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - Bitwarden — Mozilla Firefox)$
# windowrulev2 = suppressevent fullscreen,tile,class:^(libreoffice.*)$
windowrulev2 = float, class:^(flameshot)$
windowrulev2 = noanim, float, class:^(Rofi)$
windowrulev2 = float, class:^(org.gnome.Calculator)$
# opacity
windowrulev2 = opacity 0.85, class:[gG]nome-terminal*
windowrulev2 = opacity 0.85, class:kitty
windowrulev2 = opacity 0.90, initialTitle:^(Spotify( Premium)?)$
windowrulev2 = opacity 0.90, class:Code
windowrulev2 = opacity 0.90, class:Code - Insiders
windowrulev2 = opacity 0.90, class:code-url-handler
windowrulev2 = opacity 0.90, class:code-insiders-url-handler
windowrulev2 = opacity 0.80, class:[Tt]hunar
windowrulev2 = opacity 0.70, class:Dunst
windowrulev2 = opacity 0.95, class:discord

# flameshot workaround
windowrulev2=move 0 0,title:^(flameshot)
windowrulev2=suppressevent fullscreen,title:^(flameshot)

# steam friends list workaround
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 200 500, initialTitle:^(Friends List)$,initialClass:^(steam)$

# jellyfin media player
# windowrulev2 = tile, initialClass:^(Jellyfin Media Player)$
windowrulev2 = tile, initialTitle:^(Jellyfin Media Player)$


Config File: /home/zjeffer/.config/hypr/configs/keybinds.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# window control
bind = $mainMod, W, killactive,
bind = $mainMod SHIFT, W, exec, kill -9 $(hyprctl activewindow -j | jq -r '.pid')
bind = $mainMod CTRL SHIFT, Escape, exit,
bind = $mainMod, S, togglefloating,
bind = $mainMod, F, fullscreen

bind = $mainMod, P, pseudo,      # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# reload hyprland and send a inotify reload to waybar at .config/waybar/config.json
bind = $mainMod, Escape, exec, hyprctl reload && hyprpm reload && sleep 0.5 && touch -m $APP_FOLDER/waybar/config.jsonc

# applications
bindr =$mainMod, SUPER_L, exec, pkill rofi || ~/.config/rofi/bin/launcher_colorful
bind = $mainMod, return, exec, kitty
bind = $mainMod SHIFT, return, togglespecialworkspace 
bind = $mainMod, Z, exec, firefox
bind = $mainMod SHIFT, Z, exec, chromium
bind = $mainMod, X, exec, thunar
bind = $mainMod, A, exec, /usr/bin/spotify
bind = $mainMod, Q, exec, code
bind = $mainMod, D, exec, discord
bind = ,Print,exec, grimblast copy area
bind = $mainMod, Print, exec, grimblast copy output
bind = $mainMod SHIFT, C, exec, hyprpicker -a -f hex
bind = CTRL SHIFT, Escape, exec, gnome-system-monitor

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# move window with arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d

# Tabbed windows
bind = $mainMod, g, togglegroup


# Switch workspaces with mainMod + [0-5]
bind = $mainMod, 1, split-workspace, 1
bind = $mainMod, 2, split-workspace, 2
bind = $mainMod, 3, split-workspace, 3
bind = $mainMod, 4, split-workspace, 4
bind = $mainMod, 5, split-workspace, 5

# Move active window to a workspace with mainMod + SHIFT + [0-5]
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, r+1
bind = $mainMod, mouse_up, workspace, r-1

# focus with left/right bracket
bind = $mainMod, bracketleft, workspace, r-1
bind = $mainMod, bracketright, workspace, r+1

# move with shift + left/right bracket
bind = $mainMod SHIFT, bracketleft, movetoworkspace, r-1
bind = $mainMod SHIFT, bracketright, movetoworkspace, r+1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# media keys
bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindle = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle

bind =, XF86AudioPlay, exec, ~/.config/activePlayer/control.sh play-pause
bind =, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh previous
bind =, XF86AudioNext, exec, ~/.config/activePlayer/control.sh next
bind =, XF86AudioStop, exec, ~/.config/activePlayer/control.sh stop

bind = SHIFT, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh skipBackward
bind = SHIFT, XF86AudioNext, exec, ~/.config/activePlayer/control.sh skipForward

# brightness
binde = , XF86MonBrightnessUp, exec, brightnessctl -d nvidia* set +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl -d nvidia* set 10%-

# screen lock
bindl= , switch:on:Lid Switch, exec, $APP_FOLDER/swaylock/lock.sh && sleep 2 && systemctl suspend-then-hibernate
bind = $mainMod, L, exec, hyprlock

# forward and back with mouse buttons
bind = $mainMod, 123, exec, ydotool key 159:1 159:0
bind = $mainMod, 122, exec, ydotool key 158:1 158:0

# forward global shortcuts
bind = $mainMod SHIFT, N, pass, ^(io\.github\.nuttyartist\.notes)$

# passthrough mainMod to virtual machine
bind = $mainMod, O, submap, passthru
submap = passthru
bind = $mainMod, I, submap, reset
submap = reset


# # ### swayosd ###
bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume
bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume
# # Sink volume toggle mute
# bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
# # Source volume toggle mute
# bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle

# # Brightness raise
# bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
# # Brightness lower
# bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower


Config File: /home/zjeffer/.config/hypr/configs/input.conf: Read Succeeded
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    touchpad {
        clickfinger_behavior = true
        scroll_factor = 0.25
        middle_button_emulation = true
        tap-and-drag = true
        natural_scroll = true
    }

    sensitivity = -0.5 # -1.0 - 1.0, 0 means no modification.

    numlock_by_default = 1
    repeat_rate = 50
    repeat_delay = 200
    accel_profile = flat
}

cursor {
    no_hardware_cursors = true
}


# Per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = elan06fa:00-04f3:31ad-touchpad
    sensitivity = 0.4
    accel_profile = flat
    natural_scroll = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = true
}

misc {

}


Config File: /home/zjeffer/.config/hypr/configs/workspace_rules.conf: Read Succeeded
workspace = special:special, on-created-empty:kitty, gapsout:48




Config File: /home/zjeffer/.config/hypr/configs/plugins.conf: Read Succeeded
plugin {
    split-monitor-workspaces {
        count = 5
        keep_focused = 1
        enable_notifications = 0
        enable_persistent_workspaces = 1
    }
}

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

Description

The dock works on Windows and Ubuntu through X11, doesn't work on Ubuntu with Wayland and on Hyprland. Likely an Nvidia issue? I opened an issue about this in the DisplayLink/evdi repo (DisplayLink/evdi#484), but I thought I might try my luck here as well, if only to gather more info on the cause of the issue.

When connecting the monitor, it turns on, notices it gets no signal and goes back into standby. The monitor (DVI-I-1) is in the list of monitors reported by hyprctl monitors, and workspaces are assigned to it:

monitors
Monitor DP-2 (ID 1):
	[email protected] at 0x0
	description: Philips Consumer Electronics Company PHL 240V5A UK01715035811
	make: Philips Consumer Electronics Company
	model: PHL 240V5A
	serial: UK01715035811
	active workspace: 6 (6)
	special workspace: 0 ()
	reserved: 0 40 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 640x480@
59.94Hz [email protected] 

Monitor eDP-1 (ID 2):
	[email protected] at 1920x0
	description: California Institute of Technology 0x1600
	make: California Institute of Technology
	model: 0x1600
	serial: 
	active workspace: 11 (11)
	special workspace: 0 ()
	reserved: 0 40 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] 

Monitor DVI-I-1 (ID 3):
	[email protected] at 4480x0
	description: Acer Technologies K222HQL T0EEE0018512
	make: Acer Technologies
	model: K222HQL
	serial: T0EEE0018512
	active workspace: 16 (16)
	special workspace: 0 ()
	reserved: 0 40 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: Invalid
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

I notice currentFormat is Invalid 🤔

How to reproduce

Connect the monitor to a docking station. Monitor gets no signal.

Crash reports, logs, images, videos

Starting Hyprland with the monitor disconnected, then connecting the monitor to the dock: hyprland-trace.log

Monitor (Acer Technologies K222HQL T0EEE0018512) is connected at 19:59:50.463896533

@zjeffer zjeffer added the bug Something isn't working label Aug 11, 2024
@romanstingler
Copy link
Contributor

linked to hyprwm/aquamarine#22

@vaxerski
Copy link
Member

update aq to git

check if it gets signal when you start hl with it connected

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 12, 2024

The logs were made with 9b33a38f86135db1b26f21d8581d512dbe106549, so pretty much the latest git (apart from a docs update)

@vaxerski
Copy link
Member

I mean I do feel like it's a driver issue? Ubuntu Wayland is Gnome, it doesn't work. Does KDE work? If not, I'm fairly certain it's a driver issue

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 12, 2024

I'll try on KDE and with the latest Nvidia beta drivers soon.

Also, I added some more dmesg logs (with drm debugging enabled) in this comment: DisplayLink/evdi#484 (comment), might be useful to figure out what exactly happens.

@Hannes1909
Copy link

Hannes1909 commented Aug 14, 2024

Im chippin' in on this one - after 0.42 update on Arch my third screen is no longer displaying anything, though it seems enabled and ready to hyprctl. I did an update to hyprland-git and aquamarine-git, both did not change the situation.

Its a Dell laptop with a Dock, DP-4 (working) and DP-5 (the display in question) are connected via a docking station. I'd prefer to use the dGPU (NVIDIA MX250) since the laptop is used pretty stationary and power consumption is therefore not thaaaat important :)

I also set env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 in my config - card1 being the dGPU, card0 the iGPU. All load is on the iGPU according to nvtop. Setting it to the dGPU only (NVIDIA GeForce MX250) results in hyprland not starting due to an AQ-Error that says it cannot find any GPU. Interestingly waybar notices the mouse movement to where DP-5 should be and highlights the workspace accordingly.

X11 / Gnome worked fine, still need to test Wayland / Gnome (will update as soon as i have the time)

hyprctl systeminfo
Hyprland, built from branch main at commit 77cf651825c2afac69e3a827ff910a62c73e1218  (protocols: avoid crashing in drmlease (7290)).
Date: Mon Aug 12 20:49:52 2024
Tag: v0.42.0-14-g77cf6518, commits: 5083

flags: (if any)


System Information:
System name: Linux
Node name: apzbm-client
Release: 6.10.4-arch2-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])


os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2023.03.26"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"


plugins:

hyprctl monitors
Monitor eDP-1 (ID 0):
  [email protected] at 0x0
  description: BOE 0x0984
  make: BOE
  model: 0x0984
  serial: 
  active workspace: 1 (1)
  special workspace: 0 ()
  reserved: 0 38 0 0
  scale: 1.00
  transform: 0
  focused: no
  dpmsStatus: 1
  vrr: 0
  activelyTearing: false
  disabled: false
  currentFormat: XRGB8888
  availableModes: [email protected] [email protected] 

Monitor DP-4 (ID 1):
  [email protected] at 1920x0
  description: Dell Inc. DELL P2422H J04ZYF3
  make: Dell Inc.
  model: DELL P2422H
  serial: J04ZYF3
  active workspace: 2 (2)
  special workspace: 0 ()
  reserved: 0 38 0 0
  scale: 1.00
  transform: 0
  focused: yes
  dpmsStatus: 1
  vrr: 0
  activelyTearing: false
  disabled: false
  currentFormat: XRGB8888
  availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 

Monitor DP-5 (ID 2):
  [email protected] at 3840x-350
  description: Dell Inc. DELL P2422H 7S5ZYF3
  make: Dell Inc.
  model: DELL P2422H
  serial: 7S5ZYF3
  active workspace: 3 (3)
  special workspace: 0 ()
  reserved: 0 38 0 0
  scale: 1.00
  transform: 3
  focused: no
  dpmsStatus: 1
  vrr: 0
  activelyTearing: false
  disabled: false
  currentFormat: XRGB8888
  availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 
Crashlog AQ on dGPU
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Who tried dividing by zero?!

Hyprland received signal 6(ABRT)
Version: 77cf651825c2afac69e3a827ff910a62c73e1218
Tag: v0.42.0-14-g77cf6518
Date: Mon Aug 12 20:49:52 2024
Flags:

System info:
	System name: Linux
	Node name: apzbm-client
	Release: 6.10.4-arch2-1
	Version: #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])


os-release:
	NAME="EndeavourOS"
	PRETTY_NAME="EndeavourOS"
	ID="endeavouros"
	ID_LIKE="arch"
	BUILD_ID="2023.03.26"
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://endeavouros.com"
	DOCUMENTATION_URL="https://discovery.endeavouros.com"
	SUPPORT_URL="https://forum.endeavouros.com"
	BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
	PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
	LOGO="endeavouros"
Backtrace:
	# | Hyprland(_Z12getBacktracev+0x46) [0x59d141239756]
		getBacktrace()
		/usr/src/debug/hyprland-git/Hyprland/build/../src/helpers/MiscFunctions.cpp:791
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xabe) [0x59d1411c419e]
		CrashReporter::createAndSaveCrash(int)
		/usr/include/c++/14.2.1/bits/basic_string.h:632
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x5c) [0x59d14115876c]
		handleUnrecoverableSignal(int)
		/usr/src/debug/hyprland-git/Hyprland/build/../src/Compositor.cpp:73
	#3 | /usr/lib/libc.so.6(+0x3d1d0) [0x7a2853a4c1d0]
		??
		??:0
	#4 | /usr/lib/libc.so.6(+0x963f4) [0x7a2853aa53f4]
		??
		??:0
	#5 | /usr/lib/libc.so.6(gsignal+0x20) [0x7a2853a4c120]
		??
		??:0
	#6 | /usr/lib/libc.so.6(abort+0xdf) [0x7a2853a334c3]
		??
		??:0
	#7 | /usr/lib/libstdc++.so.6(+0x97b2c) [0x7a2853c97b2c]
		??
		??:0
	#8 | /usr/lib/libstdc++.so.6(+0xadffa) [0x7a2853cadffa]
		configErrorsRequest(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) [clone .cold]
		/usr/include/c++/14.2.1/format:798
	#9 | /usr/lib/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7a2853c9752a]
		??
		??:0
	#1 | /usr/lib/libstdc++.so.6(+0xae2b6) [0x7a2853cae2b6]
		layoutsRequest(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) [clone .cold]
		/usr/include/c++/14.2.1/bits/basic_string.h:405
	#11 | Hyprland(+0xbd423) [0x59d141086423]
		throwError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
		/usr/src/debug/hyprland-git/Hyprland/build/../src/helpers/MiscFunctions.cpp:806 (discriminator 1)
	#12 | Hyprland(_ZN11CCompositor10initServerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x7fd) [0x59d141159efd]
		CCompositor::initServer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)
		/usr/src/debug/hyprland-git/Hyprland/build/../src/Compositor.cpp:264 (discriminator 2)
	#13 | Hyprland(main+0xbca) [0x59d1410f0e1a]
		main
		/usr/include/c++/14.2.1/bits/basic_string.h:809
	#14 | /usr/lib/libc.so.6(+0x25e08) [0x7a2853a34e08]
		??
		??:0
	#15 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7a2853a34ecc]
		??
		??:0
	#16 | Hyprland(_start+0x25) [0x59d14111f8a5]
		_start
		??:?


Log tail:
[LOG] Creating the CHyprError!
[LOG] Creating the LayoutManager!
[LOG] Creating the TokenManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.38µs. Estimated average calc time: 0.03µs.
[LOG] Using config: /home/apzbm/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 19.39µs. Estimated average calc time: 0.05µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[LOG] Creating the PointerManager!
[LOG] Creating the EventManager!
[LOG] [AQ] Creating an Aquamarine backend!
[LOG] [AQ] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[LOG] [AQ] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[LOG] [AQ] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[LOG] [AQ] libseat: Device /dev/dri/card1 does not support kms
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1, not a KMS device
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[LOG] [AQ] libseat: Device /dev/dri/card0 supports kms
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-4
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-4, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-5
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-5, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-6
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-6, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2, no devnode
[LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1
[ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1, no devnode
[LOG] [AQ] drm: Explicit device list /dev/dri/card1
[ERR] [AQ] drm: Explicit device /dev/dri/card1 not found
[ERR] [AQ] drm: Found no gpus to use, cannot continue
[ERR] [AQ] DRM Backend failed
[LOG] [AQ] Starting the Aquamarine backend!
[LOG] [AQ] Starting the Wayland backend!
[ERR] [AQ] Wayland backend cannot start: wl_display_connect failed (is a wayland compositor running?)
[ERR] [AQ] Requested backend (wayland) could not start, enabling fallbacks
[ERR] [AQ] Implementation wayland failed, erasing.
[CRITICAL] m_pAqBackend couldn't start! This usually means aquamarine could not find a GPU or encountered some issues. Make sure you're running either on a tty or on a Wayland session, NOT an X11 one.
[CRITICAL] Critical error thrown: CBackend::create() failed!

@vaxerski
Copy link
Member

[LOG] [AQ] libseat: Device /dev/dri/card1 does not support kms

Are the drivers for card1 installed?

Can you post a log from 0.41.2 with HYPRLAND_TRACE=1 HYPRLAND_LOG_WLR=1 Hyprland (where I assume it works)

@Hannes1909
Copy link

Hannes1909 commented Aug 14, 2024

Sure thing, downgraded via pacman cache, DP-5 startet working again right away. I did not change the drivers, at least im not aware of any change, maybe they were updated in the same pacman/yay run with hyprland - I didnt pay too much attention, sorry.

Edit: Installed nvidia drivers:

pacman -Q | grep nvidia
lib32-nvidia-utils 555.58.02-1
lib32-opencl-nvidia 555.58.02-1
nvidia 555.58.02-15
nvidia-hook 1.5-2
nvidia-inst 24-1
nvidia-prime 1.0-5
nvidia-settings 555.58.02-1
nvidia-utils 555.58.02-1
opencl-nvidia 555.58.02-1

Edit2: I found the upload-Button.
hyprland.log

Heres the Log, if I should grep for anything specific, just let me know:

Logfile 0.41.2
[hyprland.log](https://github.com/user-attachments/files/16621936/hyprland.log)

@vaxerski
Copy link
Member

please attach the file next time :P

I'll take a look tomorrow.

@vaxerski
Copy link
Member

please try the above mr

@Hannes1909
Copy link

please try the above mr

That should be in aquamrine-git (aur), right?

@vaxerski
Copy link
Member

no, it's a MR. You have to checkout it manually and install locally

@Hannes1909
Copy link

I hope i have it right --> pulled Aquamarine from MR above, built like in the readme, "sudo make install", installed hyprland-git (for 0.42), but still DP-5 is black. Logfile attached.
hyprland.log

@stjernstrom
Copy link

Same problem here, and also seem related to #7321

Dell XPS laptop (have dual GPU's Intel and Nvidia but I have no NVIDIA kernel modules loaded).
Second screen connected via HDMI.

Everything is running fine on hyprland-0.41.2-3 but when I upgrade to 0.42 second screen goes black.

The following config works works on 0.41 but not on 0.42

monitor=eDP-1,[email protected],0x0,2
monitor=DP-3,[email protected],auto,1
monitor=,preferred,auto,1

On 0.42 I tried removing the resolutions and setting preferred does not work (just black)
monitor=,preferred,auto,1 (selects 3440x1440)

Setting the screen to highres does work but selects a lower resolution
monitor=,highres,auto,1 (selects 2560x1440)

Any more info I can contribute with, or anything I can test to help out?

@vaxerski
Copy link
Member

on 0.41.2: Run hyprland with HYPRLAND_TRACE=1 HYPRLAND_LOG_WLR=1 Hyprland
attach log

on git: install both aq-git and hl-git from right now, and run HYPRLAND_TRACE=1 AQ_TRACE=1 Hyprland
attach log

both logs would be nice.

@stjernstrom
Copy link

stjernstrom commented Aug 15, 2024

on 0.41.2: Run hyprland with HYPRLAND_TRACE=1 HYPRLAND_LOG_WLR=1 Hyprland attach log

on git: install both aq-git and hl-git from right now, and run HYPRLAND_TRACE=1 AQ_TRACE=1 Hyprland attach log

both logs would be nice.

Thanks @vaxerski

Here are both logs:

0.41.2.log
0.42.0-26-g12d99014.log

Dont know exactly what Im looking for, but I can see some new errors related to the external monitor DP-3 in the latest 4.2

[ERR] [AQ] Wayland backend cannot start: wl_display_connect failed (is a wayland compositor running?)
[ERR] [AQ] Requested backend (wayland) could not start, enabling fallbacks
[ERR] [AQ] Implementation wayland failed, erasing.
[ERR] Hyprcursor failed loading theme "", falling back to Xcursor.
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[ERR] Custom resolution FAILED, falling back to preferred
[ERR] Monitor DP-3 got an invalid requested mode: [email protected], using the preferred one instead: [email protected]
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XRGB8888
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XBGR8888
[ERR] output DP-3 failed basic test on format DRM_FORMAT_INVALID
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] Couldn't commit output named DP-3
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 15, 2024

I should add that I'm also on a laptop with a dedicated and integrated GPU, but the integrated GPU is disabled in the BIOS with a MUX switch, so everything is done through the Nvidia GPU.

I'll try the latest hyprland-git and aq-git sometime this weekend, as well as KDE.

Also, I'm running an older release of Hyprland (I think 0.40.0 or something) on my work laptop (which has an intel integrated GPU), and my dock works fine on that system. So I guess it works due to either the Intel GPU, or wlroots instead of aquamarine, or both. I might test the latest release on my work laptop this weekend too, if I find the time.

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 15, 2024

Decided to test the latest hyprland-git and aquamarine git already, Hyprland now crashes when I start it while a monitor was connected to my dock...

hyprlandCrashReport2328.txt

hyprland.log (with HYPRLAND_TRACE and AQ_TRACE)

@vaxerski
Copy link
Member

@zjeffer debug stacktrace with aq in debug pls

@vaxerski
Copy link
Member

anyways should be fixed in aq

@Hannes1909
Copy link

The manual installation of the aq MR didnt work for me - did I make a mistake above? Sorry if that sounds noobish :)

@vaxerski
Copy link
Member

MR is merged, you can use normal aquamarine-git

@Hannes1909
Copy link

Thanks, gonna try on monday right away, for its my work Laptop. 0.42 on my main desktop worked flawless on nix :)

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 16, 2024

Tested on KDE Plasma: display connected to dock works on X11, but no display on Wayland, though the monitor is visible in the display settings (same behaviour as Gnome).

It doesn't crash anymore on startup but I notice unplugging and replugging my amplifier (connected directly to my laptop with HDMI) now crashes Hyprland on the latest Hyprland and aquamarine git commits. I'll do some more testing and get some logs.

EDIT: I can't get it to crash anymore but here's the crash report from when it happened:
hyprlandCrashReport1284.txt

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 16, 2024

On latest commits, this is now present in dmesg when connecting the monitor:

[  +9.417367] evdi: [I] (card1) Opened by Task 831 (DesktopManagerE) of process 814 (DisplayLinkMana)
[  +0.000383] evdi: [I] (card1) Added i2c adapter bus number 10
[  +0.000003] evdi: [I] (card1) Connected with Task 831 (DesktopManagerE) of process 814 (DisplayLinkMana)
[  +0.000004] evdi: [I] (card1) Connector state: connected
[  +0.010932] evdi: [I] (card1) Connector state: connected
[  +0.000016] evdi: [I] (card1) Edid property set
[  +0.000616] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000037] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000035] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000193] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000029] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000043] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000189] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000434] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.036246] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.000084] evdi: [I] (card1) Connector state: connected
[  +0.000016] evdi: [I] (card1) Edid property set
[  +0.022063] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.025008] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.028662] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.008464] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.009932] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.002593] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.004568] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.004101] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78

And this nvidia-drm error keeps going for as long as the monitor is connected to the dock.

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 16, 2024

The monitor connected to the dock does work when I enable hybrid graphics in my BIOS (intel+Nvidia) instead of only using the Nvidia GPU.

Sadly, for my laptop (Lenovo Legion 5 Pro) hybrid graphics on linux results in incredibly bad screen burn-in on my laptop display in mere seconds of usage. Some people in this reddit thread report the same thing: https://old.reddit.com/r/LenovoLegion/comments/miqbv4/lenovo_legion_5_pro_actual_linux_experience_and/. So this is not an option for me. Luckily the burn-in is only temporary and goes away after a couple of minutes.

@vaxerski
Copy link
Member

wait so the monitors are broken on gnome wayland and kde wayland? If that's the case I don't think this is a hl issue

@zjeffer
Copy link
Contributor Author

zjeffer commented Aug 16, 2024

I think so too, like I mentioned in the description of the issue:

Likely an Nvidia issue? I opened an issue about this in the DisplayLink/evdi repo (DisplayLink/evdi#484), but I thought I might try my luck here as well, if only to gather more info on the cause of the issue.

Now that I've tested on both gnome wayland and KDE wayland, I think we can indeed conclude it's probably not a Hyprland issue.

@zjeffer zjeffer closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 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

5 participants