Closed gardk closed 1 month ago
use desc:
and the description
I can't use desc:
with the same string twice, and I wouldn't expect to be able to.
But I already tried it, the snippet below does not make changing the mode on the monitor change the refresh rate:
monitor=desc:Samsung Electric Company Odyssey G85SB H1AK500000,3440x1440@175,auto,1
monitor=desc:Samsung Electric Company Odyssey G85SB H1AK500000,3440x1440@120,auto,1
If I use a single stanza with monitor=DP-1,highrr,auto,1
it does work as expected, but I would consider that a "workaround" of sorts.
As you can see from the command outputs, Hyprland is reporting all the same information for both modes while the EDID output doesn't. If Hyprland exposed that "Model" field from the EDID then I could configure this monitor per mode but as it stands I can't.
ah. My bad.
So I just had a look at this and it needs fixing upstream in wlroots first. It's a tiny patch for wlroots but I'm not allowed to fork on the freedesktop gitlab to make a PR. Would it be easy for you to try getting this merged upstream or should I go through their verification process?
Patched my local copy of Hyprland to use this as well and it seems to work from my 2 minutes of testing. I'm including that patch here, would you prefer a PR maybe? I was thinking that might not be worthwile when the wlroots submodule isn't patched.
I'll try getting myself verified and make a PR over at wlroots, then if it gets accepted I'll make a PR here.
I'll try getting myself verified and make a PR over at wlroots, then if it gets accepted I'll make a PR here.
Again, wlroots. Probably, move to the aquamarine repo?
Oh wow I forgot about this.
Decided to go for a more dynamic approach after activity on my wlroots MR died, and I don't use Hyprland anymore so I'm not interested in working on this. Closing.
That said, if you landed here because you're interested in something similar @izmyname, I recommend you open an issue about specifying monitors using a hash of their output name and EDID. That approach would be a lot more generally useful, and also allows handling the specific case of this issue as well.
Description
Hi,
I'm using a display which has a "normal" and a "game" mode. The only difference shown by
hyprctl monitors
between these two is the availability of 3440x1440@175 in game mode. This includes the "model" field being the same. The EDID information however tells me that these modes present different model numbers.Would it be possible to add the ability to specify something like
monitor = modelnr:29426, ...
to Hyprland? As far as I can tell from the wiki and my own testing there's no way for me to explicitly configure different refresh rates for each mode here, please do correct me if I'm wrong. That being said I am using thehighrr
option and that works flawlessly, so if you don't feel it necessary to implement this then that would be completely understandable.NORMAL MODE
GAME MODE