AIGLX, ATI/AMD Radeons and FreeBSD -current

Coleman Kane cokane at FreeBSD.org
Fri Aug 31 09:11:08 PDT 2007


Coleman Kane wrote:
> Robert Noland wrote:
>> On Thu, 2007-08-30 at 19:33 +0300, Kostik Belousov wrote:
>>  
>>> On Thu, Aug 30, 2007 at 10:15:20AM -0400, Coleman Kane wrote:
>>>    
>>>> Hi,
>>>>
>>>> I am curious what the state of AIGLX is using the ATI R300+ cards 
>>>> (I've an rv350) under FreeBSD. I have been trying to track down 
>>>> what work is being done on the problem.
>>>>
>>>> I see a number of references detailing that it *is* broken, but I 
>>>> am having difficulty tracking down any progress or unofficial 
>>>> patches to deal with fixing it... is there anybody who's actively 
>>>> working on fixing this problem?
>>>>
>>>> I found PR 112984: 
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=112984 which documents 
>>>> some spotty working/not working cases... all referencing 
>>>> 6.2-STABLE. Is this the only progress made so far? Is there any 
>>>> "working solution" under -current (or does the -stable fix apply to 
>>>> -current too)? Does the xorg-server-snap get better results?
>>>>
>>>> I'm hoping that someone else has already trudged through here and 
>>>> can help shortcut what may be a drawn-out 
>>>> compile/test/debug/recompile cycle...
>>>>       
>>> Try https://bugs.freedesktop.org/show_bug.cgi?id=11870
>>>     
>>
>> Yes, this is the place to look.  I'm trying to push getting this fixed
>> as best I can.  AIGLX is required for compiz to run on radeon hardware,
>> which is mostly what I have...
>>
>> robert.
>>   
> Found a patch that was posted here not too long ago.... attaching it 
> here. This seems to work with me except it has the side effect that 
> DRI fails to start when X is restarted. If I kldunload then kldload 
> radeon, then restart the X server once more, it fixes the problem (and 
> DRI is inititalized).
>
> It looks similar to the patches posted in the issue you linked. I will 
> try the latest patch from Jung-uk Kim, and see where it gets me. I 
> have compiz working well, except I get some white artifacts if I have 
> /apps/compiz/plugins/decoration/allscreens/options/shadow_match set to 
> "any". I set it to "none" and now graphics look fine. I had to learn 
> the ins-and-outs of how compiz works...yay.
>
> I'll update you guys as it proceeds along.
I tried the Jung-uk patch, and figured out how to get the cube rotating 
on compiz (must load "cube", then "rotate" plugins). It works really 
well, after I've told the workspace-switcher that there's only one 
workspace (and a number of other tweaks). All of the cube features work 
marvelously (including moving it around while watching a youtube video, 
without skipping). The water plugin works very well too.

I experience intolerable slowness when trying to use the normal "0" mode 
for resize (where the window is updated as it is resized, in real-time). 
I have gone to mode "2" (rectangle) mode, which draws a shaded rectangle 
as the window is redrawn. I have historically had poor performance w/ 
the real-time window updates during resize, anyhow.

Anyhow, thank a lot for the help. Now I have a nice bunch of eye-candy 
in my window manager (and get to make better use of my 3D card).

--
Coleman Kane


More information about the freebsd-x11 mailing list