Author Topic: [SOLVED] 2nd monitor has black screen, please help to configure the xorg.conf  (Read 533 times)

Offline joejac

  • Full Member
  • ***
  • Posts: 169
Hello,

I ran the NVIDIA Display Settings, it did not allowed to save the changes but I was able to see the configurations, so I went with RootPCMan and changed the file etc/X11/xorg.conf

1.- Original xorg.conf
Code: [Select]
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1920x1080"
    HorizSync 31.5-67.0
    VertRefresh 56.0-65.0
    Option "PreferredMode" "1920x1080"
    
    # Monitor preferred modeline (60.0 Hz vsync, 67.5 kHz hsync, ratio 16/9, 95 dpi)
    ModeLine "1920x1080" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_120"  368.76  1920 2072 2288 2656  1080 1081 1084 1157  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_100"  302.02  1920 2072 2280 2640  1080 1081 1084 1144  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_85"  252.93  1920 2064 2272 2624  1080 1081 1084 1134  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_75"  220.64  1920 2056 2264 2608  1080 1081 1084 1128  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_60"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1920x1080_50"  141.45  1920 2032 2232 2544  1080 1081 1084 1112  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_120"  255.69  1600 1728 1904 2208  900 901 904 965  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_100"  208.90  1600 1720 1896 2192  900 901 904 953  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_85"  174.79  1600 1712 1888 2176  900 901 904 945  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_75"  152.28  1600 1704 1880 2160  900 901 904 940  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_60"  119.00  1600 1696 1864 2128  900 901 904 932  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x900_50"  97.04  1600 1680 1848 2096  900 901 904 926  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_120"  185.67  1368 1472 1624 1880  768 769 772 823  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_100"  151.73  1368 1464 1616 1864  768 769 772 814  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_85"  125.67  1368 1456 1600 1832  768 769 772 807  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_75"  110.19  1368 1456 1600 1832  768 769 772 802  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_60"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1368x768_50"  69.92  1368 1424 1568 1768  768 769 772 791  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_120"  182.63  1360 1456 1608 1856  765 766 769 820  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_100"  149.22  1360 1456 1600 1840  765 766 769 811  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_85"  124.65  1360 1448 1592 1824  765 766 769 804  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_75"  108.34  1360 1440 1584 1808  765 766 769 799  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_60"  84.40  1360 1424 1568 1776  765 766 769 792  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1360x765_50"  69.34  1360 1416 1560 1760  765 766 769 788  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_120"  161.56  1280 1376 1512 1744  720 721 724 772  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_100"  131.85  1280 1368 1504 1728  720 721 724 763  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_85"  110.01  1280 1360 1496 1712  720 721 724 756  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_75"  95.65  1280 1352 1488 1696  720 721 724 752  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_60"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x720_50"  60.47  1280 1328 1456 1632  720 721 724 741  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    BoardName "NVIDIA GeForce 6100 to GeForce 360"
    Driver "nvidia"
    Option "DPMS"
    Option "DynamicTwinView" "false"
    Option "AddARGBGLXVisuals"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1920x1080" "1600x900" "1366x768" "1360x765" "1280x720"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1920x1080" "1600x900" "1366x768" "1360x765" "1280x720"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1920x1080" "1600x900" "1366x768" "1360x765" "1280x720"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1920x1080" "1600x900" "1366x768" "1360x765" "1280x720"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

2.- I manually changed xorg.conf with this:
Code: [Select]
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

# I Changed from here based on the NVIDIA SETUP 18 June 2012

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 302.07  (neal@localhost.localdomain)  Sat May 12 14:49:32 EDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "unix/:7100"
EndSection

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

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 2343"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "AOC 2043"
    HorizSync       30.0 - 81.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "CRT-0: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "CRT-1: 1600x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


2.1 I have the second monitor, Monitor 1 (AOC 2043),  totally black and when I move the mouse from the Monitor 0 (AOC 2343) to the second one the cursor changes from black arrow to a white X and the mouse moves from Monitor 0 to Monitor 1, that is an improvement, now the second monitor is recognized but it is totally black. Fortunately Monitor 0 works fine.

2.2 After changing the xorg.conf the NVIDIA GPU temperature jumped from 43 Celsius, green zone,  to 53 Celsius and entered into the yellow zone.

3.- Can someone please help me to correct my mistake so I can have video in Monitor 1, and decrease the GPU temperature?

Thanks and regards
joejac
« Last Edit: June 20, 2012, 02:40:36 PM by joejac »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
I believe you are missing the UseEDID options in the Monitor sections. What I'm referring to is shown in brown below.

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 2343"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"   
    Option         "UseEDID" "TRUE"
    Option         "UseEDIDFreqs" "TRUE"
    Option         "UseEDIDDpi" "TRUE"


EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "AOC 2043"
    HorizSync       30.0 - 81.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"   
    Option         "UseEDID" "TRUE"
    Option         "UseEDIDFreqs" "TRUE"
    Option         "UseEDIDDpi" "TRUE"

EndSection

You may be missing something in the "ServerFlags" section. Maybe Option "Xinerama" "0". I'm not really sure.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline joejac

  • Full Member
  • ***
  • Posts: 169
Thanks djohnston

1.- The additional options on the Monitor section did not work.

2.- But I activated Xinerama and it worked.

This is the final etc/X11/xorg.conf
Code: [Select]
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 302.07  (neal@localhost.localdomain)  Sat May 12 14:49:32 EDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
    FontPath        "unix/:7100"
EndSection

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

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 2343"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "AOC 2043"
    HorizSync       30.0 - 81.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "CRT-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection


3.- I still have the issue of the GPU temperature in the yellow zone 54-55C, but as per nvidia forum it is normal with 2 monitors.
3.1 Also the colors do not look exactly the same even they both are AOC Flat panel with same DCR, no matter how I configure the color temperature, brightness and contrast.

Anyway, finally now is working like I want, so I can have my Kanban board in one of the monitors.

Best regards
joejac
« Last Edit: June 20, 2012, 04:43:28 PM by joejac »