Topic: problem with nvidia driver

hello
i have installed crunchbang staler but i have a little problem with my nvidia graphic card.
With the native driver all is ok
With the proprietary Nvidia drivers (i have installed it with this post and with the script found on the official nvidia website) my xorg crash when gdm start, solve the problem by deleting the /etc/X11/xorg.conf (i don't have this file after a fresh install it's normal?) but my screen is in 1280*720 or without this driver it's 1400*900 i try to adjust it with grandr but i can't.
my graphic cards is an 9600MGT

01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GT] (rev a1)

result of lspci

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (pbuilder@windlord)  Sun Jun 13 06:03:17 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

my xorg.conf generate with nvidia-xconfig

thanks in advance for help

sorry for my english i'm french

Re: problem with nvidia driver

So you first installed the packages with apt-get and then installed the driver downloaded from NVIDIA's site?
You should better uninstall the packages you installed with apt-get for them not to conflict with the one from NVIDIA.

Then when you have your system clean, you can use the sgfxi script to install it (its just a script that makes available the newest drivers and also automatizes other things like nowadays for Debian Squeeze one has to add nomodeset to the linux line in GRUB and also blacklist the nouveau driver - the open source NVIDIA driver that runs as a kernel module).

Instructions (after your system is clean of the other NVIDIA related Debian packages you have installed):
- close every application, login as root in the terminal and

cd /usr/local/bin && wget -O sgfxi smxi.org/sgfxi && chmod +x sgfxi && sgfxi

- follow the instructions.

Re: problem with nvidia driver

you adjust nvidia driver resolution with nvidia-settings [via run command]

Re: problem with nvidia driver

I think you need to run it with root privileges so it can actually change xorg.conf though so:

gksudo nvidia-settings
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: problem with nvidia driver

anonymous wrote:

I think you need to run it with root privileges so it can actually change xorg.conf though so:

gksudo nvidia-settings

I've not found this to be true[need to be root]