From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 12 12:57:57 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CE0A106566C; Thu, 12 Jan 2012 12:57:57 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9BE8FC16; Thu, 12 Jan 2012 12:57:56 +0000 (UTC) Received: by eaai12 with SMTP id i12so12260eaa.13 for ; Thu, 12 Jan 2012 04:57:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XEYfb5JzEXjqXAai8QXALCNl6OKXZkpb9WruD3xh6o0=; b=JTYY1ZSM3HmkuECpLNRquAamlsLAGaBOgc7AgPXcI1gFnBe+lInhQWZJa0w3OS2soC 21Q5PUNKj10ZRRHFqIoXpl4xuJTtepy0xYfwpB44s2vRa5+qazi0q9WWD2jqe3BFqJZt SQ8CU1BWr4UWJC0rtWuMRfrpjcIhxU5+NJrn0= Received: by 10.213.20.201 with SMTP id g9mr1122670ebb.43.1326373075622; Thu, 12 Jan 2012 04:57:55 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id y12sm19162825eeb.11.2012.01.12.04.57.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jan 2012 04:57:54 -0800 (PST) Sender: Alexander Motin Message-ID: <4F0ED8D0.8080403@FreeBSD.org> Date: Thu, 12 Jan 2012 14:57:52 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: Yuri Pankov References: <4F0DE3FD.2020203@FreeBSD.org> <20120112121853.GC1429@procyon.xvoid.org> In-Reply-To: <20120112121853.GC1429@procyon.xvoid.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, FreeBSD current Subject: Re: [RFT] Major snd_hda rewrite X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 12:57:57 -0000 On 01/12/12 14:18, Yuri Pankov wrote: > On Wed, Jan 11, 2012 at 09:33:17PM +0200, Alexander Motin wrote: >> I would like request for testing of my work on further HDA sound driver >> improvement. > [...] >> Patch can be found here: >> http://people.freebsd.org/~mav/hda.rewrite.patch >> >> Patch was generated for 10-CURRENT, but should apply to fresh 9-STABLE >> and 8-STABLE branches also. > > Patch applied cleanly to r230008 using `svn patch`. > > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 on hdaa0 > hdacc1: at cad 1 on hdac0 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 5 on hdaa1 > hdacc2: at cad 2 on hdac0 > hdaa2: at nid 1 on hdacc2 > pcm2: at nid 5 on hdaa2 > hdacc3: at cad 3 on hdac0 > hdaa3: at nid 1 on hdacc3 > pcm3: at nid 5 on hdaa3 > hdacc4: at cad 0 on hdac1 > hdaa4: at nid 1 on hdacc4 > pcm4: at nid 13 and 11 on hdaa4 > pcm5: at nid 15 and 24 on hdaa4 > pcm6: at nid 30 on hdaa4 > > pcm4 (builtin speakers) and pcm5 (headphones) seem to work fine, however Thank you. > I'm not getting anything out of pcm0-pcm3 (connected to a TV via HDMI), > mplayer just pauses at the beggining, trying to cat anything to > /dev/dsp{0-3}.0 gives: > > pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead > > It was the same with the old driver and I'm not sure if it's (most > likely) my misconfiguration or a driver problem. It sounds more like a driver problem. HDMI audio is still not very well discovered area, and, according to ALSA reading, NVidia HDMI is also not very standard. Probably I'll finally have to buy something to experiment. What card do you have? -- Alexander Motin