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

Refresh Rate not set to 165 #8

Open
getBoolean opened this issue Mar 2, 2024 · 8 comments
Open

Refresh Rate not set to 165 #8

getBoolean opened this issue Mar 2, 2024 · 8 comments

Comments

@getBoolean
Copy link

getBoolean commented Mar 2, 2024

I've created these two profiles below. When I switch to ipad, the refresh rate is switched to 60, but when I switch to default, the refresh rate stays at 60 instead of switching to 165. Any idea what I am doing wrong?

default:  3440 x 1440, 32, 165
ipad:  2882 x 2160, 32, 60

Device Details:

  • Windows 11
  • AMD Radeon RX 7900 XT GPU
@HopleViorn
Copy link

The same as you are. My profile is 3440x1440,144 and 2880x1920,120. Every time I switch to this 3440x1440 it will be 120hz but not 144hz.

@RickStrahl
Copy link
Owner

RickStrahl commented Apr 3, 2024

Can you switch to these resolutions and refresh rates with the UI?

What about explicitly running from the command line?

@getBoolean
Copy link
Author

@RickStrahl do you mean from Windows settings? yes, I can change resolution and refresh rate to these values manually

using the sr command-line tool? see issue description

I'm no longer using SR, I found an alternative solution for my use case that doesn't require switching resolution.

@RickStrahl
Copy link
Owner

RickStrahl commented Apr 3, 2024

Yes - I was asking because the original issue talks about using a profile configuration (which should work the same, but better to make sure). I was looking for the actual message that is returned if there is one.

I'm not sure why it wouldn't work with certain refresh rates. On my machine I'm able to set to any of the supported refresh rates, but my rates are very low (ie. standard 60hz). Whatever resolution is chose has to match one of the listed modes exactly.

To list all available modes (including orientations if non-default):

setresolution list -la

@Unix0815
Copy link

Unix0815 commented Apr 13, 2024

It's even worse in my case. I want to switch to 720x576@50 Hz and your tool switches to 1920x1080@120 Hz instead. That's not even close ;)

I think it has some problems with screens that can display at multiple different refresh rates. TV's for example

@TopCheddar27
Copy link

Just to add to this, the -f switch is broken. For reference, when using this on a 240hz screen to set it to 60hz the command completes successfully with correct output:

image

However it clearly does not switch the framerate:

image

@KyleMizell
Copy link

I'm also having trouble changing the refresh rate. I can change it manually through the Windows 11 UI, but not through your script from the command line. It changes the resolution just fine.

image
image

It reports that it was able to change the refresh rate, but it stays at 60hz.

@JYShaw
Copy link

JYShaw commented Feb 7, 2025

It appears that if you use a profile such as 4K or 1080p, the -f argument will be overwritten by the default frequency defined in the SetResolution.xml file.

For now, you can use the -w and -h arguments as an alternative to specify the resolution and avoid this issue.

Additionally, you can modify the SetResolution.xml file to specify the desired frequency.

This bug is located in SetResolutionProcessor.cs at line 50. I will attempt to fix it if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants