Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[working!!] 23" Apple Cinema w/ ADC->DVI, nvidia, xorg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cappaberra
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2003
Posts: 77
Location: California, USA

PostPosted: Sun Oct 23, 2005 6:00 am    Post subject: [working!!] 23" Apple Cinema w/ ADC->DVI, nvidia, xo Reply with quote

*Even if you don't have exactly the same hardware, this thread will help you out with your cinema display problems*

I've had quite a difficult time diagnosing my problems relating to getting my Cinema display to work properly. I wasn't getting anything from it... the screen was blank or black. I couldn't see anything from the BIOS to X11. It sucked. After hours of trying to find someone else that's had my same problem, I found a few relevant posts that helped a ton to debug my problem:

EDID information: http://www.nvnews.net/vbulletin/showthread.php?t=53129
DVI basics (connector/interface help): http://graphics.tomshardware.com/graphic/20041129/tft_connection-01.html

-------------------------
- THE BOTTOM LINE -
-------------------------

To create the appropriate modeline do the following:

1) from the terminal start X with the following command:
Code:
startx -- -logverbose 5

2) check the X logs for EDID information:
Code:
less /var/log/Xorg.0.log

3) from the following example (taken from the EDID link above) that breaks down a Modeline, gather the necessary information from the EDID section in the log file and create your own Modeline:
Quote:
Modeline "1680x1050" 119.00 1680 1728 1760 1840 1050 1053 1059 1080

The first real number (119.00) is the dot pixel clock, which is given in the log line

(II) NVIDIA(0): clock: 119.0 MHz Image Size: 433 x 270 mm

The first integer number (1680) is the horizontal number of pixels, hdisp, as given in the log line

(II) NVIDIA(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end 1840

The second (1728) is hsyncstart. The third integer (1760) is hsyncend. The fourth integer is htotal.

The fifth integer (1050) is the vertical number of pixels, vdisp, as given in the log line

(II) NVIDIA(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1080

The sixth integer (1053) is vsyncstart. The seventh integer (1059) is vsyncend. The eighth integer (1080) is vtotal.

4) My xorg.conf file looks like this:
Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
    Load  "dbe"
    #Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "record"
    Load  "xtrap"
    Load  "type1"
EndSection
#
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath "/usr/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    #FontPath   "/usr/share/fonts/local/"
    #FontPath   "/usr/share/fonts/misc/"
    #FontPath   "/usr/share/fonts/75dpi/:unscaled"
    #FontPath   "/usr/share/fonts/100dpi/:unscaled"
    #FontPath   "/usr/share/fonts/Type1/"
    #FontPath   "/usr/share/fonts/Speedo/"
    #FontPath   "/usr/share/fonts/75dpi/"
    #FontPath   "/usr/share/fonts/100dpi/"
    #FontPath   "/usr/share/fonts/TTF/"
    #FontPath   "/usr/share/fonts/CID/"
    FontPath    "unix/:-1"

# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver  "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "dell101"
    Option "XkbLayout"  "us"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
    Identifier  "Mouse1"
    Driver  "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping"      "4 5"
    Option "ChordMiddle"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Apple"
    ModelName    "HDCD23"
    DisplaySize  495 310
    VertRefresh  50-70
    HorizSync    30-90
    # 1920x1200 @ 60Hz
    Modeline "1920x1200" 150.00 1920 1984 2016 2144 1200 1203 1206 1212 +hsync +vsync
    # 1280x800 at 50 Hz
    Modeline "1280x800" 67.26 1280 1312 1560 1592 800 817 824 841
    # 1024x600 at 50 Hz
    #Modeline "1024x600" 39.00 1024 1056 1200 1232 600 613 618 631
    # 800x500 at 75 Hz
    #Modeline "800x500" 40.10 800 832 984 1016 500 510 516 526
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Device configured by xf86config:

Section "Device"
    Identifier  "Nvidia GeForce FX 5200"
    Driver      "nvidia"
    VideoRam    131072
    Option      "NvAGP"     "0"
    Option      "NoLogo"    "True"
    Option      "ExactModeTimingsDVI" "True"
    Option "FlatPanelProperties" "Scaling = scaled, Dithering = default"
    BusID       "PCI:1:0:0"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia GeForce FX 5200"
    Monitor     "Monitor0"
    DefaultDepth 24

    SubSection "Display"
            Depth     24
            Modes   "1920x1200" "1280x800"
    EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "InputDevice"

Identifier "Keyboard"

    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"
    Driver "kbd"
EndSection

Section "InputDevice"

Identifier "Mouse"

    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Driver "mouse"
    Option "ZAxisMapping" "4 5"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection
As for the Monitor section of the xorg.conf file, I'm not sure what the +hsync and +vsync parameters do on the Modeline, so maybe someone can enlighten me on that fact.

One problem I ran into is that my graphics cards that I used (a Asus Geforce FX 5200 and the eVGA Geforce FX 5200) were not powerful enough to handle the monitor. That's why the screen was black/blank. I noticed that the pixel clock rate maxed out at 135MHz but the Modeline needed 150MHz, so obviously there was some inconsistency somewhere. Anyway, I got a Geforce 6200 now and it worked right off the bat... I've heard the Geforce FX 5900's work well too.

If there's more to add, please feel free to post... if I come up with anything more, I'll post something too.

Thanks,
cappaberra
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum