Subject: /usr/share/doc/raspi-firmware/changelog.Debian.gz: Adding more support for 'v3d' on rpi4!
Date: Mon, 03 Jul 2023 03:40:45 +0530
Package: raspi-firmware
Version: 1.20220830+ds-1
Severity: important
File: /usr/share/doc/raspi-firmware/changelog.Debian.gz
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Hello there,
Debian on rpi4 with GUI, I have tried Gnome/Xfce/Sway, all for me have
the same issues: (I am using rpi4 with 8GB RAM, as a daily desktop
machine, so I use it heavily, 24/7 it's running)
Maine Issues:
* Some Application, I can't maximize and restore them (firefox-esr,
chromium) unless I enforce them to use wayland.
* Some application, I can't use them at all, can't open/can't run
properly (gimp), but when using the beta release, it works, as it uses
wayland by default.
* Freezing/locks up frequently, which is very annoying.
I am actually a Fedora user, but after recently bad news from Redhat
regarding the binary source of RHEL, I decided to move on.
Fedora 37/38 works just fine and smoothly on rpi4, specifically after
the hardware GPU acceleration driver supports has reached
mainline/upstream kernel "v3d", so I thought that means, debian should
do the same.
I noticed in Fedora, they have 'firmware' updated and has 'overlays',
and in their config.txt "dtoverlay=vc4-kms-v3d-pi4", so I have decided
to give that a try on debian after I talk to "gwolf".
All the above issues have solved by the following:
* I downloaded the latest (firmware-1.20230405) , unzipped it.
* Copied "firmware-1.20230405/boot/overlays" folder to /boot/firmware/
* Added these lines to /etc/default/raspi-firmware-custom
```````````````````````
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d-pi4
dtoverlay=cma,cma-256
max_framebuffers=2
# Disable compensation for displays with overscan
disable_overscan=1
```````````````````````
* Reload raspi-firmware package:
dpkg-reconfigure raspi-firmware
* Then reboot the system.
Thank you so much all.
Sally.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: arm64 (aarch64)
Kernel: Linux 6.3.0-1-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages raspi-firmware depends on:
ii dosfstools 4.2-1
ii dpkg 1.21.22
raspi-firmware recommends no packages.
Versions of packages raspi-firmware suggests:
ii bluez-firmware 1.2-9
ii firmware-brcm80211 20230515-2
pn firmware-misc-nonfree <none>
-- Configuration Files:
/etc/default/raspi-firmware changed [not included]
-- no debconf information
Here how Fedora manage RPi, as it's the only distro which use the
upstream/mainline kernel with 'v3d' support:
This is the Fedora RPM source package: bcm283x-firmware-20230308-
2.379d5bf.fc38.src.rpm
After building it, it generates four packages:
1- bcm2711-firmware-20230308-2.379d5bf.fc38.aarch64.rpm
2- bcm2835-firmware-20230308-2.379d5bf.fc38.aarch64.rpm
3- bcm283x-firmware-20230308-2.379d5bf.fc38.aarch64.rpm
4- bcm283x-overlays-20230308-2.379d5bf.fc38.aarch64.rpm
The latest Update of the package includes config.txt for single U-Boot
binary
List of '/boot/efi' in Fedora:
ls /boot/efi/
bcm2710-rpi-2-b.dtb config.txt rpi3-u-boot.bin
bcm2710-rpi-3-b.dtb config.txt.rpmnew rpi4-u-boot.bin
bcm2710-rpi-3-b-plus.dtb EFI/ rpi-u-boot.bin
bcm2710-rpi-cm3.dtb fixup4cd.dat start4cd.elf
bcm2710-rpi-zero-2.dtb fixup4.dat start4db.elf
bcm2710-rpi-zero-2-w.dtb fixup4db.dat start4.elf
bcm2711-rpi-400.dtb fixup4x.dat start4x.elf
bcm2711-rpi-4-b.dtb fixup_cd.dat start_cd.elf
bcm2711-rpi-cm4.dtb fixup.dat start_db.elf
bcm2711-rpi-cm4-io.dtb fixup_db.dat start.elf
bcm2711-rpi-cm4s.dtb fixup_x.dat start_x.elf
bootcode.bin overlays/
List of '/boot' in Fedora:
ls /boot/
config-6.3.6-200.fc38.aarch64 lost+found/
config-6.3.7-200.fc38.aarch64 symvers-6.3.6-200.fc38.aarch64.gz
config-6.3.8-200.fc38.aarch64 symvers-6.3.7-200.fc38.aarch64.gz
dtb/ symvers-6.3.8-200.fc38.aarch64.gz
dtb-6.3.6-200.fc38.aarch64/ System.map-6.3.6-200.fc38.aarch64
dtb-6.3.7-200.fc38.aarch64/ System.map-6.3.7-200.fc38.aarch64
dtb-6.3.8-200.fc38.aarch64/ System.map-6.3.8-200.fc38.aarch64
efi/ vmlinuz-6.3.6-200.fc38.aarch64
grub2/ .vmlinuz-6.3.6-
200.fc38.aarch64.hmac
initramfs-6.3.6-200.fc38.aarch64.img vmlinuz-6.3.7-200.fc38.aarch64
initramfs-6.3.7-200.fc38.aarch64.img .vmlinuz-6.3.7-
200.fc38.aarch64.hmac
initramfs-6.3.8-200.fc38.aarch64.img vmlinuz-6.3.8-200.fc38.aarch64
loader/ .vmlinuz-6.3.8-
200.fc38.aarch64.hmac
List of /boot/dtb' in Fedora (This folder comes with kernel package,
which has support for all, because Fedora doesn't have specific image
for RPi)
ls /boot/dtb/
allwinner/ apm/ broadcom/ hisilicon/ qcom/ xilinx/
amd/ apple/ cavium/ marvell/ rockchip/
amlogic/ arm/ freescale/ nvidia/ ti/
List of '/boot/dtb/broadcom/bcm2..'
ls /boot/dtb/broadcom/bcm2
bcm2711-rpi-400.dtb bcm2837-rpi-3-a-plus.dtb bcm2837-rpi-cm3-
io3.dtb
bcm2711-rpi-4-b.dtb bcm2837-rpi-3-b.dtb bcm2837-rpi-zero-2-
w.dtb
bcm2711-rpi-cm4-io.dtb bcm2837-rpi-3-b-plus.dtb
In the attachment I have uploaded the zip file of bcm283x-firmware from
Fedora.
Regards,
Sally
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.