Nvidia settings are not persistent in 10.04.2 LTS

Asked by keepertoad

I have a fresh install of 10.04.2 LTS on Macbook Air. The restricted Nvidia driver is installed and appears to work well except that on boot it defaults to 800x600 res no matter how many times I save the configuration settings. They appear to be written to /etc/X11/xorg.conf and the desired mode, 1440x900 is the first entry on the mode line. I have even manually edited the xorg.conf file to remove all modes except the desired default, 1440x900.

Resolution must be changed from 800x600 to 1440x900 on every boot, a real pita.

here is my config file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Fri Apr 9 10:35:18 UTC 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Thu Apr 22 11:44:23 PDT 2010

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Apple Color LCD"
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 320M"
EndSection

Section "Screen"

    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "1440x900 +0+0"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

BTW, the nomodeset kernel parameter needed for install has been removed from present grub config but it made no difference.

Any thoughts much appreciated.

B.J.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
keepertoad
Solved:
Last query:
Last reply:
Revision history for this message
keepertoad (keepertoad) said :
#1

Forgot to mention I have tried this from the Nvidia GUI and from a terminal. Same result either way.

Revision history for this message
keepertoad (keepertoad) said :
#2

Sorry, also forgot to mention it is an x86/32 bit install.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you give the output of:

lsb_release -a; dpkg -l | grep nvidia

Have you considered trying Natty, the desktop support for both ends at the same time

Revision history for this message
keepertoad (keepertoad) said :
#4

On Tue, 2011-07-05 at 20:31 +0000, actionparsnip wrote:
> Your question #163803 on xserver-xorg-video-nv in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/163803
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Can you give the output of:
>
> lsb_release -a; dpkg -l | grep nvidia
>
> Have you considered trying Natty, the desktop support for both ends at
> the same time
>
bmcclure@mac-air-laptop:~$ lsb_release -a; dpkg -l | grep nvidia
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
ii nvidia-173-modaliases 173.14.22-0ubuntu11
Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.17-0ubuntu1
Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.23
Find obsolete NVIDIA drivers
ii nvidia-current 195.36.24-0ubuntu1~10.04
NVIDIA binary Xorg driver, kernel module and
ii nvidia-current-modaliases 195.36.24-0ubuntu1~10.04
Modaliases for the NVIDIA binary X.Org drive
ii nvidia-settings 195.36.08-0ubuntu2
Tool of configuring the NVIDIA graphics driv
bmcclure@mac-air-laptop:~$

As for Natty, it does not seem logical to me to reinstall and configure
because there is likely a bug in one package.

Thanks for your response.

B.J.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Ok and:

sudo lshw -C display

Thanks

Revision history for this message
keepertoad (keepertoad) said :
#6

On Tue, 2011-07-05 at 21:31 +0000, actionparsnip wrote:
> Your question #163803 on xserver-xorg-video-nv in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/163803
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Ok and:
>
> sudo lshw -C display
>
> Thanks
>

bmcclure@mac-air-laptop:~$ sudo lshw -C display
[sudo] password for bmcclure:
  *-display
       description: VGA compatible controller
       product: nVidia Corporation
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:92000000-92ffffff
memory:80000000-8fffffff(prefetchable)
memory:90000000-91ffffff(prefetchable) ioport:1000(size=128)
memory:93000000-9301ffff(prefetchable)
bmcclure@mac-air-laptop:~$

Per your request.

Thanks,
B.J.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Hmm, not useful. What is the make / model of the system please?

Revision history for this message
keepertoad (keepertoad) said :
#8

On Tue, 2011-07-05 at 22:01 +0000, actionparsnip wrote:
> Your question #163803 on xserver-xorg-video-nv in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/163803
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Hmm, not useful. What is the make / model of the system please?
>

As stated in the original post, it's a Macbook Air. 11", 2 GB Ram, etc.
If there is a Model Number on it I can't find it.

bmcclure@mac-air-laptop:~$ lspci
00:00.0 Host bridge: nVidia Corporation Device 0d60 (rev a1)
00:00.1 RAM memory: nVidia Corporation Device 0d68 (rev a1)
00:01.0 RAM memory: nVidia Corporation Device 0d6d (rev a1)
00:01.1 RAM memory: nVidia Corporation Device 0d6e (rev a1)
00:01.2 RAM memory: nVidia Corporation Device 0d6f (rev a1)
00:01.3 RAM memory: nVidia Corporation Device 0d70 (rev a1)
00:02.0 RAM memory: nVidia Corporation Device 0d71 (rev a1)
00:02.1 RAM memory: nVidia Corporation Device 0d72 (rev a1)
00:03.0 ISA bridge: nVidia Corporation Device 0d80 (rev a2)
00:03.1 RAM memory: nVidia Corporation Device 0d7b (rev a1)
00:03.2 SMBus: nVidia Corporation Device 0d79 (rev a1)
00:03.3 RAM memory: nVidia Corporation Device 0d69 (rev a1)
00:03.4 Co-processor: nVidia Corporation Device 0d7a (rev a1)
00:04.0 USB Controller: nVidia Corporation Device 0d9c (rev a1)
00:04.1 USB Controller: nVidia Corporation Device 0d9d (rev a2)
00:06.0 USB Controller: nVidia Corporation Device 0d9c (rev a1)
00:06.1 USB Controller: nVidia Corporation Device 0d9d (rev a2)
00:08.0 Audio device: nVidia Corporation Device 0d94 (rev a2)
00:0a.0 IDE interface: nVidia Corporation Device 0d85 (rev a2)
00:0b.0 RAM memory: nVidia Corporation Device 0d75 (rev a1)
00:15.0 PCI bridge: nVidia Corporation Device 0d9b (rev a1)
00:17.0 PCI bridge: nVidia Corporation Device 0d76 (rev a1)
01:00.0 Network controller: Broadcom Corporation Device 4353 (rev 01)
02:00.0 VGA compatible controller: nVidia Corporation Device 08a3 (rev
a2)
bmcclure@mac-air-laptop:~$

Thanks again.

B.J.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Your nvidia chip is new and the 195 driver isn't cutting it. I suggest you reinstall Natty (Desktop support ends at the same time so you lose nothing there) and you will get the 270 driver which should make things good.

Alternatively you may be able to add a startup item to change the resolution for you (bit of a hack but should work)

Revision history for this message
keepertoad (keepertoad) said :
#10

On Wed, 2011-07-06 at 05:15 +0000, actionparsnip wrote:
> Your question #163803 on xserver-xorg-video-nv in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/163803
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Your nvidia chip is new and the 195 driver isn't cutting it. I suggest
> you reinstall Natty (Desktop support ends at the same time so you lose
> nothing there) and you will get the 270 driver which should make things
> good.

Actually, the Ubuntu website says 6 months longer EOL for Lucid but that
is not a big issue.

I'm not in complete agreement that it is a driver issue. It acts as if
nouveau may be loading first and Nvidia just uses nouveau default res.
I will install Natty when I get back to the shop. Playing road warrior
at the moment and need the lappie .

Thanks for input and I will report back the results in a couple days.

B.J.

> Alternatively you may be able to add a startup item to change the
> resolution for you (bit of a hack but should work)
>

RHEL 6.0, Linux 2.6.32-131.2.1.el6.x86_64

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

You could blacklist the nouveau driver if you suspect it is causing an issue

Revision history for this message
keepertoad (keepertoad) said :
#12

Of course. Just need a little time. :-/

Thanks,
B.J.

On Wed, 2011-07-06 at 18:01 +0000, actionparsnip wrote:

> Your question #163803 on xserver-xorg-video-nv in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/163803
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> You could blacklist the nouveau driver if you suspect it is causing an
> issue
>

RHEL 6.0, Linux 2.6.32-131.2.1.el6.x86_64

Revision history for this message
keepertoad (keepertoad) said :
#13

Solved. Install of Natty went w/o a hitch and installed nvidia driver automagically. All is well. Thanks for the help.

B.J.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

No worries, the driver in Lucid is not up to scratch for your video chip. Why you installed Lucid is anyone's guess.