Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2007 07:06:44 -0500
From:      Schnoopay <schnoopay@mackanics.net>
To:        freebsd-x11@freebsd.org
Subject:   Xorg *still* hangs with ATI Radeon Mobility M10 (9700)
Message-ID:  <200702110706.44818.schnoopay@mackanics.net>

next in thread | raw e-mail | index | archive | help
Reading your december post you stated that AIGLX is disabled by default, this 
is incorrect. It is currently enabled by default and needs to be disabled for 
the radeons. Also several people have had troubles getting dri enabled on 
radeons and have had luck using this patch courtesy of yongjhen:
>> - --- hw/xfree86/loader/dlloader.c.orig   Sun Dec 10 20:07:20 2006
>> +++ hw/xfree86/loader/dlloader.c        Sun Dec 10 20:07:38 2006
>> @@ -120,7 +120,7 @@
>>      }
>>
>>      if (!global_scope)
>> - -       global_scope = dlopen(NULL, DLOPEN_LAZY | DLOPEN_GLOBAL);
>> +       global_scope = RTLD_DEFAULT;
>>
>>      if (global_scope)
>>         return dlsym(global_scope, name);
>>
 that patch will not apply currently, but if you 
edit /usr/ports/x11-servers/xorg-server/work/xorg-server-1.2.0/hw/xfree86/loader/dlloader.c 
by hand go a little past line 120 (maybe 126 or so) you'll see the line that 
needs to be changed.

So try doing a make clean && make extract for xorg-server edit the dlloader.c 
file, then make WITHOUT_AIGLX=yes && make deinstall install and see if that 
helps. Incidently, the when I did this, I also needed to reboot after 
reinstalling xorg-server to get DRI working, not sure why but after a reboot 
it worked.

Doing this worked on my r200 card, hopefully it'll work the same on your r300. 
If not, not sure what to tell you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702110706.44818.schnoopay>