LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nvidia, cant gdmlogin be the DVI and not the VGA ? (http://www.linuxquestions.org/questions/linux-hardware-18/nvidia-cant-gdmlogin-be-the-dvi-and-not-the-vga-571373/)

Xeratul 07-22-2007 09:32 AM

nvidia, cant gdmlogin be the DVI and not the VGA ?
 
Hi

I am setting up xinerama.
And no way, the VGA is always the first display.
Then gdm is always there.

Cant the first display be the DVI one ?

I have a nvidia card with both output dvi and vga.
vga would be if it works my right and secondary screen.

thanks

HappyTux 07-22-2007 12:34 PM

Never used the Xinerama but I had the same problem with my dual head setup until I used the UseDisplayDevice" option here is my Monitor sections. You can find the proper numbers for the DFP-0 and CRT-1 by looking into your /var/log/Xorg.0.log file in the part where the monitors get detected.

Code:

# Dell 2007WFP
Section "Monitor"
      DisplaySize      431  272    # mm
      Identifier  "Monitor0"
      VendorName  "Dell"
      ModelName    "2007WFP"
      HorizSync    30-81
      VertRefresh  56-76
      Option      "UseDisplayDevice" "DFP-0"
      Option      "AllowDDCCI" "on"
      Option      "DPMS" "true"
      Option      "BackingStore" "On"
EndSection

# Philips 201B4
Section "Monitor"
      DisplaySize      406  305    # mm
      Identifier  "Monitor1"
      VendorName  "Philips"
      ModelName  "201B4"
      HorizSync    30-115 # DDC-probed
      VertRefresh  50-160 # DDC-probed
      Option      "UseDisplayDevice" "CRT-1"
      Option      "DPMS"  "true"
      Option      "BackingStore" "On"
EndSection


Xeratul 08-19-2007 01:31 PM

Please find my working /etc/X11/xorg.conf
for the 7300gt nvidia
xinerama
left screen DVI : big one
right screen vga : small one, 14"


Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Sat May 26 01:04:16 PDT 2007

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg
## COMPOSITE ADDED 
# Section "ServerLayout"
#    Identifier    "Default Layout"
#    Screen        "ScreenDVI" 0 0
#    InputDevice    "Generic Keyboard"
#    InputDevice    "Configured Mouse"
# EndSection
## device
## Section "Device"
##    Identifier    "Generic Video Card"
##    Driver        "nvidia"
## EndSection
## Section "Monitor"
##    Identifier    "Generic Monitor"
##    HorizSync      28.0 - 51.0
##    VertRefresh    43.0 - 60.0
##    Option        "DPMS"
## EndSection
## screen

#Section "ServerFlags"
#        Option "xinerama" "true"
#        Option "DefaultServerLayout" "Multihead"
#EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen      0  "ScreenDVI" 0 0
    Screen      1  "ScreenVGA" RightOf "ScreenDVI"
    Option          "Xinerama"  "On"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load          "bitmap"
    Load          "ddc"
    Load          "extmod"
    Load          "freetype"
    Load          "glx"
    Load          "int10"
    Load          "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "fr"
    Option        "XkbVariant" "latin9"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ImPS/2"
    Option        "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier    "Monitor Small"
    HorizSync      28.0 - 84.0
    VertRefresh    43.0 - 60.0
    Option        "DPMS"
    Option        "UseDisplayDevice" "CRT-1"
EndSection

Section "Monitor"
    Identifier    "Monitor Big"
    HorizSync      28.0 - 84.0
    VertRefresh    43.0 - 60.0
    Option        "DPMS"
    Option        "UseDisplayDevice" "DFP-0"
EndSection

Section "Device"
    Identifier    "VGA"
    Driver        "nvidia"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier    "DVI"
    Driver        "nvidia"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier    "ScreenVGA"
    Device        "VGA"
    Monitor        "Monitor Small"
    DefaultDepth    24
    Option        "NoLogo" "True"
    SubSection    "Display"
        Depth      24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "ScreenDVI"
    Device        "DVI"
    Monitor        "Monitor Big"
    DefaultDepth    24
    Option        "NoLogo" "True"
    SubSection    "Display"

                # 1680x1050
        Depth      24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option        "Composite" "Enable"
EndSection



All times are GMT -5. The time now is 11:10 PM.