raspberry-rpi4: add hardware acceleration (MR 1568)
Without Mesa it would render everything using the software renderer which is abysmally slow
This commit is contained in:
parent
b2a82a028d
commit
e1f00d9658
3 changed files with 11 additions and 6 deletions
|
@ -1,14 +1,14 @@
|
|||
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-raspberry-pi4
|
||||
pkgver=0.2
|
||||
pkgrel=0
|
||||
pkgdesc="Raspberry Pi 4"
|
||||
pkgver=0.1
|
||||
pkgrel=8
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base raspberrypi-bootloader linux-rpi4"
|
||||
depends="postmarketos-base raspberrypi-bootloader linux-rpi4 mesa-dri-gallium"
|
||||
makedepends="devicepkg-dev"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules"
|
||||
|
@ -27,8 +27,10 @@ package() {
|
|||
}
|
||||
|
||||
|
||||
sha512sums="70e81aee3ee63b61ed08a03fe7baf3143676fb0a5f3f293902bfdef8975497f009af7bdbeb7f56dbe7c3164da9f8035e78f6d4815f5bdfd4b3973564f3a621aa deviceinfo
|
||||
1d6161893e26bc778e87832c6abe83e3fe1c500e97b9a1ba7931482bd13e816eb2a15f4ee3305772d967924a92194af53fdca22f9fdede688844f9a163d7180b config.txt
|
||||
sha512sums="
|
||||
6e82affcbc31e250fd23d7235e8e0db4e41f92ba3ecfedf341b615d79e6d6770550c9c6e91b18029053a163e911d188bc9089e4132c94fb8ca2721f2f39d150c deviceinfo
|
||||
a94a52dc6dcc3ef815a2ea1a9a626a59651d89ea8f8851cdc3dd953e2f28f2e51f2fd7eabe2cae771d4dcae999e531cc3d65466f01d4ec5cb88a76c5c4d942d9 config.txt
|
||||
a2db3354ce5ab7dde8a2a276f24cb7230294db25a18cb2702636bfee54f3a0fd659ae4c789d117c353d5e2fd028e39ea57405aa454d06b5325b839ec7c83070b usercfg.txt
|
||||
ae3de0b8fec07d3a283dc3c06bf8678eec1e65c9faf0b7f4fdc9fb92751e324d1f8e2fb224dbbf561b7e5a6fb34769bfa1657858375f74b101a130d78e0737e2 cmdline.txt
|
||||
7e5505cb07d5b4a81bd28443d508336b5c547356538f1c06f91ed93ad0d7d456d4f74f1d24df5a2e08c17e74f0a66607352ac4874e967e9a91dfec9522d2d58d 95-vchiq-permissions.rules"
|
||||
7e5505cb07d5b4a81bd28443d508336b5c547356538f1c06f91ed93ad0d7d456d4f74f1d24df5a2e08c17e74f0a66607352ac4874e967e9a91dfec9522d2d58d 95-vchiq-permissions.rules
|
||||
"
|
||||
|
|
|
@ -5,4 +5,6 @@ arm_control=0x200
|
|||
kernel=vmlinuz-rpi4
|
||||
initramfs initramfs-rpi4
|
||||
|
||||
dtoverlay=vc4-fkms-v3d
|
||||
|
||||
include usercfg.txt
|
||||
|
|
|
@ -17,6 +17,7 @@ deviceinfo_keyboard="true"
|
|||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="1920"
|
||||
deviceinfo_screen_height="1080"
|
||||
deviceinfo_mesa_driver="vc4"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
|
|
Loading…
Reference in a new issue