freebsd7 (and 8), radeon, xorg-server -> deadlock or so

Vitaly Magerya vmagerya at gmail.com
Wed Feb 10 15:46:08 UTC 2010


Robert Noland wrote:
>> I have a similar problem with ATI Mobility Radeon 9000 (r250) and
>> FreeBSD 8.0-RELEASE-p2 i386 (dmesg is at [1]). The system hangs when I
>> run Xorg with xorg.conf obtained by `Xorg -configure' and do either of
>> these:
>>
>> * pkill Xorg
>> * close xorg via ^C and start it again
>> * close xorg via ^C and kldunload radeon
>>
>> I did not try using 'option "DRI" "OFF"' though, I will this evening.

With DRI disabled, no hang occurs and I'm once again happy.

>> Unfortunately I can't currently say if it works under different
>> conditions, since after a number of hangs I switched to VESA. But if
>> anyone is interested, I'll investigate further and will provide any
>> additional information -- just name it.
> 
> I have a strong suspicion that the issue is with bus_dma.  If this is a
> pci based card, then it is trying to allocate 32MB of contiguous
> physical ram when the drm device is opened.  This usually succeeds the
> first time that the driver opens the device, but later, after memory has
> become fragmented, this can become an issue.  As I have mentioned, I
> have code that reworks this whole process and I'll try and make a patch
> available soon, but my I don't have a lot of time now, so it might be
> the weekend before I can rebase the code and get a clean patch.

No pressure from me. I'm already grateful that you single-handedly keep
the whole DRI-on-FreeBSD thing going.


More information about the freebsd-x11 mailing list