2594e Massive sound changes in 8-CURRENT, testers wanted - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Development > FreeBSD Development

FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

Reply
 
Thread Tools Display Modes
  #1  
Old June 14th, 2009, 12:30
joel@'s Avatar
joel@ joel@ is online now
Administrator
 
Join Date: Sep 2007
Location: Arentorp, Sweden
Posts: 240
Thanks: 2
Thanked 37 Times in 30 Posts
Exclamation Massive sound changes in 8-CURRENT, testers wanted

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

Last edited by joel@; June 15th, 2009 at 20:47.
Reply With Quote
  #2  
Old June 15th, 2009, 19:26
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

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)
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #3  
Old June 15th, 2009, 23:13
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

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)
Reply With Quote
  #4  
Old June 16th, 2009, 12:35
roddierod's Avatar
roddierod roddierod is offline
Member
 
Join Date: Nov 2008
Location: On my Slingerlands!
Posts: 637
Thanks: 29
Thanked 72 Times in 62 Posts
Default

How is the parametric equalizer? I'm not running 8 anywhere but I may clear off a disk to test it out for this.
Reply With Quote
  #5  
Old June 16th, 2009, 15:44
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

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?).
Reply With Quote
  #6  
Old June 16th, 2009, 16:06
roddierod's Avatar
roddierod roddierod is offline
Member
 
Join Date: Nov 2008
Location: On my Slingerlands!
Posts: 637
Thanks: 29
Thanked 72 Times in 62 Posts
Default

Please do! I could never get the one I was working on to stop locking the sound system.
Reply With Quote
  #7  
Old June 16th, 2009, 16:11
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

Quote:
Originally Posted by roddierod View Post
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.
Reply With Quote
  #8  
Old June 16th, 2009, 16:19
roddierod's Avatar
roddierod roddierod is offline
Member
 
Join Date: Nov 2008
Location: On my Slingerlands!
Posts: 637
Thanks: 29
Thanked 72 Times in 62 Posts
Default

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.
Reply With Quote
  #9  
Old June 16th, 2009, 16:23
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

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.
Reply With Quote
  #10  
Old June 17th, 2009, 00:08
gnemmi's Avatar
gnemmi gnemmi is offline
Member
 
Join Date: Nov 2008
Location: Cap. Fed., Buenos Aires, Argentina
Posts: 219
Thanks: 35
Thanked 21 Times in 18 Posts
Default

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
Reply With Quote
  #11  
Old June 17th, 2009, 05:54
joel@'s Avatar
joel@ joel@ is online now
Administrator
 
Join Date: Sep 2007
Location: Arentorp, Sweden
Posts: 240
Thanks: 2
Thanked 37 Times in 30 Posts
Default

Quote:
Originally Posted by gnemmi View Post
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@.
Reply With Quote
  #12  
Old June 17th, 2009, 11:33
blah blah is offline
Banned
 
Join Date: Dec 2008
Posts: 75
Thanks: 4
Thanked 16 Times in 16 Posts
Default

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
Reply With Quote
  #13  
Old June 17th, 2009, 12:53
gnemmi's Avatar
gnemmi gnemmi is offline
Member
 
Join Date: Nov 2008
Location: Cap. Fed., Buenos Aires, Argentina
Posts: 219
Thanks: 35
Thanked 21 Times in 18 Posts
Default

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

Regards
Gonzalo
Reply With Quote
  #14  
Old June 17th, 2009, 13:15
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,816
Thanks: 29
Thanked 1,882 Times in 1,329 Posts
Default

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)
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---

Last edited by DutchDaemon; June 17th, 2009 at 13:24.
Reply With Quote
  #15  
Old June 17th, 2009, 14:21
joel@'s Avatar
joel@ joel@ is online now
Administrator
 
Join Date: Sep 2007
Location: Arentorp, Sweden
Posts: 240
Thanks: 2
Thanked 37 Times in 30 Posts
Default

Quote:
Originally Posted by blah View Post
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".
Reply With Quote
  #16  
Old June 17th, 2009, 16:52
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,521
Thanks: 422
Thanked 607 Times in 475 Posts
Default

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?
Reply With Quote
  #17  
Old June 17th, 2009, 17:21
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
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.
Reply With Quote
  #18  
Old June 17th, 2009, 17:29
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,521
Thanks: 422
Thanked 607 Times in 475 Posts
Default

I noticed that snd_audiocs(4) manpage is missing [i saw cross ref to it in sound(4)]
Reply With Quote
  #19  
Old June 17th, 2009, 17:36
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,816
Thanks: 29
Thanked 1,882 Times in 1,329 Posts
Default

Tucked away

man /usr/src/share/man/man4/man4.sparc64/snd_audiocs.4
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #20  
Old June 17th, 2009, 17:40
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

snd_audiocs(4) is for sparc64 only, probably there should be more that one version of sound(4) manual.
Reply With Quote
  #21  
Old June 17th, 2009, 18:31
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,521
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by richardpl View Post
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
Reply With Quote
  #22  
Old June 17th, 2009, 18:52
dh dh is offline
Junior Member
 
Join Date: Nov 2008
Posts: 92
Thanks: 4
Thanked 21 Times in 10 Posts
Default

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.
Reply With Quote
  #23  
Old June 17th, 2009, 20:45
joel@'s Avatar
joel@ joel@ is online now
Administrator
 
Join Date: Sep 2007
Location: Arentorp, Sweden
Posts: 240
Thanks: 2
Thanked 37 Times in 30 Posts
Default

Quote:
Originally Posted by dh View Post
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.
Reply With Quote
  #24  
Old June 19th, 2009, 08:30
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Location: 127.0.0.1
Posts: 557
Thanks: 51
Thanked 36 Times in 33 Posts
Default

Quote:
Originally Posted by DrJ View Post
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,

Quote:
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/show...&postcount=405

So maybe we will see some alpha/beta driver with the advent of FBSD 8.1 or later.
__________________
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
Reply With Quote
  #25  
Old June 19th, 2009, 14:34
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

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

Quote:
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.
Reply With Quote
Reply

Tags
oss, sound

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Current VS Stable VS Release jemate18 General 18 October 15th, 2012 17:35
Best way to keep current artvolk Installing & Upgrading 6 June 4th, 2009 15:45
[Solved] Installing 8-Current foo_daemon Installing & Upgrading 3 May 2nd, 2009 00:09
FreeBSD 8.0-CURRENT ccc Installing & Upgrading 11 March 9th, 2009 05:28
Flash 9 FreeBSD 8-Current nikobordx Multimedia 1 March 5th, 2009 13:58


All times are GMT +1. The time now is 08:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0