GNU bug report logs - #40191
mesa: Support rockchip platforms

Previous Next

Package: guix-patches;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Mon, 23 Mar 2020 04:20:01 UTC

Severity: normal

Done: Vagrant Cascadian <vagrant <at> debian.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40191 in the body.
You can then email your comments to 40191 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40191; Package guix-patches. (Mon, 23 Mar 2020 04:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 23 Mar 2020 04:20:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: guix-patches <at> gnu.org
Subject: mesa: Support rockchip platforms
Date: Sun, 22 Mar 2020 21:19:37 -0700
[Message part 1 (text/plain, inline)]
The attached patch enables drivers in mesa which should allow some
aarch64/armhf rockchip platforms (e.g. veyron-speedy, pinebook pro) to
make use of gpu acceleration.

I haven't thoroughly tested this patch yet, but it does at least build
and produces an appropriate dri library!

There are almost 2000 dependent packages on mesa, so this probably needs
though core-updates according to current recommendations... I haven't
tried rebuilding all the dependent packages? FWIW, I *think* it will
only trigger a rebuild on aarch64/armhf.


live well,
  vagrant

[0001-gnu-mesa-Enable-rockchip-support-on-aarch64-armhf.patch (text/x-diff, inline)]
From d7c810c1a5b306439a47263ab294398d1382ecbe Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant <at> debian.org>
Date: Sun, 22 Mar 2020 16:32:33 +0000
Subject: [PATCH] gnu: mesa: Enable rockchip support on aarch64/armhf.

* gnu/packages/gl (mesa): Enable kmsro, lima and panfrost gallium drivers.
---
 gnu/packages/gl.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 01241cd88e..710c602a96 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -293,7 +293,7 @@ also known as DXTn or DXTC) for Mesa.")
        '(,@(match (%current-system)
              ((or "armhf-linux" "aarch64-linux")
               ;; TODO: Fix svga driver for aarch64 and armhf.
-              '("-Dgallium-drivers=etnaviv,freedreno,nouveau,r300,r600,swrast,tegra,v3d,vc4,virgl"))
+              '("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl"))
              (_
               '("-Dgallium-drivers=iris,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40191; Package guix-patches. (Sun, 29 Mar 2020 20:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 40191 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Vagrant Cascadian <vagrant <at> debian.org>, 40191 <at> debbugs.gnu.org
Subject: Re: [bug#40191] mesa: Support rockchip platforms
Date: Sun, 29 Mar 2020 22:13:50 +0200
[Message part 1 (text/plain, inline)]
Vagrant Cascadian <vagrant <at> debian.org> writes:

> The attached patch enables drivers in mesa which should allow some
> aarch64/armhf rockchip platforms (e.g. veyron-speedy, pinebook pro) to
> make use of gpu acceleration.

Awesome!  :-)

> I haven't thoroughly tested this patch yet, but it does at least build
> and produces an appropriate dri library!

Sounds good.

> There are almost 2000 dependent packages on mesa, so this probably needs
> though core-updates according to current recommendations... I haven't
> tried rebuilding all the dependent packages? FWIW, I *think* it will
> only trigger a rebuild on aarch64/armhf.

Indeed.  We are just about to start the core-updates branch, so this
patch came just in time.  LGTM, please push!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant <at> debian.org>:
You have taken responsibility. (Sun, 29 Mar 2020 22:01:01 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Sun, 29 Mar 2020 22:01:01 GMT) Full text and rfc822 format available.

Message #13 received at 40191-done <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Marius Bakke <mbakke <at> fastmail.com>, 40191-done <at> debbugs.gnu.org
Subject: Re: [bug#40191] mesa: Support rockchip platforms
Date: Sun, 29 Mar 2020 15:00:04 -0700
[Message part 1 (text/plain, inline)]
On 2020-03-29, Marius Bakke wrote:
> Vagrant Cascadian <vagrant <at> debian.org> writes:
>
>> The attached patch enables drivers in mesa which should allow some
>> aarch64/armhf rockchip platforms (e.g. veyron-speedy, pinebook pro) to
>> make use of gpu acceleration.
>
> Awesome!  :-)
>
>> I haven't thoroughly tested this patch yet, but it does at least build
>> and produces an appropriate dri library!
>
> Sounds good.
>
>> There are almost 2000 dependent packages on mesa, so this probably needs
>> though core-updates according to current recommendations... I haven't
>> tried rebuilding all the dependent packages? FWIW, I *think* it will
>> only trigger a rebuild on aarch64/armhf.
>
> Indeed.  We are just about to start the core-updates branch, so this
> patch came just in time.  LGTM, please push!

Pushed to core-updates!


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Apr 2020 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.