SPS2 - Direct PS2 Access Environment - Forums


Summary |  Forums |  Bugs |  News |  Source |  Files | 

Discussion Forums: Developers

Admin

Message: 43958
BY: killah
DATE: 2004-Jun-12 04:37
SUBJECT: EE core & VU1 synchronization problems?

Hello folks, I've started to translate my CPU and VU0 based code to CPU, VU0 and VU1 code, because I've wanted to achieve a better performance but I've found some problems with this.
The result of the new code should be a rotating pyramid without texture and illuminated using "Phong lighting model". All the lighting work is made by CPU-VU0, then I send the transformation matrix, the vertexs and the colors to the VIF (I also send the FLUSH instruction before the MSCAL instruction for wait for the end of microprogram) and, at last VU1 unpacks all, transforms the vertexs and sends transformed vertexs and colors to the GS with xgkick instruction. The problem is that sometimes when the pyramid rotates there's some kind of flickering (not always) and this happens only when I enable lighting.
At first, I thought that was double buffer problem, but if I use sps2UScreenSwap and then sps2UScreenClear It can't be any problem, or not? that's why I thought that It may be a synchronization problem between EE core and VU1. Is that the problem? if is that, can anybody tell me what can I do?

Thanks a lot


 

Thread View

Thread Author Date
EE core & VU1 synchronization problems?killah2004-Jun-12 04:37
      RE: EE core & VU1 synchronization problems?sparky2004-Jun-13 07:35
      RE: EE core & VU1 synchronization problems?sauce2004-Jun-13 10:04
            RE: EE core & VU1 synchronization problems?sauce2004-Jun-13 10:32
      RE: Guessing a VU1mem layout!?sparky2004-Jun-13 11:02
            RE: Guessing a VU1mem layout!?killah2004-Jun-15 09:57
                  RE: Guessing a VU1mem layout!?sauce2004-Jun-15 10:09
                        RE: Guessing a VU1mem layout!?killah2004-Jun-16 10:02
                              RE: Guessing a VU1mem layout!?sparky2004-Jun-16 23:20
                              RE: Guessing a VU1mem layout!?hikey2004-Jun-17 02:28
      A little question...killah2004-Jun-20 09:58
            RE: A little question...sauce2004-Jun-20 10:05
                  RE: A little question...killah2004-Jun-20 11:14
                        RE: A little question...hikey2004-Jun-20 11:18
                              RE: A little question...hikey2004-Jun-20 12:44
                        RE: A little question...sparky2004-Jun-20 12:35
      What do you think about this?killah2004-Jun-30 11:15
            RE: What do you think about this?killah2004-Jul-02 10:09
                  RE: What do you think about this?killah2004-Jul-13 10:11

 

Post a followup to this message

You could post if you were [logged in]