From nobody Wed Nov 15 11:37:00 2023 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 4SVh34006qz51RsT for ; Wed, 15 Nov 2023 11:37:04 +0000 (UTC) (envelope-from SRS0=f1qp=G4=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SVh334r54z4V05 for ; Wed, 15 Nov 2023 11:37:03 +0000 (UTC) (envelope-from SRS0=f1qp=G4=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Wed, 15 Nov 2023 12:37:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1700048220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WkVp+MBFXtiyd5ZCrvZ/ry6XOvNR0+EvZPD9bbEtvVA=; b=MFD14YuC36WnSrjHpTIDm9zeZxZ44nFm89dkyFC5BiA//UOBOOTJw/cUwC64Bdd6ytXSDw Hhup1lcbtEnvD2B87uD++eA8yge6v3Yiyh9Kin7sOxGX02ARiRiBVhorCVZfqhPqCAuzkW YNfsOE9oORfBWFbvjdZ6+ozK6LNhsDiMnccDdcFwCQhwVxacct0m4LCOsn8sJmsyXVUyiN tga6aWRcPk0wi/EHlCctvILtvJRPeuUzgnYCc9kUwXryAX6Q5R+N55J0PLpPHW7fbvhuXX mCfFJ2r4EqYLzYclambEaQccpH+PgRtr1TaLOESwVPpTFngTbPIW7KInIK8wow== From: Ronald Klop To: pyrus aboris Cc: freebsd-embedded@freebsd.org Message-ID: <1257336377.4939.1700048220450@localhost> In-Reply-To: References: Subject: Re: Broadcom VideoCore graphics acceleration on microboards 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 Content-Type: multipart/alternative; boundary="----=_Part_4938_465269593.1700048220446" X-Mailer: Realworks (679.16) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- 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:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4SVh334r54z4V05 ------=_Part_4938_465269593.1700048220446 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: pyrus aboris Datum: woensdag, 15 november 2023 09:12 Aan: freebsd-embedded@freebsd.org Onderwerp: Broadcom VideoCore graphics acceleration on microboards > > It has come to my attention that FreeBSD doesn't have a kmod driver for Broadcom VideoCore GPU's > for graphics acceleration. We may have assumed that most boards use AMD, Intel or Nvidia GPU's, > but microboards typically use VideoCore IV hardware for graphics. > > In comparison, NetBSD has support for graphics acceleration for VideoCore hardware, as can be > seen at https://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in > > Also on FreeBSD, drivers may also be lacking for the audio hardware from microboards, which may > be bcm devices. > > Thank you If you have the skills and time to do it I know you would make more people happy. [1] When clicking from that blog to the NetBSD Wiki (https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index5h1) it states: "X11 and GPU Video acceleration currently only works with 32-bit (ARMv7 and ARMv6) kernels due to the Broadcom code not being 64-bit clean. Since applications require specialized support for the GPU, only a few applications are normally accelerated. NetBSD/aarch64 normally uses llvmpipe to provide fast parallel CPU-driven support for OpenGL, so should be faster when running normal applications. The situation should be improved, ideally by writing a DRM/KMS driver." So it is not always a bed of roses in NetBSD land either. AFAIK this broadcom stuff is proprietary closed source so a bit hard to work on I guess. Although the forums link [1] states that RPI4 has an open source V3D driver. Regards, Ronald. [1] https://forums.freebsd.org/threads/what-about-2d-3d-hardware-acceleration-and-audio-support-on-raspberry-pi.86341/ ------=_Part_4938_465269593.1700048220446 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  

Van: pyrus aboris <pyrus@bsdmail.com>
Datum: woensdag, 15 november 2023 09:12
Aan: freebsd-embedded@freebsd.org
Onderwerp: Broadcom VideoCore graphics acceleration on microboards

It has come to my attention that FreeBSD doesn't have a kmod driver for Broadcom VideoCore GPU's
for graphics acceleration. We may have assumed that most boards use AMD, Intel or Nvidia GPU's,
but microboards typically use VideoCore IV hardware for graphics.
 
In comparison, NetBSD has support for graphics acceleration for VideoCore hardware, as can be
seen at https://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in
 
Also on FreeBSD, drivers may also be lacking for the audio hardware from microboards, which may
be bcm devices.
 
Thank you


If you have the skills and time to do it I know you would make more people happy. [1]

When clicking from that blog to the NetBSD Wiki (
https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index5h1) it states:
"X11 and GPU

Video acceleration currently only works with 32-bit (ARMv7 and ARMv6) kernels due to the Broadcom code not being 64-bit clean.
Since applications require specialized support for the GPU, only a few applications are normally accelerated. NetBSD/aarch64 normally uses llvmpipe to provide fast parallel CPU-driven support for OpenGL, so should be faster when running normal applications.
The situation should be improved, ideally by writing a DRM/KMS driver."

So it is not always a bed of roses in NetBSD land either.

AFAIK this broadcom stuff is proprietary closed source so a bit hard to work on I guess. Although the forums link [1] states that RPI4 has an open source V3D driver.

Regards,
Ronald.


[1] https://forums.freebsd.org/threads/what-about-2d-3d-hardware-acceleration-and-audio-support-on-raspberry-pi.86341/ ------=_Part_4938_465269593.1700048220446--