Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different refresh rate to laptop display on external monitor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Biggles
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 123
Location: New Zealand

PostPosted: Tue Feb 03, 2004 5:30 am    Post subject: Different refresh rate to laptop display on external monitor Reply with quote

I have a Compaq Presario 2143AP (2100 series) with a Radeon IGP 320M graphics chipset. This is a dual-head capable chipset, as proven by windows. However, I can't get dual head to work in linux using X. But that doesn't worry me anymore, I've given up on that.

My new problem to solve is getting the external monitor to display at greater than 60Hz (the refresh rate of the laptop display). I've tried specifying to X that the external monitor should run at a higher refresh rate, but I don't think it worked because I don't think X is even acknowledging that I have an external monitor, since if I boot X with it plugged in I don't get any display at all. In the end I had to give up on an external monitor specification in the X config file entirely.

Has anyone got any tips on how to increase the refresh rate on the external display? 60Hz at 1024x768 on a 19" monitor is really killing me (and my eyes).

Here's my current X config file:

Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load        "xtt"

# This loads the GLX module
    Load   "glx"
# This loads the DRI module
    Load   "dri"
# Load the synaptics touchpad driver
    Load   "synaptics"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

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

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

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

#    Option "DontZap"

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

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option   "Xleds"      "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"   "us"
EndSection

Section "InputDevice"
    Identifier   "Trackpad"
    Driver   "synaptics"
    Option "Protocol"           "auto-dev"
    Option "Device"             "/dev/psaux"
    Option "LeftEdge"      "1900"
    Option "RightEdge"      "5400"
    Option "TopEdge"      "1900"
    Option "BottomEdge"      "4000"
    Option "FingerLow"      "25"
    Option "FingerHigh"      "30"
    Option "MaxTapTime"      "180"
    Option "MaxTapMove"      "220"
    Option "VertScrollDelta"   "100"
    Option "MinSpeed"      "0.02"
    Option "MaxSpeed"      "0.18"
    Option "AccelFactor"   "0.0010"
    Option "SHMConfig"      "on"
#    Option "Emulate3Buttons"   "on"
#    Option "ZAxisMapping"       "4 5"
EndSection

Section "InputDevice"
    Identifier  "USBMouse"
    Driver      "mouse"
    Option      "Protocol"      "IMPS/2"
    Option      "Device"        "/dev/input/mice"
    Option   "Buttons"   "3"
    Option   "ZAxisMapping"   "4 5"
EndSection

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

Section "Monitor"
    Identifier  "Laptop Screen"
    HorizSync   31.5 - 48.5
    VertRefresh 60

    Option   "dpms"
EndSection


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

Section "Device"
    Identifier  "ATI Radeon"
    Driver      "radeon"
    #VideoRam    65536
EndSection


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

Section "Screen"
    Identifier  "Laptop Screen"
    Device      "ATI Radeon"
    Monitor     "Laptop Screen"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Laptop Screen"
    InputDevice "Trackpad" "CorePointer"
    InputDevice "USBMouse" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection

Back to top
View user's profile Send private message
Biggles
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 123
Location: New Zealand

PostPosted: Wed Feb 04, 2004 1:37 am    Post subject: Reply with quote

Well, I've sort of fixed the problem now by adding Option "MonitorLayout" "CRT" to my device section. I can now force it to use what I tell it for the external monitor. The only problem is that now if I don't plug in an external monitor, it still tries to display stuff on the external monitor port, which means no display on the LCD panel.
Back to top
View user's profile Send private message
brlewis
n00b
n00b


Joined: 07 Jun 2003
Posts: 67
Location: Kerr Station, Arkansas

PostPosted: Sat Feb 21, 2004 12:18 am    Post subject: Reply with quote

I had to do two config files. I called one XF86Config.ext and the other XF86Config.lcd. When I want to use the lcd I do a cp /etc/X11/XF86Config.lcd /etc/X11/XF86Config. Of course, if you want to use the external vga port I would copy the .ext file over. It isn't pretty and it is a pain, but it works.

As for the dual-head issue, you are correct in saying that it does not work with X. It is a shame too. I've filed a bug report that remains open. There is a program listed on the bug that may help the developers figure out what is going wrong with this card in dual-head mode, but not too many takers on it. You can read more here:

http://bugs.xfree.org/show_bug.cgi?id=443
_________________
Let us vote to dunk the witch in the river Styx and photograph the lye.
Back to top
View user's profile Send private message
Biggles
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 123
Location: New Zealand

PostPosted: Sat Feb 21, 2004 2:04 am    Post subject: Reply with quote

I have the same setup now. I also wrote a script that runs on startup and looks for a kernel boot parameter that I specify (monitor=internal or monitor=external). If it finds one, it copies the correct config file into place. This way, I can select them from the boot manager rather than having to blindly copy when I boot up in a different situation from the last time I ran X.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum