PDA

View Full Version : [all variants] [SOLVED] Only lowest resolutions available



koma77
July 8th, 2008, 11:42 AM
I'm helping my mom (!) who runs Ubuntu. After an update she has a really low resolution on her screen.

The login screen seems too big and everything is big once she logs into gnome. In the screen resolution application there are only the two lowest resolutions available...

I have ssh access to her box. I don't know what I can check other than xorg.conf?

I'd really like to get her back on track fast...

The xorg.conf looks like this:


# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
Identifier "nVidia Corporation NV17 [GeForce4 MX 420]"
Boardname "nv"
Busid "PCI:1:0:0"
Driver "nvidia"
Screen 0
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
EndSection

Section "Monitor"
Identifier "Scaleo C994"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
modeline "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
modeline "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
modeline "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
modeline "2048x1536@60" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV17 [GeForce4 MX 420]"
Monitor "Scaleo C994"
Defaultdepth 24
SubSection "Display"
Depth 24
# Virtual 1280 1024
Modes "1280x1024@85" "1280x1024@60" "1280x960@85" "1280x960@75" "1280x960@60" "1400x1050@60" "1280x1024@75" "1400x1050@75" "1152x864@75" "1600x1200@65" "1024x768@43" "1600x1200@60" "1024x768@60" "1600x1200@75" "1024x768@70" "1600x1200@70" "1024x768@75" "1792x1344@60" "1024x768@85" "1856x1392@60" "832x624@75" "1920x1440@60" "800x600@60" "2048x1536@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Module"
Load "glx"
Load "v4l"
EndSection
Section "device" #
Identifier "device1"
Boardname "nv"
Busid "PCI:1:0:0"
Driver "nv"
Screen 1
EndSection
Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
EndSection
Section "monitor" #
Identifier "monitor1"
Gamma 1.0
EndSection
Section "ServerFlags"
EndSection

philinux
July 8th, 2008, 11:53 AM
Which version of ubuntu is running the machine?

koma77
July 8th, 2008, 12:05 PM
It's running Ubuntu 8.04

I took a look inside the X log and there are a lots of these:

(WW) NVIDIA(0): No valid modes for "1280x1024@85"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024@60"; removing.

I guess that is related somehow... But how can I enable these resolutions again? Or at least one that is higher than 640x480?

philinux
July 8th, 2008, 12:17 PM
You could try "screens and graphics".

You'll have to enable it from the menu system, it's in Other. The reason it's hidden is because in hardy the screen res app is "supposed" to do the job.

You could look for a previous xorg.conf. But Hardy's default xorg does not contain graphics set up any more, so I'm betting this system was upgraded from gutsy.

If you use sudo dpkg-reconfigure -phigh xserver-xorg you'll end up with an xorg like mine.


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
Option "NoLogo" "False"
SubSection "Display"
Depth 24
Modes "nvidia-auto-select"
EndSubSection
EndSection

koma77
July 8th, 2008, 01:21 PM
Thanks for your suggestions!

However it did not change much...

The "screens and graphics" applet did not show any ohter resolutions than the two lowest ones either. And when I ran "sudo dpkg-reconfigure -phigh xserver-xorg" I got an xorg.conf file that was even more empty than yours.

It even contained a Device section like this:

Section "Device"
Identifier "Configured Video Device"
EndSection

And a similar for Monitor etc.

Booting with it didn't bring about any higher resolutions.

So I tried your xorg.conf. Still the same result.

At least with your xorg.conf the nvidia module is loaded.

The monitor connected to the computer is a CRT if that should matter...

philinux
July 8th, 2008, 01:31 PM
I'd boot into recovery mode and try xfix from the menu that will be displayed.

Failing that:-

I'd try envy to reinstall you graphics driver.

http://albertomilone.com/nvidia_scripts1.html

[edit] have you installed nvidia-settings from synaptic? That might help. It ends up in system tools.

russnash37
July 8th, 2008, 01:39 PM
Koma,

Looking at the xorg.conf you originally posted, it has a very detailed monitor setup in there for a "Scaleo C994", yet is not using it (probably as a result of the upgrade). If this is indeed your mothers monitor, then try just changing the following section:



Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
EndSection



To the following:



Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "Scaleo C994"
EndSection


Give the system a reboot to restart X and see if that helps.

Russ.

koma77
July 8th, 2008, 04:35 PM
russnash37: well spotted!

After reading your comment I realized that there were duplicate Screen and Monitor sections in the original xorg.conf file.

In stead of doing what you suggested I removed the duplicates that were almost empty on information. After a reboot and a phone call it was confirmed that it was successful!

Thanks a lot for your input russnash37 and philinux. Now mom (and me) are happy again. :)

I guess the next update that fiddles with xorg.conf might break it again though...

Shazaam
July 8th, 2008, 04:53 PM
Make a copy of her current working xorg.conf, rename it something like xorg.confbak. Write that file name down so you can revert to it later if an update causes problems.

koma77
July 8th, 2008, 04:58 PM
Good idea. Will do!