nvidia-settings no longer changes screen mode

Bug #325115 reported by Rocko
62
This bug affects 5 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Undecided
auto-xorg
nvidia-settings (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: nvidia-settings

The latest nvidia-settings in Jaunty can no longer change screen modes.

When X starts, xorg.conf (attached) is configured to display the laptop screen and an external monitor side-by-side.

When I run nvidia-settings and try to change the external monitor to either be disabled or to be a clone or the laptop screen, I just get the error:

"Failed to set MetaMode (1) 'DFP-0: nvidia-auto-select@1680x1050 +0+0 (Mode 1680x1050, id: 51) on X screen 0"

or

"Failed to set MetaMode (1) 'DFP-0: nvidia-auto-select@1680x1050 +0+0, DFP-1: nvidia-auto-select @1680x1050 +0+0 (Mode 1680x1050, id: 52) on X screen 0."

nvidia-settings (for driver 180.22 or 173.14.12) using the same xorg.conf file work fine in Intrepid and Hardy.

Running sudo nvidia-xconfig does not fix the problem.

Ubuntu 9.04
nvidia-kernel-source 180.27-0ubuntu1
nvidia-settings 180.25-0ubuntu1

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Jason McMullan (jason-mcmullan) wrote :

Confirmed on my Thinkpad T61p with Jaunty, and:

nvidia-173-kernel-source (173.14.16-0ubuntu1)
nvidia-173-modaliases (173.14.16-0ubuntu1)
nvidia-180-libvdpau (180.27-0ubuntu1)
nvidia-180-modaliases (180.27-0ubuntu1)
nvidia-71-modaliases (71.86.08-0ubuntu1)
nvidia-96-modaliases (96.43.10-0ubuntu1)
nvidia-common (0.2.6)
nvidia-glx-173 (173.14.16-0ubuntu1)
nvidia-glx-180 (180.27-0ubuntu1)
nvidia-settings (180.25-0ubuntu1)

xorg.conf is a copy of xorg.conf.failsafe, with 'Driver "nvidia"' as the only change.

Revision history for this message
Aaron Plattner (aplattner) wrote :

Thanks for reporting this. I tracked this down to a regression in the X server caused by commit 56f6fb [randr: Avoid re-querying the configuration on everything but GetScreenResources]. The problem is that the DIX and DDX get out of sync with respect to the mode pool, so the DDX knows about the new configuration but the DIX doesn't. I started a thread about it on the X.org mailing list, so hopefully it'll get resolved before 1.6 comes out. In the meantime, you can work around the problem by hitting the apply button, dismissing the failure dialog, running "xrandr" in a terminal window, and then hitting the apply button again.

http://lists.freedesktop.org/archives/xorg/2009-February/043402.html

Changed in nvidia-settings:
status: New → Invalid
Revision history for this message
Khabarik (khabarik) wrote :

Workaround didn't work... It results either in reboot or distorted compiz windows. One time everything was good till I started firefox - then in hanged...

Revision history for this message
Rocko (rockorequin) wrote :

The workaround has so far worked for me, thanks.

Revision history for this message
Svein Harald Soleim (sveinh) wrote :

Confirmed on 8800 gts. Not sure if this has anything to do with it, but video playback "lags" after upgrade to 9.04

Revision history for this message
agren (andreas-gren) wrote :

Works here too. Ti4200, driver 96. Cheers!

Revision history for this message
Aaron Plattner (aplattner) wrote :

Fixed upstream:

commit 660c2a7d4c6cb52fd0992e9d2008a24805dc8c02
Author: Aaron Plattner <email address hidden>
Date: Thu Feb 12 18:27:48 2009 -0800

    Query the DDX in ProcRRGetScreenInfo.

    This is the RandR 1.1 version of GetScreenResources and needs to re-query the
    DDX to see if the mode pool changed.

    Fixes Launchpad bug #325115.
    Signed-off-by: Adam Jackson <email address hidden>

:100644 100644 da633b2... 36ef86e... M randr/rrscreen.c

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Thanks, Aaron. And thank you for the work-around. T61 with nvidia 180.29.

Revision history for this message
Jorge Gustavo (jgr) wrote :

Also getting this error.

ubuntu jaunty 9.04
kernel 2.6.28-8-server
nVidia Corporation GeForce 8700M GT
X.Org X Server 1.5.99.902 (1.6.0 RC 2)
Release Date: 2009-1-30
NVIDIA GLX Module 180.35

The work around worked.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Failed to set MetaMode (1) 'DFP-0: nvidia-auto-select @1280x800 +0+0, CRT-0: nvidia-auto-select @1440x900 +1280+0' (Mode 2720x900, id: 67) on X screen 0.

Laptop 12800x800, VGA LCD at 1440x900
$ apt-cache policy nvidia-glx-180
nvidia-glx-180:
  Installed: 180.35-0ubuntu1
  Candidate: 180.35-0ubuntu1
  Version table:
 *** 180.35-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/restricted Packages
        500 ftp://archive.ubuntu.com jaunty/restricted Packages
        100 /var/lib/dpkg/status

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
Uname: Linux 2.6.28-8-generic x86_64
UserGroups: adm admin audio cdrom davfs2 dialout dip fax floppy fuse kvm lpadmin nagios netdev plugdev polkituser sambashare scanner sudo sys syslog tape users video voice www-data

Revision history for this message
Aaron Plattner (aplattner) wrote :

Fixed in xserver 1.6.

Changed in xorg-server:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.