[mythtv-users] Via CLE266 (via-slice) HW acceleration problems (segfault)

Travis Kelley rhatguy at comcast.net
Wed Jun 30 15:18:13 EDT 2004


I have a m10000 with a pvr for input and it works great.  I would
suspect that its a kernel version/v4l thing.  I've had a couple of
different kernels and if the v4l patch doesn't exactly like the kernel
your using you can get all kinds of weird stuff.  Right now I'm running
a 2.6.5-gentoo-r1 kernel from the gentoo-dev-sources.  This kernel came
with the via patches and v4l stuff working.  I'd suggest trying a newer
or older version of the kernel first off.

If you are struggling with module loading order here is the way mine
loads.

via
via_v4l_drv
ivtv

Hope this helps.



On Wed, 2004-06-30 at 06:23, Ivan A. Beveridge wrote:
> 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).



More information about the mythtv-users mailing list