Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Modeline
johnny_hosepipe
post Aug 21 2003, 02:35 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



Anyone have anyi dea why my monitor is stuck at 60Hz when the only Modeline in my xf86config file is:

# 1024x768 @ 100Hz, 80.21 kHz hsync
Modeline "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802

Thanks tons for any help ohmy.gif ohmy.gif
Go to the top of the page
 
+Quote Post
Joey
post Aug 21 2003, 07:26 AM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



What type of monitor is it?
Go to the top of the page
 
+Quote Post
johnny_hosepipe
post Aug 21 2003, 12:59 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



Its a Sony cpd-g220

graphics card is a gforce4 ti4800
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 21 2003, 08:18 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I would try the Recommended resolution of 1024 x 768 @85Hz ... in order to do that, go to the bottom of the XF86Config file....and

First add (or edit ) the DefaultDepth and set it to 24....it is in the section called Screen

DefaultDepth 24

Then go to the SubSection called display and make sure you have a
CODE
SubSection "Display"
    Depth     24
    Modes    "1024x768/85Hz"
EndSubSection


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
johnny_hosepipe
post Aug 22 2003, 12:24 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



blink.gif

Tried this mate, Xwindows could not start with this configuration.

Is there anyway to check that Linux is using the correct graphics driver? It seems that I cannot run it at any higher than 16bit and 60Hz.

I installed the newest nvidia driver. that all installed fine but to be honest I am at a loss. In windows I run it at 1024 x 768 @ 100Hz. so 60Hz really is nasty on the eyes.

Thanks again for any help
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 22 2003, 05:42 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



If you installed the latest nvidia drivers, then you should be have the following info in your XF86Config (a # in front means remove or remark out with a # in front of the line):

in the Module section:

load glx
#load dri
#load GLcore

In the Device section for the video card:

Driver "nvidia"

#Input you VideoRam amount, this is 128mb
VideoRam 131072

In the Monitor section:

HorizSync 30.0 - 85.0
VertRefresh 48.0 - 170.0
Option "dpms"


Also the use these settings in the Screen section:

DefaultDepth 24

and this for the SubSection "Display" in the Screen section
CODE
SubSection "Display"
   Depth     24
   Modes    "1024x768/85Hz"
EndSubSection

-------------------------
If this doesn't work at first, remark out the modeline with a # and try again....
--------------------------

Info for my recommendations for the XF86Config file came from the following sources:


Monitor Specs
Recommended resolution:
1024 x 768 @85Hz

Horizontal scan range:
30-85kHz

Vertical scan range:
48-170Hz
----------------------------
TI 4800 Specs
Memory: 128MB
----------------------------
NVidia Driver README - See (sec-03) EDITING YOUR XF86CONFIG FILE


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
johnny_hosepipe
post Aug 22 2003, 01:02 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



Thaanks for all that info, its just that it seems to be spread over both my XF86CONFIG-4 and XF86CONFIG files blink.gif .

I have pasted them below. hope they fit...

***************************************************************************
XF86CONFIG-4
***************************************************************************

# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "record" # X event recorder
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "CustomConfiguration"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0-85.0
VertRefresh 48.0-170.0
Option "dpms"
EndSection

Section "Device"
Identifier "NVIDIA GeForce 4 (generic)"
Driver "vesa"
BoardName "Unknown"
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
DefaultDepth 16
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


***************************************************************************
XF86CONFIG
***************************************************************************

# File generated by XConfigurator.

# **********************************************************************

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "ServerFlags"
#NoTrapSignals
#DontZap
#DontZoom
EndSection

Section "Keyboard"

Protocol "Standard"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
#Protocol "Xqueue"

AutoRepeat 500 5

# Let the server do the NumLock processing. This should only be
# required when using pre-R6 clients
#ServerNumLock

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#Xleds 1 2 3

#To set the LeftAlt to Meta, RightAlt key to ModeShift,
#RightCtl key to Compose, and ScrollLock key to ModeLock:

LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control

# To disable the XKEYBOARD extension, uncomment XkbDisable.

# XkbDisable

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# XkbModel "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# XkbModel "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# XkbLayout "de"
# or:
# XkbLayout "de"
# XkbVariant "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# XkbOptions "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# XkbRules "xfree86"
# XkbModel "pc101"
# XkbLayout "us"
# XkbVariant ""
# XkbOptions ""

XkbKeycodes "xfree86"
XkbTypes "default"
XkbCompat "default"
XkbSymbols "us(pc101)"
XkbGeometry "pc"
XkbRules "xfree86"
XkbModel "pc101"
XkbLayout "gb"
EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"
Protocol "IMPS/2"
Device "/dev/mouse"
ZAxisMapping 4 5

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Protocol "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice

# BaudRate 9600
# SampleRate 150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Emulate3Buttons
# Emulate3Timeout 50

# ChordMiddle is an option for some 3-button Logitech mice

# ChordMiddle

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "CustomConfiguration"
VendorName "Unknown"
ModelName "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30.0-85.0

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 48.0-170.0

# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.

# These two are equivalent

# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode

# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.

# 1024x768 @ 100Hz, 80.21 kHz hsync
Modeline "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "Generic VGA"
VendorName "Unknown"
BoardName "Unknown"
Chipset "generic"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by Xconfigurator:

Section "Device"
Identifier "NVIDIA GeForce 4 (generic)"
VendorName "Unknown"
BoardName "Unknown"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# The Colour SVGA server

Section "Screen"
Driver "svga"
Device "Generic VGA"
#Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
Subsection "Display"
Depth 8
#Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "CustomConfiguration"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The Mono server

Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "CustomConfiguration"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
# I128, and S3V)
Section "Screen"
Driver "accel"
Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 22 2003, 08:02 PM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



If you have an XF86Config-4, then the XF86Config file is not used ... if you don't have an XF86Config-4 file then XF86Config is used ... so:

Move the XF86Config file to a different directory ... and then edit your XF86Config-4 file to look like this (changes are bold):

# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
Load "dbe" # Double-buffering
#Load "GLcore" # OpenGL support
#Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "record" # X event recorder
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "CustomConfiguration"
VendorName "Sony"
ModelName "CPD-G220"
HorizSync 30.0-85.0
VertRefresh 48.0-170.0
Option "dpms"
EndSection

Section "Device"
Identifier "NVIDIA GeForce 4 (generic)"
Driver "nvidia"
BoardName "TI 4800"
VideoRam 131072
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768/85Hz"
EndSubSection
#Subsection "Display"
#Depth 16
#Modes "1024x768"
#EndSubSection
#Subsection "Display"
#Depth 8
#Modes "1024x768"
#EndSubSection
EndSection

#Section "DRI"
#Mode 0666
#EndSection


If everything works, then you can remove all lines that start with # .


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
johnny_hosepipe
post Aug 22 2003, 09:01 PM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



Ahhhh I am so happy thanks mate!!! laugh.gif laugh.gif laugh.gif laugh.gif laugh.gif

Only one last thing, i have now got a 1024*768 @ 85Hz windowed view of a 1600*1200 desktop, which i can move around. How do i set the desktop to 1024*768?

Thanks again ))
Go to the top of the page
 
+Quote Post
johnny_hosepipe
post Aug 23 2003, 12:54 AM
Post #10


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 21-August 03
Member No.: 1,295



sorted that out..

sometimes forget to use my brain at all.

Thanks for the help mate, really did teh trick )
No more headaches for me
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 23 2003, 06:09 AM
Post #11


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Glad it worked ... I also hate to look at the 60Hz screens!


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 03:34 PM