This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Is there a way to force a refresh rate ?

Tags: None
(comma "," separated)
Tromzy
Registered Member
Posts
33
Karma
0
OS
Hello to the KDE community,

So here is my setup : a dual monitor configuration with a 1680x1050 @ 120 hz monitor as primary display, and a 1440x900 @ 60 hz monitor as secondary display. The resolutions and refresh rate are alright when I'm on the KDE desktop, but in some games (not all games), the refresh rate of the 120 hz monitor switches to 60 hz, which is not really annoying, but when I quit the game, the refresh rate on the desktop stays at 60 hz and I have to change it back to 120 hz myself.

I'm using the AMD proprietary driver with a Radeon HD 7750 on Kubuntu. I looked in the Catalyst Control Center but couldn't find a way to force the 120 hz refresh rate on the desktop. Is there a way to force it in KDE ? I'm not even sure this is a KDE issue, probably more an X.org issue, but I would appreciate a little help though. :)
User avatar
google01103
Manager
Posts
6668
Karma
25
for KDE the krandrtray app in the system tray, left or right mouse button to open (Note diff screens but pretty much same functionality)

for command line look at the xrandr command

better question might be is there a way to stop the drop in the refresh rate


OpenSuse Leap 42.1 x64, Plasma 5.x

Tromzy
Registered Member
Posts
33
Karma
0
OS
Thank you for your answer. You seem to give me a way to change the refresh rate back to 120 hz after it dropped, right (via Krandrtray or xrandr) ? Thanks but I knew how to do that already ; I need a way to make it switch back automatically (make it force the game to play at 120 hz would be the perfect solution, but I guess it is not possible). Or maybe I misinterprated your answer ?
User avatar
google01103
Manager
Posts
6668
Karma
25
no I misinterpreted your question

why not create a batch file to call the game(s) and when it exits call xrandr to up the refresh rate
or in the batch file and call xrandr after the game starts (the diff would be the game command would be followed by a "&" to start in background)


OpenSuse Leap 42.1 x64, Plasma 5.x

Tromzy
Registered Member
Posts
33
Karma
0
OS
Actually I do that already for a few games. But it's kind of annoying to do it for all games, and I'm not sure I can do that for the ones that I launch from Steam. I was hoping for a cleaner solution, but thanks anyway for your time.
User avatar
google01103
Manager
Posts
6668
Karma
25
you could create and run a background process that tests refresh rate and ups it if it falls below then sleeps and tests again

you might want to add a test to determine highest refresh rate in case monitors switch


OpenSuse Leap 42.1 x64, Plasma 5.x

Tromzy
Registered Member
Posts
33
Karma
0
OS
That's a good idea, actually I don't think I have the capacity to do that... I'm kind of noobish. ;)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]