After a fresh first install of ubuntu 14.04 LTS on my computer I had some issues with nvidia, especially with the nvidia-settings. When I try to change the resolution and press 'Apply' it just closes e outputs an error on my terminal:
The program 'nvidia-settings' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 785 error_code 2 request_code 157 minor_code 25)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
I tried to open with the search option and with sudo on terminal
Output of dpkg -l | grep nvidia:
ii nvidia-304 304.131-0ubuntu0.14.04.1 i386 NVIDIA legacy binary driver - version 304.131
ii nvidia-current 304.131-0ubuntu0.14.04.1 i386 Transitional package for nvidia-current
rc nvidia-libopencl1-304 304.131-0ubuntu0.14.04.1 i386 NVIDIA OpenCL Driver and ICD Loader library
ii nvidia-opencl-icd-304 304.131-0ubuntu0.14.04.1 i386 NVIDIA OpenCL ICD
ii nvidia-settings 331.20-0ubuntu8 i386 Tool for configuring the NVIDIA graphics driver