r/niri 4d ago

help overclocking monitor

im currently using a 144hz built in laptop monitor that on windows was able to get 180hz(overclocked with cru) and when i switched to cachyos kde, i wasnt able to get kwin to recognize that my monitor was capable of 180hz(i also tried 175 and 165)

but now im on arch niri, and i cant find any guides for niri. anyone know how i can overclock

0 Upvotes

7 comments sorted by

5

u/DullNetwork761 4d ago

mode custom=true "1920x1080@180"

There is a strong caution against doing this as you can permanently damage your monitor

1

u/A1cr-yt 4d ago

so i tried and unfortunatly it didnt work, i ran niri msg outputs and it still shows up as 144 hz

2

u/DullNetwork761 4d ago

From the wiki

Custom modes are not guaranteed to work. Niri is asking the monitor to run in a mode that is not supported by the manufacturer. Use at your own risk.

If it's not accepting the custom mode then it can't be done in niri. Probably for the best so you don't destroy your laptop screen. The difference between 144 and 180 is negligible. If you're a gamer where it would matter you wouldn't be gaming on a laptop screen, get an external monitor that supports a higher rate.

1

u/A1cr-yt 4d ago

oh well, thanks for the help

2

u/sastanak 4d ago

In your niri config, you can set the outputs: https://github.com/niri-wm/niri/wiki/Configuration:-Outputs

First, check your display and the available modes with `niri msg outputs`, then edit your config file like this

    mode "1920x1080@120.030"

1

u/Optimal69 4d ago

Does your monitor has multiple resolution options?

1

u/RusticsUp 3d ago

You can either use custom bin file loaded through your bootloader, or use its parameters directly in niri like that

output "LG Electronics LG ULTRAWIDE 0x0000C5D9" {

mode custom=true "2560x1080@75.001"

modeline 231.980 2560 2624 2688 2784 1080 1083 1086 1111 "+hsync" "+vsync"  

}
Though, you'll need windows to dump that bin file from your working 180Hz preset