[ATrpms-users] FC5, mythtv, saa7134 sound

hermann pitton hermann-pitton at arcor.de
Tue Jun 20 00:11:41 CEST 2006


Hello!

Am Sonntag, den 18.06.2006, 12:28 +0200 schrieb Axel Thimm: 
> On Sun, Jun 18, 2006 at 11:11:35AM +0100, John Pilkington wrote:
> > I gave up trying to resurrect my RH9-to-FC5 upgrade and did a clean FC5 
> > install last week.  I still have FC3.
> > 
> > I'm using kernel 2.6.16-1.2133_FC5 at i686
> > 
> > There is no sound in FC5 mythtv LiveTV.
> 
> Can you check whether the sound is amiss during the capturing or the
> playback? E.g. instead of live tv schedule a recording and check on
> another known to work system whether the recording has sound.
> 
> Other checks you can perform are running mplayer on a known media and
> see whether mplayer & alsa (playback) work. Also try manually to
> perform a capture from your card to outrule any mythtv issues.
> 
> > This used to be cured by using 'v4lctl sound mute off', but that was
> > part of xawtv and is not in the FC5 repo.  (The last few times I
> > tried to view using xawtv in FC3 I had system crashes, but the
> > unmuting still worked.)
> 
> There is alsamixer and alsaunmute, did you try these?

There are some critical chipsets and binary drivers for overlay preview
mode. Don't use it at all then. The saa7134 driver has a no_overlay=1
option. Also "xawtv -remote -c /dev/video0" disables overlay. On some
recent binary drivers you might need -nodga too. To set capture in
~/.xawtv from over to grab might help too.

There is a mute bug in the v4l1-compat layer of the saa7134 driver
mythtv uses. No problems with v4l2 apps like xawtv, mplayer, tvtime ...

There are possibly several workarounds.
Henry Wong introduced the v4l2 ioctl. It will unmute, but not mute on
exit. http://marc.theaimsgroup.com/?l=linux-video&m=114914868316091&w=2

We had the digital i2s sound always unmuted for a while, but since so many
cardbus and even PCI cards have no analog audio out anymore, the bit is set
to mute again, also to avoid noise on channel changing. (bit 6 was 0)
http://marc.theaimsgroup.com/?l=linux-video&m=112305618428132&w=2

> > 'radio' was in the same package, and works in FC3, and I don't see a 
> > replacement.
> > 
> > Hermann wrote on 29 May:
> > 
> > "I didn't touch mythtv since ages, but I don't see v4l1 ioctl problems
> > with the v4l1-compat layer enabled and using saa7134-oss, which will go
> > away too to be replaced by saa7134-alsa. The mute trouble in the saa7134
> > v4l-compat is unfortunately also still there."
> > 
> > Is there a workaround known or in sight?

John, I'll send a xawtv-3.95.src.rpm I made on FC5 test1 back then.
Seemed something simple related to the new include font.h path of xorg7,
still installs in the old locations, not changed in spec
files ../configure.

There is a compile trouble with vbi-gui.c and included channel.h, seems
gcc4x * [] stuff, zvbi is disabled.
In case of trouble with libquicktime, uninstall it during the build or
try to build from source with your prefered locations like

"./configure --x-includes=/usr/include/X11/fonts --x-libraries=/usr/X11R6/lib --prefix=/usr/X11R6 --enable-zvbi=no"
and also --enable-quicktime=no too, if errors with current versions.

Good Luck,
Hermann





More information about the atrpms-users mailing list