From nobody Thu May 16 04:43:05 2024 X-Original-To: freebsd-embedded@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 4VfyC35nNGz5KWDX for ; Thu, 16 May 2024 04:43:11 +0000 (UTC) (envelope-from pyrus@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.com", Issuer "GeoTrust TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VfyC25fsLz4phs for ; Thu, 16 May 2024 04:43:10 +0000 (UTC) (envelope-from pyrus@bsdmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdmail.com header.s=s1089575 header.b=D8ipTdTq; dmarc=pass (policy=quarantine) header.from=bsdmail.com; spf=pass (mx1.freebsd.org: domain of pyrus@bsdmail.com designates 74.208.4.200 as permitted sender) smtp.mailfrom=pyrus@bsdmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdmail.com; s=s1089575; t=1715834585; x=1716439385; i=pyrus@bsdmail.com; bh=xcBsJvR1CFShOqqmzSeLlDR4tAIgPJx+z+N/YLSOb0o=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Cc:Subject: Content-Type:Date:In-Reply-To:References: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=D8ipTdTqcoY2UTj6YeFG7Izgzqw0JeHUH68zMq+fnl5tMxUSm5DMrVcIeCl1B3Ea W9TMQhkQn5ShovjAVzlgZMNHVmsKgql2YGKyzCDJTR4Yyd1jE9wbq4OGiI7cmyGPe WxyLswSVCLPOK/dVoKMXfoNg2Lt8mCFuV+p2s0LXeLFpK249/7XsNIttzrppfwqs2 TXK+EZ0ltV24dpqMQwhCKxE+UgYjjk7Ni0mEpCjCSpEnEOwgZRLrIzq5TuiWOSUHC 59/I/IYWedtgUi8ncCdCk4dUpai78NdvMKN1GgmH0LRJwrVBmXNduUaeA9HREcevg Mus8h/36v12arGTa3A== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [75.4.41.123] ([75.4.41.123]) by web-mail.mail.com (3c-app-mailcom-lxa13.server.lan [10.76.45.14]) (via HTTP); Thu, 16 May 2024 06:43:05 +0200 List-Id: Dedicated and Embedded Systems List-Archive: https://lists.freebsd.org/archives/freebsd-embedded List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-embedded@FreeBSD.org MIME-Version: 1.0 Message-ID: From: pyrus aboris To: Ronald Klop Cc: freebsd-embedded@freebsd.org Subject: Re: Re: Broadcom VideoCore graphics acceleration on microboards Content-Type: text/plain; charset=UTF-8 Date: Thu, 16 May 2024 06:43:05 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <1257336377.4939.1700048220450@localhost> References: <1257336377.4939.1700048220450@localhost> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:a/18sO/5jQ/kgXnVyxWlcSCuZSe94C52VxxEglPq1uX2F6UkkzQKhBH/wam8x5wi+//8W ZrHgo5Rmg4QEuLYJZc5HY/IsEv6/1j917DUdiJLCfqsZXk/YHK6UD1cnTX3aJblA+GRuXTpKsyFA 5th0mYfS3sgOED+mMY3LN0qm3ujw9HG1QtFfoZsyTwgr/rBJiJCxgI6booR/BkUuydf4vY5n6hUT zBn+jZlZPqOL8XvZm2euNgm7t35HoK7Vx/k3M1DE2Bgo05zx/IvPXfNXuHN8BveyQNRRW59HIy31 Nw= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:r6gM19cdFOQ=;IAbrnduiYbJ0y/67vndXhzk76Pq 1U4UrFO8hWsuREK6M5ZBNB5xj+fQ0xDNcIfUGdj6wEGjHblwT2uMSEZrXcOV4xQTpmP6usAYw F5u8n417PUpAg9dUDnhOgeRURU4Ox5jGvYWpDOOscZT2H8XF3ShLZMV4hGIsxHOrNhSZrOEYs NimWEv7AIdZEtXPSQJtFYH+AHO1wUqlEz7aMUHNSBaBaWppdfiusSaktxH8tiTopoNxk+rrb1 ntlnpKCpW/jLgNUoteI08RtMkNMt58lVm+r/l3cAgjUyk4akY5SFiCXr/B1KTSLa5K4JQ2JeW ktFPaTwlqfexc9YECUVJ4WUl4z7yqLmRL9hmiPQ26I4slMHj3w9sjLrinnQfkslqDT4fhcARP oajTOLpMP6SHJD8juY7ZhxCU0TPiy4HxgeTdLFJzkucD7k0rNDCrM5tFBt5w2CKq63zy9fbFz CV7kEJi6g6BEMRsX7uma3oKlR57LOdDg7MmZD8IFhmq5D432P3Str5JzcgpUga3s0nccdyKT3 FicMjzAZOttq25DT+ljBXqi6eZNiBLVmKcfp6fVyub+M1lrdDex3Ens0vwBrWmqXTD2JSz00m o1JSYs1ejPQOJ7lXuuRWaMp70+H1Z4xLapPGaTXlzWimDt0IC0b8N+u89Z5Dumvjeps9xjxS2 1HNJ8DyAtRRst5s02Xsv9VNaNivwtUfgDzsJoEnFApbOInmggVRGqwI2off1oIULGNFh2b9pA rDrcLnKvu0oBYqgbinolfxLm4oI+qLnjQ== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.46 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.96)[-0.961]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[bsdmail.com,quarantine]; R_DKIM_ALLOW(-0.20)[bsdmail.com:s=s1089575]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.com]; RCVD_IN_DNSWL_LOW(-0.10)[74.208.4.200:from]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[bsdmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[bsdmail.com:+]; MLMMJ_DEST(0.00)[freebsd-embedded@freebsd.org]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.208.4.200:from]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[bsdmail.com] X-Rspamd-Queue-Id: 4VfyC25fsLz4phs There's a newer mention of this for Arm boards for Raspberry Pi a month lat= er in December, https://lists=2Efreebsd=2Eorg/archives/freebsd-arm/2023-December/003409=2E= html That mailing list is more fitting=2E =C2=A0 If I were good at this, I would be more helpful=2E Though letting more know about it, is a start, because the common assumption was that everything uses Intel, AMD and Nvid= ia=2E It also doesn't need to be advanced video acceleration=2E A common future requirement would be enough to play video well enough=2E I also thought, that since NetBSD had one VideoCore driver, some part of it was opensource=2E Now, I understand, that was the video driver for Raspberry Pi 3, which NetBSD has a video driver to=2E You were referring to another opensource driver (V3D) for Raspberry Pi 4= =2E Thank you for a response=2E It's just good that there is more awareness of this lack of driver ability= =2E > If you have the skills and time to do it I know you would make more peop= le happy=2E [1] > When clicking from that blog to the NetBSD Wiki (https://wiki=2Enetbsd= =2Eorg/ports/evbarm/raspberry_pi/#index5h1[https://wiki=2Enetbsd=2Eorg/port= s/evbarm/raspberry_pi/#index5h1]) it states: "X11 and GPU > Video acceleration currently only works with 32-bit (ARMv7 and ARMv6) ke= rnels due to the Broadcom code not being 64-bit clean=2E > Since applications require specialized support for the GPU, only a few a= pplications are normally accelerated=2E NetBSD/aarch64 normally uses llvmpi= pe to provide fast parallel CPU-driven support for OpenGL, so should be fas= ter when running normal applications=2E > The situation should be improved, ideally by writing a DRM/KMS driver=2E= " > So it is not always a bed of roses in NetBSD land either=2E > AFAIK this broadcom stuff is proprietary closed source so a bit hard to = work on I guess=2E Although the forums link [1] states that RPI4 has an ope= n source V3D driver=2E > Regards, > Ronald=2E >> It has come to my attention that FreeBSD doesn't have a kmod driver for= Broadcom VideoCore GPU's >> for graphics acceleration=2E We may have assumed that most boards use A= MD, Intel or Nvidia GPU's, >> but microboards typically use VideoCore IV hardware for graphics=2E =C2=A0 >> In comparison, NetBSD has support for graphics acceleration for VideoCo= re hardware, as can be >> seen at https://blog=2Enetbsd=2Eorg/tnf/entry/raspberry_pi_gpu_accelera= tion_in =C2=A0 >> Also on FreeBSD, drivers may also be lacking for the audio hardware fro= m microboards, which may be bcm devices=2E =C2=A0 >> Thank you [https://forums=2Efreebsd=2Eorg/threads/what-about-2d-3d-hardware-accelera= tion-and-audio-support-on-raspberry-pi=2E86341/]