prasanthrangan / hyprdots

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

Game window becomes black after wakeup #1709

Closed QSkill closed 1 month ago

QSkill commented 1 month ago

Bug Report

Description

Whenever I launch a game and then closed the lid of my laptop (which runs systemctl suspend) and then wake my laptop up and input my password the game window becomes black, this happens with Steam and non-Steam games, in proton and in native games.

Steps to Reproduce

  1. Launch game
  2. Suspend laptop
  3. Wake up and log in

Expected Behavior

Game window acts normally

Actual Behavior

Game window becomes black

Screen recording

https://github.com/user-attachments/assets/60c87a4b-7784-4a36-a504-e948dfdaa03f

Environment

Enigma1309 commented 1 month ago

it depends on game, sometime wine games does it, it has nothing to do with these dotfiles.

QSkill commented 1 month ago

this happens with Steam and non-Steam games, in proton and in native games.

Also this isn't new, it has been bothering me for a while now, but I just didn't find an answer so I reported it here.

btw I now use nvidia-open-dkms but it was also happening with nvidia-dkms.

I have a feeling this might be caused by Hyprland or Wayland so I reported it here.

kRHYME7 commented 1 month ago

my laptop (which runs systemctl suspend)

Try to disable that and use hyprctl dispatch dpms off instead

QSkill commented 1 month ago

I use that to turn off my screen but I want to suspend to RAM to save battery, is the problem always going to happen when suspending to RAM?

kRHYME7 commented 1 month ago

BTW Can you try report it ni Hyprland repo https://github.com/hyprwm/Hyprland

This issue might not be under the scope of this dotfiles. Please reopen if you guys find out that the dotfiles lack something/ causes the issue. Thank you