r128 problems on G3 iMac, X server locks up
Quoted 3 lines · John
There might be a clue in the dmesg output.
This is looking less like a mesa dev issue - is there a better list for this ?
I'll move it over to the dri-dev mailing list.
Thanks
Quoted 106 lines
Quoted 106 lines
-----Original Message-----
From: Alex Buell [mailto:[email protected]]
Sent: Tuesday, April 20, 2010 12:29 PM
To: Bridgman, John
Cc: [email protected]
Subject: RE: [Mesa-dev] r128 problems on G3 iMac, X server locks upQuoted 1 line · John
Looks like the driver isn't finding enough memory for the
offscreen
Quoted 1 line
buffer. Maybe try 16-bit pixel depth instead of 24 ?
That didn't work either. Here's the relevant lines found in Xorg.l0.log
drmOpenDevice: node name is
/dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is/dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:10.0
drmOpenDevice: node name is/dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:10.0 (II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) R128(0): [drm] Using the DRM lock SAREA also for drawables. (II) R128(0): [drm] framebuffer handle =0x94000000(II) R128(0): [drm] added 1 reserved context for kernel (II) R128(0): X context handle =0x1
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [pci] 8192 kB allocated with handle0xe47e2000(II) R128(0): [pci] ring handle =0xe47e2000
(II) R128(0): [pci] Ring mapped at0x49050000
(II) R128(0): [pci] Ring contents0x00000000
(II) R128(0): [pci] ring read ptr handle =0xe48e3000(II) R128(0): [pci] Ring read ptr mapped at0x4802a000(II) R128(0): [pci] Ring read ptr contents0x00000000(II) R128(0): [pci] vertex/indirect buffers handle =0xe48e4000(II) R128(0): [pci] Vertex/indirect buffers mapped at0x49151000(II) R128(0): [pci] Vertex/indirect buffers contents0x00000000(II) R128(0): [drm] register handle =0x90000000
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): CCE in BM mode
(II) R128(0): Using 8 MB AGP aperture
(II) R128(0): Using 1 MB for the ring buffer
(II) R128(0): Using 2 MB for vertex/indirect buffers (II) R128(0): Using 1 MB for AGP textures
(II) R128(0): Memory manager initialized to (0,0) (1024,3840) (II) R128(0): Reserved area from (0,768) to (1024,770) (II) R128(0): Largest offscreen area available: 1024 x 3070 (II) R128(0): Reserved back buffer from (0,770) to (1024,1538) (II) R128(0): Reserved depth buffer from (0,1538) to (1024,2307) (II) R128(0): Reserved depth span from (0,2306) offset0x481000(II) R128(0): Reserved 8704 kb for textures at offset0x780000(**) R128(0): Option "XaaNoOffscreenPixmaps"
(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:
32 128x128 slots
14 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 1531 (**) R128(0): DPMS enabled
(II) R128(0): [DRI] installation complete
(EE) R128(0): R128DRICloseScreen: CCE stop -22
(II) R128(0): [drm] removed 1 reserved context for kernel (II) R128(0): [drm] unmapping 8192 bytes of SAREA0xe1065000at0x48028000
(II) R128(0): [drm] Closed DRM master.
(WW) R128(0): Direct rendering disabled
(==) RandR enabledAt this point it closes the DRM, as it get a CCE stop -22. What does that error means?
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized/usr/lib/dri/swrast_dri.so(II) GLX: Initialized DRISWRAST GL provider for screen 0 (EE) R128(0): R128CCEWaitForIdle: CCE idle -9
(EE) R128(0): Idle timed out, resetting engine... (EE) R128(0): R128CCEWaitForIdle: CCE stop -9
(EE) R128(0): R128CCEWaitForIdle: CCE start -9
(EE) R128(0): R128CCEWaitForIdle: CCE idle -9
(EE) R128(0): Idle timed out, resetting engine...At this point it repeats the last six lines again and again and again...
Any ideas?
One very high maintenance cat living here.
Signature · 3 lines
http://www.munted.org.uk One very high maintenance cat living here.
Quoted 6 lines · Alex Buell
Quoted 3 lines · John
There might be a clue in the dmesg output.
This is looking less like a mesa dev issue - is there a better list for this ?
I'll move it over to the dri-dev mailing list.
I have found the problem by looking in the dmesg; I didn't know the e128 chipset needed a firmware to run :)
Apr 20 17:31:40 carbon kernel: platform r128_cce.0: firmware: requesting r128/r128_cce.bin Apr 20 17:31:40 carbon kernel: r128_cce: Failed to load firmware "r128/r128_cce.bin" Apr 20 17:31:40 carbon kernel: [drm:r128_do_init_cce] *ERROR* Failed to load firmware! Apr 20 17:31:40 carbon kernel: [drm:r128_cce_stop] *ERROR* called with no initialization Apr 20 17:31:40 carbon firmware.sh[28323]: Cannot find firmware file
'r128/r128_cce.bin'
Hopefully it should work now.
Signature · 3 lines
http://www.munted.org.uk One very high maintenance cat living here.