[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

help getting hw-accel OpenGL on Pismo



I'm running Debian Sid on my Apple "Pismo" Powerbook G3 Firewire.

I'm trying to get hardware-accelerated OpenGL working. The Powerbook
comes with an ATI Rage 128 Mobility M3, 66 MHz AGP 2x (rev. 02) bus
and the card has 8 MB SDRAM. Standard 1024x768 display.

glxinfo is telling me that there is no Direct Rendering, and also says:
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 Mesa 3.4.2

Not sure if this is helpful or not, but lspci tells me:
00:10.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)


I'm using the current 2.4.22-ben2 benh kernel (thanks Ben!) and it's
configured to use:

Console Drivers --> Frame-Buffer Support:
CONFIG_FB (Frame-buffer support *experimental*)
CONFIG_FB_OF
CONFIG_FB_CONTROL
CONFIG_FB_CT65550
CONFIG_FB_ATY128

Character Devices:
CONFIG_AGP (/dev/agpgart)
Apple UniNorth Support
CONFIG_DRM (Direct-Rendering Manager -- Kernel-level support for DRI)
    and it says I should use CONFIG_AGP.
CONFIG_DRM_R128


Regarding my XF86Config-4, in my "Module" section, I'm loading (among
other things) GLcore, dri, & glx.

Other, possibly relevant sections look like:

Section "Device"
        Identifier      "Pismo_card"
        Driver          "ati"
        BusID           "PCI:0:16:0"
        VideoRam        8192
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-57
        VertRefresh     43-72
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Pismo_card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection

[...snip...]

Section "DRI"
        Mode    0666
EndSection



The (snipped) relevant sections of my /var/log/XFree86.0.log (please find the
full version at http://www.bestweb.net/~jandl/ppc_linux/XF.log ) tell me things
like:

XFree86 Version 4.2.1.1 (Debian 4.2.1-11 20030828185410 branden@deadbeast.net) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002

(WW) Open APM failed (/dev/apm_bios) (No such device)

(II) ATI: ATI driver (version 6.4.16) for chipset: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),

(II) Primary Device is: PCI 00:10:0
(II) ATI:  Candidate "Device" section "Pismo_card".
(--) Chipset ATI Rage 128 Mobility LF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
        compiled for 4.2.1.1, module version = 4.0.1
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.5

(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 24, (--) framebuffer bpp 32
(II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(**) R128(0): Option "UseFBDev" "true"
(==) R128(0): RGB weight 888
(II) R128(0): Using 8 bits per RGB (8 bit DAC)
(**) R128(0): Using framebuffer device

(--) R128(0): Chipset: "ATI Rage 128 Mobility LF (AGP)" (ChipID = 0x4c46)
(--) R128(0): Linear framebuffer at 0xa4000000
(--) R128(0): MMIO registers at 0xa0000000
(--) R128(0): BIOS at 0xa0020000
(II) R128(0): Option "Display" ignored (framebuffer device determines display type)
(II) R128(0): Video RAM override, using 8192 kB instead of 8192 kB
(**) R128(0): VideoRAM: 8192 kByte (128-bit SDR SGRAM 1:1)
(WW) R128(0): Video BIOS not detected in PCI space!
(WW) R128(0): Attempting to read Video BIOS from legacy ISA space!
(WW) R128(0): Video BIOS not found!
(WW) R128(0): Can't determine panel dimensions, and none specified.
        Disabling programming of FP registers.

(WW) R128(0): Static buffer allocation failed -- need at least 9216 kB video memory

(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
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                10 256x256 slots
(II) R128(0): Acceleration enabled
(II) R128(0): Using hardware cursor (scanline 3080)
(II) R128(0): Largest offscreen area available: 1024 x 1276
(**) Option "dpms"
(**) R128(0): DPMS enabled
(II) R128(0): Direct rendering disabled
(II) Setting vga for screen 0.

Thanks,
---j



Reply to: