LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2005, 08:33 AM   #1
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Rep: Reputation: 30
I have an XF86 config file for video, how do I turn it into XORG config


Yeah, the sample config file that came with the driver, I am replacing parts of it and taking parts out as needed. Only problem is that it is XF86 and I need XORG, should I just change the name, or do I have to change 1. Everywhere where it says XF86 2. the whole format! I know that they use the same syntax, so is it safe to use this file as the config file...?
 
Old 06-12-2005, 08:37 AM   #2
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
another thing

uh this

# 3840x2400 @ 12Hz for IBM's T221 FlatPanel
Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418

I need to change this to a Dell 19" monitor (i dont know model) at 1600x1200 with

Horizontal 68.7

Vertical 85
max res is 1600 x 1200 (I usually run at 1024x768)

Hope thats what yyou meed to help me...
 
Old 06-12-2005, 08:41 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the files are syntactically identical (assuming it's a XFRee86 4.x config, not a really old 3.x one). there are a few small differences like the keyboard driver being "kbd" and not "keyboard" which would prevent an instant swap over, but Device sections and such remain wholly indentical.
 
Old 06-12-2005, 08:43 AM   #4
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
the files are syntactically identical (assuming it's a XFRee86 4.x config, not a really old 3.x one). there are a few small differences like the keyboard driver being "kbd" and not "keyboard" which would prevent an instant swap over, but Device sections and such remain wholly indentical.
So in the driver line of the keyboard section put "kbd" instead? Thats all (plus the monitor stuff)?
 
Old 06-12-2005, 08:46 AM   #5
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Re: another thing

Quote:
Originally posted by lowpingnoob
uh this

# 3840x2400 @ 12Hz for IBM's T221 FlatPanel
Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418

I need to change this to a Dell 19" monitor (i dont know model) at 1600x1200 with

Horizontal 68.7

Vertical 85
max res is 1600 x 1200 (I usually run at 1024x768)

Hope thats what yyou meed to help me...
I have no idea what I am supposed to change the settings to. I ponder that that 12Hz in the first line should be changed to my monitors vertical refresh, but that is about it.
 
Old 06-12-2005, 08:47 AM   #6
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Re: Re: another thing

Quote:
Originally posted by lowpingnoob
I have no idea what I am supposed to change the settings to. I ponder that that 12Hz in the first line should be changed to my monitors vertical refresh, but that is about it.
Oh and , duh, the name of the monitor should be changed, but I don't know what I am supposed to put for resolution (max, default, etc.???)
 
Old 06-12-2005, 09:04 AM   #7
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
148.0 3840 3944 4328 4816 2400 2401 2404 2418

THese numbers don't make sense.
 
Old 06-12-2005, 09:05 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well ideally you should need to explicitly define a modeline. when you start X, it'll try to work out what modelines are acceptable. to use a given resolution, it just needs to be defined in the relevant "Screen" section, e.g :
Code:
Section "Screen"
    Identifier  "nvidia1screen"
    Device      "nvidia1"
    Monitor     "dell e770p"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Option "NoLogo" "true"
EndSection
if defining the mode there causes an error when you use it, then you might need to finetune a modeline, but it's becoming less common that it's needed as X gets better. as a note, those list of resolutions are cycled through by using Ctrl+Alt+[+ or - key]. i'd recommend putting the new reoslution at the end, and using a standard 1024x768 or soemthing when it starts up, so you'll at least get into x before you try that mode out.
 
Old 06-12-2005, 09:08 AM   #9
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
well ideally you should need to explicitly define a modeline. when you start X, it'll try to work out what modelines are acceptable. to use a given resolution, it just needs to be defined in the relevant "Screen" section, e.g :
Code:
Section "Screen"
    Identifier  "nvidia1screen"
    Device      "nvidia1"
    Monitor     "dell e770p"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Option "NoLogo" "true"
EndSection
if defining the mode there causes an error when you use it, then you might need to finetune a modeline, but it's becoming less common that it's needed as X gets better. as a note, those list of resolutions are cycled through by using Ctrl+Alt+[+ or - key]. i'd recommend putting the new reoslution at the end, and using a standard 1024x768 or soemthing when it starts up, so you'll at least get into x before you try that mode out.
Thanks , but thats not what i needed, i needed

Section "Monitor"

Identifier "Monitor1"
VendorName "Dell"
ModelName "19 inch monitor"

# be sure to replace these values with values appropriate for your
# monitor!
HorizSync 60-70
VertRefresh 80-90

# 3840x2400 @ 12Hz for IBM's T221 FlatPanel
Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418

EndSection
 
Old 06-12-2005, 09:09 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you do want it though: http://xtiming.sourceforge.net/cgi-bin/xtiming.pl and also if you do get running at the right resolution and frequency, you can use xvidtune inside X to really finetune it. when you do, it can output a modeline for you. it outputs to a terminal though, so you need to run it via one to get any results.
 
Old 06-12-2005, 09:09 AM   #11
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by lowpingnoob
Thanks , but thats not what i needed, i needed

Section "Monitor"

Identifier "Monitor1"
VendorName "Dell"
ModelName "19 inch monitor"

# be sure to replace these values with values appropriate for your
# monitor!
HorizSync 60-70
VertRefresh 80-90

# 3840x2400 @ 12Hz for IBM's T221 FlatPanel
Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418

EndSection
Just the underlined stuff.
 
Old 06-12-2005, 09:10 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm.. not a good typo i had there... i meant you should NOT need to define a modeline. just try without one at all first.
 
Old 06-12-2005, 09:12 AM   #13
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Can I just post what I have at the moment (the whole thing) so you can see whats wrong with it (I know the name is messed (still says sample)
 
Old 06-12-2005, 09:15 AM   #14
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
well here it is anyway, not in its own little frame




Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:-1"

EndSection


##########################################################################
# Server flags section.
##########################################################################

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom

# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail

EndSection


##########################################################################
# Input devices
##########################################################################

#
# Keyboard section
#
Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection


#
# Pointer section
#
Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"

EndSection


##########################################################################
# Module section
##########################################################################

Section "Module"

Load "dbe"

# Load the glx module.
Load "glx"

Load "extmod"

Load "type1"
Load "freetype"
EndSection


##########################################################################
# Monitor section
##########################################################################

Section "Monitor"

Identifier "Monitor1"
VendorName "Dell"
ModelName "19 inch monitor"

# be sure to replace these values with values appropriate for your
# monitor!
HorizSync 60-70
VertRefresh 80-90

# 3840x2400 @ 12Hz for IBM's T221 FlatPanel
Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418

EndSection


##########################################################################
# Graphics device section(s)
##########################################################################

Section "Device"
Identifier "NV AGP"
VendorName "nvidia"
Driver "nvidia"
# update this with the PCI id of your card. Consult the output
# of the 'lspci' command. The BusID is usually optional when
# only using one graphics card.
BusID "PCI:1:0:0"
EndSection



##########################################################################
# Screen sections
##########################################################################

#
# screen section for an nvidia AGP card
#
Section "Screen"
Identifier "Screen AGP"
Device "NV AGP"
Monitor "MyMonitor"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x400"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection



##########################################################################
# ServerLayout sections
# (invoke using the '-layout' option of 'startx'.
##########################################################################

#
# just one agp card
#
Section "ServerLayout"
Identifier "AGP"
Screen "Screen AGP"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
 
Old 06-12-2005, 09:17 AM   #15
lowpingnoob
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245

Original Poster
Rep: Reputation: 30
Who ever wants to edit this please do (i should have all the parameters that you need).
 
  


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 file issues with dual monitors and oddly large fonts mastahnke Linux - Software 0 08-17-2005 12:15 AM
replace 'xfree86' by 'xorg' in your xorg config file dindoung Linux - Newbie 2 02-26-2005 04:43 AM
Changing Xf86 config file toosdedoos Linux - Newbie 1 09-26-2003 09:17 AM
change the xf86 config file ronss Red Hat 4 09-16-2003 11:49 AM
Xf86 Config Help jon_k Linux - Software 9 08-26-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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