Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling to 1.16 works when reloading the config but not when starting Hyprland #9028

Open
2 of 6 tasks
MaxiStrigl opened this issue Jan 11, 2025 · 2 comments
Open
2 of 6 tasks
Labels
bug Something isn't working

Comments

@MaxiStrigl
Copy link

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

I don't know, I started using Hyprland only recently

System Info and Hyprland Version

System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.6.0
 hyprlang 0.6.0
 hyprutils 0.3.1
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: desktop
Release: 6.6.70-1-lts
Version: #1 SMP PREEMPT_DYNAMIC Thu, 09 Jan 2025 13:22:24 +0000


GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:
        unknown: not runtime

monitor: 
resolution="2560x1440"

Description

When setting the resolution to 2560x1440 and the scale to 1.16, both values apply and hyprland scales correctly. However after restarting Hyprland this config causes an error:

Invalid scaled passed to monitor DP-2, failed to find a clean divisor. Suggested nearest scale: 1.250000 Hyprland may not work correctly.

How to reproduce

  1. Set the scale for a monitor to 1.16 and the resolution to 2560x1440.
  2. Restart Hyprland (error from above)
  3. Change the scale to something different and then back to 1.16 (Hyprland scales again)

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

No response

@MaxiStrigl MaxiStrigl added the bug Something isn't working label Jan 11, 2025
@vaxerski
Copy link
Member

exec-once = sleep 1 && hyprctl reload?

@MaxiStrigl
Copy link
Author

Reloading doesn't work. The scale has to be changed to fix the issue.

When restarting with your command the scaling doesn't work. The internal resolution is different to the screens or something like that. I put a screenshot below.

error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants