When starting X, everything is really slow. Dragging windows produces an astonishing amount of lag, and CPU usage is really high when idle (50-75%).  Opening Firefox takes the CPU to 100%, and trying to scroll the page in a simple HTML page is impossible. This is happening with a G3 processor, but, as far as I know, it shouldn't be that slow. I am pretty sure that hardware acceleration is not working. This is confirmed by an error message during boot, that I attach below. An OpenBSD installation has the exact same problem, with the exact same error.

The machine is an iBook G3 "Snow"

GPU: ATI Mobility Radeon 7500

Installed drivers are xf86-video-ati and mesa

Output of dmesg | grep radeon:

[   14.561128] radeonfb 0000:00:10.0: enabling device (0086 -> 0087)
[   14.561192] radeonfb 0000:00:10.0: BAR 0: can't reserve [mem 0x98000000-0x9fffffff pref]
[   14.561199] radeonfb (0000:00:10.0): cannot request region 0.
[   14.561232] radeonfb: probe of 0000:00:10.0 failed with error -16
[   17.141874] [drm] radeon kernel modesetting enabled.
[   17.142177] fb: switching to radeondrmfb from OFfb ATY,Bee_A
[   17.147222] fb: switching to radeondrmfb from OFfb ATY,Bee_B
[   17.150317] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   17.150348] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   17.151379] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM
[   17.151739] radeon 0000:00:10.0: putting AGP V2 device into 2x mode
[   17.151790] radeon 0000:00:10.0: GTT: 256M 0x00000000 - 0x0FFFFFFF
[   17.151810] radeon 0000:00:10.0: VRAM: 128M 0x0000000098000000 - 0x000000009FFFFFFF (32M used)
[   17.152384] [drm] radeon: 32M of VRAM memory ready
[   17.152390] [drm] radeon: 256M of GTT memory ready.
[   17.160042] radeon 0000:00:10.0: WB disabled
[   17.160073] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000000000000 and cpu addr 0xd1c2b000
[   17.160190] [drm] radeon: irq initialized.
[   17.160352] radeon 0000:00:10.0: Direct firmware load for radeon/R100_cp.bin failed with error -2
[   17.160363] radeon_cp: Failed to load firmware "radeon/R100_cp.bin"
[   17.161320] [drm:r100_cp_init [radeon]] *ERROR* Failed to load firmware!
[   17.161650] radeon 0000:00:10.0: failed initializing CP (-2).
[   17.161657] radeon 0000:00:10.0: Disabling GPU acceleration
[   17.161669] [drm] radeon: cp finalized
[   17.161841] [drm] radeon: cp finalized
[   17.163286] [drm] radeon: ttm finalized
[   17.163383] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   17.163413] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   17.163813] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM
[   17.163873] radeon 0000:00:10.0: VRAM: 128M 0x0000000098000000 - 0x000000009FFFFFFF (32M used)
[   17.163883] radeon 0000:00:10.0: GTT: 512M 0x0000000078000000 - 0x0000000097FFFFFF
[   17.164446] [drm] radeon: 32M of VRAM memory ready
[   17.164452] [drm] radeon: 512M of GTT memory ready.
[   17.177609] radeon 0000:00:10.0: WB disabled
[   17.177630] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000078000000 and cpu addr 0xcd7ca000
[   17.177744] [drm] radeon: irq initialized.
[   17.177936] radeon 0000:00:10.0: Direct firmware load for radeon/R100_cp.bin failed with error -2
[   17.177951] radeon_cp: Failed to load firmware "radeon/R100_cp.bin"
[   17.179200] [drm:r100_cp_init [radeon]] *ERROR* Failed to load firmware!
[   17.179209] radeon 0000:00:10.0: failed initializing CP (-2).
[   17.179216] radeon 0000:00:10.0: Disabling GPU acceleration
[   17.179227] [drm] radeon: cp finalized
[   17.902067] [drm] radeon legacy LVDS backlight initialized
[   19.904700] radeon 0000:00:10.0: fb0: radeondrmfb frame buffer device
[   19.931667] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0 on minor 0


xorg.conf file contents (automatically generated by Xorg -configure):

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "${prefix}/share/fonts/X11/misc/"
    FontPath     "${prefix}/share/fonts/X11/TTF/"
    FontPath     "${prefix}/share/fonts/X11/OTF/"
    FontPath     "${prefix}/share/fonts/X11/Type1/"
    FontPath     "${prefix}/share/fonts/X11/100dpi/"
    FontPath     "${prefix}/share/fonts/X11/75dpi/"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                  # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "ColorTiling"            # [<bool>]
        #Option     "ColorTiling2D"          # [<bool>]
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "AccelMethod"            # <str>
        #Option     "ShadowPrimary"          # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "EXAPixmaps"             # [<bool>]
        #Option     "ZaphodHeads"            # <str>
        #Option     "SwapbuffersWait"        # [<bool>]
        #Option     "DeleteUnusedDP12Displays"     # [<bool>]
        #Option     "DRI3"                   # [<bool>]
        #Option     "DRI"                    # <i>
        #Option     "TearFree"               # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    BusID       "PCI:0:16:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection


Thanks for your attention,

Nicolás Colla
nicolascolla@mail.ru