how to set screen resolution properly on my Kubuntu-laptop???

Abdullah Ramazanoglu ar018 at yahoo.com
Tue Aug 29 20:17:14 UTC 2006


Magyari, Balázs dedi ki:

> Sorry, I must ask:
> instead of this...
> 
> Section "Monitor"
>    Identifier    "Generic Monitor"
>    Option        "DPMS"
>    HorizSync    28-64
>    VertRefresh    43-60
> EndSection
> 
> ...should my "Monitor" section look like this below?
> 
> Section "Monitor"
>        Identifier      "Generic Monitor"
>        Option          "DPMS"
> Modeline        "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
> Modeline        "1280x800" 95.95 1280 1352 1488 1696 800 801 804 832
> Modeline        "1280x800" 111.77 1280 1360 1496 1712 800 801 804 837
> Modeline        "1280x800" 128.04 1280 1368 1504 1728 800 801 804 842
> Modeline        "1280x800" 144.76 1280 1376 1512 1744 800 801 804 847
> Modeline        "1280x800" 160.48 1280 1376 1512 1744 800 801 804 852
> Modeline        "1280x800" 177.98 1280 1376 1520 1760 800 801 804 857
> Modeline        "1280x800" 194.19 1280 1376 1520 1760 800 801 804 862
> Modeline        "1280x800" 210.58 1280 1376 1520 1760 800 801 804 867
> Modeline        "1280x800" 165.13 1280 1376 1512 1744 800 801 804 853
> # 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
> ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
> # 1280x800 @ 75.00 Hz (GTF) hsync: 62.62 kHz; pclk: 107.21 MHz
> Modeline "1280x800"  107.21  1280 1360 1496 1712  800 801 804 835
> # 1280x800 @ 85.00 Hz (GTF) hsync: 71.40 kHz; pclk: 123.38 MHz
> Modeline "1280x800"  123.38  1280 1368 1504 1728  800 801 804 840
> # 1280x800 @ 100.00 Hz (GTF) hsync: 84.80 kHz; pclk: 147.89 MHz
> Modeline "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848
> EndSection
> 
> Now I understand your instructions like this, so please tell me if I'm
> wrong, because I don't exactly now what I'm doing. If it's good then
> please tell me and I change my xorg.conf and then watch the results
> :-) (I don't want to ruin my computer with my mistake so I thought it
> worth to ask one more question)
> Thank you!
> Balázs

Yes, you got it correct. However, it's always a good practice to backup a
config file before modifying it. E.g:

cp -a /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

In case X doesn't work at all after the change, you can log in from the
virtual (text) console and:

cp -f /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
/etc/init.d/kdm restart

BTW, I think that this is neither a driver bug, nor a Xorg bug. But it can
be considered a "resolution configurator" bug. In your case, the
resolution configurator has just set up Modes in Section "Screen" (which
basically means "I want to use these resolutions in this order") but it
didn't make sure that those resolutions are defined in a Modeline (i.e.
they are "producable") to begin with. The configurator should have checked
to see if the Modelines for selected resolutions are already built-in, and
if not, should have inserted explicit Modelines in the Section "Monitor".

Also see https://launchpad.net/distros/ubuntu/+source/xorg/+bug/49827

-- 
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm





More information about the kubuntu-users mailing list