You are not logged in.

#1 2012-06-16 09:44:04

jose1711
Member
Registered: 2006-07-08
Posts: 147

refresh rate going to 60Hz when leaving fullscreen games

i am using nvidia blob drivers on a single monitor setup - they're working fine except that often (always?) when i am leaving openGL fullscreen game, the refresh rate defaults to 60 (from 75 Hz). anyone knows how to fix this? thanks, jose

Offline

#2 2012-06-16 10:11:12

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: refresh rate going to 60Hz when leaving fullscreen games

The most vital information is missing: LCD or CRT?

Offline

#3 2012-06-16 10:14:07

jose1711
Member
Registered: 2006-07-08
Posts: 147

Re: refresh rate going to 60Hz when leaving fullscreen games

lcd. anyway i can tell the difference betwen 60 and 75 hz with a naked eye..

Offline

#4 2012-06-16 10:42:55

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: refresh rate going to 60Hz when leaving fullscreen games

There is no refresh rate on an LCD. Describe what you see, post xorg.conf and/or xorg.conf.d files, look up the settings with xrandr.

Offline

#5 2012-06-16 11:21:34

jose1711
Member
Registered: 2006-07-08
Posts: 147

Re: refresh rate going to 60Hz when leaving fullscreen games

http://pastebin.com/ZH2HP5HM

when switching betwen 60 and 75 Hz in nvidia-settings i can clearly see that 60Hz is blurry. xrandr between two modes:

$ xrandr >75_hz.xrandr
xrandr: Failed to get size of gamma for output default
$ xrandr >60_hz.xrandr
xrandr: Failed to get size of gamma for output default
$ sdiff -s 60_hz.xrandr 75_hz.xrandr 
   1280x1024      50.0     51.0     74.0* 		      |	   1280x1024      50.0     51.0*    74.0  

Offline

#6 2012-06-16 17:25:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: refresh rate going to 60Hz when leaving fullscreen games

Interesting thing about LCDs.  The panels themselves always run at one rate. Period.  The front end may accept different frame rates in order to make it more convenient to interface to a variety of video sources that may have different frame rates.  Regardless of what the front end accepts, the display electronics must do a frame rate conversion to the native rate of the panel.  This is always a compromise; it will require frame doubling, frame dropping, or allow "tears" to roll through the display if a frame is allowed to change mid-scan.

If possible, the source video should always be set to the native rate of the LCD panel itself.

Awebb pointed out that there is no refresh rate on an LCD.  Well, yes and no.  CRTs are refreshed at their frame rate.  The light emitted from a given point on the screen decays rapidly and is almost black by the time the next refresh period comes around.  This is why CRTs flicker, and why it is difficult to photograph or film them.  With LCDs, the light emitted from a given point on the screen can be updated at the frame rate.  Unlike CRTs, the light from a given point remains (almost) constant until it is changed during a subsequent scan.  This is why one can take a photo of an LCD without seeing dark bands.

The blurry image at 60 Hz is probably an indication the frame rate of the LCD is not 60 Hz and that something in the loop is doing the best it can to fit a square peg into a round hole.

Executive summary:  Find the native panel frequency, and run at that rate.

Last edited by ewaller (2012-06-16 17:25:26)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2012-06-16 17:40:16

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: refresh rate going to 60Hz when leaving fullscreen games

I'd say that for a lcd, a blurry image equals non native resolution and scaling is being used. Frame dropping or duplication should not make the image blurry unless you are using an analog interface, in which case you are dealing with way too many conversions along the way.

One curious thing I see is that 1280x1024 doesn't seem to be the default mode for that display so either the edid is broken (which could happen), can't be read properly or the native resolution is not 1280x1024. Another thing I see is that according to xrandr it changes to 51Hz and not 60Hz. It would be much better if we could see the full output of xrandr and not just a diff.

On another note, I've noticed that some games/apps are not too good at restoring the settings present before said game/app runs so I'm not too surprised you are having such a problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2012-06-16 17:42:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: refresh rate going to 60Hz when leaving fullscreen games

R00KIE wrote:

I'd say that for a lcd, a blurry image equals non native resolution and scaling is being used. Frame dropping or duplication should not make the image blurry unless you are using an analog interface, in which case you are dealing with way too many conversions along the way.

I agree 100%.  I did not even think to go there as that not was one of the variables with which the OP was fiddling.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2012-06-16 20:09:31

jose1711
Member
Registered: 2006-07-08
Posts: 147

Re: refresh rate going to 60Hz when leaving fullscreen games

hello, thanks for your replies. monitor is iiyama ProLite B196S and i believe 1280x1024 is its native resolution. xrandr output below.

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      50.0     51.0*    74.0
   1280x960       52.0
   1152x864       53.0
   1024x768       54.0     55.0     56.0
   832x624        57.0
   800x600        58.0     59.0     60.0     61.0
   700x525        62.0     63.0
   640x480        64.0     65.0     66.0     67.0     68.0
   512x384        69.0     70.0
   400x300        71.0
   320x240        72.0     73.0

Offline

#10 2012-06-17 11:21:43

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: refresh rate going to 60Hz when leaving fullscreen games

From the output of xrandr it seems that a default mode is not advertised or selected by the driver, also I have found nothing about your monitor on google, not even images, I was expecting to find a manual or some page with the specs, so you probably need to find the manual that came with it and check which are the native and recommended resolution and refresh rate.

It would also help to know if you are connecting it over an analog or digital interface, if you are using any xorg.conf, which graphics card you have and the driver you use.

As an example here's the output of xrandr on my laptop with an external monitor connected over dvi, notice the "+" on the native resolutions line beside the recommended refresh rate. For the external monitor it matches the refresh rate recommended by the manufacturer.

Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected (normal left inverted right x axis y axis)
   1440x900       59.9 +   75.0  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4

R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#11 2012-06-17 11:54:51

jose1711
Member
Registered: 2006-07-08
Posts: 147

Re: refresh rate going to 60Hz when leaving fullscreen games

sorry, i made a typo. monitor model is b1906s prolite. i am connecting via vga interface to nvidia 9500gt, driver currently used is nvidia-pae 295.53-2

01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)

Offline

#12 2012-06-17 12:38:28

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: refresh rate going to 60Hz when leaving fullscreen games

Your card seems to support dvi, your monitor supports dvi and a dvi cable should have come with it. Any reason why you're not using the dvi interface?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#13 2012-06-17 18:55:02

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: refresh rate going to 60Hz when leaving fullscreen games

This is from The specs after a google

Resolution: 1280 x 1024

Electronic Programme Guide:

Frequency: 50/60Hz

You must also bear to mind xrand and Nvidia fail to agree on frequencies Nvidia being correct


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#14 2012-06-17 19:14:07

jose1711
Member
Registered: 2006-07-08
Posts: 147

Re: refresh rate going to 60Hz when leaving fullscreen games

R00KIE wrote:

Your card seems to support dvi, your monitor supports dvi and a dvi cable should have come with it. Any reason why you're not using the dvi interface?

this is actually a very good question. i used to have this connected via vga because of second monitor on dvi in my past multiheaded setup but now that i got rid of it.. i completely forgot about using vga. i switched to dvi now and i think the situation is now better - will need to test a few games though. this is how xrandr output looks now:

$ xrandr 
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      50.0*    51.0  
   1280x960       52.0  
   1152x864       53.0  
   1024x768       54.0     55.0     56.0     57.0     58.0     59.0  
   960x720        60.0  
   928x696        61.0  
   896x672        62.0     63.0  
   832x624        64.0  
   800x600        65.0     66.0     67.0     68.0     69.0     70.0     71.0     72.0     73.0     74.0  
   720x400        75.0  
   700x525        76.0     77.0  
   640x512        78.0     79.0     80.0  
   640x480        81.0     82.0     83.0     84.0     85.0     86.0     87.0     88.0  
   640x400        89.0  
   640x350        90.0  
   576x432        91.0  
   512x384        92.0     93.0     94.0     95.0     96.0  
   416x312        97.0  
   400x300        98.0     99.0    100.0    101.0    102.0  
   360x200       103.0  
   320x240       104.0    105.0    106.0    107.0  
   320x200       108.0  
   320x175       109.0 

Offline

#15 2012-06-17 19:55:17

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: refresh rate going to 60Hz when leaving fullscreen games

At least now with the 1280x1024 native resolution you should get the best image possible regardless of the refresh rate (after you mentioned the correct model number it was easy to find the manual and confirm this).

According to what mandog says you might want to check the nvidia control panel since xrandr might not be reporting correct values. You can also check the effective refresh rate that is being used in the osd menu of the monitor, can't get more accurate info than that one big_smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB