#internal eDP-1 screen stays black/freez after suspend/resume, iGPU stays suspended after resume

20 messages · Page 1 of 1 (latest)

frigid linden
frigid linden
#

Anyone? <@&1391478781494956124>

buoyant summit
#

Hi! I'm having the same issue, I cannot for the life of me figure out what's wrong.

#

I'm on Acer Nitro 5. tried switching to LTS, and a bunch of stuff. My hyprland doesn't crash or anything though, as my external HDMI still works fine.

buoyant summit
#

figured out some stuff

#

In my hyprland config I set AQ_DRM_DEVICES to render my NVIDIA gpu, then use iGPU as a fallback (HDMI is super stuttery if I render it with igpu)

#

but if I do that, on suspend it stops rendering my eDP-1

#

if I set it to use iGPU instead then it works fine.

#

but then HDMI stutters a lot

#

this is in my hyprland.conf

# NVIDIA environment variables
env = LIBVA_DRIVER_NAME,nvidia
env = NVD_BACKEND,direct
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

# NOTES
# So basically, if we render desktop w/ dGPU (card1) then 
# it crashes eDP-1 on suspend.
# However, if we render on iGPU (card2) the HDMI is super slow.

# suspend works on this, but hdmi-a-1 stutters a lot
# env = AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1 

# render on GPU only. suspend works but eDP-1 doesn't even load at all!
env = AQ_DRM_DEVICES,/dev/dri/card1

# render on GPU first, then iGPU. In this case, it boots fine, then eDP-1
# fails on suspend
# env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2 

monitor setup

monitor = HDMI-A-1, 1920x1080@60, auto-left, 1.25
monitor = eDP-1, 1920x1080@144, auto-right, 1.25
frigid linden
# buoyant summit if I set it to use iGPU instead then it works fine.

when i set my iGPU as main - animations do not feel as smooth anymore and also some of the apps start lagging, for example browser games load iGPU for 100% and it will not use Nvidia GPU and that was the main reason why i have set my dGPU as main. So when iGPU is set as main the suspend issue presists in a bit different way, after resume my HDMI output is frozen but in this case hyprctl reload x2 solves the issue and returns HDMI output to life. When setting Nvidia GPU as main hyprctl reload is not solving the issue and eDP remains frozen or just black screen state.

is it possible to tag people under this post so it will gain more views? I already tried to find help in Hyprland and Omarchy reddit but there was absolutely no help with this issue and i was looking for help for already around a month or so. It seems that this issue is rare or just no one turns their attention to this idk.

frigid linden
#

I am using Fedora with KDE plasma as my main OS and there is no issues with suspend, hibernate and so on even though I am also using it with Nvidia as my main GPU there so i have no clue what could be the reason of this part not working in Hyprland and I am unable to figure it out based on logs on my own.

buoyant summit
buoyant summit
frigid linden
buoyant summit
#

Thanks, you too.

frigid linden
# buoyant summit Thanks, you too.

hey, a guy in #nvidia shared his configs, i guess we can gamble around a bit with those and maybe solve this issue. As i understood he is using vanilla Arch so the file structure of his configs is a bit different from Omarchy ones but overall the logic is clear. Have a look and let me know if you have any good ideas based on this

https://github.com/qompassai/arch/tree/main/etc/modprobe.d
https://github.com/qompassai/arch/tree/main/etc/modules-load.d
https://github.com/qompassai/hyprland

GitHub

Contribute to qompassai/arch development by creating an account on GitHub.

GitHub

Contribute to qompassai/arch development by creating an account on GitHub.

GitHub

Qompass AI Hyprland Setup. Contribute to qompassai/Hyprland development by creating an account on GitHub.

frigid linden
#

@buoyant summit

buoyant summit
#

For now I’m sticking with swapping with a script depending on whether I’m plugged in or not, pretty busy lately.