XDTV / xawxtv / v4l freeze de X

Bonjour

Je suis sous Lenny, sur une installation neuve et propre, avec un carte ati radeon X1600 et j’essaye vainement de faire fonctionner xdtv installé depuis le dépot debian multimedia.

Je fait un v4l-conf, l’écran devient noir, si je repasse en mode console pour retourner sur la session X (CTRL-F1 / CTRL-F7) tout redevient normal et j’ai :

xquost@SERVER:~$ v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1440x900, depth=24, bpp=32, bpl=5888, base=0xc1005000
/dev/video0 [v4l2]: configuration done

Si maintenant je lance xdtv :

This is xdtv 2.4.1cvs9 running on Linux/x86_64 (2.6.26-1-amd64).
scandir: Aucun fichier ou répertoire de ce type
filename = /home/xquost/.xdtv/xdtvrc
/dev/video0 [v4l2]: ioctl VIDIOC_S_FBUF: Operation not permitted
v4l-conf: You should install me suid root, I need
          root priviliges for the VIDIOC_S_FBUF ioctl.
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1440x900+0+0
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "star" to type Pixmap
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: nothing found...
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
  available video mode(s): 1440x900 1280x1024 1280x1024 1280x1024 1152x864 1152x864 1152x864 1024x768 1024x768 1024x768 1024x768 800x600 800x600 800x600 800x600 800x600 640x480 640x480 640x480 1280x768 1280x720 720x480 640x400 640x400 512x384 512x384 400x300 400x300 320x240 320x240 320x200 320x200
Selected XvImage adaptor with yuyv support: ATI Radeon AVIVO Video on port 131 (grabdisplay)
No XvVideo port available.
*** GRABBER DEVICE TYPE = v4l2
Warning: Cannot convert string "none" to type relief
Warning: Cannot convert string "black" to type Pixmap
Check the linuxtv.org URLs web site. Please wait...
~Warning: Missing charsets in String to FontSet conversion
No MMX detected
Method glibc
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa

Apres xdtv marche assez mal (plein écran dysfonctionant, plugins absents ou désactivées) et freeze régulier de la session X …

En ce qui concerne l’erreur “No XvVideo port available.” XVideo fonctionne bien :

xvinfo 
X-Video Extension version 3.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 131
    operations supported: PutVideo
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
.....
.....
X-Video Extension version 3.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 131
    operations supported: PutVideo
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
....
....

en ce qui concerne l’erreur “/dev/video0 [v4l2]: ioctl VIDIOC_S_FBUF:”

v4l-conf est bien set uid root

SERVER:/home/xquost# ls -lh /usr/bin/v4l-conf
-rwsr-xr-x 1 root root 15K déc 18  2007 /usr/bin/v4l-conf

je sais pas par quel bout prendre le problème … Quelqu’un aurait-il une idée ?

En attendant d’autres idées, j’ai trouvé une solution alternative.
Mais ma question reste toujours ouverte, car j’adore XDTV :smt007 !!!

J’utilise mplayer pour regarder/enregistrer la tele:
Le fichier de configuration de mplayer contient :

22:30 xquost@SERVER ~% cat .mplayer/config
# Write your default config options here!

[protocol.tv]
profile-desc="profil pour les flux tv://"
tv=norm=secam:chanlist=france:channels="25-TF1,22-France_2,28-France_3,K06-Canal_Plus,30-Arte,33-M6":automute=0
vf=crop=640:400:0:40

Le fichier de configuration de mencoder contient :

22:39 xquost@SERVER ~% cat .mplayer/mencoder.conf
[tv]
profile-desc="profil pour les flux tv://"
tv=norm=secam:chanlist=france:channels="25-TF1,22-France_2,28-France_3,K06-Canal_Plus,30-Arte,33-M6":automute=0
vf=crop=640:400:0:40,pp=lb
oac=mp3lame=1
lameopts=cbr=1:br=64
ovc=lavc=1
lavcopts=vcodec=mpeg4:vbitrate=900

Pour lire Arte

Pour enregistrer Arte

source :
http://www.mplayerhq.hu/DOCS/HTML/fr/tv-input.html#tv-examples