Athlon XP 2500+, ATI Radeon 9550, Twinhan Visionplus DVB-T
Knoppmyth R5A15
Linux 2.6.12.2
XFree86 4.3
ATI fglrx-4-3-0_8.14.13-2_i386 driver with fglrx kernel module
Mythtv 18.1 compiled and optimized for athlon-xp
When DRI (Direct Rendering Interface) is enabled (Option "no_dri" "no" in /etc/X11/XF86Config-4):
SD channels work fine, with around 18%cpu for mythfrontend and 2.5%cpu for XFree86
HD channels have perfect audio, but NO VIDEO!! 48%cpu for mythfrontend and 0.5%cpu for XFree86. If I change from a SD channel to a HD channel, the last frame of the SD channel remains on the screen. When I change back to a SD channel from a HD channel, the SD channel is fine again.
Tried turning off de-interlacing, and tried using libmpeg2 for decoding, but same problem.
When DRI is disabled, (Option "no_dri" "yes" in /etc/X11/XF86Config-4):
SD channels are also fine, except XFree86 uses around 15%cpu (compared to 2.5%cpu with DRI). For HD channels, the video can be seen, although it's very jumpy, probably because XFree86 also takes up a lot of %cpu (close to 99%). Audio is jumpy as well. Seems that disabling DRI gives images on the screen, but makes the computer too slow to decode all the frames and audio.
mythfrontend -v playback >log.txt shows a whole bunch of these lines:
Code:
X Error: BadAlloc (insufficient resources for operation) 11
Major opcode: 140
Minor opcode: 19
Resource id: 0x0
I think this may have something to do with not having enough offscreen buffer, which maybe something that could be changed by hacking the fglrx driver ...
If anybody could point me in the right direction that'll be greatly appreciated ..
Thanks!