Massive sound changes in 8-CURRENT, testers wanted

joel@

Active Member
Developer

Reaction score: 46
Messages: 249

Ariff Abdullah (ariff@) has committed some major work to the FreeBSD sound system. All of this will be available in the upcoming 8-RELEASE.

More testers are needed and we would especially like to hear about any regressions. To test this, just upgrade to the latest 8-CURRENT and make sure sound still works. Please report any issues to ariff@ or to the multimedia@freebsd.org mailing list.

Success reports can be made in this thread.

I'm not going to go through all the new stuff, but you can read more about it here: http://people.freebsd.org/~ariff/SOUND_4.TXT.html
 

fronclynne

Daemon

Reaction score: 176
Messages: 1,296

So far, fine here:
Code:
 FreeBSD 8.0-CURRENT #0: Sun Jun 14 23:12:33 EDT 2009
excerpted from dmesg -a
Code:
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 3 nid 1 on hdac0
pcm1: <HDA Realtek ALC268 PCM #1 Analog> at cad 3 nid 1 on hdac0
% tail /dev/sndstat
Code:
FreeBSD Audio Driver (newpcm: 64bit 2009060800/amd64)
Installed devices:
pcm0: <HDA Realtek ALC268 PCM #0 Analog> at cad 3 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default)
pcm1: <HDA Realtek ALC268 PCM #1 Analog> at cad 3 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
 

richardpl

Aspiring Daemon

Reaction score: 68
Messages: 841

Everything is excelent here.
I enabled equalizer and set feeder rate quality to 4.

Now I only wait for multichannel support in snd_hda(4)
 

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

How is the parametric equalizer? I'm not running 8 anywhere but I may clear off a disk to test it out for this.
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

I was going to let you know about that, Rod. The linked document is all that I've seen, but it includes both a shelving and peak equalizer. You have to select one or the other, of course. I don't know how many frequencies yet (2?).
 

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

Please do! I could never get the one I was working on to stop locking the sound system.
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

roddierod said:
Please do!
Well, you do seem to know about it already. :)

I don't have -CURRENT installed yet, but it is looking like it will be a very good release. Reworked sound, USB, linux emulation, Baldwin's patches to facilitate a 64-bit nVidia driver, VirtualBox (not part of the OS, I know, I know) and proably lots of stuff I don't know about.

I usually don't install x.0 releases, but this one I probably will.
 

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

OK..I missed the 64 bit nvidia driver info. I've seen your emails on the list for VirtualBox testing.

You convinced me...I'm download a snapshot now and installing it tonight.

I'll let you know about the EQ and sound.
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

The nVidia patches are not in quite yet, but they should be in the next few weeks. Then nVidia has to write the driver, but their issue has always been the lack of certain FreeBSD kernel functionality. So writing the actual driver should go pretty quickly.
 

gnemmi

Active Member

Reaction score: 21
Messages: 220

Are the sound system changes present on 8.0-CURRENT-200906-i386-dvd1.iso?
Im downloading it right now and will install it on my Dell 1318 to see how ACPI is doing but I could also take a shot a the sound system as well.
Would you like me running some test in particular?

Regards
 
OP
joel@

joel@

Active Member
Developer

Reaction score: 46
Messages: 249

gnemmi said:
Are the sound system changes present on 8.0-CURRENT-200906-i386-dvd1.iso?
No, I don't think so. You have to csup to the latest 8-CURRENT anyway to get a bunch of fixes to sound/ that were committed after the mega-commit by ariff@.
 

gnemmi

Active Member

Reaction score: 21
Messages: 220

Thanks to both of you.
Will install and report back ASAP.

Regards
Gonzalo
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 2,955
Messages: 11,352

All working well on laptop with 8.0-CURRENT of yesterday (using snd_hda en XFCE4 mixer -- no apparent changes, really).
dmesg:
Code:
hdac0: <Intel 82801H High Definition Audio Controller> mem 0xe8044000-0xe8047fff irq 17 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090614_0135
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Analog Devices AD1981HD
hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
hdac0: Codec #1 is not responding! Probing aborted.
pcm0: <HDA Analog Devices AD1981HD PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Analog Devices AD1981HD PCM #1 Digital> at cad 0 nid 1 on hdac0
I think I had that "Codec #1 is not responding" previously.

sndstat:
Code:
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Analog Devices AD1981HD PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: <HDA Analog Devices AD1981HD PCM #1 Digital> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
 
OP
joel@

joel@

Active Member
Developer

Reaction score: 46
Messages: 249

blah said:
You don't have to. There are daily snapshots of 8-CURRENT built for i386 together with BSDInstaller:
http://snapshots.pfsense.org/FreeBSD_8_0/?C=M;O=D
There are many sites building and publishing snapshots on the web, but remember that these are not built by the FreeBSD Project release engineering team, and are not in any way "official".
 

graudeejs

Son of Beastie

Reaction score: 700
Messages: 4,617

I Just updated My FreeBSD-8-Current to latest
Code:
*default host=cvsup2.lv.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
src-all
But I'm not sure how to check this with uname it shows:
Code:
FreeBSD 192.168.128.100 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Jun 17 17:40:47 EEST 2009     root@192.168.128.100:/usr/obj/usr/src/sys/ANTIGENERIC  i386
I was using 8 already.... that's why I feel confused a bit.


Anyway, OSS seams to work good. I haven't noticed any changes.
I'm using snd_ich driver
I have integrated sound card in Abit AS8 / AS8-V (Intel i865-ICH5) motherboard

Code:
killasmurf86 $ dmesg | grep pcm                                                                                                                           
pcm0: <Intel ICH5 (82801EB)> port 0xd800-0xd8ff,0xdc00-0xdc3f mem 0xfa101000-0xfa1011ff,0xfa102000-0xfa1020ff irq 17 at device 31.5 on pci0
pcm0: [ITHREAD]
pcm0: <Avance Logic ALC658 AC97 Codec>
I noticed that i'm the only one here who have 1 pcm. Did I miss anything?
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

killasmurf86 said:
But I'm not sure how to check this with uname it shows:
Code:
FreeBSD 192.168.128.100 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Jun 17 17:40:47 EEST 2009     root@192.168.128.100:/usr/obj/usr/src/sys/ANTIGENERIC  i386
I was using 8 already.... that's why I feel confused a bit.
This looks fine. It shows that you built it on Jun 17, at 17:40, which is what you did, right? 8-CURRENT is what you are running, and the #0 means that it is the first kernel you have built from this source. I'd think that's right too.

So you should be good to go.
 

graudeejs

Son of Beastie

Reaction score: 700
Messages: 4,617

I noticed that snd_audiocs(4) manpage is missing [i saw cross ref to it in sound(4)]
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 2,955
Messages: 11,352

Tucked away ;)

[cmd=]man /usr/src/share/man/man4/man4.sparc64/snd_audiocs.4[/cmd]
 

richardpl

Aspiring Daemon

Reaction score: 68
Messages: 841

snd_audiocs(4) is for sparc64 only, probably there should be more that one version of sound(4) manual.
 

graudeejs

Son of Beastie

Reaction score: 700
Messages: 4,617

richardpl said:
snd_audiocs(4) is for sparc64 only, probably there should be more that one version of sound(4) manual.
Or manual should be generated during compilation
 

dh

Member

Reaction score: 21
Messages: 96

I cvsupped a few days ago:
Code:
FreeBSD xxx 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Mon Jun 15 23:00:48 EEST 2009     root@xxx:/usr/obj/usr/src/sys/DEBUG  amd64
Using snd_hda (Gigabyte EX58-UD4 internal sound):
Code:
hdac0: <Intel 82801J High Definition Audio Controller> mem 0xfdff4000-0xfdff7fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090614_0135
hdac0: [ITHREAD]
hdac0: HDA Codec #2: Realtek ALC888
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 2 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 2 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 2 nid 1 on hdac0
First thing I noticed was that while running audacious and mplayer, I could mute mplayer sound and not affecting audacious \m/. That wasn't possible before.
 
OP
joel@

joel@

Active Member
Developer

Reaction score: 46
Messages: 249

dh said:
First thing I noticed was that while running audacious and mplayer, I could mute mplayer sound and not affecting audacious \m/. That wasn't possible before.
Yea, thats the new Volume Per Channel (VPC) stuff.
 

oliverh

Aspiring Daemon

Reaction score: 38
Messages: 557

DrJ said:
The nVidia patches are not in quite yet, but they should be in the next few weeks. Then nVidia has to write the driver, but their issue has always been the lack of certain FreeBSD kernel functionality. So writing the actual driver should go pretty quickly.
I don't think so,

Like I said earlier, I've worked with John Baldwin to test/debug preliminary snapshots of the new kernel interfaces (against an 8.0-CURRENT snapshot). The NVIDIA UNIX graphics driver stack is now mostly functional on FreeBSD/amd64 with John's changes (native 64-bit and 32-bit OpenGL applications work, for example). It'll likely be a little while before everything falls into place, but a lot of progress has been made in the last month.
http://www.nvnews.net/vbulletin/showpost.php?p=2031965&postcount=405

So maybe we will see some alpha/beta driver with the advent of FBSD 8.1 or later.
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

Oliver, later in the thread on nvnews Ed Zander of nVidia states:

I'm not aware of an estimated time frame [for the kernel changes], but my guess is the changes will make it into both the FreeBSD 8 and 7 trees over the next few weeks.
That's what I claimed. As far as the driver itself, I'd guess a couple of months thereafter. That may or may not make it into 8.0, but for the first time ever there is reason to believe that there will be a 64-bit nVidia driver.
 
Top