View previous topic :: View next topic |
Author |
Message |
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Wed Jan 16, 2008 3:26 pm Post subject: xorg screen configuration |
|
|
I have a monitor which has both a VGA and a DVI connector and allows switching between the two sources. I would like to be able to connect it to my notebook and to my my desk computer.
The notebook has a VGA port only.
The desk computer has an ASUS nVidia Geforce 8500GT which has two ports, the first is a VGA and the second a DVI. If I can get it to use the second port my problem is solved.
It boots up fine on the DVI cable but as soon as Xorg starts the screen goes blank. X comes up if I switch to VGA.
I have tried inserting Screen = 1 in the Device section of xorg.conf but then X crashes with Screen 0 deleted because of no matching config section and then no screens found.
Does anyone have a working Xorg setup that uses the second port only? If so can you please post your xorg.conf so that I can model my configuration on yours?
Thanks |
|
Back to top |
|
|
absoluteflatness Tux's lil' helper
Joined: 21 Jan 2007 Posts: 138 Location: Blacksburg or Falls Church, VA
|
Posted: Wed Jan 16, 2008 6:48 pm Post subject: |
|
|
Putting a
Code: | Option "ConnectedMonitor" "DFP"
|
line in the device section of your xorg.conf should force the nvidia driver to use the DVI port. |
|
Back to top |
|
|
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Wed Jan 16, 2008 7:19 pm Post subject: |
|
|
Thanks for the tip absoluteflatness. Xorg now comes up on the DVI port. However it comes up at a lousy 640x480 resolution. It ignores my screen modes.
Here is my xorg.conf:
Code: | Section "ServerLayout"
Identifier "Layout"
Screen "Screen0" 0 0
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "Mouse" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/util"
EndSection
Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "blank time" "10"
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "Monitor"
Identifier "Monitor0"
ModelName "hanns"
DisplaySize 304 228
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "ConnectedMonitor" "DFP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
Any suggestions? |
|
Back to top |
|
|
|