Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: ATI 8.28.8 FC6 2.6.20 driver install

  1. #11
    Join Date
    Jun 2007
    Posts
    15

    Default

    One last question. I noticed on the boxes with the r128 driver that the direct render was off. Does anyone think it is worth the trouble to find out why and turn in on? The boxes are used for Open Office and Web stuff(Firefox) mostly.

  2. #12

    Default

    You may want to read up on DRI troubleshooting for OpenSource driver:

    http://dri.freedesktop.org/wiki/DriTroubleshooting

    I used to be using a Rage128 card, but that was really quite sometime ago. So, I can't really remember how I got it working. However, as much as I can remember, it was not that difficult. I just need load the proper kernel module and make sure X is configure with proper DRI setting.

  3. #13
    Join Date
    Jun 2007
    Posts
    15

    Default

    Thanks lenrek. That was very helpful.

    I took one of the oldest laptops with the M3 video and loaded FC6 2.6.20-1.2952.fc6 i686 and the open source ati driver. Works Great. I turned on direct rendering and glxgears went from 120 fps to 530 fps. I think this is going to work well.

    I will try fglrx 8.28.8 with the ati 9200 and FC6 as time permits.

    Thanks everyone for a job well done and Xipecso for putting up with a mad Old Marine. I have post the xorg.conf if anyone needs it.
    file:///u/usr/xorg.conf

    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "Monitor"

    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    Identifier "Monitor0"
    ModelName "LCD Panel 1024x768"
    ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync 31.5 - 48.5
    VertRefresh 40.0 - 70.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "r128"
    Option "Accel" "true"
    Option "AGPMode2x"
    Option "AGPMode" "2"
    Option "XAANoOffscreenPixmaps" "true"
    EndSection

    Section "Module"
    load "dri"
    load "glx"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 16
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    I take it back. Direct Rendering does not work. the glxgears speed increase is real. Direct Rendering is not working.
    Last edited by OldMarine; 06-18-2007 at 07:44 PM. Reason: Up date at end

  4. #14

    Default

    You may want to do: "grep WW /var/log/Xorg.0.log" and see any warning message in the system. Maybe you can get more clues on why your card is not working.

    By the way, did you do 'dmesg | grep drm'? Is DRM for Rage128 loaded properly?

  5. #15
    Join Date
    Jun 2007
    Posts
    15

    Default

    I don't see anything here:

    [root@jimalap log]# grep WW Xorg.0.log
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (WW) The core pointer device wasn't specified explicitly in the layout.
    (WW) No FontPath specified. Using compiled-in default.
    (WW) R128(0): Option "DRI" is not used
    (WW) R128(0): Option "AGPMode2x" is not used
    (WW) R128(0): Option "AddARGBGLXVisuals" is not used
    (WW) AIGLX: 3D driver claims to not support visual 0x23

    Some stuff removed.

    (WW) AIGLX: 3D driver claims to not support visual 0x32
    (WW) <default pointer>: No Device specified, looking for one...

    As a side light, boy this would not be much of a compiz box. Ok back to the subject. Here is the dmesg.

    [root@jimalap log]# dmesg |grep drm
    [drm] Initialized drm 1.1.0 20060810
    [drm] Initialized r128 2.5.0 20030725 on minor 0
    [root@jimalap log]#

    I know it's not a good benchmark but the incease in glxgears may have been from the xorg.conf changes in the Display section.

    SubSection "Display"
    Viewport 0 0
    Depth 16 <--------------------------------- was 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection

    I bet that made it faster. I left out a lot of things in the Devices section also. There is the old xorg.conf:

    [root@jimalap X11]# cat xorg.old
    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "Monitor"

    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    Identifier "Monitor0"
    ModelName "LCD Panel 1024x768"
    ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync 31.5 - 48.5
    VertRefresh 40.0 - 70.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "r128"
    Option "Accel" "true"
    Option "AGPMode2x"
    Option "AGPMode" "2"
    Option "XAANoOffscreenPixmaps" "true"
    EndSection

    Section "Module"
    load "dri"
    load "glx"
    load "GLcore"
    load "i2c"
    load "bitmap"
    load "dbe"
    load "ddc"
    load "extmod"
    load "freetype"
    load "int10"
    load "type1"
    load "vbe"
    load "record"
    load "v41"
    load "pex5"
    load "xie"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    This is the new file.

    [root@jimalap X11]# cat xorg.conf
    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "Monitor"

    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    Identifier "Monitor0"
    ModelName "LCD Panel 1024x768"
    ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync 31.5 - 48.5
    VertRefresh 40.0 - 70.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "r128"
    Option "DRI" "true"
    Option "Accel" "true"
    Option "AGPMode2x"
    Option "AGPMode" "2"
    Option "AddARGBGLXVisuals" "true"
    Option "XAANoOffscreenPixmaps" "true"
    EndSection

    Section "Module"
    load "dri"
    load "glx"
    load "dbe"
    EndSection

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

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 16
    Option "AddARGBGLXVisuals" "true"
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "DRI"
    Group 0
    Mode 0666
    EndSection

    I know dbe would get called but just to be sure. This is the glxinfo:

    [root@jimalap X11]# glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2


    This is the tail of the Xorg.0.log file. As you can see it thought that Direct Rendering was working. I thought after seeing this it was working. See the post above. Here is the file tail.

    (II) R128(0): Largest offscreen area available: 1024 x 763
    (**) Option "dpms"
    (**) R128(0): DPMS enabled
    (WW) R128(0): Option "DRI" is not used
    (WW) R128(0): Option "AGPMode2x" is not used
    (WW) R128(0): Option "AddARGBGLXVisuals" is not used
    (II) R128(0): X context handle = 0x1
    (II) R128(0): [drm] installed DRM signal handler
    (II) R128(0): [DRI] installation complete
    (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
    (II) R128(0): [drm] Mapped 128 vertex/indirect buffers
    (II) R128(0): [drm] dma control initialized, using IRQ 11
    (II) R128(0): Direct rendering enabled <----------------------------
    (==) RandR enabled



    Strange. Did it start then crash? I can't find a log that says that.

  6. #16
    Join Date
    Jun 2007
    Location
    .ro/.ca
    Posts
    232

    Default

    If Xorg.log shows no error, then you have an incompatible libGL.
    Run
    Code:
    # find /usr/ -name "libGL.*" -exec rm '{}' \;
    Then compile/reinstall Mesa3D with "make linux-dri". I recommend that you modify some of the config files before compiling, to better suit your system (such as DRI_DRIVER_INSTALL_DIR in config/default)

    EDIT: you don't have to compile/reinstall the dri drivers if they are recent, so "make linux" will do. Also, the # means run as root, don't type it
    Last edited by Xipeos; 06-19-2007 at 01:37 PM.

  7. #17

    Default

    Maybe you would like to post your entire Xorg.0.log file. I suspect there are more information there we can check for clues to your problem.

  8. #18
    Join Date
    Jun 2007
    Posts
    15

    Default Xorg.conf

    Here is the Xorg.0.log

    [root@jimalap log]# cat Xorg.0.log

    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    Build Operating System: Linux 2.6.9-55.ELsmp i686 Red Hat, Inc.
    Current Operating System: Linux jimalap.jimsbox.com 2.6.20-1.2952.fc6 #1 SMP Wed May 16 18:59:18 EDT 2007 i686
    Build Date: 18 June 2007
    Build ID: xorg-x11-server 1.1.1-47.10.fc6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    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: Wed Jun 20 00:31:50 2007
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "single head configuration"
    (**) |-->Screen "Screen0" (0)
    (**) | |-->Monitor "Monitor0"
    (**) | |-->Device "Videocard0"
    (**) |-->Input Device "Keyboard0"
    (==) |-->Input Device "<default pointer>"
    (WW) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    (WW) No FontPath specified. Using compiled-in default.
    (==) FontPath set to:
    unix/:7100,
    built-ins
    (==) RgbPath set to "/usr/share/X11/rgb"
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (**) Option "AIGLX" "true"
    (**) Extension "Composite" is enabled
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.3
    X.Org Video Driver: 1.0
    X.Org XInput driver : 0.6
    X.Org Server Extension : 0.3
    X.Org Font Renderer : 0.5
    (II) Loader running on linux
    (II) LoadModule: "bitmap"
    (II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
    (II) Module bitmap: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.5
    (II) Loading font Bitmap
    (II) LoadModule: "pcidata"

    Deleted a bunch


    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading sub module "drm"
    (II) LoadModule: "drm"
    (II) Loading /usr/lib/xorg/modules/linux/libdrm.so
    (II) Module drm: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (**) AIGLX enabled
    (II) Loading extension GLX
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "r128"
    (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
    (II) Module r128: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 4.1.0


    deleted a bunch

    (II) R128: Driver for ATI Rage 128 chipsets:
    ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),

    Deleted a bunch


    (--) Chipset ATI Rage 128 Mobility M3 LF (AGP) found
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    deleted a bunch

    10) IX[B]
    [19] -1 0 0x0000ec00 - 0x0000ecff (0x100) IX[B](B)
    (II) Loading sub module "r128"
    (II) LoadModule: "r128"
    (II) Reloading /usr/lib/xorg/modules/drivers/r128_drv.so


    Deleted a bunch

    (II) Setting vga for screen 0.
    (II) R128(0): PCI bus 1 card 0 func 0
    (**) R128(0): Depth 16, (--) framebuffer bpp 16
    (II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
    (==) R128(0): Default visual is TrueColor
    (**) R128(0): Option "accel" "true"
    (**) R128(0): Option "AGPMode" "2"
    (II) Loading sub module "vgahw"
    (II) LoadModule: "vgahw"
    (II) Loading /usr/lib/xorg/modules/libvgahw.so
    (II) Module vgahw: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 0.1.0
    ABI class: X.Org Video Driver, version 1.0
    (II) R128(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
    (==) R128(0): RGB weight 565
    (II) R128(0): Using 6 bits per RGB (8 bit DAC)
    (II) Loading sub module "int10"
    (II) LoadModule: "int10"
    (II) Loading /usr/lib/xorg/modules/libint10.so
    (II) Module int10: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Video Driver, version 1.0
    (II) R128(0): initializing int10
    (II) R128(0): Primary V_BIOS segment is: 0xc000
    (--) R128(0): Chipset: "ATI Rage 128 Mobility M3 LF (AGP)" (ChipID = 0x4c46)
    (--) R128(0): Linear framebuffer at 0xf8000000
    (--) R128(0): MMIO registers at 0xfdffc000
    (--) R128(0): VideoRAM: 8192 kByte (128-bit SDR SGRAM 1:1)
    (**) R128(0): Using flat panel for display
    (II) R128(0): Primary Display == Type 2
    (II) R128(0): Panel size: 1024x768
    (II) R128(0): Panel ID: Samsung LT141X8-L02
    (II) R128(0): Panel Type: Color, Single, TFT
    (II) R128(0): Panel Interface: LVDS
    (II) R128(0): PLL parameters: rf=2700 rd=12 min=12000 max=27000; xclk=10500
    (II) Loading sub module "ddc"
    (II) LoadModule: "ddc"
    (II) Loading /usr/lib/xorg/modules/libddc.so
    (II) Module ddc: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Video Driver, version 1.0
    (II) Loading sub module "vbe"
    (II) LoadModule: "vbe"
    (II) Loading /usr/lib/xorg/modules/libvbe.so
    (II) Module vbe: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.1.0
    ABI class: X.Org Video Driver, version 1.0
    (II) R128(0): VESA BIOS detected
    (II) R128(0): VESA VBE Version 2.0
    (II) R128(0): VESA VBE Total Mem: 8192 kB

    delete a bunch

    (II) Loading sub module "ddc"
    (II) LoadModule: "ddc"
    (II) Reloading /usr/lib/xorg/modules/libddc.so
    (II) R128(0): VESA VBE DDC supported



    deleted a bunch



    (**) R128(0): Using AGP 2x mode
    (II) Loading sub module "shadowfb"
    (II) LoadModule: "shadowfb"
    (II) Loading /usr/lib/xorg/modules/libshadowfb.so
    (II) Module shadowfb: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.3
    (II) R128(0): Page flipping disabled
    (!!) R128(0): For information on using the multimedia capabilities
    of this adapter, please see http://gatos.sf.net.
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] 0 0 0xfdffc000 - 0xfdffffff (0x4000) MS[B]

    Deleted a bunch


    (**) R128(0): Option "XaaNoOffscreenPixmaps" "true"
    (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
    Setting up tile and stipple cache:
    20 128x128 slots
    5 256x256 slots
    (II) R128(0): Acceleration enabled
    (==) R128(0): Backing store disabled
    (==) R128(0): Silken mouse enabled
    (II) R128(0): Using hardware cursor (scanline 4614)
    (II) R128(0): Largest offscreen area available: 1024 x 763
    (**) Option "dpms"
    (**) R128(0): DPMS enabled
    (WW) R128(0): Option "DRI" is not used
    (WW) R128(0): Option "AGPMode2x" is not used
    (WW) R128(0): Option "AddARGBGLXVisuals" is not used
    (II) R128(0): X context handle = 0x1
    (II) R128(0): [drm] installed DRM signal handler
    (II) R128(0): [DRI] installation complete
    (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
    (II) R128(0): [drm] Mapped 128 vertex/indirect buffers
    (II) R128(0): [drm] dma control initialized, using IRQ 11
    (II) R128(0): Direct rendering enabled <----------***********************************
    (==) RandR enabled
    (II) Initializing built-in extension MIT-SHM

    delete a bunch


    drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
    (WW) AIGLX: 3D driver claims to not support visual 0x23

    Deleted a bunch

    (WW) AIGLX: 3D driver claims to not support visual 0x31
    (WW) AIGLX: 3D driver claims to not support visual 0x32
    (II) AIGLX: Loaded and initialized /usr/lib/dri/r128_dri.so
    (II) GLX: Initialized DRI GL provider for screen 0
    (**) Option "CoreKeyboard"
    (**) Keyboard0: Core Keyboard
    (**) Option "Protocol" "standard"
    (**) Keyboard0: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard0: XkbRules: "xorg"
    (**) Option "XkbModel" "pc105"
    (**) Keyboard0: XkbModel: "pc105"
    (**) Option "XkbLayout" "us"
    (**) Keyboard0: XkbLayout: "us"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard0: CustomKeycodes disabled
    (WW) <default pointer>: No Device specified, looking for one...
    (II) <default pointer>: Setting Device option to "/dev/input/mice"
    (--) <default pointer>: Device: "/dev/input/mice"
    (==) <default pointer>: Protocol: "Auto"
    (**) Option "CorePointer"
    (**) <default pointer>: Core Pointer
    (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    (**) <default pointer>: Buttons: 9
    (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)

    I had to delete a great deal of this file(10,000 car. limit to post). I can e-mail it if nessarry

  9. #19
    Join Date
    Jun 2007
    Location
    .ro/.ca
    Posts
    232

    Default

    Your Xorg.log shows no DRI problem (the part that you posted at least - use something like pastebin.com for large posts) so I assume (again) that it's a libGL problem.

    Did you try the solution that I proposed?

  10. #20
    Join Date
    Jun 2007
    Posts
    15

    Default

    Quote Originally Posted by Xipeos View Post
    If Xorg.log shows no error, then you have an incompatible libGL.
    Run
    Code:
    # find /usr/ -name "libGL.*" -exec rm '{}' \;
    Then compile/reinstall Mesa3D with "make linux-dri". I recommend that you modify some of the config files before compiling, to better suit your system (such as DRI_DRIVER_INSTALL_DIR in config/default)

    EDIT: you don't have to compile/reinstall the dri drivers if they are recent, so "make linux" will do. Also, the # means run as root, don't type it
    The delete worked but I have not found the Makefile for linux-dri. That same Makefile should have linux-dri-x86. Here is the website:

    http://dri.freedesktop.org/wiki/Building


    Edit: I also installed the Mesa3D source from http://rpmfind.net/linux/rpm2html/search.php?query=Mesa

    mesa-6.5.1-9.fc6.src.rpm
    Last edited by OldMarine; 06-20-2007 at 02:18 AM. Reason: add link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •