Bug 19214

Summary: video mode change causes monitor to go out of range
Product: xorg Reporter: Arie Skliarouk <skliarie>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Arie Skliarouk 2008-12-21 04:02:30 UTC
I have an LCD monitor with native resolution 1650x1050. When I try to change the resolution to a different one (e.g. "xrandr -s 1024x768"), the monitor goes dark and following message appears:
Out of range
  Working range
  H: 30-96kHz
  V: 60-75Hz
  Max res 1680x1050
  Current mode
  H: 96kHz
  V: 60Hz

The nvidia driver was taken from package
xserver-xorg-video-nouveau version 1:0.0.10~git20081124-0~ppa1 downloaded from http://ppa.launchpad.net/raof/ubuntu.

The NVidia card used is
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
Comment 1 Stuart Bennett 2008-12-21 06:12:05 UTC
Please include the output of the xrandr command, and attach /var/log/Xorg.0.log when you have run X with the line `Option "ModeDebug" "on" in the Device section of /etc/X11/xorg.conf.

While the problem isn't immediately obvious (for one thing, the reported mode would seem to lie in the monitor's accepted range), it may be that xrandr is attempting to set a DoubleScan mode; have you tried setting the refresh rate with the xrandr command (something like "xrandr -s 1024x768 -r 60")?
Comment 2 Arie Skliarouk 2008-12-21 12:34:59 UTC
> it may be that xrandr is attempting to set a DoubleScan mode;
> have you tried setting the refresh rate with the xrandr command
> (something like "xrandr -s 1024x768 -r 60")?

I tried to specify refresh rate and this time the video mode has changed properly.

The mode setting algorithm still needs to be improved, as there are many games that do their own mode switching and do not specify refresh rate assuming (pretty logically) that the driver would take care about little details (including choosing of highest possible viewable frequency).
Comment 3 Pekka Paalanen 2008-12-21 14:08:32 UTC
This sounds very much like the doublescan mode brain damage. Double scan modes are listed in xrandr just like normal modes except their refresh rate is reported doubled.

Should this bug be marked as duplicate of Bug #16952 ?
Comment 4 Stuart Bennett 2008-12-21 15:47:42 UTC
(In reply to comment #3)
> This sounds very much like the doublescan mode brain damage. Double scan modes
> are listed in xrandr just like normal modes except their refresh rate is
> reported doubled.
> 
> Should this bug be marked as duplicate of Bug #16952 ?

Probably, but I'd still like to see some xrandr output showing a 1024x768@120 mode, or an Xorg log first to confirm it.
Comment 5 Marcin Slusarz 2010-10-13 10:48:33 UTC
No reponse from the reporter for more than a year. Closing as duplicate of mentioned bug. If the problem still exists on current version, please reopen with requested logs.

*** This bug has been marked as a duplicate of bug 16952 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.