Dual display with Fedora 11

Dave Close dave at compata.com
Thu Oct 8 04:58:32 UTC 2009


I asked:

>I have a small Acer desktop with two video connectors. The onboard
>chip is an Nvidia GF7100 with a VGA connector. The addin PCIe board
>has an Nvidia G100 with an HDMI connector. I have identical monitors
>attached to both connectors.
>
>The Windows which came with the box has no trouble automatically
>recognizing and using both monitors. Of course, that is of no interest
>to me except to verify the hardware is working and connected properly.
>I want both monitors to work with Fedora 11.
>
>My installation has Gnome, KDE, and XFce4. None of them seem to
>recognize that the box even has a second video interface. The monitor
>they use is the one attached to the addin board but the one that
>system-config-display reports under "hardware"/"video card" is the
>GF7100. Selecting "use dual head" and then "second video card" shows
>only "====".
>
>lshw reports both video adapters. It shows GF7100 for the onboard chip
>but only shows the PCI numbers for the G100, not the name.
>
>I have tried manual editing of xorg.conf. Now system-config-display
>says it is running in dual head mode but still doesn't show a second
>display adapter. And the second display is still dark.
>
>I have selected the nvidia driver for the GF7100 but vesa for the
>G100. The nvidia driver doesn't seem to recognize the G100 and X
>refuses to start if I try to use it.
>
>Can anyone tell me the secret incantation I need to get this working?

Tait Clarridge wrote the only response I've seen:

>have you tried using gnome-display-properties, I use my laptop monitor
>and an external monitor at work.. maybe it will find the complex setup?

No, Tait, unfortunately, it didn't solve the problem.

But I did find the reason the nvidia driver wasn't working for the G100:
not enough virtual memory. Adding vmalloc=256m to the grub boot line
licked that problem. It probably was not working for whichever chip was
second in the list but I didn't experiment.

After getting nvidia driving both chips, I ran nvidia-xconfig and it
generated a new xorg.conf. That one locked up the entire machine! All
screens dark, even the keyboard stopped working.

FWIW, here is the present xorg.conf, which only lights up one monitor,
and the one which locked up the entire system. Not much difference.

==Current workable xorg.conf==

# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier     "dual head configuration"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection

Section "InputDevice"

    # generated from default
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "Emulate3Buttons" "no"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105+inet"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor 1280x1024"
        HorizSync    31.5 - 81.0
        VertRefresh  50.0 - 75.0
        Option      "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor 1280x1024"
        HorizSync    31.5 - 81.0
        VertRefresh  50.0 - 75.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "G100"
        Driver      "nvidia"
        Option      "AddARGBGLXVisuals" "True"
        BusID       "PCI:2:0:0"
EndSection

Section "Device"
        Identifier  "GF7100"
        Driver      "nvidia"
        Option      "AddARGBGLXVisuals" "True"
        BusID       "PCI:0:10:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "G100"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1280x1024" "1280x1024" "1280x960" "1280x960" "1280x960" 
"1152x864" "1152x864" "1152x864" "1024x768" "1024x768" "1024x768" "832x624" "832x624" "832x624" 
"800x600" "800x600" "800x600" "720x400" "720x400" "720x400" "640x480" "640x480" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "GF7100"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1280x1024" "1280x1024" "1280x960" "1280x960" "1280x960" 
"1152x864" "1152x864" "1152x864" "1024x768" "1024x768" "1024x768" "832x624" "832x624" "832x624" 
"800x600" "800x600" "800x600" "720x400" "720x400" "720x400" "640x480" "640x480" "640x480"
        EndSubSection
EndSection

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

==xorg.conf which locks up the machine==

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder63)  Fri Aug 14 17:54:58 PDT 2009

# Xorg configuration created by livna-config-display

Section "ServerLayout"
    Identifier     "dual head configuration"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules/extensions/nvidia"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
    Option         "AIGLX" "on"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105+inet"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor 1280x1024"
    HorizSync       31.5 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "dpms"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor 1280x1024"
    HorizSync       31.5 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "dpms"
EndSection

Section "Device"
    Identifier     "G100"
    Driver         "nvidia"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
    Identifier     "GF7100"
    Driver         "nvidia"
    BusID          "PCI:0:10:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "G100"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1280x1024" "1280x1024" "1280x960" "1280x960" "1280x960" "1152x864" 
"1152x864" "1152x864" "1024x768" "1024x768" "1024x768" "832x624" "832x624" "832x624" "800x600" 
"800x600" "800x600" "720x400" "720x400" "720x400" "640x480" "640x480" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "GF7100"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1280x1024" "1280x1024" "1280x960" "1280x960" "1280x960" "1152x864" 
"1152x864" "1152x864" "1024x768" "1024x768" "1024x768" "832x624" "832x624" "832x624" "800x600" 
"800x600" "800x600" "720x400" "720x400" "720x400" "640x480" "640x480" "640x480"
    EndSubSection
EndSection

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

====

Anybody have any further thoughts?
-- 
Dave Close, Compata, Irvine CA      "Greed is to the moralists of the
dave at compata.com, +1 714 434 7359    left what sex is to the moralists 
dhclose at alumni.caltech.edu           of the right." - Cathy Young




More information about the fedora-list mailing list