audio playback slow

2003-03-20 Thread Wade Majors
I just setup FreeBSD 5.0-CURRENT as of last night on my system. I setup 
the pcm driver and it detected my onboard VIA audio (at least 
partially), however playback is at about half speed. I am basically 
running GENERIC with the debug options commented out and device pcm added.

I suspect it might be because of the AC97 Codec message, but I do get 
playback, just slowed down.

-Wade

-
Some bits from dmesg:
pcm0: VIA VT8233A port 0xe000-0xe0ff irq 12 at device 17.5 on pci0
pcm0: Unknown AC97 Codec (id = 0x414c4730)
Some bits from pciconf -l -v:
[EMAIL PROTECTED]:17:5: class=0x040100 card=0x47304005 chip=0x30591106 rev=0x40 
hdr=0x00
  vendor   = 'Via Technologies Inc'
  device   = 'VT8233/33A AC97 Enhanced Audio Controller'
  class= multimedia
  subclass = audio



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: audio playback slow

2003-03-20 Thread Bruno Afonso
Wade Majors wrote:

Hello,

Some bits from dmesg:
pcm0: VIA VT8233A port 0xe000-0xe0ff irq 12 at device 17.5 on pci0
pcm0: Unknown AC97 Codec (id = 0x414c4730)
Some bits from pciconf -l -v:
[EMAIL PROTECTED]:17:5: class=0x040100 card=0x47304005 chip=0x30591106 rev=0x40 
hdr=0x00
  vendor   = 'Via Technologies Inc'
  device   = 'VT8233/33A AC97 Enhanced Audio Controller'
  class= multimedia
  subclass = audio
[EMAIL PROTECTED]:17:5:class=0x040100 card=0x24dc4005 chip=0x30591106 
rev=0x10 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8233/33A AC97 Enhanced Audio Controller'
class= multimedia
subclass = audio

Is the 33A expected to be supported in the future? :-)

--
Bruno Miguel Afonso
Biological Eng. student.
[EMAIL PROTECTED]
D.E.Q. @ I.S.T. - Portugal
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: audio playback slow

2003-03-20 Thread Orion Hodson

Wade Majors writes:
| I just setup FreeBSD 5.0-CURRENT as of last night on my system. I setup 
| the pcm driver and it detected my onboard VIA audio (at least 
| partially), however playback is at about half speed. I am basically 
| running GENERIC with the debug options commented out and device pcm added.
|
| I suspect it might be because of the AC97 Codec message, but I do get 
| playback, just slowed down.

Wade.

The AC97 codec message is unrelated, it's just a missing/mis-entered codec id, 
it's an ALC101. This should now be fixed in the repository.

I believe the speed problem lies with the driver mis-reporting of capabilities 
of the chipset when the ac97 codec does not support on-chip sample rate 
conversion which the ALC101 does not.  Again, this should now fixed in the 
repository.

If you can update and let me know.  Should it fail, can you set 'sysctl 
hw.snd.verbose=3', 'cat /dev/sndstat' while playing the offending audio, and 
send me the output.

Thanks
- Orion




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: audio playback slow

2003-03-20 Thread Wade Majors
The AC97 codec message is unrelated, it's just a missing/mis-entered codec id, 
it's an ALC101. This should now be fixed in the repository.

That message does appear to be fixed now, it reports:
pcm0: Avance Logic ALC101 AC97 Codec
I believe the speed problem lies with the driver mis-reporting of capabilities 
of the chipset when the ac97 codec does not support on-chip sample rate 
conversion which the ALC101 does not.  Again, this should now fixed in the 
repository.
I am still getting slowed down playback :( Here is the output you 
requested. I didn't think the fileversions were important here.

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: VIA VT8233A at io 0xe000 irq 12 (2p/1r/0v channels duplex default)
[pcm0:play:0]: spd 44100/48000, fmt 0x1010, flags 3030, 
pid 457
interrupts 20623, underruns 7, ready 65536
{userland} - feeder_root(0x1010) - {hardware}
[pcm0:play:1]: spd 0, fmt 0x/0x0008, flags 
interrupts 0, underruns 0, ready 0
{userland} - feeder_root(0x) - {hardware}
[pcm0:record:0]: spd 0, fmt 0x/0x0008, flags 
interrupts 0, overruns 0, hfree 4096, sfree 0
{hardware} - feeder_root(0x) - {userland}

Hope this helps.
-Wade


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message