From nobody Mon Dec 18 19:30:44 2023 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sv90m1mK6z53hZ3 for ; Mon, 18 Dec 2023 19:31:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sv90m089nz3By7 for ; Mon, 18 Dec 2023 19:31:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5d226f51f71so29683407b3.3 for ; Mon, 18 Dec 2023 11:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702927862; x=1703532662; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:subject:from:cc:references:to :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=JxXuuGoJ82betVxO3/Qk5dpL+iD2VbGRBnuSzpFpKqA=; b=SIhKLwZyY40uKyJFeuna7DMMXnsNj7EpTrGp1xGB94Z3HivJGcL4X7NprAn91QOorg gfjVCUXKa3Wt64ZCElfVTs1jyQqw1jS7gBYa3Cju9PymixGo9nt9e91ArD8tIEzyjXn3 tWIq4d5VknRqzhbSXTOeCY4OG20i4HW7um2VSILG++BmvnAzjA4A/g4VkceQqvuG+z7j ir4DSI3TGlWEGWq8uGYtKb2oYQoPO6oP411TBrdF1IX2srY0HHhA7QU3JpCnrerBIemI bBcsQBM6IfmPvAx9ONLUaKCQgxgRt4N5F7VVSah2G/O9yzNdisyn+blUQfnP0xzybdei IVzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702927862; x=1703532662; h=content-transfer-encoding:in-reply-to:subject:from:cc:references:to :content-language:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JxXuuGoJ82betVxO3/Qk5dpL+iD2VbGRBnuSzpFpKqA=; b=cgeHaKD0vpk4mkWSx8aSM2ilCbVrpE094xkyBevOG4kXU8zAR3D27ekObL9fCfvVZ8 LWQJ2IpmI5RORPy2teoSpmA/z2HOIU+XK9LO9YvP33U2DiCsB2F3jLSVmO/nBakz2Tlk o18+gsE+Jp2LBY98NLfic9nLtfWoNADhBUPpxukFyfBueD8+Pzo2bideqe7W/XyiIUcn wIPbNwUKRXNfYsNta7VqBReiQ9BVGmIarunutZNnSJRlSLLrIKIBDFusVQeQ8/OVLBTt vXKRP+1E/zQXmwxaZS7+tgp3T87tn0Pzl+6Q0/JkE8zeML6FbcIKXsZioXdFNiUwkpNG gOsw== X-Gm-Message-State: AOJu0YzyMfqoj5YXpLbZ+z23d4IzH6NSW6F8cTV0PMkpCe0K0K8qMkiX F8nUj6keO57vgDOxx9AzD5gXwzgiJ04= X-Google-Smtp-Source: AGHT+IFJ09GW431FLtggZPjiW6AE4pBhvAtYTwIfqVHVkNdaPiUR07LY+tI/rd+KaED12Md5JkZu/Q== X-Received: by 2002:a81:7b04:0:b0:5e7:4441:eefb with SMTP id w4-20020a817b04000000b005e74441eefbmr774527ywc.67.1702927862560; Mon, 18 Dec 2023 11:31:02 -0800 (PST) Received: from [10.230.45.5] ([38.32.73.2]) by smtp.gmail.com with ESMTPSA id w13-20020a81d10d000000b005e5dcde1da2sm1761472ywi.80.2023.12.18.11.31.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 11:31:02 -0800 (PST) Message-ID: <36f9ee8b-bf24-7ca2-b99f-e9b65202c533@FreeBSD.org> Date: Mon, 18 Dec 2023 14:30:44 -0500 List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: freebsd-multimedia@freebsd.org, Joe B References: <20231218200842.3b79ebb4@zeta.dino.sk> Cc: Milan Obuch From: Alexander Motin Subject: Re: TV doesn't produce sound from HDMI Port In-Reply-To: <20231218200842.3b79ebb4@zeta.dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sv90m089nz3By7 On 18.12.2023 14:08, Milan Obuch wrote: > On Mon, 18 Dec 2023 10:56:11 -0800 > Joe B wrote: >> So I plugged in my laptop into my HDMI port of my TV and everything is >> working. I used arandr to find the TV and it outputted great. Problem >> is the TV isn't using the TV's audio to play its using my laptops >> audio. Trying to figure out if that is expected or not? > > [ snip ] > >> cat /dev/sndstat >> ---- >> >> Installed devices: >> pcm0: (play/rec) default >> pcm1: (play) >> pcm2: (play) >> No devices installed from userspace. >> >> If you need anything else let me know. > > What does > > sysctl hw.snd.default_unit > > show? In my case, setting it to 2 redirect sound output to HDMI audio > channel. I have no much experience with audio, but this is working when > more audio channels are available, allowing to switch output. I'll second the Milan comment. Make sure you output sound though the proper device. If that is not the problem, it may be an issue of the video driver, since HDMI require one to negotiate sound output with the TV, otherwise with perfectly working HDA sound river you will still get nothing. I haven't tested HDMI sound with Intel video lately, so I am not sure what should be expected there now and for different chipsets, but for couple NVIDIA cards I use with the proprietary driver it just works. -- Alexander Motin