Fedora Linux Support Community & Resources Center
  #1  
Old 14th September 2007, 10:16 PM
kombucha Offline
Registered User
 
Join Date: Jun 2006
Posts: 8
Dual monitor hotplugging/refresh rate

I'm using nvidia's proprietary driver with my nvidia card... I have an LCD monitor in addition to my laptop's screen... I want to make it such that when the external monitor is plugged in, Fedora uses only that one, and when it isn't, Fedora uses the laptop one. I think it might be trying to do this now, because it's almost working, except Fedora picks a default refresh rate that doesn't work with my external monitor, and all I can see is "Input Not Supported". When I unplug the monitor, reboot, plug it in and configure it manually, it works fine at 1680x1050 at 60hz.

So essentially I just need to know how to make 60hz the default for my external monitor.

Last edited by kombucha; 14th September 2007 at 10:18 PM.
Reply With Quote
  #2  
Old 18th September 2007, 08:46 PM
kombucha Offline
Registered User
 
Join Date: Jun 2006
Posts: 8
*bump* :P Anyone?
Reply With Quote
  #3  
Old 21st September 2007, 01:00 AM
FNHi Offline
Registered User
 
Join Date: Aug 2007
Posts: 10
I had the same problem and I fix it.

You must take work with your xorg.conf
# vi /etc/X11/xorg.conf
I'll show you my xorg.conf before and after fix.
Only my card is radeon. For configuring xorg.conf I was read my
# man radeon
You must do the same but with your video card manual.

# less /etc/X11/xorg.conf
before fix
Code:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
EndSection

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

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
EndSection

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

# less /etc/X11/xorg.conf
after fix

Code:
# Xorg configuration created by system-config-display



Section "ServerLayout"
	Identifier     "Multihead layout"
        Option         "MonitorLayout"     "LVDS, CRT"
	Screen         0  "Screen0" LeftOf "Screen1"
	Screen         1  "Screen1" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
	InputDevice    "Mouse0" "AlwaysCore"
	InputDevice    "stylus" "SendCoreEvents"
	InputDevice    "eraser" "SendCoreEvents"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "pad"
	Option	    "Xinerama" "on"
EndSection

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

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
EndSection

Section "InputDevice"
	Identifier  "stylus"
	Driver      "wacom"
	Option	    "Device" "/dev/input/wacom"
	Option	    "Type" "stylus"
	Option	    "USB" "on"
	Option	    "Tilt" "on"
	Option	    "PressCurve" "0,0,100,100"
	Option	    "Mode" "Absolute"
	Option	    "Speed" "1"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "60960"
        Option "BottomY" "33250"
        Option "KeepShape" "on"
EndSection

Section "InputDevice"
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/input/wacom"
	Option	    "Type" "eraser"
	Option	    "USB" "on"
	Option	    "PressCurve" "0,0,100,100"
	Option	    "Mode" "Absolute"
	Option	    "Speed" "1"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "60960"
        Option "BottomY" "33250"
        Option "KeepShape" "on"
EndSection

Section "InputDevice"
	Identifier  "cursor"
	Driver      "wacom"
	Option	    "Device" "/dev/input/wacom"
	Option	    "Type" "cursor"
	Option	    "Mode" "Absolute"
	Option	    "USB" "on"
	Option	    "Speed" "1"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "60960"
        Option "BottomY" "33250"
        Option "KeepShape" "on"
EndSection

Section "InputDevice"
	Identifier  "pad"
	Driver      "wacom"
	Option	    "Device" "/dev/input/wacom"
	Option	    "Type" "pad"
	Option	    "USB" "on"
	Option	    "Button1" "6"
	Option	    "Button2" "7"
	Option	    "Button3" "4"
	Option	    "Button4" "5"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "60960"
        Option "BottomY" "33250"
        Option "KeepShape" "on"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1024x768"
        HorizSync    31.5 - 48.5
        VertRefresh  40.0 - 70.0
        # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
        Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
        Option      "dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Philips 109B6"
	HorizSync    30.0 - 95.0
	VertRefresh  50.0 - 160.0
        # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
        Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
        VendorName  "Videocard Vendor"
	BoardName   "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
        Option      "MonitorLayout"     "LVDS, CRT"
        Screen      0

EndSection

Section "Device"
	Identifier  "Videocard1"
	Driver      "radeon"
	VendorName  "Videocard Vendor"
	BoardName   "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
	BusID       "PCI:1:5:0"
        Option      "MonitorLayout"     "LVDS, CRT"
	Screen      1
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
        Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
                Depth           24
		Modes	       "1024x768_100.00"
        EndSubSection

EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes	       "1024x768_100.00"
	EndSubSection
EndSection
How you can see, I added some lines in xorg.conf for my both monitors and for appearing one big desktop.
Your work must be done in :

Section "Screen"
Identifier "Screen1"

Section "Device"
Identifier "Videocard1"

Section "Screen"
Identifier "Screen0"


Section "Device"
Identifier "Videocard0"

Section "Monitor"
Identifier "Monitor1"

Section "Monitor"
Identifier "Monitor0"

Section "ServerLayout"
Identifier "Multihead layout"

Go here for generate your monitor settings.
http://www.sh.nu/nvidia/gtf.php

Put this for example: 1024х768 с 60Hz and you get this line for you monitor:

# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync




Put this line in your xorg.conf file in Section "Monitor"




Another page for generate modelines
http://koala.ilog.fr/cgi-bin/nph-colas-modelines

But I generated my modelines with first one.
__________________
Fedora7 = Laptop Samsung NP28 -/CeleronM 1500/ATI Mobility Radeon 9000 IGP/ My second monitor Philips 109B6/ My external device: (FireWire) Hard Drive Seagate; Tablet USB Wacom Intuos 3 A4(9x12).
I'm freelancer. My digital art work at those web pages:
http://www.fnhi.deviantart.com/gallery/
http://demiart.ru/forum/index.php?act=Fav&todo=t&mID=21100

Last edited by FNHi; 21st September 2007 at 06:00 PM.
Reply With Quote
Reply

Tags
dual, hotplugging or refresh, monitor, rate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting refresh rate - Nvidia dual monitor and compiz ikiini Using Fedora 3 8th June 2009 03:00 PM
How to change monitor refresh rate iamroot Using Fedora 5 13th June 2007 01:15 PM
monitor refresh rate bsoderror Hardware & Laptops 3 12th July 2004 03:35 PM


Current GMT-time: 02:49 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Lahore Fort - ODP Travel Photos - Sushi Train - Cairns City Travel Photos