Alsa error with xdtv

Bug #153354 reported by Stanislas Zeller
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello !

I used a Hauppauge WinTV Express card with Ubuntu Dapper since some months and Sound + Video was ok.
I try the Gusty RC : I compil as usual xdtv source and I have this alsa error :

kawada@kawada:~$ xdtv -mixer_dev alsa

This is xdtv 2.4.0 running on Linux/i686 (2.6.22-14-generic).
Warning: locale not supported by C library, locale unchanged
scandir: No such file or directory
filename = /home/kawada/.xdtv/xdtvrc
X Error of failed request: XF86DGANoDirectVideoMode
  Major opcode of failed request: 137 (XFree86-DGA)
  Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
  Serial number of failed request: 13
  Current serial number in output stream: 13
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1280x1024+0+0
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: gnome detected
DGA: server=2.0, include=2.0
  Selected XvVideo: video4linux on port 73 (overlay)

Selected XvImage adaptor with yuyv support: ATI Radeon Video Overlay on port 74 (grabdisplay)
XV Information:
    XV_ENCODING max value = 1000
    XV_ENCODING min value = -1000
    XV_ENCODING cur value = 0

    XV_BRIGHTNESS max value = 1000
    XV_BRIGHTNESS min value = -1000
    XV_BRIGHTNESS cur value = 37

    XV_CONTRAST max value = 1000
    XV_CONTRAST min value = -1000
    XV_CONTRAST cur value = -146

    XV_SATURATION max value = 1000
    XV_SATURATION min value = -1000
    XV_SATURATION cur value = -421

    XV_HUE max value = 1000
    XV_HUE min value = -1000
    XV_HUE cur value = 0

    XV_MUTE max value = 1
    XV_MUTE min value = 0
    XV_MUTE cur value = 0

    XV_FREQ max value = 16000
    XV_FREQ min value = 0
    XV_FREQ cur value = 8052

WARNING: video memory base unknown, may be caused by a problem
  with xdtv_v4l-conf or a non-availability of DGA
  and frame buffer devices: CLASSICAL OVERLAY IS DISABLED !
*** GRABBER DEVICE TYPE = v4l2
Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*, -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0" to type FontSet
MMX, SSE, AMD MMX extensions, 3DNOW, have been detected.
Method mmxext_32K
*** AUDIO DEVICE TYPE = alsa
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL alsa
snd_mixer_open: No such file or directory
mixer open: No such file or directory
*** MIXER DEVICE TYPE = grab
ioctl VIDIOC_DQBUF: Input/output error
total reset
ioctl VIDIOC_DQBUF: Input/output error
ioctl VIDIOC_DQBUF: Input/output error
ioctl VIDIOC_DQBUF: Invalid argument
ioctl VIDIOC_DQBUF: Input/output error

I've no sound but video works perfectly.

Tags: cft-2.6.27
Revision history for this message
Stanislas Zeller (skogkatt-deactivatedaccount) wrote :
Download full text (4.4 KiB)

I have the same problem with TVtime (official package) :

kawada@kawada:~$ tvtime -v
Utilise tvtime 1.0.2.
Lit la configuration depuis /etc/tvtime/tvtime.xml
Lit la configuration depuis /home/kawada/.tvtime/tvtime.xml
cpuinfo: CPU AMD Athlon(tm) XP 2600+, family 6, model 10, stepping 0.
cpuinfo: CPU measured at 1913,303MHz.
tvtime: Cannot set priority to -10: Permission non accordée.
xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10300000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 1.
xfullscreen: Head 0 at 0,0 with size 1280x1024.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is Fluxbox and is EWMH compliant.
xcommon: Using EWMH state fullscreen property.
xcommon: Using EWMH state above property.
xcommon: Using EWMH state below property.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 73: ATI Radeon Video Overlay.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/kawada/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'bttv', card 'BT878 video (Hauppauge (bt878))' (bus PCI:0000:01:07.0).
videoinput: Version is 2321, capabilities 5010015.
videoinput: Maximum input width: 924 pixels.
tvtime: Sampling input at 720 pixels per scanline.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (69).
xcommon: Received an unmap, marking window as hidden (22900).
xcommon: Received a map, marking window as visible (22906).
tvtime: Cleaning up.
Merci d'utiliser tvtime.

The volume rate stay to 0 when I try to increase/decrease the sound.

Info for the WIntv card :

[ 35.548952] bttv: driver version 0.9.17 loaded
[ 35.548958] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 35.549033] bttv: Bt8xx card found (0).
[ 35.549356] ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5
[ 35.549360] ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [LNK4] -> GSI 5 (level, low) -> IRQ 5
[ 35.549375] bttv0: Bt878 (rev 17) at 0000:01:07.0, irq: 5, latency: 32, mmio: 0xe6000000
[ 35.549387] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[ 35.549391] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[ 35.549429] bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
[ 35.551918] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[ 35.580765] tveeprom 2-0050: The eeprom says no radio is present, but the tuner type
[ 35.580768] tveeprom 2-0050: indicates otherwise. I will assume that radio is present.
[ 35.580772] tveeprom 2-0050: Hauppauge model 44809, rev E1A5, serial# 8233162
[ 35.580776] tveeprom 2-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
[ 35.580779] tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
[ 35.580782] tveeprom 2-0050: audio processor is None (idx 0)
[ 35.580785] tveeprom 2-0050: decoder processor is BT878 (idx 14)
[ 35.580...

Read more...

Revision history for this message
Stanislas Zeller (skogkatt-deactivatedaccount) wrote :

I added to /etc/modprobe.d/options :

options bttv tuner=38
options tda9887 port2=0

Under Dapper, it was perfect.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please download the troubleshooting script from http://www.trilug.org/~crimsun/alsa-info.sh, and attach output (a URL) from the script to your bug report.

Changed in alsa-lib:
status: New → Incomplete
Revision history for this message
Stanislas Zeller (skogkatt-deactivatedaccount) wrote :

Hi Daniel,

Here is :

http://pastebin.ca/752602

Revision history for this message
Stanislas Zeller (skogkatt-deactivatedaccount) wrote :

I'm back under Dapper to use this TV card because it's the only big problem I have under Gusty.
Before that, I tested the card TV under Feisty and same problem except a small difference in the log result : ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL alsa

Dapper : ok
Edgy : ?
Feisty : error
Gusty : error

Revision history for this message
Stanislas Zeller (skogkatt-deactivatedaccount) wrote :
Download full text (4.0 KiB)

Tested with a Hauppauge HVR 1110. I've not configured v4l for Dapper for the moment focusing on the audio problem :

Under Dapper :

[17179585.144000] saa7130/34: v4l2 driver version 0.2.14 loaded
[17179585.144000] saa7133[0]: found at 0000:01:0a.0, rev: 209, irq: 5, latency: 32, mmio: 0xe6000000
[17179585.144000] saa7133[0]: subsystem: 0070:6701, board: UNKNOWN/GENERIC [card=0,autodetected]
[17179585.144000] saa7133[0]: board init: gpio is 6400000
[17179585.296000] saa7133[0]: i2c eeprom 00: 70 00 01 67 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[17179585.296000] saa7133[0]: i2c eeprom 10: ff ff ff 0e ff 20 ff ff ff ff ff ff ff ff ff ff
[17179585.296000] saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 33 88 ff 00 aa ff ff ff ff
[17179585.296000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[17179585.296000] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 60 ff ff ff ff ff ff
[17179585.296000] saa7133[0]: i2c eeprom 50: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[17179585.296000] saa7133[0]: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[17179585.296000] saa7133[0]: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[17179585.296000] saa7133[0]: registered device video0 [v4l2]
[17179585.296000] saa7133[0]: registered device vbi0
[17179585.308000] saa7134 ALSA driver for DMA sound loaded
[17179585.308000] saa7133[0]/alsa: saa7133[0] at 0xe6000000 irq 5 registered as card -1

Under Hardy (Gusty, Feisty surely the same error) :

[ 31.555441] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 31.555864] saa7133[0]: found at 0000:01:0a.0, rev: 209, irq: 5, latency: 32, mmio: 0xe6000000
[ 31.555872] saa7133[0]: subsystem: 0070:6701, board: Hauppauge WinTV-HVR1110 DVB-T/Hybrid [card=104,autodetected]
[ 31.555885] saa7133[0]: board init: gpio is 6400000
[ 31.736128] ir-kbd-i2c: HVR 1110 detected at i2c-2/2-0071/ir0 [saa7133[0]]
[ 31.786092] saa7133[0]: i2c eeprom 00: 70 00 01 67 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 31.786103] saa7133[0]: i2c eeprom 10: ff ff ff 0e ff 20 ff ff ff ff ff ff ff ff ff ff
[ 31.786110] saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 33 88 ff 00 aa ff ff ff ff
[ 31.786116] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 31.786122] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 60 ff ff ff ff ff ff
[ 31.786129] saa7133[0]: i2c eeprom 50: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 31.786134] saa7133[0]: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 31.786140] saa7133[0]: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 32.045966] tuner 2-004b: chip found @ 0x96 (saa7133[0])
[ 32.669171] saa7133[0]: registered device video0 [v4l2]
[ 32.669193] saa7133[0]: registered device vbi0
[ 32.669215] saa7133[0]: registered device radio0
[ 32.751356] saa7134_alsa: disagrees about version of symbol snd_pcm_new
[ 32.751365] saa7134_alsa: Unknown symbol snd_pcm_new
[ 32.751574] saa7134_alsa: disagrees about version of symbol snd_pcm_stop
[ 32.751576] saa7134_alsa: Unknown symbol snd_pcm_stop
[ 32.751874] saa7134_alsa: disagrees about version of symbol snd_pcm...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote :

Should be fixed in hardy's linux 2.6.24-12.20 and l-u-m 2.6.24-12.17.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Daniel T Chen (crimsun)
Changed in linux:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.