[mythtv-users] Via CLE266 (via-slice) HW acceleration problems
(segfault)
Ivan A. Beveridge
ivan at dreamtime.org
Wed Jun 30 06:23:29 EDT 2004
I'm having problems getting hardware acceleration working on my Epia-MII
12000.
I see this problem has come up several times and I'm somewhat embarassed
to say I just can't seem to track down the problem. I've searched
through various websites, epia howtos, etc, but just don't seem to be
able to get the bit(s) of information that will make this work for me.
Hardware:
* Epia-MII 12000
* Twinhan DST DVB-T card (working)
Software:
* Debian testing (+ unstable, for mythtv, mplayer, etc)
* kernel 2.6.6
* mythtv 0.15.1-1 (from debs)
* via_dri.so
Mplayer runs fine against DivX/XviD files (lowish CPU utilisation, but
mythfrontend judders when trying to playback normally recorded MPEG-2
(eg recorded TV, liveTV). This seems to mirror what I have seen mentioned
in numerous other places, so I pushed on to hardware acceleration.
Update mythtv test:
* mythtv 0.15.1-1 source debs, with following changed in settings.pro
- Compile in CLE2666 support
- SSE compile flag (for EPIA-M)
- patch with "viaslice: init & guide fixes" from dev ML 06/06/2004
(the above patch was added to hopefully help me find the problem).
It segfaults (with and without the patch - the patch is more to help
show what the problem is).
Attached are various (hopefully) useful bits (I thought it may be easier
to read attachments instead of inlined entries):
* modprobe.conf lines (for twinhan DVB card and epia)
* lsmod output
* mythfrontend output, before segfault
I attached more initially, but the mail got "stuck" with the
message-size limit, so I have missed out the below - would they be
useful?
* kernel config (2.6.6-epia1)
* XF86Config
* X error log
* (I was going to attach gdb output, but I think the error message
probably tells enough - lemme know)
>From the error now given from mythtv, it looks like there may be some
problem with the kernel modules and X (or rather the via v4l driver
working all the way through), but I don't know how to test this easily.
Any recommendations about kernel loading order, etc (or other useful
docs), most gratefully accepted. The only mention I've found about what
order to load modules in does not work [1]
I am going to try a compile from yesterday evening's CVS checkout, but
am sure it won't make any difference ... there's something I'm doing
wrong somewhere :(
Cheers
Ivan
[1] The recommendation to load via_v4l_drv before via ... module
dependencies don't allow it in kernel 2.6.6, and it fails if using
insmod anyway).
--
Ivan Beveridge <ivan at dreamtime.org>
-------------- next part --------------
#install bttv { /sbin/modprobe --ignore-install bttv card=0x71 i2c_hw=1; /sbin/modprobe dvb-core; /sbin/modprobe v4l1-compat; /sbin/modprobe dst; /sbin/modprobe bt878; /sbin/modprobe dvb-bt8xx; /sbin/modprobe via_v4l_drv; /bin/true; }
install bttv { /sbin/modprobe --ignore-install bttv card=0x71 i2c_hw=1; /sbin/modprobe via_agp; /sbin/modprobe via_v4l_drv; /sbin/modprobe dvb-core; /sbin/modprobe v4l1-compat; /sbin/modprobe dst; /sbin/modprobe bt878; /sbin/modprobe dvb-bt8xx; /bin/true; }
install dvb /sbin/modprobe --first-time videodev && { /sbin/modprobe bttv card=0x71 i2c_hw=1; /sbin/modprobe dvb-core; /sbin/modprobe v4l1-compat; /sbin/modprobe v4l2-common; /sbin/modprobe video-buf; /sbin/modprobe dst; /sbin/modprobe bt878; /sbin/modprobe dvb-bt8xx; /bin/true; }
#remove dvb { /sbin/modprobe -r via_agp via_v4l_drv dvb-bt8xx dst bt878 video-buf v4l2-common v4l1-compat dvb-core bttv videodev ; }
remove dvb { /sbin/modprobe -r via_v4l_drv dvb-bt8xx dst bt878 video-buf v4l2-common v4l1-compat dvb-core bttv videodev ; }
options bttv card=0x71 i2c_hw=1
#options agpgart agp_try_unsupported=1
-------------- next part --------------
Module Size Used by
via_v4l_drv 127888 0
via 60704 1 via_v4l_drv
ds 13956 4
8250 18176 0
serial_core 19744 1 8250
snd_bt87x 10916 0
dvb_bt8xx 5764 2
dst 13676 1
bt878 9040 2 dvb_bt8xx,dst
v4l1_compat 13604 0
dvb_core 78856 4 dvb_bt8xx,dst
tuner 17516 0
bttv 144748 3 dvb_bt8xx,bt878
video_buf 16516 1 bttv
i2c_algo_bit 8936 1 bttv
v4l2_common 4832 1 bttv
btcx_risc 3848 1 bttv
videodev 7200 2 via_v4l_drv,bttv
snd_via82xx 22048 0
snd_pcm_oss 49604 0
snd_mixer_oss 17536 1 snd_pcm_oss
snd_pcm 85572 3 snd_bt87x,snd_via82xx,snd_pcm_oss
snd_timer 21060 1 snd_pcm
snd_ac97_codec 62148 1 snd_via82xx
snd_page_alloc 8996 3 snd_bt87x,snd_via82xx,snd_pcm
snd_mpu401_uart 6112 1 snd_via82xx
snd_rawmidi 19968 1 snd_mpu401_uart
snd_seq_device 6440 1 snd_rawmidi
snd 45636 10 snd_bt87x,snd_via82xx,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
usbhid 30112 0
eth1394 17576 0
uhci_hcd 28720 0
ohci1394 31460 0
ieee1394 94328 2 eth1394,ohci1394
via_agp 5568 1
agpgart 27816 2 via_agp
ehci_hcd 24964 0
usbcore 93884 5 usbhid,uhci_hcd,ehci_hcd
via_rhine 18952 0
yenta_socket 18368 0
pcmcia_core 54628 2 ds,yenta_socket
xfs 535192 1
i2c_sensor 2304 0
evdev 7232 0
i2c_core 18820 5 dvb_bt8xx,tuner,bttv,i2c_algo_bit,i2c_sensor
psmouse 18568 0
ide_cd 39076 0
cdrom 38016 1 ide_cd
-------------- next part --------------
2004-06-29 16:48:01 mythfrontend version: 0.15.20040525-1 www.mythtv.org
2004-06-29 16:48:01 Enabled verbose msgs : important general
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2004-06-29 16:48:03 Registering Internal as a media playback plugin.
2004-06-29 16:48:08 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-06-29 16:48:08 Using protocol version 8
2004-06-29 16:48:08 Using protocol version 8
2004-06-29 16:48:08 Using protocol version 8
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/media/cache/mythtv/tv/ringbuf1.nuv':
Stream #0.0: Video: mpegvideo_via, 720x576, 25.00 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2004-06-29 16:48:10 Opening OSS audio device '/dev/dsp'.
2004-06-29 16:48:10 Audio fragment size: 4096
Unable to initialize VIA CLE266 HW Driver, please check your installation.
More information about the mythtv-users
mailing list