LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-07-2006, 10:30 AM   #1
Xerop
Member
 
Registered: Jan 2004
Distribution: Suse, Red Hat
Posts: 129

Rep: Reputation: 15
Extract Monitor Modeline


Hi I have a geforce 6600gt. I had connected a vga cable to the B output. With this configuration fedora could not detect my monitor properly and gave me refresh rates of 79hz which my 20.1 lcd monitor doesn't support (monitor said that that was the refresh rate) I have now connected a DVI cable (A output) to the monitor and it was properly detected. How do I extract the current modeline to use with the vga cable?

This all should work fine it does in other distributions like gentoo. I just got sick of compiling everything...

(I need the VGA cable for a kvm switch) The DVI cable makes this hard to use even though gives better quality. (A dvi kvm switch costs $250, so no I wont buy one. )

Thanks in advance.
 
Old 06-07-2006, 11:55 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could use the "gtf" program to generate a modeline at the refresh rate you want.
gtf <horizontal> <vertical> <refresh> -x

Then add the modeline to the Monitor section.

It will generate a modeline like this:
Code:
  # 1024x786 @ 60.00 Hz (GTF) hsync: 48.84 kHz; pclk: 65.64 MHz
  Modeline &quot;1024x786_60.00&quot;  65.64  1024 1080 1184 1344  786 787 790 814  -HSync +Vsync
You may need to lop off the &quot;.00&quot; from the title, I'm not sure whether X will parse the .00 part properly. In the &quot;Screen&quot; section of your xorg.conf file,
make sure to add the &quot;_60&quot; part to the &quot;Modes&quot; entries:
Code:
Section &quot;Screen&quot;
  DefaultDepth 24
  SubSection &quot;Display&quot;
    Depth      15
    Modes      &quot;1280x800&quot; &quot;1280x768_60&quot; &quot;1024x768&quot; &quot;1280x600&quot; &quot;1024x600&quot; &quot;800x600&quot; &quot;768x576&quot; &quot;640x480&quot;
  EndSubSection
Do this with the monitor you will use, when using the KVM switch. I'm not certain is vga vs dvi cable will effect the -HSync +HSync part.
These modeline values are just an example for illustration. Please use your own of course. ---- As a shortcut, since you are using SuSE, you could try hooking up the same monitor you will use in the end and try running &quot;sax2&quot;. If the initial sax display shows up, click on save and use that. ---- PS. When I edited this post, the quotes got converted to html markup. Sorry about that.

Last edited by jschiwal; 06-07-2006 at 12:05 PM.
 
  


Reply



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
ModeLine not working ultrabomberman Linux - Hardware 0 07-02-2004 09:35 AM
modeline help evilmrhenry Linux - Hardware 1 11-05-2003 07:41 AM
ModeLine SpeedyGZ Debian 0 08-26-2003 08:23 AM
Modeline johnny_hosepipe Linux - Hardware 4 08-24-2003 11:22 AM
Custom modeline mrsolo Linux - Laptop and Netbook 2 08-16-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:47 AM.

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