issue description was too long so i had to put it into the .txt file, also added some generaetd log files, hope they can help in finding the solution or root cause of this problem, thanks!
#internal eDP-1 screen stays black/freez after suspend/resume, iGPU stays suspended after resume
20 messages · Page 1 of 1 (latest)
Anyone? <@&1391478781494956124>
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.
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
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.
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.
Ya from my research it seems like this issue is rare, only really affecting hybrid gpu setups
it’s basically the same for me.
That's sad
Let me know if you find any solution for this issue some day
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
@buoyant summit
Nice! I’ll take a look if I have time
For now I’m sticking with swapping with a script depending on whether I’m plugged in or not, pretty busy lately.