From nobody Tue Oct 03 18:45:21 2023 X-Original-To: ports@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 4S0RbK2RFxz4vr2x for ; Tue, 3 Oct 2023 18:45:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0RbJ2Fr1z4SSM for ; Tue, 3 Oct 2023 18:45:32 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b="y5/i4Y9+"; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1696358723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N/J4qjSNjZ35O7BTngP2fj83UVtt92Ois+XuxUAmHns=; b=y5/i4Y9+yQD3+DOe7e5EpcRdk0koewGs8rxuunO/jLbM3Je6qcr9fgkhcuApEZyiP3CCz1 Z2pRwuyG6icDP0rPSJslP88//OvsoD8dOHUiPBOcycbzvvUQ/ibwe8V8bZXfv4nqS7v2cM G12rCnx4tLkTFMqM/t8xlc8QhGr522E= Received: from [192.168.1.240] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 0f5d18ce (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 3 Oct 2023 18:45:23 +0000 (UTC) Message-ID: Date: Tue, 3 Oct 2023 11:45:21 -0700 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: chromium + foreign-cdm not working? Content-Language: en-US To: ports@freebsd.org References: <07ed9a8dec4652bf126a98b9137da8ff@chen.org.nz> From: Pete Wright In-Reply-To: <07ed9a8dec4652bf126a98b9137da8ff@chen.org.nz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4S0RbJ2Fr1z4SSM On 10/3/23 11:32 AM, jonc@chen.org.nz wrote: > Hi, > > I noticed the inclusion of foreign-cdm support to www/chromium, and decided to try this out. However, any effort to play content from Netflix results in a failure. I've got: linux_enable="YES" in /etc/rc.conf, and the port pulls in linux-base-c7 as well. The chromium logs from stdout all end with: > > lib.cpp:80: info: CreateSessionAndGenerateRequest; promise_id = 3; session_type = 0; init_data_type = 0; init_data = 1bb11863200; init_data_size = 52 > worker.cpp:240: info: createSessionAndGenerateRequest > *** Fatal uncaught kj::Exception: worker.cpp:546: unimplemented: CreateFileIO > *** Fatal uncaught kj::Exception: capnp/rpc.c++:2778: disconnected: Peer disconnected. > stack: 1bb18037f18 1bb1802c580 1bb1816a310 > [34603:-692588544:1004/072526.678703:ERROR:mojo_cdm.cc(118)] Remote CDM connection error: custom_reason=0, description="" > > Any ideas on how to get this working? > > Cheers If you haven't seen this already it's def work a look: https://github.com/mrclksr/linux-browser-installer this is what i use to run linux-chrome on my freebsd workstations. it works well with most of the linux/win/mac only websites out there (how's that a thing again?). i run it side-by-side with my native freebsd chromium install and have no issues. cheers, -pete -- Pete Wright pete@nomadlogic.org