LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sloppy resolution (https://www.linuxquestions.org/questions/linux-newbie-8/sloppy-resolution-685733/)

raunchyrex 11-24-2008 08:05 AM

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!

phantom_cyph 11-25-2008 01:03 AM

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

Quote:

sudo dpkg-reconfigure xserver-xorg

rylan76 11-25-2008 01:09 AM

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:

Code:

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"
EndSection

Note the

Code:

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...

phantom_cyph 11-25-2008 01:27 AM

Quote:

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.

Junior Hacker 11-25-2008 10:07 AM

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.


All times are GMT -5. The time now is 12:34 AM.