LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Fedora C2/Radeon 9600SE Dual Head/Second Monitor not working properly (http://www.linuxquestions.org/questions/linux-hardware-18/fedora-c2-radeon-9600se-dual-head-second-monitor-not-working-properly-219233/)

Daerion 08-18-2004 09:03 AM

Fedora C2/Radeon 9600SE Dual Head/Second Monitor not working properly
 
Hello.

Right, here's the deal:

I've only just recently set up Fedora Core 2 on a system with an ATI Radeon 9600SE which has one VGA and one DVI-out.
I've got two BENQ FP767 LCD displays attached to this device (the second monitor on the DVI out is connected to a DVI-VGA adapter) and I'd like to have some nice dual monitor support here.

I've installed the newest ATI drivers from their website, following the instructions on fedorafaq.org/#radeon to the very letter and everything seemed to work just fine.
Well, until I started X that is.

As soon as I had installed the driver, run "fglrxconfig" and "telinit 5"-ed the second monitor showed an utterly distorted clone of the first monitor's contents. The strange thing, however, is that I can move the mousepointer over to the second monitor without any problems whatsoever (it's not even being distorted, it's displayed just as if there were nothing to it).

Running "fglrxinfo" yields the following result (I removed the "www"-part in the mesa3d.org URL because the board would not let me post this thread otherwise):

Code:

[root@pc-ms X11]# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600SE Generic
OpenGL version string: 1.3 (X4.3.0-3.11.1)
 
 
 
display: :0.0  screen: 1
OpenGL vendor string: Mesa project: mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)

This is strange because:
  • fglrxconfig did not yield any errors whatsoever, it let me configure both monitors, refresh and sync rates (which, by the way, I am sure I have configured properly, I looked up these values at BENQ's website)
  • I have checked the /etc/X11/xorg.conf over and over, I have tried configuring both monitors, screens and graphic-card connectors identically (except of different identifiers of course), without any result
  • That MESA driver istn't loaded anywhere in the xorg.conf, only ATI stuff in there.

Attempting to configure the card via Start Panel - System Settings - Display also failed, I cannot select a second graphics card for dual-head configuration there (which is quite reasonable after all, seeing as I only have one graphics adapter ;)

So, here's my xorg.conf file (I only removed the "Input Devices" sections in order to keep post length down), I hope someone can help me out of this "misery". I'd really like to get rid of Windows entirely but if I can't even get my second monitor to work properly I'm afraid I'll be stuck with Bill's malware for quite some more time ;)



xorg.conf
Code:

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"  # libglx.a
    Load        "dri"  # libdri.a

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/X11R6/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/X11R6/lib/X11/fonts/local/"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync  31.5 - 80.5
    VertRefresh 60 - 75
    Option "DPMS"
EndSection


Section "Monitor"
    Identifier  "Monitor1"
    HorizSync  31.5 - 80.5
    VertRefresh 60 - 75
    Option "DPMS"
EndSection


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

# Any number of graphics device sections may be present

# Standard VGA Device:

#Section "Device"
#    Identifier  "Standard VGA"
#    VendorName  "Unknown"
#    BoardName  "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

#    Driver      "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#    BusID      "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

#EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 0"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                  "no"
    Option "no_dri"                    "no"
# === misc DRI settings ===
    Option "mtrr"                      "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"              "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                "off"
    Option "HSync2"                    "31.5 - 80.5"
    Option "VRefresh2"                  "60 - 75"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                      "yes"   
    Option "TVStandard"                "NTSC-M"   
    Option "TVHSizeAdj"                "0"   
    Option "TVVSizeAdj"                "0"   
    Option "TVHPosAdj"                  "0"   
    Option "TVVPosAdj"                  "0"   
    Option "TVHStartAdj"                "0"   
    Option "TVColorAdj"                "0"   
    Option "GammaCorrectionI"          "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"              "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"              "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#      will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"        "off"
# === QBS Management ===
    Option "Stereo"                    "off"
    Option "StereoSyncEnable"          "1"
# === FSAA Management ===
    Option "FSAAEnable"                "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"          "no"
    Option "FSAACustomizeMSPos"        "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                "0"
    Option "BlockSignalsOnLock"        "on"
    Option "UseInternalAGPGART"        "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4151
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "fglrx"
    BusID "PCI:1:0:0"    # vendor=1002, device=4151
    Screen 1
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  "Screen0"
    Device      "ATI Graphics Adapter connector 0"
    Monitor    "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual    1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter connector 1"
    Monitor    "Monitor1"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual    1280 1024
    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  "Server 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.

    Screen "Screen0"
    Screen "Screen1" RightOf "Screen0"

# 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

### EOF ###


Thank you in advance.

Anganthier 01-07-2005 03:42 AM

Hi,

have you solved the problem? I actually got the same problem using FC2 and a ATI Mobility 9800.

Thx
Anganthier

Zero-0-Effect 04-03-2005 05:18 AM

I got the same type of problem as well. ATI All-In-Wonder 9600XT Board. To add a bit to what you said, when you take a screenshot of the primary monitor it shows up as the dual monitor and looks correct. In fact Fluxbox will look (on the primary monitor) as if a second monitor was there but as Daerion said the second monitor is just clone of the first and I can also move the mouse over to the second no problem but clicking on anything will not work.. nothing is displayed - just the cloned image.
Further interesting. Even though clicking on a menu or something doesnt show up on the second monitor, again, if you take a screen shot it clearly shows the menu being activated enough though you cant see it. Its as if it is all working correct but theres a cloned display pulled over whats suppose to be there. Posting any links to these screenshots would not help as it would look correct. My xorg.conf file is the same.

Had anyone solved this issue yet?

Daerion 04-04-2005 12:02 PM

Hello, sorry for taking so long but I must have either missed or never gotten the E-Mail when the first person replied to this thread.

Anyway, I kind of solved this problem. It's more of a workaround than a solution/fix though.

What I did was: I downloaded the yum.conf from fedorafaq.org (http://www.fedorafaq.org/samples/yum.conf), downloaded the latest ATI drivers using yum (see http://www.fedorafaq.org/#radeon for more info) and then ran fglrxconfig. Only this time I did not select the "Dual Head"-option when prompted (doing so yielded the exact same results as in my first post, even under FC3). but the "big desktop" option.

Well, using this configuration everything works as it is supposed to, there's a two downsides to having one single big desktop though:
  • maximizing windows will not maximize them to a single monitor but will have them stretch across both displays, not a pretty sight at all
  • taskbars will stretch across both displays too

While it might not be too bad to have your taskbar (I must admit I do not know the proper Linux-term for it, heh) span across both your monitors it is highly annoying not to be able to maximize windows to a single display at a time. For me, anyway ;)

Hope that helps.

Zero-0-Effect 04-09-2005 06:16 AM

I run Gentoo 2004.3 and LFS 6.0 and while currently have been unsuccessful booting gentoo due to other issues im working on I did manager to get the 'Big Desktop' working' under LFS. Just thought I put out these instructions if you building LFS or any distro that does not support rpm.

First dl the newest ati drivers from ati website. They will be in rpm form. You should have on your system rpm2targz if not use google to find it. Once you change the rpm into a tar.gz file cd to / and untar it with tar zxvf /path/to/*.tar.gz Then you will need to run these commands as root.

chmod 755 /lib/modules/fglrx/build_mod/make.sh
/lib/modules/fglrx/build_mod/make.sh
chmod 755 /lib/modules/fglrx/make_install.sh
/lib/modules/fglrx/make_install.sh

That will Build, Install the fglrx module for your system. Then run fglrxconfig.


All times are GMT -5. The time now is 04:58 PM.