Ubuntu – Eye strain; how to change refresh rate to 120 Hz

compiznvidiaresolutionxrandr

I am a new Ubuntu user, and have been playing around with it with since installing it. I noticed that I have been getting a lot of eye strain due to the low refresh rate (of 50 or 60). I found this post about changing the refresh rate, but unfortunately, I can't seem to turn it up.

I have a BenQ XL2420T 120 Hz monitor. I have the NVIDIA proprietary drivers installed. CompizConfig Settings Manager showed a value of 50 for the Refresh Rate property under the Composite plugin, but changing this to 120 didn't have any effect. xrand displays the columns 60.0*+ 120.0 99.9 for my resolution, but when I try the xrand -r 120 or xrand -r 99.9 commands, it just says that the refresh rate is not available for the size.

I don't understand what's going on here. I assume that those three columns that xrand output are the current refresh rate, the maximum refresh rate, and… something else. So clearly it sees that 120 is supported – why does it then say that it's not available?

How do I get this to work? It's been so long since I've worked with such a low refresh rate and it's killing my eyes.

Thanks in advance.

Best Answer

I managed to fix this issue, so I'm posting the answer here in case anyone else has the same problem.

  1. According to someone on the internet, the NVIDIA drivers don't support xrandr (or at least not the current version). In order to change the resolution, I needed to use the "NVIDIA X Server Settings" GUI instead. The option is available on the "X SERVER Display Configuration" menu, under the "Resolution" setting. It defaults to "Auto" which apparently always uses 60 Hz. I needed to explicitly set my resolution and refresh rate, and apply it. Note that the first time I did this, I got a crash (from Compiz, I think?). I restarted my system and tried it again, and that time it worked. After changing this setting, xrandr displays 120 Hz as the current refresh rate.

  2. However, the above change isn't the full story. I could clearly see that 120 Hz was still not being used, as rapidly dragging windows around on my screen resulted in jerky and flickery movement. In order to fix this, I had to open up the "CompizConfig Settings Manager" GUI, navigate to the "Composite" plugin, and again set the refresh rate back to 120 Hz. I had already changed this earlier, but for some reason, it had changed itself back. I then disabled "Detect Refresh Rate" in order for it to hopefully keep my setting.

With the above steps implemented, my refresh rate has successfully been changed to 120 Hz. It's amazing going back to 120 Hz again after suffering 60 Hz. It is silky smooth, and my eyes are already feeling better. :)