radeon tiling again...

Roland Scheidegger rscheidegger_lists at hispeed.ch
Mon Jan 24 13:24:54 PST 2005


Alex Deucher wrote:
>>>Tested these on mergedfb and all works well.  pageflipping still
>>>doesn't work with mergedfb.
>>
>>Is that with Roland's separate patch for this applied as well?
>>
> 
> 
> yes.  I doesn't work with various attempts I made as well.
I've done some tests too with faked mergedfb (replugging the monitor 
constantly is a major pita, btw), and this boils down to a simple 
initalization issue (at least with the mergedfb pageflip patch). Because 
it actually only happens the first time a 3d app is started, switching 
to a VT and back or scrolling in a virtual resolution fixes it and it 
will never appear again.
I believe the problem is AdjustFrame is only called before dri 
initialization is finished, so directRendering is not enabled yet and 
thus the values in the sarea never written.
However, I tried fixing that by moving (also tried copying) the
pScrn->AdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
to the end of RADEONScreenInit (3 lines before the end to be exact) and 
all I got was a SIGSEGV :-(. I can't see why it would segfault and can't 
debug it, since as always when Xorg crashes in initialization, I don't 
have any display left...

Roland




More information about the xorg mailing list