prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
7.58k stars 879 forks source link

Apps and background become black after suspend #640

Closed murleo closed 11 months ago

murleo commented 11 months ago

Steps:

input

input { kb_layout = us,ua kb_options = grp:alt_shift_toggle }

windowrules

windowrulev2 = opacity 1.00 1.00,class:^(firefox)$ windowrulev2 = opacity 1.00 1.00,class:^(Code)$ windowrulev2 = opacity 1.00 1.00,class:^(code-url-handler)$ windowrulev2 = opacity 0.90 0.90,class:^(kitty)$

windowrulev2 = float,class:^(org.telegram.desktop)$


* Installed a few apps (spotify, steam, telegram, chromium, nvchad) 
* Configured spotify and chromium to run using Wayland
* Suspended via wlogout or manually using `systemctl suspend`
* Resumed
* All apps and wallpaper became black. For example,
![231210_15h06m20s_screenshot](https://github.com/prasanthrangan/hyprdots/assets/12598936/a017a7b4-72d8-4c5f-b93c-c686ac580300). However, Chromium-based apps and Firefox seem to go back to normal after navigating between workspaces back and forth. Other apps like kitty, steam have to be restarted. Wallpaper has to be manually changed via `switch wallpaper` button or shortcut. This happens consistently.
* Restarted apps work fine.

Packages:
* linux 6.6.4-arch1-1
* hyprland-git 0.33.1.r3.62a8d0be-1
* nvidia-dkms 545.29.06-1

Specs:
* ASUS ROG Crosshair VIII Dark Hero
* Ryzen 7 5800X3D
* ASUS RTX 2080
Gl00ria commented 11 months ago

This is an nvidia driver issue of how to preserve video memory after suspend.

See this from arch wiki,and this issue from the Hyprland github page for further reading.

murleo commented 11 months ago

Thanks! I will try it out.

murleo commented 11 months ago

This is an nvidia driver issue of how to preserve video memory after suspend.

See this from arch wiki,and this issue from the Hyprland github page for further reading.

This fixed the issue! Thanks!