Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2008, 08:05 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Thumbs down Sloppy resolution

Previously when I had Ubuntu 8.04 just a week back and things seemed fine. I could customize the desktop to my hearts content and things worked well. Yesterday, I installed 8.10(clean install) and kaboom!! Now, I get 800x600 resolution. If I try to change it to 1024x768 I get a messed-up screen!
plz help!
Old 11-25-2008, 01:03 AM   #2
Senior Member
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Post your /etc/xorg.conf (not the whole thing, just the monitor section). Or, you should be able to do a:

sudo dpkg-reconfigure xserver-xorg
Old 11-25-2008, 01:09 AM   #3
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,500

Rep: Reputation: 100Reputation: 100
You've probably messed up your xorg.conf - if something like that happens it usually means that your frequency settings in the xorg.conf for that resolution are not "reachable" by your screen.

Try editing /etc/X11/xorg.conf and search for

Section "Monitor"

Here's an older xorg.conf of mine:

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "PHILIPS 107S"
        DisplaySize  310        230
        HorizSync    30.0 - 71.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
Note the

HorizSync    30.0 - 71.0
VertRefresh  50.0 - 160.0
lines. These should be the maximum rated scan frequency of your monitor (not sure if this applies if you have an LCD!). Match these lines against the "ModeLines" in the file - you'll see many different resolutions listed there with frequencies to the right of each resolution. The reason I suspect why you get gibberish on the screen is that one of these modelines are being picked by your x-server, but the frequencies specified by that modeline are out of reach of your display.

To fix this you might try commenting most of the modelines - if I remember right several frequencies can be listed for a certain resolution. Try to comment out all the higher resolutions, leaving "sane" lower ones, then restart X, and try to switch to a higher res. Keep doing this until you get something (anyhting) that works at higher than 800x600. Once you've established a higher resolution that works, try the next highest one, and so on, until either your screen gives up again or you reach the resolution you need.

Once you've established this, comment out all the other modelines and leave only the working modeline, and your x-server should start up in that resolution...
Old 11-25-2008, 01:27 AM   #4
Senior Member
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Option "dpms"
The above option is usually reserved for LCD screens. If you use an LCD screen, you comment out your refresh and sync lines and just put the above option there. If not, you'll need to find out what frequency your monitor can run at.
Old 11-25-2008, 10:07 AM   #5
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You may also be using a different driver than the previous installation. You should do as the first post suggests and re-configure the x-server, and select the appropriate graphics driver based on the graphics card you have.
You can also get better graphics and nicer fonts by installing the proprietary drivers if there is such a thing for your graphics card that you failed to mention.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PC Tablet pen sloppy control Legolas327 Linux - Hardware 0 08-05-2007 10:46 PM
Am I the only one who gets annoyed with sloppy language use? dickgregory General 41 05-25-2007 03:56 AM
need to remove a sloppy install (wine) x12344321 Linux - Software 4 04-19-2004 06:45 PM
Is Debian sloppy? docGonzo2000 Debian 86 10-20-2003 03:51 PM
is it Sloppy Code or is is me? Dr Snark Linux - Hardware 5 09-08-2003 08:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration