Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5ECD4C46CD2 for ; Tue, 2 Jan 2024 15:33:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C346E10E1C6; Tue, 2 Jan 2024 15:33:23 +0000 (UTC) Received: from mail.rmail.be (mail.rmail.be [85.234.218.189]) by gabe.freedesktop.org (Postfix) with ESMTP id 0919010E1C6 for ; Tue, 2 Jan 2024 15:33:21 +0000 (UTC) Received: from mail.rmail.be (domotica.rmail.be [10.238.9.4]) by mail.rmail.be (Postfix) with ESMTP id 4273A474AE; Tue, 2 Jan 2024 16:33:20 +0100 (CET) MIME-Version: 1.0 Date: Tue, 02 Jan 2024 16:33:20 +0100 From: AL13N To: dri-devel@lists.freedesktop.org Subject: Re: RPI4B: what is needed for /dev/video10 to work ( v4l_m2m ) In-Reply-To: References: <7dc14b52e065177eee044348599b8b33@rmail.be> Message-ID: X-Sender: alien@rmail.be Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Emma Anholt Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Maxime Ripard schreef op 2024-01-02 11:03: > Hi, > > On Wed, Dec 27, 2023 at 04:19:19PM +0100, AL13N wrote: >> I have a RPI4B with upstream kernel 6.1 64bit and there is no >> /dev/video10 >> present. I thought if I waited a bit more, it would appear in the >> kernel, >> but that was folly on my part. >> >> Currently, watching a movie is painful since the software decoding is >> way >> too slow and it has very low fps on 1080p (or even 720p or even 480p) >> >> IIRC, someone told me something else has to be fixed before the codecs >> can >> be done, but I don't remember what it was, or i didn't find it in my >> email/the archives. >> >> Can someone tell me what exactly needs to be done (in kernel) so that >> I can >> take a crack at it, (hopefully with some help)? >> >> I don't remember if this was relevant, but there was some talk of >> needing to >> use opengl output with a specific texture format for it to work? or is >> that >> seperate? > > That's something for linux-media. The hardware codec isn't part of vc4 > or v3d, it's a separate controller that requires a separate driver (in > v4l2). > > That driver isn't upstream, and that would need the first thing to > tackle. > > Maxime Can I assume you're talking about the vchiq driver, which would have multiple things including codecs, or am I misunderstanding it?