dhk wrote:
On 08/24/2010 06:59 PM, Paul Hartman wrote:
On Tue, Aug 24, 2010 at 5:37 PM, Dale<rdalek1...@gmail.com>  wrote:
Paul Hartman wrote:
On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gorman<kogor...@gmail.com>
  wrote:

Yah, I might have some luck with that.  Since I'm years out of practice
fooling with this stuff (last seen in 2002) can someone point me at the
tools for
1) Computing a modeline (I understand the quality varies a lot)
2) Configuring an xorg.conf

Check out x11-apps/amlc -- it has an interactive modeline generator
where you tell it the aspect ratio&   size of your screen and it spits
out modelines for you.  You'll still need to fill in the
HSync/VSync/Clock speed stuff.



Does this help any?

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    Option         "DPMS" "TRUE"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection

That's just a part of my xorg.conf.  I don't use hal and don't like udev
doing mine so I still got my full xorg.conf file.  If you need more, just
let me know.  Heck, I'll post the whole thing if it will help you any.

Also, have you tried running "X -configure" yet?  I used it on another
machine and it worked pretty well.

Dale
After creating a basic xorg.conf the modeline should go in the
"Monitor" section. I don't use a modeline now but the only example I
have from my xorg.conf archives are these:

Section "Monitor"
   # 2048x1152 @ 50.00 Hz (GTF) hsync: 59.30 kHz; pclk: 162.24 MHz
   Modeline "2048x1152_50.00"  162.24  2048 2176 2392 2736  1152 1153
1156 1186  -HSync +Vsync
   # 2048x1152 @ 60.00 Hz (GTF) hsync: 71.52 kHz; pclk: 197.97 MHz
   Modeline "2048x1152_60.00"  197.97  2048 2184 2408 2768  1152 1153
1156 1192  -HSync +Vsync
EndSection

And then in the Screen section like Dale posted you'd use for example
"2048x1152_60.00" as your modeline (or whatever you decided to entitle
your modes).

At least that's how it used to work. With modern video cards&  modern
Xorg/Gnome/KDE it does a pretty good job of autodetecting that kind of
thing so I haven't had to worry about it in a long time. :)


My monitor resolution is a little off after the last Xorg upgrade today.
  Everything looks larger than usual.  As far as this email thread goes,
I thought xorg.conf was obsolete.


It is if you can use udev and hal to sort out things. Only thing is, if hal or udev doesn't work, you are stuck with using xorg.conf. As some may know here, hal didn't work for me. It was good at locking up my keyboard and mouse tho. At one point, even the SysRq key wouldn't work.

I don't know where but I also read where someone had trouble with a LCD screen one time. It would work on a console but no GUI. They had to use a xorg.conf file to set the display up properly so that it would work. Hal works for most people but doesn't for others. Then some others can do some minor tweaking and get it to work.

I wouldn't even think of trying to tell someone how to tweak hal's config file. It's in xml and I can't read that.

I did find this link which may help. The part at the bottom is what I think you need.

http://howto-pages.org/ModeLines/

Hope that helps.

Dale

:-)  :-)

Reply via email to