Hi all

Yesterday my resolution was changed and I tried to change it back but nvidia wouldn't list the resolution I wanted 1280x1024 so I removed the nvidia driver and re-installed it.
After that it worked, it listed the resolution i wanted, but then this morning I booted up and the resolution was 1152x864 so i entered

gksudo nvidia-settings

and changed my resolution back to 1280x1024 and clicked apply, then save to X configuration file, and it did. Upon reboot the setting were back at 1152x864 so I tried it again but every time I reboot the settings are lost. On Google I found some people having the same problem but clicking "save to X configuration file" does the job but in my case it doesn't.
I am using nvidia accelerated graphics driver (version 180) [recommended]
Can anyone help me please?

Many thanks

HLA91

Dani AI

Generated

For : this kind of "saved settings that vanish after reboot" usually means X is not actually using the file you edited or something else (kernel/DE/display manager) is overriding it. 's suggestion to reinstall drivers can help in driver-mismatch cases, but it is better first to verify what X is loading and where the saved settings actually went.

Start by checking what the X server and kernel are using and whether the NVIDIA module is loaded:

grep -i nvidia /var/log/Xorg.0.log
lspci -k | grep -A2 -i vga
lsmod | grep nvidia

Look for which driver is in use and any mode-selection messages in the X log. Also check whether a per-user NVIDIA file exists (~/.nvidia-settings-rc) and whether a system X config was written to /etc/X11/xorg.conf. Back up any existing config before editing.

If X ignores /etc/X11/xorg.conf, apply the mode at session start (works around X config issues). Create a small startup script (make it executable) that runs at login:

#!/bin/sh
xrandr --output <OUTPUT_NAME> --mode <PREFERRED_MODE>

Alternatively, place a minimal X snippet in /etc/X11/xorg.conf.d/10-monitor.conf (or edit /etc/X11/xorg.conf) specifying PreferredMode for your monitor. Example structure:

Section "Monitor"
  Identifier "Monitor0"
  Option "PreferredMode" "PREFERRED_MODE"
EndSection

Final checks: ensure no conflicting drivers (nouveau) are present, file permissions allow X to read /etc/X11/xorg.conf, and desktop/display-manager tools are not applying their own settings at login. Back up configs before any change; if diagnostics show the proprietary driver is not active, then reinstalling the correct NVIDIA package for your kernel (and rebuilding initramfs) is the next safe step.

O.K first thiung uninstall everything in the nvidia software drivers....
theres an issue with what your using...second is this a monitor or a flat pannel... if so then do this unplug the monitor after ytou uninstall the drivers( DO NOT RE_INSTALL AT THIS TIME!!!) now once you do this

step 2
check the video card...... now make sure your card dricvers are for that specific card if its intergraded ( attach to the motherboard) that yoou use get the latest driver from the motherboard site .
if its the card check to see what the driver is your using

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.