JaKooLit / Hyprland-Dots

Hyprland dotfiles - used as main repo for all my Hyprland Install Scripts.
GNU General Public License v3.0
975 stars 126 forks source link

[Bug]: misc:no_direct_scanout does not exist #405

Closed Celestarien closed 2 months ago

Celestarien commented 2 months ago

Bug Report

Description

After updating my operating system, I encountered an error in the /home/$USERNAME/.config/hyprland.conf file at line 19 and in the /home/$USERNAME/.config/UserSettings.conf file at line 135. The error message stated that "misc:no_direct_scanout" does not exist. According to the updated documentation, this setting has changed and is now part of the "render" attribute. I commented out the "no_direct_scanout" line in the "misc" attribute in the UserSettings.conf file and added the following under "render":

render {
  direct_scanout = false #for fullscreen games
}

This change fixed the error. I suspect that the same fix might be needed in the hyprland.conf file as well.

Steps to Reproduce

  1. Update Hyprland.
  2. The error occurs in the configuration files as described.

Expected Behavior

No error should occur after the update.

Actual Behavior

An error message appears after updating, related to the no_direct_scanout setting.

Screenshots

[No screenshots provided.]

Environment

Operating System: ArchLinux

Additional Information

The error was resolved by adjusting the configuration file as per the updated documentation. You might want to apply the same fix to hyprland.conf.

Celestarien commented 2 months ago

I want to apologize for opening this issue unnecessarily. I realized that the issue has already been fixed here: link to the fix.

As a follow-up question, is there a shell command that would allow me to apply updates directly to my computer from the GitHub repository? This would be helpful to ensure that configurations are always up to date.

Thanks for your hard work and sorry for the confusion!

Kind regards !

dwilliam62 commented 2 months ago

In the repo directory you can do git pull to pull down the latest code. Also on the discord server is where new versions are announced. Also with common errors and fixes