Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 01:21:59 +0200
From:      Oliver Brandmueller <ob@gruft.de>
To:        Randall Hopper <aa8vb@ipass.net>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Strange problem: fxtv and sound
Message-ID:  <20000517012159.A28648@gruft.de>
In-Reply-To: <20000508131332.A10497@ipass.net>; from Randall Hopper on Mon, May 08, 2000 at 01:13:32PM -0400
References:  <20000508110728.A33101@gruft.de> <3916966C.C5C3EB31@cs.strath.ac.uk> <20000508134336.A33792@gruft.de> <20000508131332.A10497@ipass.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

sorry for the delay - I had some more work than I expected the last two
weeks... Now I got some time to try fixing my TV ;)

On Mon, May 08, 2000 at 01:13:32PM -0400, Randall Hopper wrote:
> Oliver Brandmueller:
>  |On Mon, May 08, 2000 at 11:26:52AM +0100, Roger Hardiman wrote:
>  |> > Everytime I change the channel (using mouse or keyboard) or just move the
>  |> > mouse over the edge of the fxtv window the sound gets a few percent
>  |> > louder. The slider in the window moves, fxtv shows the new volume setting
>  |> > with it's OSD.
>  |> 
>  |> Does it keep getting louder and louder until it gets to maximum volume?
> 
> This could be explained by a few things.  First, if the sound driver is not
> returning the same value on a "get" as the value that was issued by the
> last "set", that would do it.

Hmm, seems, that's the problem. I'll paste you the output that appears
after including the lines you recommended in the fxtv source code.

> Alternatively, it might be due to another audio app rounding the numbers.
> It could also be Xaw3d.

I don't think I have another audio app running. The problem is still there
when I kill maudio and kwmsound.

> Try this.  Build fxtv from ports with these changes.

(1:05) ob@draculas:ttyp3 [~] startTV
Get volume: 59 59      /* that's what happens just after the start */
Set volume: 59 59
Get volume: 62 62
Set volume: 62 62      /* until here */

Get volume: 65 65      /* that's what happens when I move the mouse */
Set volume: 65 65      /* into the window */

nothing happens, when I move the mouse out of the window.

TVTOOLSVolSliderJumpCB: value = 56 /*that's what shows up when using */
Set volume: 56 56                  /* the volume slider */
TVTOOLSVolSliderJumpCB: value = 53
Set volume: 53 53

Get volume: 78 78      /* the volume slider reaches the upper end */
Set volume: 78 78      /* when I keep repeating moving the mouse  */
                       /* over the window */

Get volume: 97 97      /* that's what shows up when the volume reaches */
Set volume: 95 95      /* the max and I keep repeating moving the mouse */
                       /* in and out of the window or switching the */
                       /* channel */

Here follows selected output from /var/run/dmesg.boot:

FreeBSD 4.0-STABLE #1: Mon May  8 08:34:22 CEST 2000
    root@draculas.gruft.de:/usr/src/sys/compile/DRACULA
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 126963712 (123988K bytes)
[...]
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GB graphics accelerator> at 0.0
[...]
bktr0: <BrookTree 878> mem 0xed000000-0xed000fff irq 10 at device 8.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> on smbus1
bktr0: Hauppauge Model 61204 BM
Hauppauge WinCast/TV, Philips PAL I tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 8.1 irq 10
pcm0: <AudioPCI ES1371> port 0xe000-0xe03f irq 10 at device 9.0 on pci0

It is a Gigabyte GA-5AX Motherboard with an AMD K6-II/400. The same
hardware had no problems before switching to FreeBSD 4.0. KDE does not
seem to be the problem, I tried it witouht any windowmanager as well and
there's no difference. So I think, the problem might be somewhere in the
new sound driver from FreeBSD 4.0?


Thanx for any help,

		Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | http://www.obh.snafu.de/~ob/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000517012159.A28648>