From: Brian P. <bri...@tu...> - 2006-02-23 16:03:24
|
Andres Lagar Cavilla wrote: > Hi, > I just checked out the cvs head. I'm using one of the demo apps, city > and a vnc spu. If I connect a vncviewer to the vnc reflector offered by > the spu, I get no updates, only a blank screen. I believe this has been > reported before. > > I've looked into the code and so far identified that the currDirtyRegion > struct is *never* updated. Therefore the SPU thinks there isn'y anything > dirty to put into a framebuffer update. > > A quick hack by forcing newWindowSize to true (and therefore filling the > dirtyRegion with the whole window) confirms this is the case: > framebuffer updates will be sent to the vncviewer. The same happens if I > disable "use_bounding_boxes" > > Even with this quick fix, framebuffer updates are sent to the viewer in > a very choppy manner. I think there is some mishandling of the RFB > porotocol going on as well. > > I hope this inspires someone more adept with this code to find the > appropriate fixes. I've been working on the VNC SPU quite a bit lately. I'll look into the bounding box problem you describe. I think I've solved the choppy update problem but I need to do more testing before I check in my stuff. Maybe in a day or two. -Brian |