LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-29-2009, 12:29 AM   #1
Stereo-Farmer
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
editing xorg.config for uncommon display settings


Hi,

I am using freespire 2.0 with an old (very old) monitor.
I get an extremely distorted picture, it shows mirror images that overlap instead of a normal desktop.

I know that this monitor will display correctly at 1024 x 768 interlaced 43 Hz vertical refresh rate. I have seen this in windows.... but I want to use linux,

I have tried editing xorg.config as root to my desired settings twice, one time did nothing and the other time made the system crash each time the X server was started, so I obviously did it wrong.

So my question is what would be the proper way to edit xorg.conf? What would the mode line look like and where should it be located in the script? (what section/subsection?)
 
Old 08-29-2009, 01:33 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
Check your monitor's specs. Are the vertical and horizontal rates in xorg.conf reasonable? 43 Hz seems a little strange.

You can generate a custom mode line with: gtf 1024 768 43 -x

Remove the ".00" from "43.00" in the modeline before adding it to xorg.conf. I once had a problem when I included it.
 
Old 08-29-2009, 12:53 PM   #3
Stereo-Farmer
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
the settings I want are within my monitors specs, I realize 43Hz is odd but so is my monitor.

My main concern was getting the resolution interlaced, is that what the -x represents?
 
Old 08-30-2009, 12:37 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
No. The -x option produces an org modeline instead of a frame buffer modeline.

Code:
> gtf 1024 768 60 -x

  # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
  Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync

> gtf 1024 768 60 -f

mode "1024x768 60.00Hz 32bit (GTF)"
    # PCLK: 64.11 MHz, H: 47.70 kHz, V: 60.00 Hz
    geometry 1024 768 1024 768 32
    timings 15598 160 56 23 1 104 3
    hsync low
    vsync high
From "Using Interlaced Modes" in the XFree86-Video Timings howto:
Quote:
Design of interlaced modes is easy: do it like a non-interlaced mode. Just two more considerations are necessary: you need an odd total number of vertical lines (the last number in your mode line), and when you specify the "interlace" flag, the actual vertical frame rate for your monitor doubles. Your monitor needs to support a 90Hz frame rate if the mode you specified looks like a 45Hz mode apart from the "Interlace" flag.

As an example, here is my modeline for 1024x768 interlaced: my Multisync 3D will support up to 90Hz vertical and 38kHz horizontal.

ModeLine "1024x768" 45 1024 1048 1208 1248 768 768 776 807 Interlace
This explains why the vertical rate seems low. It is counting the frame rate. The field rate is twice that.

Look in the X.org web site or you may have a linux howtos package you can install that contains the X.org howto's as well as others.

Last edited by jschiwal; 08-30-2009 at 12:45 AM.
 
  


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
Xorg config, X not allowing new resolution, works without Xorg config file? bapigoo9 Slackware 5 12-05-2008 12:52 AM
Vaio Rx660 display config. settings under Mandriva Free 2006? moxieman99 Linux - Hardware 7 04-07-2007 03:32 PM
system-config-display changes do not get applied to xorg.conf Kornakowski Linux - General 4 12-29-2006 11:26 PM
Dual Display (xorg.conf Settings) slash587 Linux - Software 3 02-20-2006 11:25 PM
replace 'xfree86' by 'xorg' in your xorg config file dindoung Linux - Newbie 2 02-26-2005 04:43 AM

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

All times are GMT -5. The time now is 05:41 PM.

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