Can't set the resolution of the GUI to monitor's maximum back again

Asked by nocer

I killed the process dbus-daemon, which made my GUI (Xorg or what is it called?) crazy. So I rebooted via tty1 and after that the maximum screen resolution of the GUI when down from 1440x900 to 1024x768.
If I open tty1 the resolution goes up to 1440x900 again but when I'm on the GUI I can't get it higher than 1024x768. This applies only to the monitor I was using when rebooting (when using another monitor everything works fine again).

How can I get my old resolution back?

Question information

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

And this is what xrandr says to me (if it helps):

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768 50.0*
   800x600 51.0 52.0 53.0
   680x384 54.0 55.0
   640x480 56.0
   512x384 57.0
   400x300 58.0
   320x240 59.0

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

Can you give the output of:

sudo lshw -C display; lsb_release -a

Thanks

Revision history for this message
nocer (nocer7) said :
#3

  *-display
       description: VGA compatible controller
       product: G96 [GeForce 9500 GT]
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:18 memory:fa000000-faffffff memory:d0000000-dfffffff memory:f8000000-f9ffffff ioport:ef00(size=128) memory:fb000000-fb07ffff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

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

Ok try:

sudo nvidia-xconfig; gksudo gedit /etc/X11/xorg.conf

You can then edit the resolutions in the file and set tthe resolution you desire. Reboot to test.

Revision history for this message
nocer (nocer7) said :
#5

Resolution goes down to 640x480 then.

I added this modes-line to xorg.conf (hope it is right how I did it):

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

Also, this error gets printed into the terminal if I do the nvidia-xconfig command:

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                  Undefined Device "(null)" referenced by Screen "Default
                  Screen".

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

Hmm, ok try renaming the xorg.conf file then run:

Xorg -configure

It should make a different xorg.conf file which you can then copy to /etc/X11

May help. I'm surprised you are getting these issues. Nvidia chips are usually awesome as Nvidia support for Linux is amazing

Revision history for this message
nocer (nocer7) said :
#7

This made the resolution go up to 1152x864 and I have some slightly blurred spots on my screen and it isn't using the Nvidia-driver so I can't use Unity and stuff.

Is it maybe possible that some configfile got damaged before/at the reboot before my problem first appeared?
I'm wondering because I changed nothing to those configs and the problem appears only when using that monitor I was using then.

Or maybe it is because of the update of gdm I made on Wednesday? First reboot after that update I made today and after that the problem appeared.

Revision history for this message
nocer (nocer7) said :
#8

Okay after a lot of attempts to fix that problem and making it even more worse I reinstalled ubuntu