You are not logged in.

#1 2008-12-01 21:52:08

litao.ext
Member
Registered: 2008-12-01
Posts: 9

xorg does not work (ATI r128m with dual monitors)

My laptop uses the ATI Rage128M display card with dual monitors which are set to work independently. The file xorg.conf is as follows:

Section "Device"
    Identifier  "ATI_R128M"
    Driver      "r128"
    Screen    0
    BusID    "PCI:1:0:0"
    #VideoRam    16384
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier    "ATI_DUP"
    Driver    "r128"
    Screen    1
    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      "ATI_R128M"
    Monitor     "Laptop_Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen 2"
    Device "ATI_DUP"
    Monitor "Dell_Monitor"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1024x768"
    EndSubSection
EndSection

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

Section "ServerLayout"

    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" 0 0
    Screen "Screen 2" LeftOf "Screen 1"

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

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

Section "ServerFlags"
    Option "Xinerama" "true"
EndSection

Originally I use the package xf86-video-ati as the driver which worked fine. But after upgrading to the latest xorg package in last weekend, the "r128" driver cannot be loaded.
According to the article http://bbs.archlinux.org/viewtopic.php?id=59981, I installed the package xf86-video-r128. Now the system can load the driver, but does not accept the configuration in xorg.conf. Here is the log (I ignored unimportant information):

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-ARCH i686 
Current Operating System: Linux ArchLinux-lt 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008 i686
Build Date: 09 November 2008  07:16:27PM
 
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  1 21:37:37 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Laptop_Monitor"
(**) |   |-->Device "ATI_R128M"
(**) |-->Screen "Screen 2" (1)
(**) |   |-->Monitor "Dell_Monitor"
(**) |   |-->Device "ATI_DUP"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "Xinerama" "true"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) Xinerama: enabled
(==) Including the default font path /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1.
(**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse1
(WW) Disabling Keyboard1
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d66e0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 4.1
    X.Org XInput driver : 2.1
    X.Org Server Extension : 1.1
    X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0@1:0:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev 2, Mem @ 0xf8000000/0, 0xf0200000/0, I/O @ 0x00009000/0, BIOS @ 0x????????/131072
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded by default.
(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) LoadModule: "dbe"
......

(II) Reloading /usr/lib/xorg/modules//libshadowfb.so
(II) R128(1): Page flipping disabled
(!!) R128(1): For information on using the multimedia capabilities
    of this adapter, please see http://gatos.sf.net.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  Yes, I do.
(II) resource ranges after preInit:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0    0    0x000a0000 - 0x000affff (0x10000) MS[b](OprU)
    [5] 0    0    0x000b0000 - 0x000b7fff (0x8000) MS[b](OprU)
    [6] 0    0    0x000b8000 - 0x000bffff (0x8000) MS[b](OprU)
    [7] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0    0    0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
    [10] 0    0    0x000003c0 - 0x000003df (0x20) IS[b](OprU)
(WW) R128(0): Static buffer allocation failed -- need at least 9216 kB video memory
(II) R128(0): Memory manager initialized to (0,0) (1024,2048)
(II) R128(0): Reserved area from (0,768) to (1024,770)
(II) R128(0): Largest offscreen area available: 1024 x 1278
(II) R128(0): Using XFree86 Acceleration Architecture (XAA)
    Screen to screen bit blits
    Solid filled rectangles
    8x8 mono pattern filled rectangles
    Indirect CPU to Screen color expansion
    Solid Lines
    Dashed Lines
    Scanline Image Writes
    Setting up tile and stipple cache:
        32 128x128 slots
        10 256x256 slots
(II) R128(0): Acceleration enabled
(==) R128(0): Backing store disabled
(==) R128(0): Silken mouse enabled
(II) R128(0): Using hardware cursor (scanline 3080)
(II) R128(0): Largest offscreen area available: 1024 x 1276
(II) R128(0): DPMS enabled
(WW) R128(0): Direct rendering disabled
(==) RandR enabled
(EE) R128(1): Unable to map MMIO aperture. Invalid argument (22)

Fatal server error:
AddScreen/ScreenInit failed for driver 1

(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources

BTW, if I change the driver from r128 to vesa in xorg.conf, xorg server can be launched, but two monitors display the same thing.

Offline

#2 2008-12-02 04:16:58

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: xorg does not work (ATI r128m with dual monitors)

do:

pacman -Sy xf86-video-r128

that should get your driver back, at least.

Edit, explanation: apparently xf86-video-ati only supports radeon cards now and the old r128 card get their own driver package, I had the same problem

Last edited by pseudonomous (2008-12-02 04:18:41)

Offline

#3 2008-12-02 11:45:23

litao.ext
Member
Registered: 2008-12-01
Posts: 9

Re: xorg does not work (ATI r128m with dual monitors)

Yes, I have tried that. Now the problem is that two monitors cannot share the display card using the xf86-video-r128 package.

Offline

#4 2008-12-28 15:58:47

litao.ext
Member
Registered: 2008-12-01
Posts: 9

Re: xorg does not work (ATI r128m with dual monitors)

I have conducted some experiments today, which shows the problem comes from the "Screen" statement (I need to use one display card to control two screens):

Section "Device"
    Identifier  "ATI_R128M"
    Driver      "r128"
    Screen    0
    # BusID    "PCI:1:0:0"
EndSection

Section "Device"
    Identifier    "ATI_DUP"
    Driver    "r128"
    Screen    1   
    # BusID    "PCI:1:0:0"
EndSection

If I remove these two lines, the xorg can be launched, but only the main screen is used. sad

Does anyone have any idea or suggestion about configurating dual-head monitors using Xinerama? Thanks a lot!

Last edited by litao.ext (2008-12-28 16:01:16)

Offline

#5 2008-12-29 00:04:58

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: xorg does not work (ATI r128m with dual monitors)

My only suggestion is to use either xinerama or the xRand utility to enable dual-head.  Aside from that, ati usually will allow one to do either of these:

 Dual head   :    aticonfig --initial=dual-head --screen-layout=above
                        This command will generate a dual head configuration
                        file with the second screen located above the first
                        screen.
  2. Setting up big desktop to horizontal and set overlay on secondary display.
                        aticonfig --dtop=horizontal --overlay-on=1

Do neither of the above commands work for you at all?

Offline

#6 2008-12-30 13:58:11

litao.ext
Member
Registered: 2008-12-01
Posts: 9

Re: xorg does not work (ATI r128m with dual monitors)

Thanks for your reply. But unfortunately my video card is ATI Rage128m, which seems not supported by the tool aticonfig. I cannot find the command in the system.

Offline

Board footer

Powered by FluxBB