From nobody@FreeBSD.org Sun Jun 4 19:30:43 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB6916A6BD for ; Sun, 4 Jun 2006 19:30:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398C043D45 for ; Sun, 4 Jun 2006 19:30:38 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k54JUbOf026024 for ; Sun, 4 Jun 2006 19:30:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k54JUb9d026023; Sun, 4 Jun 2006 19:30:37 GMT (envelope-from nobody) Message-Id: <200606041930.k54JUb9d026023@www.freebsd.org> Date: Sun, 4 Jun 2006 19:30:37 GMT From: Petri Simolin To: freebsd-gnats-submit@FreeBSD.org Subject: Sound is distorted with SB Live 5.1 X-Send-Pr-Version: www-2.3 >Number: 98504 >Category: kern >Synopsis: [sound] Sound is distorted with SB Live 5.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-multimedia >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 04 19:42:41 GMT 2006 >Closed-Date: >Last-Modified: Thu Jun 15 07:32:48 GMT 2006 >Originator: Petri Simolin >Release: FreeBSD 6.1-RELEASE >Organization: Isolcom Oy >Environment: FreeBSD tiger.freebsd.fi 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: I have SB Live 5.1 soundcard: pci bus 0x0005 cardnum 0x04 function 0x00: vendor 0x1102 device 0x0002 Creative Labs SB Live! EMU10k1 I have been using it with Windows for few years now, and it is working perfectly. However, when I recently moved from Windows to FreeBSD, I cannot get the sound working properly. I have tried with snd_emu10k1, snd_emu10kx and oss-drivers, but sound is distorted exactly the same way with any of the drivers. I have tried disabling apic, making sure soundcard is not sharing irq with any other device, changing its PCI-slot, changing all possible (AFAIK) sysctl values, tried different sound sources, xmms, xine, mplayer, mpg123, tried different medias like wav, mp3, ogg, avi, mpg. I have also tried all possible mixer volume values, but distortion is the same with any settings. Crackling sounds are played when sound is output. It is not constant, if there is quieter part on audio-file, there is less crackling, and on noisy parts of a song, there is lots of crackling sounds. I have tried all outputs on the SB Live cards (front, surround, etc.), I have tried with earphones plugged directly on soundcard, with my stereo- system. I have dual-boot on my maching, and I have verified that the card is working 100% when used in windows. No problems whatsoever. There is also another sound-chip (ICH4 internal) on the computer in question, and it is working ok, so it is not sound problem in general. >How-To-Repeat: I asked around and it seems emu10k1-driver and Soundblaster cards are working perfectly for others, so I don't know how to reproduce exactly. 1) Install FreeBSD on computer with SB Live 5.1 2) Load snd_emu10k1 driver 3) Play any sound thru the card. >Fix: - >Release-Note: >Audit-Trail: Adding to audit trail from misfiled PR misc/98505: Date: Sun, 4 Jun 2006 23:07:08 +0300 From: Petri Simolin I found out, that if I forced xine to resample audio always to 48000Hz, sound is clean. Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jun 5 08:13:36 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=98504 >Unformatted: