2012-08-18, 18:30
I'm running Arch on kernel 3.4.9 on an AppleTV 1. I'm trying to use a CrystalHD (BCMxxx15) and am having issues, which I think are to do with the amount of memory.
After a clean boot the ATV reports:
and after sitting for a few minutes it reports:
Occasionally when I try to play an HD file the CHD isn't used and dmesg reports:
Sometimes rebooting solves the issue, sometimes just restarting XBMC does it.
I found discussions about this and tried recompiling the driver with 8 DMA RX rings, and dmesg reported
I tried 12 rings to the same effect.
It seems the issue is the lack of RAM on the ATV, but I'm pretty stumped on how to reduce my usage and am loathe to move to crystalbuntu (even though that seems to work). Any cunning ideas/ways to make the driver work properly with 8 DMA rings?
Tom
After a clean boot the ATV reports:
Code:
[htpc@luna ~]$ free
total used free shared buffers cached
Mem: 248032 244020 4012 0 9520 72280
-/+ buffers/cache: 162220 85812
Swap: 244120 5520 238600
Code:
[htpc@luna ~]$ free
total used free shared buffers cached
Mem: 248032 161012 87020 0 1172 36648
-/+ buffers/cache: 123192 124840
Swap: 244120 53424 190696
Occasionally when I try to play an HD file the CHD isn't used and dmesg reports:
Code:
[ 87.566367] crystalhd 0000:02:00.0: Insufficient Memory For RX
[ 87.730048] crystalhd 0000:02:00.0: Closing user[0] handle via ioctl with mode 417a00
[ 87.730059] crystalhd 0000:02:00.0: crystalhd_dioq_fetch: Invalid arg
[ 87.730066] crystalhd 0000:02:00.0: ioq not initialized
Sometimes rebooting solves the issue, sometimes just restarting XBMC does it.
I found discussions about this and tried recompiling the driver with 8 DMA RX rings, and dmesg reported
Code:
[ 95.546367] crystalhd 0000:02:00.0: Insufficient resources
It seems the issue is the lack of RAM on the ATV, but I'm pretty stumped on how to reduce my usage and am loathe to move to crystalbuntu (even though that seems to work). Any cunning ideas/ways to make the driver work properly with 8 DMA rings?
Tom