RPi 3b/3b+/4b Owners

We are experimenting with the ability of having one 64 bit kernel to automatically boot the RPi's 3b/3b+/4b depending on which board you are booting up on.

We would appreciate it if some of you that have the time and like to experiment help out with testing to get all enabled in the kernel that needs to be for things to work. For example I ran across where the cpu temp did not work on the pi3b and had to enable CONFIG_BCM2835_THERMAL=y.

I have made an image for testing with using the LXQT DE with VC4/V3D enabled. This will be a good image also if some one has a pi3b/pi3b+ to use as I have a swapfile to free the ram of data not being used. I have also fixed some things in LXQT that was not working. I am using chromium browser as it has an edge over firefox with webgl.

What we have with the kernel is now in the repo (4.19.81-1). It has gpu_mem=64 in /boot/config.txt. Since being in VC4/V3D mode you may want to try gpu_mem=32 and see if it makes a little better. I tried gpu_mem=16 and it was at the threshold of not being enough so I am testing wit using 32 right now and seems to be ok so far. the gpu_mem does not need to be much when using VC4/V3D as it uses cma=256.

Download the image below burn and boot it and go through the OEM setup Then try the image on your various 64 bit pi's you have. The slower the pi is the slower things will load up initially; just wait on it. The same applyies to loading up the desktop at first; just wait for everything to load up first then the desktop navagation should be smooth, With the web the same with a web page loading up.

Advise not to use libreoffice or open multiple web pages / desktop windows while using the web browser with the 1G ram boards to conserve resources. Also a really good high speed sdcard.

Thanks in advance for anyone that has the time to help and provide input.

Here is some screen shots hots using the pi3b I used for testing:

glxgears:

Youtube:

mpv playing a 18 Mbit ATSC 1920x1280 stream:

Ray

2 Likes

:+1: for your work and efford. i've downloaded the imag and will test it these days. i'm yousing raspi's 3B. is there any special thing that should be tested and reported ? if so leave a comment. thank's for your work.

No really special testing, just do normal everyday stuff and if you run across something that does not work post here.

I got started on this venture in the beginning as there seemed to be some posts here and on irc with people with their pi3b's wanting images. They are not the best device for 64 bit but can be some what tolerable with some tweaks. The main thing that helps is getting away from mainline kernel as it will never be as good as the native RPi kernel due to their proprietary hardware and their patching to make their things either work and some things work better. Another objective is to use one kernel for all the pi devices.

Thanks for testing!!

1 Like

so i tested the distro today at a raspi 3B+. First, the installation went without failure that's great. but the choosen distro lacks. if i use uppercases for the password the system will not accept them after installation. i choose a password with uppercases, the installation accept and confirm it, but after setup the password is no longer valid. i change to the console via ctrl-alt-2 and try to log in. the whole keyboard-layout doesn't match. i tried two other keyboards, but the same effect. i did a second install with a new written sd, went through the installation process with no problem but the problems occured again. the installation process works well, but there are problems with the distro itself. the distro seems to be hefty buggie. nevertheless it runs, but this is a weird problem with the keyboard-layout recognition and the password-setting. any ideas / suggestions what to check ?
there is a additional thing, the 3b+ has a nominal speed of 1.4 GHz. but as i checked with inxi -Fxz it told me the cpu has a max speed of 1.2 GHz.

The keyboard and login password I think would be a question for @Strit. I am leaning toward the oem scripts as there was some issues with it in the last week. There could be something reporting wrong with the cpu speed. I am in the middle of something and can not investige it. Could you install cpu-speed-temp if it is not installed and see what it throttles up to with it.

yes i will check it and report. i'm a little busy the next hours so i need some hours for other things. but i will recheck it and i try a second additional raspberry 3b+. i bought all of them from a official raspberry seller, but i want to make shure there is no problem with the boards itself. so far all of you did a great job.

I had time to hook up my pi3b+ and inix reported things right here.

Also with the 1G ram devices and their gpu speeds I want to point out again that 64 bit is not a good fit for them especially with VC4/V3D. But waiting for things to settle down after logging in and not loading multiple web pages and having multiple desktop pages open while using the browser and having a fast sdcard this image should be tolerable. These devices are best suited for a 32 bit OS but Manjaro ARM has discontinued support for arm7 devices.

Go here and see if you can get the right keyboard keymaps set up for yours.

https://wiki.archlinux.org/index.php/Linux_console/Keyboard_configuration

By the way I am on this test image using the pi3b+ using chrominum typing this post.

This is very odd. The OEM setup simply uses passwd in the background, so it should accept all characters that regular linux distro's use.

Not sure I understand this part either. What do you mean they don't match? The OEM setup presents a list of keyboard layouts to choose from. If you choose the one that matches your connected keyboard, it should match in both TTY and X11. If you don't choose one that matches your connected keyboard, it can't magically detect which you have connected and switch it.

a short update. the problem of the console is solved. the problem was sitting in front of the screen.
i installed Viavaldi-64arm from the aur. works well, youtube is working. the system is not very responsive, but i didn't expect it, the 3B is too slow but it works.

Hi, I tested this image on my rpi 3B+ but I have a feeling that https://osdn.net/projects/manjaro-arm/storage/rpi3/lxqt/19.02/
is better. Chromium and vlc don't run.
glxgears ca. 24 fps
32 bits seems max for the rpi 3+ :frowning:
A four for me for xmas! /olle

What is your /boot/config.txt. I tested at the top of the thread with a pi3b and got 300 fps with glxgears and used chrominum playing youtube. And vlc would probably work but mpv is better.

If I am not mistaken the other image you are testing is a mainline kernel which means no vc4/v3d acceleration and no overlays dir in /boot unless it is a really old image.

I added vc4 ever since sakaki showed how to do it, also for the rpi3 image.

For this test I have the following in config.txt:

See /boot/overlays/README for all available options

gpu_mem=64
initramfs initramfs-linux.img followkernel
kernel=kernel8.img
arm_64bit=1
enable_gic=1
disable_overscan=1

#enable sound
dtparam=audio=on
hdmi_drive=2

#enable vc4
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
dtparam=sd_overclock=100

So no change except the sd_overclock added. It might be the sdcard; it is a U1 card however, so it should be able to handle to overclock frequency. htop shows 512M in swap. /O

Edit: I commented out the overclock line in config, but no improvement...

Do you still need tests with the raspi 4 B ?
Now i am a little set up with this, for me, new playground and i have a spare sd-card.

Sure.. Upgrade to the latest kernel with -Syu and see if it is still good. If you have a pi 3b/3b+ stick the sdcard in them also and test.

I run the xfce edition, but if this is only kernel related ...
4.19.85-1-MANJARO-ARM is installed here.

I use openbox, and the video driver is brightening the the screen when i open a menu or when i modify eg. sound im mpv, gettimng darker afterwords.
Lots of flickering with picom/compiz.

It should boot on the pi3b's but this image here was made with lxde and has a swap file built in. More tuned for for the pi3b's.

Have no clue with the openbox issue but might see if compositing is turned on and turn it off. Sorry...

ok, i will install and update your lxde image today.
Just install with etcher?
atm my rpi4 is busy, shoveling TB's of data across my network due to new storage hdd*s

Etcher will be fine.

Installed Manjaro-ARM-lxqt-rpi4-19.10-test.img.xz
My setup is Dual Screens:
xrandr --output HDMI-1 --mode 1920x1080 --pos 1280x0 --rotate normal --output HDMI-2 --primary --mode 1280x720 --pos 0x0 --rotate normal

So far i see only one issue, when moving windows on one screen while watching a movie the window is tearing and the movie stuttering.
Youtube in chromium works like charm.
Sound is working perfect on both .

In a continuing effort to squeeze out any extra performance that can be had for the 64 bit pi's 3 and 3b+ I have tested using a zram swap and from my tests it seems to be working good with the 1G boards in this image. I used a Gentoo wiki as a guide. If some one wants to test this in this image:

Disable the swap to disk I have in this image by commenting the /swapfile line in /etc/fstab and reboot your pi:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
#/swapfile   none    swap    defaults        0       0
LABEL=BOOT   /boot   vfat    defaults        0       0

I have not made a .service file yet so you need to create 2 files and make them executable to start and stop the zram-swap and they must be run as root and do not use sudo but do a su before running the scripts:

nano zram-start # Copy and Paste the following:

#!/bin/bash

modprobe zram num_devices=4

SIZE=384
echo $(($SIZE*1024*1024)) > /sys/block/zram0/disksize
echo $(($SIZE*1024*1024)) > /sys/block/zram1/disksize
echo $(($SIZE*1024*1024)) > /sys/block/zram2/disksize
echo $(($SIZE*1024*1024)) > /sys/block/zram3/disksize

mkswap /dev/zram0
mkswap /dev/zram1
mkswap /dev/zram2
mkswap /dev/zram3

swapon /dev/zram0 -p 10
swapon /dev/zram1 -p 10
swapon /dev/zram2 -p 10
swapon /dev/zram3 -p 10

nano zram-stop # Copy and Paste the following:

#!/bin/bash
 
swapoff /dev/zram0
swapoff /dev/zram1
swapoff /dev/zram2
swapoff /dev/zram3
 
echo 1 > /sys/block/zram0/reset
echo 1 > /sys/block/zram1/reset
echo 1 > /sys/block/zram2/reset
echo 1 > /sys/block/zram3/reset
 
modprobe -r zram

I used the pi3b for this test as it has the least brain power. In the tests my mouse or system never froze and was able to navigate the menus while playing a youtube video in the web browser. It got well into using the compressed zram-swap. Even libreoffice seemed to work pretty good. Of course the initial loading up the web browser was typical pi3 speed but it may be me but going to some different sites it seemed to be more snappier. There was some dropped frames in the video but it did not affect the viewing.

I also installed the new linux-rpi4-upstream kernel 5.4.2 in the repo and it performed well. If you install it to test your cmdline.txt and config.txt files will be replaced but it will back them up in /boot if you have any special configs in them.

Forum kindly sponsored by