LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2008, 06:16 PM   #1
darkone66669
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 85

Rep: Reputation: 15
xorg.conf


Ok I have a HP vs17e monitor suggested window settings are 1280x1024-60Hz

I was using the generic nv driver but i could not play anything that required hardware acceleration. I installed the nvidia driver and now I get a "signal out of range" error from the monitor whenever I try to play one of those games. Does anybody know how to fix this error.

also I made the changes to the xorg.conf file that nvidia suggested manually and automatically neither way worked. The manually edited one is listed 1st.

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection



# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 03-29-2008, 08:47 PM   #2
allied air
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
hurrah for proprietary drivers :|
right; the manually edited one doesnt have any specifications for upper and lower sync/refresh rates, while the second one does. this is important, because without them your monitor will try to skim through the supportable frequencies for your chosen resolutions. also; neither xorg.confs actually say what resolution to run at; you'll net to specify that under most circumstances if you dont want it to try and figure it out by it's lonesme..

however, as i've found after eight hours of misery with the ati version, sometimes proprietary drivers choose their own arbitrary refresh/sync rates, or try to auto detect them with no regard whatsoever for your configuration.
 
Old 03-30-2008, 09:46 PM   #3
darkone66669
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 85

Original Poster
Rep: Reputation: 15
I basically found that I need to add modes to my monitor section but all the hellp I have found gives a vague discription of a modeline or mode section I am not a hardware expert nor do I ever expect to want to be. so how do I figure out the correct numbers that are needed for this to work all I know is that my monitor suggests 1280x1024 @ 60Hz I don't know what Hsync or Vsync or any of those others numbers are or how to calculate them.

Last edited by darkone66669; 03-31-2008 at 09:13 AM. Reason: found some help but to vague
 
Old 03-31-2008, 09:33 PM   #4
darkone66669
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 85

Original Poster
Rep: Reputation: 15
found some more info

OK I found more info on the modeline but I still can't figure out what the other numbers are or how to figure them out I have found 0 strait forward listings on this.

the line goes like this

modeline "1280x1024" dotclock 1280 hsyncstart hsyncend htotal 1024 vsyncstart vsyncend vtotal
 
Old 04-01-2008, 01:03 PM   #5
allied air
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
an example :
Code:
Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
	HorizSync    31.0 - 31.0
	VertRefresh  70.0 - 70.0
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	Modes "1280x1024"

EndSubSection
(mine)
Section "monitor" describes the physical characteristics that you want X to use with the monitor attached; HorizSynch (in KHZ) is used to do something, not sure what. Vert Refresh in Hz is the number of times your screen is repainted per second. Apparently you can do some mathemagical function to these and get your possible screen resolution.

HorizSynch/VertRefresh are only likely to be found through your monitor's back panel, OSD or manual.

Section "Screen" is the combination of everything specified in xorg.config to actually give you a gui;

modes 1280x1024 is the pixel resolution ( obv) and in your case i'm assuming the extras are added on by the proprietary graphic driver to take advantage of it's keen features of niftiness.

if you've got a known good HorizSynch/VertRefresh; its a matter of trial and error to find the right resolution, but most sane displays will run at the usual suspects, or at least 800*600
 
Old 04-02-2008, 12:09 AM   #6
darkone66669
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 85

Original Poster
Rep: Reputation: 15
I found a temp fix

my driver for my graphics card also installed a little setup utility it let me configure some other modes to use for games and it seems to be working fine at the moment I don't get the errors anymore but I'm still gonna look into creating my modes manually just cause it got me mad and I want to know how.
 
Old 04-02-2008, 01:28 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To make modelines, you can use gtf. If it is not already installed, it should be available in your package manager.

Google also found this:
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl

And many more like it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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.conf mgkemp Linux - Software 1 05-26-2005 09:21 AM
xorg.conf Duo Slackware 4 01-07-2005 09:57 PM
xorg.conf jcombs_31 Slackware 1 01-07-2005 04:07 PM
Help with my xorg.conf GradyVogt Slackware 8 09-17-2004 09:46 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration