* Re: VIA8233/8235 testers wanted
@ 2003-01-14 21:48 Anton Worshevsky
2003-01-16 9:21 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Anton Worshevsky @ 2003-01-14 21:48 UTC (permalink / raw)
To: alsa-devel; +Cc: gbdj
Hello ,
> if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> you help the testing of the new driver?
> the new driver code is found at
>
> http://www.alsa-project.org/~iwai/via82xx.c
i has VIA8235 and ALC650 codec. After installing new driver from cvs from
20030113, there is following problem:
In 5.1-channel dvd playback with xine using surround51 device,
i has swapped Rear and Center/lfe channels.
RL <-> Center, RR <-> LFE
i fixed this with following patch for via82xx.c
812,813c812,815
< case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
< case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
---
> // case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> // case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> case 5: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16); break;
> case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | (6<<20); break;
please note that 5ch mode is untested.
I'm not sure that it is alsa problem, xine' may be.
It will be nice to have a small prog for channel position testing in different
playback modes, because now i know no 5.1ch source other then video player.
In general multichannel playback has good quality now (with rc6 sound was
cracking).
> the new driver can (hopefully) play multiple streams simultaneously on
> VIA8233, VIA8233C and VIA8235, but NOT on VIA8233A.
It's worked, but second stream plays only left channel.
Almost all OSS application such as games (UT, tux-racer and other) now producing
cracking and skipping sound. Only XMMS OSS-plugin plays good. OSS-sound was good
with rc6.
Best regards,
Anton Worshevsky
-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving
your online business a competitive advantage. Test-drive a Thawte SSL
certificate - our easy online guide will show you how. Click here to get
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: VIA8233/8235 testers wanted
2003-01-14 21:48 VIA8233/8235 testers wanted Anton Worshevsky
@ 2003-01-16 9:21 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2003-01-16 9:21 UTC (permalink / raw)
To: Anton Worshevsky; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2028 bytes --]
Hi,
At Wed, 15 Jan 2003 00:48:46 +0300,
Anton Worshevsky wrote:
>
> Hello ,
>
> > if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> > you help the testing of the new driver?
> > the new driver code is found at
> >
> > http://www.alsa-project.org/~iwai/via82xx.c
>
> i has VIA8235 and ALC650 codec. After installing new driver from cvs from
> 20030113, there is following problem:
>
> In 5.1-channel dvd playback with xine using surround51 device,
> i has swapped Rear and Center/lfe channels.
> RL <-> Center, RR <-> LFE
> i fixed this with following patch for via82xx.c
>
> 812,813c812,815
> < case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> < case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> ---
> > // case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> > // case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> > case 5: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16); break;
> > case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | (6<<20); break;
>
> please note that 5ch mode is untested.
> I'm not sure that it is alsa problem, xine' may be.
hmm, it could be due to the setting of ALC650. how is the status of
"Exchange Center/LFE" mixer switch?
> It will be nice to have a small prog for channel position testing in different
> playback modes, because now i know no 5.1ch source other then video player.
> In general multichannel playback has good quality now (with rc6 sound was
> cracking).
>
> > the new driver can (hopefully) play multiple streams simultaneously on
> > VIA8233, VIA8233C and VIA8235, but NOT on VIA8233A.
>
> It's worked, but second stream plays only left channel.
>
> Almost all OSS application such as games (UT, tux-racer and other) now producing
> cracking and skipping sound. Only XMMS OSS-plugin plays good. OSS-sound was good
> with rc6.
does the patch below change something?
ciao,
Takashi
[-- Attachment #2: via-frag-fix.dif --]
[-- Type: application/octet-stream, Size: 806 bytes --]
Index: alsa-kernel/pci/via82xx.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.17
diff -u -r1.17 via82xx.c
--- alsa-kernel/pci/via82xx.c 13 Jan 2003 09:07:53 -0000 1.17
+++ alsa-kernel/pci/via82xx.c 16 Jan 2003 09:19:57 -0000
@@ -773,7 +773,8 @@
outb(0 , VIAREG(chip, PLAYBACK_VOLUME_R));
outl((runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA8233_REG_TYPE_16BIT : 0) | /* format */
(runtime->channels > 1 ? VIA8233_REG_TYPE_STEREO : 0) | /* stereo */
- (0xffff * runtime->rate)/(48000/16) | /* rate */
+ // (0xffff * runtime->rate)/(48000/16) | /* rate */
+ 0xfffff |
0xff000000, /* STOP index is never reached */
port + VIA_REG_OFFSET_STOP_IDX);
return 0;
^ permalink raw reply [flat|nested] 9+ messages in thread
* VIA8233/8235 testers wanted
@ 2003-01-09 17:01 Takashi Iwai
2003-01-10 8:17 ` Joachim Blaabjerg
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-01-09 17:01 UTC (permalink / raw)
To: alsa-devel; +Cc: alsa-user
Hi,
if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
you help the testing of the new driver?
the new driver code is found at
http://www.alsa-project.org/~iwai/via82xx.c
(sorry, no links from the index page)
and replace it with alsa-kernel/pci/via82xx.c.
also, get
http://www.alsa-project.org/~iwai/VIA8233.conf
http://www.alsa-project.org/~iwai/VIA8233A.conf
and put them into /usr/share/alsa/cards directory.
the new driver can (hopefully) play multiple streams simultaneously on
VIA8233, VIA8233C and VIA8235, but NOT on VIA8233A.
also, if you have an SPDIF i/o, please check whether ac3dec works on
it. you might need to set up the mixer (IEC958 related stuffs)
preoprly beforehand.
TIA.
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-09 17:01 Takashi Iwai
@ 2003-01-10 8:17 ` Joachim Blaabjerg
2003-01-10 8:37 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Joachim Blaabjerg @ 2003-01-10 8:17 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Thursday 09 January 2003 18:01, Takashi Iwai wrote:
> Hi,
>
> if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> you help the testing of the new driver?
> the new driver code is found at
>
> http://www.alsa-project.org/~iwai/via82xx.c
> [...]
I'm getting an unresolved symbol: snd_pcm_substream_sgbuf, and a recursive
grep in the alsa-driver sources show only one match in, you guessed it,
snd-via82xx.c.
Regards,
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-10 8:17 ` Joachim Blaabjerg
@ 2003-01-10 8:37 ` Takashi Iwai
2003-01-10 9:13 ` Joachim Blaabjerg
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-01-10 8:37 UTC (permalink / raw)
To: Joachim Blaabjerg; +Cc: alsa-devel
At Fri, 10 Jan 2003 09:17:28 +0100,
Joachim Blaabjerg wrote:
>
> On Thursday 09 January 2003 18:01, Takashi Iwai wrote:
> > Hi,
> >
> > if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> > you help the testing of the new driver?
> > the new driver code is found at
> >
> > http://www.alsa-project.org/~iwai/via82xx.c
> > [...]
>
> I'm getting an unresolved symbol: snd_pcm_substream_sgbuf, and a recursive
> grep in the alsa-driver sources show only one match in, you guessed it,
> snd-via82xx.c.
please try the very latest cvs version.
(the best is to get the source via cvs, not cvs-snapshot).
there are many changes recently.
thanks,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-10 8:37 ` Takashi Iwai
@ 2003-01-10 9:13 ` Joachim Blaabjerg
2003-01-10 9:27 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Joachim Blaabjerg @ 2003-01-10 9:13 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Friday 10 January 2003 09:37, Takashi Iwai wrote:
> At Fri, 10 Jan 2003 09:17:28 +0100,
>
> Joachim Blaabjerg wrote:
> > On Thursday 09 January 2003 18:01, Takashi Iwai wrote:
> > > Hi,
> > >
> > > if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> > > you help the testing of the new driver?
> > > the new driver code is found at
> > >
> > > http://www.alsa-project.org/~iwai/via82xx.c
> > > [...]
> >
> > I'm getting an unresolved symbol: snd_pcm_substream_sgbuf, and a
> > recursive grep in the alsa-driver sources show only one match in, you
> > guessed it, snd-via82xx.c.
>
> please try the very latest cvs version.
> (the best is to get the source via cvs, not cvs-snapshot).
> there are many changes recently.
Ah yes, thanks.
It compiles and loads nicely, but there are some problems using it. I tried
starting UT2003 while XMMS was playing, and there was indeed sound from both,
but the UT2003 sound was quite choppy. When I exited UT2003, the last sound
it played is still there, and plays over and over again (ut2003-bin hangs). I
get the following warning from ALSA:
ALSA lib pcm_hw.c:398:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed:
Device or resource busy
I figured UT2003 and its sound system was probably rather weird, so I tried
again with mpg231 and mplayer, which worked beautifully. Thanks! :)
Btw, this is a VT-8235 sound chip.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-10 9:13 ` Joachim Blaabjerg
@ 2003-01-10 9:27 ` Takashi Iwai
2003-01-10 10:09 ` Joachim Blaabjerg
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-01-10 9:27 UTC (permalink / raw)
To: Joachim Blaabjerg; +Cc: alsa-devel
At Fri, 10 Jan 2003 10:13:58 +0100,
Joachim Blaabjerg wrote:
>
> On Friday 10 January 2003 09:37, Takashi Iwai wrote:
> > At Fri, 10 Jan 2003 09:17:28 +0100,
> >
> > Joachim Blaabjerg wrote:
> > > On Thursday 09 January 2003 18:01, Takashi Iwai wrote:
> > > > Hi,
> > > >
> > > > if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> > > > you help the testing of the new driver?
> > > > the new driver code is found at
> > > >
> > > > http://www.alsa-project.org/~iwai/via82xx.c
> > > > [...]
> > >
> > > I'm getting an unresolved symbol: snd_pcm_substream_sgbuf, and a
> > > recursive grep in the alsa-driver sources show only one match in, you
> > > guessed it, snd-via82xx.c.
> >
> > please try the very latest cvs version.
> > (the best is to get the source via cvs, not cvs-snapshot).
> > there are many changes recently.
>
> Ah yes, thanks.
>
> It compiles and loads nicely, but there are some problems using it. I tried
> starting UT2003 while XMMS was playing, and there was indeed sound from both,
> but the UT2003 sound was quite choppy. When I exited UT2003, the last sound
> it played is still there, and plays over and over again (ut2003-bin hangs). I
> get the following warning from ALSA:
>
> ALSA lib pcm_hw.c:398:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed:
> Device or resource busy
>
> I figured UT2003 and its sound system was probably rather weird, so I tried
> again with mpg231 and mplayer, which worked beautifully. Thanks! :)
>
> Btw, this is a VT-8235 sound chip.
there are small bugs regarding the calculation of hw-pointer.
i hope now this choppy sounds fixed. could you try to grab via82xx.c
again from the same url?
the error shown above is perhaps because the applications tried to set
up the different sample rates at the same time.
since the sample rate is configured on ac97 codec, the sample rate
must be identical among all applications playing simultaneously.
also, there is the secondary pcm device (hw:0,1) for the multi-channel
playback, i.e. 4 and 6-channel playback. if your board has rear or
center/lfe jacks, please give a try.
i guess this is exclusive with the first device, but not sure. please
check whether both twos can play at the same time.
ah, one more thing. via8235 has the secondary capture device. it's
assigned to hw:0,1. it would be helpful if you can check both hw:0,0
and hw:0,1 can capture properly, or whether only one of them works.
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-10 9:27 ` Takashi Iwai
@ 2003-01-10 10:09 ` Joachim Blaabjerg
2003-01-10 18:57 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Joachim Blaabjerg @ 2003-01-10 10:09 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Friday 10 January 2003 10:27, you wrote:
> there are small bugs regarding the calculation of hw-pointer.
> i hope now this choppy sounds fixed. could you try to grab via82xx.c
> again from the same url?
Yes, works great! Everything I use my card for works 100% now, for the first
time I can remember. On my previous box, I had an Aureal card that didn't
really have any good drivers either.
> also, there is the secondary pcm device (hw:0,1) for the multi-channel
> playback, i.e. 4 and 6-channel playback. if your board has rear or
> center/lfe jacks, please give a try.
> i guess this is exclusive with the first device, but not sure. please
> check whether both twos can play at the same time.
Unfortunately, my board hasn't got that (to my knowledge).
> ah, one more thing. via8235 has the secondary capture device. it's
> assigned to hw:0,1. it would be helpful if you can check both hw:0,0
> and hw:0,1 can capture properly, or whether only one of them works.
I'll check this out if I can get my hands on a proper microphone. I guess I
could try that headphone trick, but I'd rather try getting a mic first. In a
couple of days, perhaps?
Regards,
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: VIA8233/8235 testers wanted
2003-01-10 10:09 ` Joachim Blaabjerg
@ 2003-01-10 18:57 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2003-01-10 18:57 UTC (permalink / raw)
To: Joachim Blaabjerg; +Cc: alsa-devel
At Fri, 10 Jan 2003 11:09:32 +0100,
Joachim Blaabjerg wrote:
>
> On Friday 10 January 2003 10:27, you wrote:
> > there are small bugs regarding the calculation of hw-pointer.
> > i hope now this choppy sounds fixed. could you try to grab via82xx.c
> > again from the same url?
>
> Yes, works great! Everything I use my card for works 100% now, for the first
> time I can remember. On my previous box, I had an Aureal card that didn't
> really have any good drivers either.
ok, now the new driver was committed to the cvs tree.
thanks for your test!
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-01-16 9:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14 21:48 VIA8233/8235 testers wanted Anton Worshevsky
2003-01-16 9:21 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2003-01-09 17:01 Takashi Iwai
2003-01-10 8:17 ` Joachim Blaabjerg
2003-01-10 8:37 ` Takashi Iwai
2003-01-10 9:13 ` Joachim Blaabjerg
2003-01-10 9:27 ` Takashi Iwai
2003-01-10 10:09 ` Joachim Blaabjerg
2003-01-10 18:57 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.