Compositing Freeze R200

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Daytona675x
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 34
Joined: Wed Jan 22, 2014 5:18 pm
Location: Cologne, Germany
Contact:

Compositing Freeze R200

Post by Daytona675x »

When using CompositeTags to draw a batch of triangles my machine locks up as soon as I try to draw more than (the pretty low number of) 1055 triangles at once.
Config: sam460ex, Radeon 9250, latest OS 4.1FE / latest drivers. Only tested with vertex-format COMPVF_STW0_Present. Reproducability: always.
Warp3D driver code-basher and bug-smasher - btw.: driver writing is nothing mysterious
User avatar
Karlos
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 84
Joined: Sun Jun 19, 2011 12:42 pm
Location: United Kingdom of England and anybody else that wishes to remain.

Re: Compositing Freeze R200

Post by Karlos »

This might be related to a bug I found when working on the R200 Warp3D driver which uses the same radeoncp.resource for talking to the chip. For whatever reason, the maximum number of words in a command packet seems to be less than implied in the hardware documentation. I never could find a reliable, works in every situation value and ended up lowering the amount of data per request to something like half the documented value. There are even environment variable settings for the R100 and R200 driver to adjust these. Whenever a packet gets too large the hardware froze.

Maybe the compositing code is falling foul of the same, or similar, issue.
Post Reply