From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jethro Beekman Subject: nouveau optimus HDMI audio support Date: Sun, 06 Oct 2013 14:04:49 -0700 Message-ID: <5251D071.1080108@jbeekman.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from daxilon.jbeekman.nl (jbeekman.nl [94.142.245.119]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AB61E62BE for ; Sun, 6 Oct 2013 14:35:00 -0700 (PDT) Received: from c-71-59-213-250.hsd1.or.comcast.net ([71.59.213.250] helo=[10.0.0.11]) by daxilon.jbeekman.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1VSvVZ-0004A6-PQ for dri-devel@lists.freedesktop.org; Sun, 06 Oct 2013 23:04:57 +0200 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Even with Dave Airlie's recent patch set ( http://lists.freedesktop.org/archives/dri-devel/2013-August/042854.html ), I'm still having trouble getting HDMI audio to work on my optimus laptop. I'm running Linux 3.12.0-rc3 on a Lenovo ThinkPad T420s. When I set my BIOS graphics option to 'Discrete', I get the following two devices in lspci: 01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [Quadro NVS 4200M] (rev a1) 01:00.1 Audio device: NVIDIA Corporation HDMI Audio stub (rev a1) When I set the option to 'Optimus', the 01:00.1 device disappears completely. This is dmesg when loading nouveau in the Optimus configuration: pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG_.VID_ handle [drm] hdmi device not found 1 0 1 I modified snd-hda-intel to report which devices it's probing, this is the only one that shows up: hda-intel: azx_probe: 0000:00:1b.0 Any ideas what's going on? Jethro Beekman