• GL failure in iBook G4

    From Riccardo Mottola@21:1/5 to All on Wed Sep 14 15:20:02 2022
    Hello,


    while on my PowerBook OpenGL works (both in a browser as well in minimal
    test case glxgears) on my iBook G4 not:

    $ glxgears
    radeon: Invalid PCI ID.
    libGL error: glx: failed to create dri2 screen
    libGL error: failed to load driver: radeonsi
    LLVM ERROR: Relocation type not implemented yet!
    Aborted

    the iBook G4 has a slightly minor ATI card:

    0000:00:10.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] RV280/M9+ [Mobility Radeon 9200 AGP] (rev 01)

    given dmesg, I see firmware gets loaded:

    [   24.626551] fb0: switching to radeon from OFfb ATY,Via_A                                                €€€€€€€
    [   24.636639] Console: switching to colour dummy device 80x25                                             €€€€€€€
    [   24.639566] radeon 0000:00:10.0: vgaarb: deactivate vga console                                         €€€€€€€
    [   24.639783] radeon 0000:00:10.0: enabling device (0006 -> 0007)                                        €€€€€€€
    [   24.640665] [drm] initializing kernel modesetting (RV280
    0x1002:0x5C63 0x1002:0x5C63 0x01).            €€€€
    [   24.640710] [drm] Forcing AGP to PCI mode €€€€€€€
    [   24.640794] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000         €€€€€€€
    [   24.640829] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000         €€€€€€€
    [   24.640848] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a
    BIOS ROM                          €€€€€€€
    [   24.641580] [drm] Using device-tree clock info €€€€€€€
    [   24.641593] [drm] Generation 2 PCI interface, using max accessible memory                              €€€€€€€ [   24.641609] radeon 0000:00:10.0: VRAM: 128M 0x0000000098000000 - 0x000000009FFFFFFF (32M used)          €€€€€€€
    [   24.641628] radeon 0000:00:10.0: GTT: 512M 0x0000000078000000 - 0x0000000097FFFFFF                     €€€€€€€
    [   24.641701] [drm] Detected VRAM RAM=128M, BAR=128M €€€€€€€
    [   24.641716] [drm] RAM width 64bits DDR €€€€€€€
    [   24.641827] [drm] radeon: 32M of VRAM memory ready                                                      €€€€€€€
    [   24.641843] [drm] radeon: 512M of GTT memory ready.                                                     €€€
    [   24.641890] [drm] GART: num cpu pages 131072, num gpu pages 131072                                      €€€€€€€
    [   24.650400] [drm] PCI GART of 512M enabled (table at 0x0000000003C80000).                               €€€€€€€
    [   24.650602] radeon 0000:00:10.0: WB disabled €€
    [   24.650628] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000078000000                 €€€€€€€
    [   24.651134] [drm] radeon: irq initialized. €€€€€
    [   24.651227] [drm] Loading R200 Microcode €€€€€€€
    [   25.100796] radeon 0000:00:10.0: firmware: direct-loading firmware radeon/R200_cp.bin                  €€€€€€€
    [   25.102675] [drm] radeon: ring at 0x0000000078001000 €€€€€€€
    [   25.102772] [drm] ring test succeeded in 0 usecs                                                       €€€€
    [   25.104608] [drm] ib test succeeded in 0 usecs €€€€€€€
    [   25.111113] [drm] Connector Table: 2 (ibook) €€€€€€€
    [   25.111174] [drm] No panel info found in BIOS €€€€€€€
    [   25.111189] [drm] Panel info derived from registers €€€€€€€
    [   25.111198] [drm] Panel Size 1024x768 €€€€€€€
    [   25.111658] [drm] No TV DAC info found in BIOS €€€€€€€
    [   25.503290] [drm] radeon legacy LVDS backlight initialized                                              €€€€€€€
    [   25.503318] [drm] Radeon Display Connectors €€€€€€€
    [   25.503326] [drm] Connector 0: €€€€€€€
    [   25.503334] [drm] LVDS-1 €€€€€€€
    [   25.503341] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64                                        €€€€€€€
    [   25.503353] [drm] Encoders:
    [   25.503361] [drm]     LCD1: INTERNAL_LVDS
    [   25.503370] [drm] Connector 1:
    [   25.503377] [drm]   VGA-1
    [   25.503384] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
    [   25.503396] [drm]   Encoders:
    [   25.503403] [drm]     CRT2: INTERNAL_DAC2
    [   25.503411] [drm] Connector 2:
    [   25.503418] [drm]   SVIDEO-1
    [   25.503425] [drm]   Encoders:
    [   25.503432] [drm]     TV1: INTERNAL_DAC2[   26.045212] [drm] fb mappable at 0x98040000
    [   26.045272] [drm] vram apper at 0x98000000
    [   26.045280] [drm] size 1572864
    [   26.045287] [drm] fb depth is 16
    [   26.045295] [drm]    pitch is 2048
    [   26.685791] Console: switching to colour frame buffer device 128x48
    [   26.695226] radeon 0000:00:10.0: [drm] fb0: radeondrmfb frame buffer device
    [   26.695452] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0
    on minor 0

    which seems correct.


    Ideas what is going wrong?


    Thanks,

    Riccardo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)