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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
|
06-12-2005, 09:33 AM
|
#1
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Rep:
|
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...?
|
|
|
06-12-2005, 09:37 AM
|
#2
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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...
|
|
|
06-12-2005, 09:41 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-12-2005, 09:43 AM
|
#4
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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)?
|
|
|
06-12-2005, 09:46 AM
|
#5
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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.
|
|
|
06-12-2005, 09:47 AM
|
#6
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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.???)
|
|
|
06-12-2005, 10:04 AM
|
#7
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
148.0 3840 3944 4328 4816 2400 2401 2404 2418
THese numbers don't make sense.
|
|
|
06-12-2005, 10:05 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-12-2005, 10:08 AM
|
#9
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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
|
|
|
06-12-2005, 10:09 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-12-2005, 10:09 AM
|
#11
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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.
|
|
|
06-12-2005, 10:10 AM
|
#12
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-12-2005, 10:12 AM
|
#13
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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)
|
|
|
06-12-2005, 10:15 AM
|
#14
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
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
|
|
|
06-12-2005, 10:17 AM
|
#15
|
Member
Registered: Jun 2005
Distribution: Fedora Core 3, soon DSL (DSL backwards is LSD hahahaha)
Posts: 245
Original Poster
Rep:
|
Who ever wants to edit this please do (i should have all the parameters that you need).
|
|
|
All times are GMT -5. The time now is 07:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|