https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291520
fgorter <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from fgorter <[email protected]> --- Hybrid graphics remain an often perennial annoyance. Assuming you've tested suspending with the NVidia GPU enabled / disabled in BIOS/UEFI? Have you tried setting your desktop environment to probe / zap the display outputs when connecting / disconnecting from external displays? If memory serves, as an example, XFCE4 DE has some option in its display management settings that tell it to wake / popup a notification when a new external display is connected / disconnected -- effectively probing the display outputs & forcing all displays to return from "dpms" state mode. Try writing a small shell script that executes: "xset dpms force off; sleep 5; xset dpms force on" and figure out a way to trigger it. From personal experience, I've had occasions where one of my 3 displays (all attached to the same NVidia GPU) would refuse to wake from sleep and / or being powered down. The simple fix for me, was to execute from terminal: " xset dpms force standby " [In Comical French Accent:] **A Few Seconds Later** Move the Mouse, or Touchy-touchy the TouchPad, or Press "The Any Key", & All 3 displays would wake back up as instructed. You could attempt something similar, by leaving a terminal open with "xset dpms force on" command left as the next thing you execute, wait for the display(s) to go standby / suspend / off, wait another handful of seconds, press "enter" key to execute the command. Then do the same with the previously mentioned: "xset dpms force off; sleep 5; xset dpms force on" as a useful test as well. If some of these tests succeed, figure out a way to execute -- with something like a keybinding combo or devd(8) -- a shell script that executes when a change in the lid switch is detected. See example: # Notify lid close/open events. notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action "/etc/acpi/lid.sh $notify"; }; From: https://hauweele.net/~gawen/blog/?p=1420 Where you change the line: " action "/etc/acpi/lid.sh $notify"; " to an executable shell script you write yourself (example: /home/yourusername/wakeUP.sh), containing the command: "xset dpms force off; sleep 5; xset dpms force on". The legendary Vermaden also offers very useful tips & script examples to accomplish similar things: https://vermaden.wordpress.com/2018/11/28/the-power-to-serve-freebsd-power-management/ -- You are receiving this mail because: You are the assignee for the bug.
