[mythtv-users] Via CLE266 (via-slice) HW acceleration
problems(segfault)
Ivan A. Beveridge
ivan at dreamtime.org
Wed Jun 30 11:04:18 EDT 2004
On Wed, Jun 30, 2004 at 03:50:01PM +0200, Kenneth Aafløy wrote:
> On Wednesday 30 June 2004 14:57, Ivan A. Beveridge wrote:
> > On Wed, Jun 30, 2004 at 01:20:14PM +0200, Steven Cruysberghs wrote:
> > > I've set it up using the instructions on epiawiki.org
> > > epia kernel and the unichrome driver
>
> I thought you needed a special driver for the via_v4l_drv module, that calls
> the proper ioctls (XSERVER_ON/XSERVER_OFF)? Or has this functionality gotten
> into the unichrome driver as well now?
Pass. The via_v4l_drv is (in my case :) a kernel module that I think is
part of the epia-1 patch for kernel 2.6.6 (or perhaps is now part of
the vanilla or debian kernel).
> I'm using the binary driver that used to be available here on my debian box:
> http://www.shipmail.org/~thomas/via/#mozTocId80931
Ah - I think you mean via_dri (rather than via_v4l_drv)? That is the one
I'm using at the moment.
> After loading up XFree, does something like this appear in your XFree.log?
>
> VIAScreenInit : V4L Enabled : fd = 6
No, it doesn't. I've changed the XF86-Config to what is mentioned on the
above page (which meant me re-enabling the "v4l" and "drm" X modules),
but I still didn't get the above line.
Update: I downloaded and used the via_drv.o that also came from the
above URL (I was using the one that came with debian), and I now _do_
get a mention of VIAScreenInit. It may help with the investigation, but
is not the right answer ;)
=====================================
(EE) VIA(0): Couldn't open "/dev/video2"
VIAScreenInit : V4L Disabled : fd = -1
(--) VIA(0): mapping framebuffer @ 0xd8000000 with size 0x2000000
(==) VIA(0): Write-combining range (0xd8000000,0x2000000)
(--) VIA(0): Frame buffer start: 0x402c9000, free start: 0x195000 end:
0x2000000
(--) VIA(0): mapping MMIO @ 0xdc000000 with size 0x9000
(--) VIA(0): mapping BitBlt MMIO @ 0xdc200000 with size 0x10000
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
0x0000
(II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:TV" removed.
(II) VIA(0): I2C device "I2C bus 2:VT1622" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:VT1622" removed.
(II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:TV" removed.
(II) VIA(0): 3D Engine has been initialized.
=====================================
I've not investigated any v4l stuff before. However, this implies a
problem:
=====================================
video:/root# v4l-info /dev/video2
open /dev/video2: No such device
=====================================
I have tried with /dev/video from 0 to 7, and all give the same error.
Currently I have loaded agpgart, via_agp, via, via_v4l_drv, etc, in
/etc/modules, and lsmod seems to show that they are loading before
anything else (eg the twinhan bttv card) can get in the way:
=====================================
video:/root# lsmod
Module Size Used by
via686a 18216 0
i2c_viapro 5868 0
i2c_dev 7680 0
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
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
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
via_v4l_drv 127888 0
videodev 7200 2 bttv,via_v4l_drv
evdev 7232 0
via 60704 3 via_v4l_drv
via_agp 5568 1
agpgart 27816 2 via_agp
i2c_sensor 2304 1 via686a
i2c_core 18820 8
via686a,i2c_viapro,i2c_dev,dvb_bt8xx,tuner,bttv,i2c_algo_bit,i2c_sensor
psmouse 18568 0
ide_cd 39076 0
cdrom 38016 1 ide_cd
=====================================
Is any of that any help with diagnosis?
Cheers
Ivan
--
Ivan Beveridge <ivan at dreamtime.org>
More information about the mythtv-users
mailing list