Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyperpixel 4.0 screen blank running octoprint on a Raspberry Pi 4.0 8gb (kernel 5.4.51 bug) #81

Open
minibusdriver opened this issue Jul 5, 2020 · 49 comments · Fixed by #89 or #92
Labels
bug Something isn't working

Comments

@minibusdriver
Copy link

minibusdriver commented Jul 5, 2020

To summarise I am having problem configuring a new hyperpixel 4.0 screen to work with Octoprint and a Raspberry Pi4 8gb. The issue appears to be a software one as there appears to be evidence the screen is actually working. If any one can help resolve this matter it would be appreciated.

Please help

I am having problems setting up an hyper pixel 4.0 rectangular touchscreen with a raspberry pi4b 8gb. I would like to to use this to remotely monitor my 3D printer (Prusa I3 MK3s) with octoprint. Both were recently purchased from Pimoroni. This is my first Pi purchase and I am not familiar with Raspberry Pis, Terminal or Github so please be nice! However I am reasonably intelligent and enjoy learning new things and don't necessarily expect thing to work straight away. I have spent several days trying to get it to work properly using various forums and you tube videos. I must confess I am at a loss as what to do next.
I have connected the hyperpixel 4.0 to the GPIO header on the raspberry pi using the standoffs supplied with the screen. Nothing else is connected to the Raspberry Pi. The Raspberry Pi is powered using a standard Raspberry USB C PSU.
I successfully flashed Octoprint (OctoPI64-0.18.0-beta.img) to a 16gb sd card using etcher. Maybe the fact that Octoprint is Beta version is the issue but according to the Octoprint webpage the standard version doesn’t play nicely with the 8gb Raspberry Pi4 so I have no alternative. I modified the WPA/WPA2 settings in |octopi-wpa-supplicant.txt and successfully logged onto the Raspberry Pi using a web browser (Safari). I configured Octoprint and then connected it to the printer and all appears to be normal. For all of this time the screen was blank as expected as the screen drivers were not installed but you could see portions of the screen backlit.
I then tried to follow this video to set up Octoscreen https://youtu.be/OJ59hXSyBoI which is where my problems started …..
(timeline 5.00 minutes) The curl https://get.pimoroni.com/hyperpixel4 | bash gave me the error message. ‘This hardware is not supported, sorry! Config files have been left untouched’.
So I used….

Last login: Sun Jul 5 17:01:53 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
phils-MBP-17530:~ philbrown$ ssh [email protected]
[email protected]'s password:
Linux octopi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Jul 5 16:17:09 2020 from fe80::49d:4acf:331c:9023%wlan0

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.


Access OctoPrint from a web browser on your network by navigating to any of:

http://octopi.local
http://192.168.1.95

https is also available, with a self-signed certificate.

OctoPrint version : 1.4.0
OctoPi version : 0.18.0

pi@octopi:~ $ git clone https://github.com/pimoroni/hyperpixel4 -b pi4
Cloning into 'hyperpixel4'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 291 (delta 20), reused 36 (delta 12), pack-reused 237
Receiving objects: 100% (291/291), 730.19 KiB | 1.42 MiB/s, done.
Resolving deltas: 100% (135/135), done.

Which appeared to have worked. Followed by …..

pi@octopi:~ $ cd hyperpixel4
pi@octopi:~/hyperpixel4 $ sudo ./install.sh

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for pi:
Notice: building hyperpixel4.dtbo
Created symlink /etc/systemd/system/multi-user.target.wants/hyperpixel4-init.service → /etc/systemd/system/hyperpixel4-init.service.
Installed: /usr/bin/hyperpixel4-init
Installed: /etc/systemd/system/hyperpixel4-init.service
Installed: /boot/overlays/hyperpixel4.dtbo
Config: Added dtoverlay=hyperpixel4 to /boot/config.txt
Config: Added gpio=0-25=a2 to /boot/config.txt
Config: Added enable_dpi_lcd=1 to /boot/config.txt
Config: Added dpi_group=2 to /boot/config.txt
Config: Added dpi_mode=87 to /boot/config.txt
Config: Added dpi_output_format=0x7f216 to /boot/config.txt
Config: Added dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6 to /boot/config.txt

After rebooting, use 'hyperpixel4-rotate left/right/normal/inverted' to rotate your display!

left - Landscape, power/HDMI on bottom
right - Landscape, power/HDMI on top
normal - Portrait, USB ports on top
inverted - Portrait, USB ports on bottom

Which also appears correct, followed by

pi@octopi:~/hyperpixel4 $ sudo reboot now
Connection to octopi.local closed by remote host.
Connection to octopi.local closed.

On rebooting the Raspberry Pi the screen remained blank after initially flashing breifly. I was expecting to see command line text as in the video @ https://youtu.be/OJ59hXSyBoI (timeline 6:17 mins)

I then tried to rotate the screen in case that was causing the issue

pi@octopi:~ $ hyperpixel4-rotate
Unsupported orientation:
Try one of: left, right, normal, inverted

My inexperience shows with the incorrect command above…. corrected below!

pi@octopi:~ $ hyperpixel4-rotate right
Rotating display
Can't open display
[sudo] password for pi:
Traceback (most recent call last):
File "", line 15, in
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 43, in init
version_output = self._output("--version")
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 64, in _output
raise Exception("XRandR returned error code %d: %s"%(status,err))
Exception: XRandR returned error code 1: Can't open display
Setting matrix: 0 1 0 -1 0 1
Unable to connect to X server
Saving touch settings to /etc/udev/rules.d/98-hyperpixel4-calibration.rules

Whilst most of this code ran I notice a couple of exceptions/errors is the problem I don’t understand what they mean or how to correct!

pi@octopi:~ $ sudo reboot
Connection to octopi.local closed by remote host.
Connection to octopi.local closed.

Having rebooted the display briefly appeared (< 2 seconds) showing command line text similar to video @ https://youtu.be/OJ59hXSyBoI (timeline 6:17 mins) followed by the blank screen. It gives the impression that some video config was being overwritten later in the boot up sequence but that’s a wild guess on my part.

Further on in the video video @ https://youtu.be/OJ59hXSyBoI (timeline 7:30 mins) suggest there could be a conflict with dtoverlay=vc4-fkms-v3d. So I commented out this line as suggested (#dtoverlay=vc4-fkms-v3d)

Another reboot still gave a blank video screen strangely this time I didn’t notice any command line text.

For info the end of the config.txt file looks like this…..

dtoverlay=hyperpixel4
gpio=0-25=a2
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6

And also for info I provide the following script

pi@octopi:/boot $ ls /dev/i2c-*
/dev/i2c-11
pi@octopi:/boot $ sudo nano /dev/i2c-11
[sudo] password for pi:
pi@octopi:/boot $ i2cdetect -y 11
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@octopi:/boot $ cat /proc/cpuinfo | grep Revision
Revision : d03114
pi@octopi:/boot $ lsb_release --description
Description: Debian GNU/Linux 10 (buster)
pi@octopi:/boot $ uname -r
5.4.42-v8+
pi@octopi:/boot $ sudo vim /boot/config.txt
sudo: vim: command not found

@Gadgetoid
Copy link
Member

When the screen is blank, are you able to ascertain if the backlight is on or off?

Also for the sake of everyone's sanity do you have time to try this setup using the regular Raspberry Pi OS, to eliminate the possibility that either the Pi or HyperPixel is at fault.

We don't test outside of Raspian/Raspberry Pi OS since there just aren't enough hours in the day (and by we, I mean.. there's only really me), but with any luck we'll get to the bottom of this. The HyperPixel4 is a particularly easy device to upset if OctoPrint does anything non-standard with video, or changes any GPIO pin state.

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@Gadgetoid
Copy link
Member

The last OS I've fired up and tested with was- "Raspberry Pi OS (32-bit) with desktop" - speciffically 2020-05-27-raspios-buster-armhf.zip - direct link: https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2020-05-28/2020-05-27-raspios-buster-armhf.zip

This is the desktop (not lite) without the extra cruft version, so it's a 1.1G download.

I'll see if I can re-image this for testing.

Do you have a link to the specific Octoprint image you were using?

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@Gadgetoid
Copy link
Member

Thanks I've imaged Octoprint and think I'm now encountering the same issue as you.

My initial debugging steps don't seem to suggest that any DPI interface is being set up at all, and now I can't seem to SSH back into my Pi. D'oh!

This might be a fundamental problem with the beta 64bit Raspberry Pi OS and need a bit of sleuthing and a bug report.

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@Gadgetoid
Copy link
Member

I failed to connect via SSH the first time, also, but it magically worked after I rebooted. 🤷 I knew WiFi was working, at least, because I could ping the Pi. Now imaging vanilla Raspberry Pi OS 64bit Beta to see if I encounter the same issue, because I totally broke my setup and had to do something

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@minibusdriver
Copy link
Author

minibusdriver commented Jul 6, 2020 via email

@Gadgetoid
Copy link
Member

It looks like the hyperpixel4.dtbo just wont load on an 64bit Pi 4 configuration, or against a 5.x kernel. Device-tree stuff baffles me at the best of times, so I'm going to have to appeal to the powers-that-be for some help with this.

In the mean time I have managed to get display output to work (on the Raspberry Pi OS Beta 64bit image at least) with some changes to /boot/config.txt.

Specifically the end of my config now looks like this:

#dtoverlay=hyperpixel4
gpio=0-25=a2
gpio=19=op,dh
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6

Note: dtoverlay=hyperpixel4 is commented-out because it just doesn't work.

Then we use gpio= to configure the alt-mode of the DPI (display parallel interface) pins to alt2 so the video signal is sent out on GPIO. And finally set BCM19 to an output, driven high to enable the backlight.

Touch input wont work at all with this config- unfortunately- but it might be possible to whip up a dtoverlay that just configures touch. Also the system wont be aware of the backlight in any meaningful way, so it will be always-on.

Finally, setting the display orientation with hyperpixel4-rotate wont persist because it fails to set the touch mapping and crashes out.

So... I have some progress.

@minibusdriver
Copy link
Author

minibusdriver commented Jul 7, 2020 via email

@Gadgetoid
Copy link
Member

Right now I think there's nothing to be done- though I've just pushed up a Pi4 64bit beta branch you culd try it's still a work in progress: https://github.com/pimoroni/hyperpixel4/tree/pi4-64bit-beta

Install process should be as follows:

git clone https://github.com/pimoroni/hyperpixel4 -b pi4-64bit-beta
cd hyperpixel4
sudo ./install.sh

@minibusdriver
Copy link
Author

minibusdriver commented Jul 7, 2020 via email

@mikenosko
Copy link

Just commented on the now closed #88 so putting it here too

I have the 2gb version of pi4 b03112 and a rectangular hyperpixel4 (updated pi4 branch); i run an up-to-date octopi Raspbian GNU/Linux 10 (buster) with the 5.4.51-v7l+ kernel the 32bit one (armv7l)

Problem started after the last 1-3 updates: cat /var/log/dpkg.log | grep upgrade; im 100% sure it was working earlier in the day on the 22 july; here are the upgrades i did since to narrow it down:

2020-07-21 20:48:25 upgrade libnss3:armhf 2:3.42.1-1+deb10u2 2:3.42.1-1+deb10u3
2020-07-21 20:48:26 upgrade libopenmpt0:armhf 0.4.3-1 0.4.3-1+deb10u1
2020-07-21 20:48:26 upgrade libraspberrypi-doc:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:48:29 upgrade libraspberrypi-dev:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:48:29 upgrade raspberrypi-kernel:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:49:23 upgrade libraspberrypi-bin:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:49:24 upgrade libraspberrypi0:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:49:25 upgrade raspberrypi-bootloader:armhf 1.20200601-1 1.20200717-1
2020-07-21 20:49:30 upgrade rpi-eeprom:all 7.5-1 7.8-1
2020-07-25 11:06:44 upgrade libraspberrypi-doc:armhf 1.20200717-1 1.20200723-1
2020-07-25 11:06:47 upgrade libraspberrypi-dev:armhf 1.20200717-1 1.20200723-1
2020-07-25 11:06:49 upgrade raspberrypi-kernel:armhf 1.20200717-1 1.20200723-1
2020-07-25 11:07:55 upgrade libraspberrypi-bin:armhf 1.20200717-1 1.20200723-1
2020-07-25 11:07:56 upgrade libraspberrypi0:armhf 1.20200717-1 1.20200723-1
2020-07-25 11:07:59 upgrade raspberrypi-bootloader:armhf 1.20200717-1 1.20200723-1
2020-07-26 14:31:58 upgrade raspberrypi-kernel:armhf 1.20200723-1 1.20200723-1
2020-07-26 14:33:07 upgrade raspberrypi-bootloader:armhf 1.20200723-1 1.20200723-1

The touch seems to be working - i touched the screen a couple of times as i have the screensaver on for it to wake up and while the screen didn't come on the hotend began to heat up. The screen comes on briefly when starting and then just blank with no backlight

dmesg | grep Goodix

Goodix-TS 11-005d: 11-005d supply AVDD28 not found, using dummy regulator
Goodix-TS 11-005d: 11-005d supply VDDIO not found, using dummy regulator
Goodix-TS 11-005d: i2c test failed attempt 1: -6
Goodix-TS 11-005d: i2c test failed attempt 2: -6
Goodix-TS 11-005d: I2C communication failure: -6
Goodix-TS 11-0014: 11-0014 supply AVDD28 not found, using dummy regulator
Goodix-TS 11-0014: 11-0014 supply VDDIO not found, using dummy regulator
Goodix-TS 11-0014: ID 911, version: 1060
input: Goodix Capacitive TouchScreen as /devices/platform/i2c@0/i2c-11/11-0014/input/input0

i2cdetect -y 11 the UU is in 4:10 as per your template

@morphias2004
Copy link

Also posting details from my closed duplicate for the benefit of others.

Describe the bug

I previously opened this as a faulty on the OctoDash GitHub page: UnchartedBull/OctoDash#848

I have since conclusively ruled out OctoDash as a factor as a clean installation of OctoPrint/OctoPi, installing the HyperPixel 4 drivers and then running sudo apt update and sudo apt full-upgrade causes the issue.

This points to the HyperPixel 4 drivers having an issue with the latest Pi updates.

To Reproduce

Image SD card with the current OctoPi image

https://octopi.octoprint.org/latest

Update to Octoprint 1.4.0 from within OctoPi web interface and reboot.

Install HyperPixel 4 driver and reboot.

curl https://get.pimoroni.com/hyperpixel4 | bash

Screen is working correctly at this point and is in 'portait'.

Run latest Pi updates

sudo apt update

sudo apt full-upgrade

Reboot and you get a black screen. OctoPi is up and running and available via the web interface and SSH.

Your HyperPixel 4

Let us know which HyperPixel 4 board you're using. Note: if you're having a problem with the original HyperPixel you should go to: https://github.com/pimoroni/hyperpixel

Is it Square or Rectangular?
**Rectangular**

Touch or non Touch?
**Touch**

Approximately when was it purchased
**2 months ago**

How is it connected to your Pi
**Direct GPIO onto Raspberry Pi 4 4GB**

Your Raspberry Pi

Give as much detail about your Pi and OS as possible. We only officially support Raspbian, but might be able to point you in the right direction if the problem is with another OS.

What model of Raspberry Pi are you using (the result of cat /proc/cpuinfo | grep Revision can tell us this exactly
**c03112**

Which OS release are you using: lsb_release --description and uname -r
**Raspbian GNU/Linux 10 (buster)
4.19.75-v7l+**

Is this a fresh OS setup, or one you might have previously installed scripts/add-ons on?
**Fresh**

Extra debugging information

If you're having a problem with touch, try checking dmesg for related errors:

dmesg | grep Goodix for HyperPixel 4.0" Rectangular
**Blank response to that command**

dmesg | grep ft5 for HyperPixel 4.0" Square

And check i2c is working:

ls /dev/i2c-*

You should see something like:

pi@raspberrypi:~ $ ls /dev/i2c-*
/dev/i2c-7

Command fails
ls: cannot access '/dev/i2c-*': No such file or directory

And your HyperPixel 4 touch is showing up (there should be an address blocked out with UU in the below command):

i2cdetect -y X ( where X is the number of i2c bus found in the command above)

For example:

pi@raspberrypi:~ $ i2cdetect -y 7
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Command fails
-bash: i2cdetect: command not found

Here is the list of updates loaded by the sudo apt update:

pi@octopi:~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libllvm8 rpi-eeprom-images
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
busybox initramfs-tools initramfs-tools-core klibc-utils libfl2 libklibc libllvm9 linux-base pigz rpi.gpio-common
The following packages will be upgraded:
apt apt-utils base-files bind9-host binutils binutils-arm-linux-gnueabihf binutils-common bluez bluez-firmware ca-certificates cron curl dhcpcd5
distro-info-data dphys-swapfile e2fsprogs ffmpeg file firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek
freetype2-doc fuse git git-man imagemagick imagemagick-6-common imagemagick-6.q16 iputils-ping libapt-inst2.0 libapt-pkg5.0 libarchive13 libavcodec58
libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libbind9-161 libbinutils libcom-err2 libcurl3-gnutls libcurl4 libdns-export1104
libdns1104 libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libext2fs2 libfreetype6 libfreetype6-dev libfribidi0 libfuse2 libgl1-mesa-dri
libglib2.0-0 libglib2.0-data libgnutls30 libicu63 libidn2-0 libisc-export1100 libisc1100 libisccc161 libisccfg163 libldap-2.4-2 libldap-common liblwres161
libmagic-mgc libmagic1 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmysofa0 libncurses6 libncursesw5 libncursesw6 libopenjp2-7 libopenmpt0
libpam-chksshpwd libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpostproc55
libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libraspberrypi-bin
libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libsasl2-2 libsasl2-modules-db libss2 libssh-gcrypt-4 libssl-dev libssl1.1 libswresample3 libswscale5
libsystemd0 libtiff5 libtinfo5 libtinfo6 libudev1 libvpx5 libxml2 libxmuu1 ncurses-base ncurses-bin ncurses-term openssh-client openssh-server
openssh-sftp-server openssl pi-bluetooth python-apt-common python-rpi.gpio python2.7 python2.7-dev python2.7-minimal python3-apt python3.7 python3.7-minimal
raspberrypi-bootloader raspberrypi-kernel raspberrypi-sys-mods raspi-config rpcbind rpi-eeprom rpi-eeprom-images rpi-update ssh sudo systemd systemd-sysv
tzdata udev wpasupplicant
148 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 258 MB of archives.
After this operation, 116 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspberrypi.org/debian buster/main armhf libpam0g armhf 1.3.1-5+rpt2 [121 kB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf libpam-modules-bin armhf 1.3.1-5+rpt2 [103 kB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf libpam-modules armhf 1.3.1-5+rpt2 [290 kB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf libpam-runtime all 1.3.1-5+rpt2 [211 kB]
Get:8 http://archive.raspberrypi.org/debian buster/main armhf bluez armhf 5.50-1.2deb10u1+rpt1 [765 kB]
Get:10 http://archive.raspberrypi.org/debian buster/main armhf libssl-dev armhf 1.1.1d-0+deb10u3+rpt1 [1,583 kB]
Get:2 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf base-files armhf 10.3+rpi1+deb10u4 [70.0 kB]
Get:3 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf ncurses-bin armhf 6.1+20181013-2+deb10u2 [400 kB]
Get:7 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf ncurses-base all 6.1+20181013-2+deb10u2 [258 kB]
Get:9 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf systemd-sysv armhf 241-7deb10u4+rpi1 [100 kB]
Get:11 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libpam-systemd armhf 241-7deb10u4+rpi1 [194 kB]
Get:12 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libsystemd0 armhf 241-7deb10u4+rpi1 [305 kB]
Get:13 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf systemd armhf 241-7deb10u4+rpi1 [3,255 kB]
Get:14 http://archive.raspberrypi.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u3+rpt1 [1,275 kB]
Get:15 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf udev armhf 241-7deb10u4+rpi1 [1,248 kB]
Get:16 http://archive.raspberrypi.org/debian buster/main armhf bluez-firmware all 1.2-4+rpt3 [120 kB]
Get:17 http://archive.raspberrypi.org/debian buster/main armhf openssl armhf 1.1.1d-0+deb10u3+rpt1 [807 kB]
Get:18 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libudev1 armhf 241-7deb10u4+rpi1 [144 kB]
Get:19 http://archive.raspberrypi.org/debian buster/main armhf dhcpcd5 armhf 1:8.1.2-1+rpt1 [146 kB]
Get:21 http://archive.raspberrypi.org/debian buster/main armhf dphys-swapfile all 20100506-5+rpt1 [21.4 kB]
Get:22 http://archive.raspberrypi.org/debian buster/main armhf ffmpeg armhf 7:4.1.6-1deb10u1+rpt1 [1,432 kB]
Get:20 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1,078 kB]
Get:23 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libidn2-0 armhf 2.0.5-1+deb10u1 [74.0 kB]
Get:24 http://archive.raspberrypi.org/debian buster/main armhf libavdevice58 armhf 7:4.1.6-1deb10u1+rpt1 [147 kB]
Get:25 http://archive.raspberrypi.org/debian buster/main armhf libavfilter7 armhf 7:4.1.6-1deb10u1+rpt1 [1,450 kB]
Get:26 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libgnutls30 armhf 3.6.7-4+deb10u4 [1,047 kB]
Get:27 http://archive.raspberrypi.org/debian buster/main armhf libswscale5 armhf 7:4.1.6-1deb10u1+rpt1 [253 kB]
Get:28 http://archive.raspberrypi.org/debian buster/main armhf libavformat58 armhf 7:4.1.6-1deb10u1+rpt1 [1,516 kB]
Get:31 http://archive.raspberrypi.org/debian buster/main armhf libavcodec58 armhf 7:4.1.6-1deb10u1+rpt1 [8,904 kB]
Get:29 http://mirror.datamossa.io/raspbian buster/main armhf libapt-pkg5.0 armhf 1.8.2.1 [855 kB]
Get:30 http://mirror.datamossa.io/raspbian buster/main armhf libapt-inst2.0 armhf 1.8.2.1 [199 kB]
Get:32 http://mirror.datamossa.io/raspbian buster/main armhf apt armhf 1.8.2.1 [1,349 kB]
Get:33 http://mirror.datamossa.io/raspbian buster/main armhf apt-utils armhf 1.8.2.1 [399 kB]
Get:34 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf libext2fs2 armhf 1.44.5-1+deb10u3 [202 kB]
Get:35 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf e2fsprogs armhf 1.44.5-1+deb10u3 [532 kB]
Get:36 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf cron armhf 3.0pl1-134+deb10u1 [94.0 kB]
Get:38 http://archive.raspberrypi.org/debian buster/main armhf libswresample3 armhf 7:4.1.6-1deb10u1+rpt1 [118 kB]
Get:39 http://archive.raspberrypi.org/debian buster/main armhf libpostproc55 armhf 7:4.1.6-1deb10u1+rpt1 [95.1 kB]
Get:40 http://archive.raspberrypi.org/debian buster/main armhf libavresample4 armhf 7:4.1.6-1deb10u1+rpt1 [104 kB]
Get:37 http://raspbian.melbourneitmirror.net/raspbian buster/main armhf freetype2-doc all 2.9.1-3+deb10u1 [2,309 kB]
Get:41 http://archive.raspberrypi.org/debian buster/main armhf libdrm-common all 2.4.100-4+rpi1bpo10+1 [14.4 kB]
Get:42 http://archive.raspberrypi.org/debian buster/main armhf libdrm2 armhf 2.4.100-4+rpi1bpo10+1 [36.6 kB]
Get:43 http://archive.raspberrypi.org/debian buster/main armhf libavutil56 armhf 7:4.1.6-1deb10u1+rpt1 [354 kB]
Get:44 http://archive.raspberrypi.org/debian buster/main armhf libraspberrypi-bin armhf 1.20200723-1 [340 kB]
Get:45 http://archive.raspberrypi.org/debian buster/main armhf libraspberrypi-doc armhf 1.20200723-1 [31.4 MB]
Get:46 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libfreetype6-dev armhf 2.9.1-3+deb10u1 [479 kB]
Get:47 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libfreetype6 armhf 2.9.1-3+deb10u1 [317 kB]
Get:48 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libopenjp2-7 armhf 2.3.0-2+deb10u1 [138 kB]
Get:49 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libtiff5 armhf 4.1.0+git191117-2deb10u1 [249 kB]
Get:50 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [7,973 kB]
Get:51 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [571 kB]
Get:52 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf imagemagick-6-common all 8:6.9.10.23+dfsg-2.1+deb10u1 [200 kB]
Get:53 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libmagickcore-6.q16-6 armhf 8:6.9.10.23+dfsg-2.1+deb10u1 [1,600 kB]
Get:55 http://mirror.datamossa.io/raspbian buster/main armhf pigz armhf 2.4-1 [47.2 kB]
Get:54 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libmagickwand-6.q16-6 armhf 8:6.9.10.23+dfsg-2.1+deb10u1 [419 kB]
Get:56 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf python2.7-dev armhf 2.7.16-2+deb10u1 [291 kB]
Get:57 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython2.7-dev armhf 2.7.16-2+deb10u1 [30.9 MB]
Get:65 http://archive.raspberrypi.org/debian buster/main armhf libraspberrypi-dev armhf 1.20200723-1 [412 kB]
Get:66 http://archive.raspberrypi.org/debian buster/main armhf raspberrypi-kernel armhf 1.20200723-1 [73.0 MB]
Get:84 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf ssh all 1:7.9p1-10+deb10u2 [202 kB]
Get:58 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython2.7 armhf 2.7.16-2+deb10u1 [873 kB]
Get:59 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf python2.7 armhf 2.7.16-2+deb10u1 [305 kB]
Get:102 http://mirror.datamossa.io/raspbian buster/main armhf libfl2 armhf 2.6.4-6.2 [103 kB]
Get:60 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython2.7-stdlib armhf 2.7.16-2+deb10u1 [1,844 kB]
Get:61 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf python2.7-minimal armhf 2.7.16-2+deb10u1 [1,091 kB]
Get:103 http://mirror.datamossa.io/raspbian buster/main armhf busybox armhf 1:1.30.1-4 [405 kB]
Get:62 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython2.7-minimal armhf 2.7.16-2+deb10u1 [395 kB]
Get:63 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [78.9 kB]
Get:64 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libtinfo6 armhf 6.1+20181013-2+deb10u2 [312 kB]
Get:67 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libncursesw6 armhf 6.1+20181013-2+deb10u2 [103 kB]
Get:68 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf python3.7 armhf 3.7.3-2+deb10u1 [330 kB]
Get:69 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython3.7 armhf 3.7.3-2+deb10u1 [1,252 kB]
Get:104 http://mirror.datamossa.io/raspbian buster/main armhf ca-certificates all 20200601deb10u1 [158 kB]
Get:70 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython3.7-stdlib armhf 3.7.3-2+deb10u1 [1,662 kB]
Get:71 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf python3.7-minimal armhf 3.7.3-2+deb10u1 [1,463 kB]
Get:72 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libpython3.7-minimal armhf 3.7.3-2+deb10u1 [583 kB]
Get:73 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf openssh-sftp-server armhf 1:7.9p1-10+deb10u2 [35.9 kB]
Get:74 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libcom-err2 armhf 1.44.5-1+deb10u3 [67.6 kB]
Get:75 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf openssh-server armhf 1:7.9p1-10+deb10u2 [291 kB]
Get:76 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf git-man all 1:2.20.1-2+deb10u3 [1,620 kB]
Get:77 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libsasl2-modules-db armhf 2.1.27+dfsg-1+deb10u1 [67.5 kB]
Get:78 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libsasl2-2 armhf 2.1.27+dfsg-1+deb10u1 [98.8 kB]
Get:79 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libldap-common all 2.4.47+dfsg-3+rpi1+deb10u2 [89.8 kB]
Get:80 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libldap-2.4-2 armhf 2.4.47+dfsg-3+rpi1+deb10u2 [198 kB]
Get:81 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libcurl3-gnutls armhf 7.64.0-4+deb10u1 [292 kB]
Get:82 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf git armhf 1:2.20.1-2+deb10u3 [4,194 kB]
Get:83 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf openssh-client armhf 1:7.9p1-10+deb10u2 [670 kB]
Get:85 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf tzdata all 2020a-0+deb10u1 [263 kB]
Get:86 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf iputils-ping armhf 3:20180629-2+deb10u1 [40.2 kB]
Get:87 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf bind9-host armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [268 kB]
Get:88 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libbind9-161 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [243 kB]
Get:89 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libisccfg163 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [258 kB]
Get:90 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libisccc161 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [234 kB]
Get:91 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libdns1104 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [1,078 kB]
Get:92 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libisc1100 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [422 kB]
Get:93 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf liblwres161 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [246 kB]
Get:94 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.4 kB]
Get:95 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB]
Get:96 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB]
Get:97 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf ncurses-term all 6.1+20181013-2+deb10u2 [490 kB]
Get:98 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf binutils-arm-linux-gnueabihf armhf 2.31.1-16+rpi2 [1,814 kB]
Get:112 http://archive.raspberrypi.org/debian buster/main armhf libraspberrypi0 armhf 1.20200723-1 [850 kB]
Get:99 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libbinutils armhf 2.31.1-16+rpi2 [302 kB]
Get:100 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf binutils armhf 2.31.1-16+rpi2 [57.0 kB]
Get:101 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf binutils-common armhf 2.31.1-16+rpi2 [2,075 kB]
Get:114 http://archive.raspberrypi.org/debian buster/main armhf raspberrypi-bootloader armhf 1.20200723-1 [4,505 kB]
Get:105 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf curl armhf 7.64.0-4+deb10u1 [254 kB]
Get:106 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u1 [294 kB]
Get:107 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf distro-info-data all 0.41+deb10u2 [6,584 B]
Get:108 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libfribidi0 armhf 1.0.5-3.1+deb10u1 [62.3 kB]
Get:109 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libmysofa0 armhf 0.6dfsg0-3+deb10u1 [34.2 kB]
Get:110 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libopenmpt0 armhf 0.4.3-1+deb10u1 [535 kB]
Get:111 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libssh-gcrypt-4 armhf 0.8.7-1+deb10u1 [171 kB]
Get:113 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libvpx5 armhf 1.7.0-3+deb10u1 [449 kB]
Get:115 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf fuse armhf 2.9.9-1+deb10u1 [69.2 kB]
Get:116 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libfuse2 armhf 2.9.9-1+deb10u1 [116 kB]
Get:117 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf imagemagick-6.q16 armhf 8:6.9.10.23+dfsg-2.1+deb10u1 [580 kB]
Get:118 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf imagemagick armhf 8:6.9.10.23+dfsg-2.1+deb10u1 [156 kB]
Get:119 http://archive.raspberrypi.org/debian buster/main armhf firmware-atheros all 1:20190114-1+rpt7 [3,887 kB]
Get:120 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libklibc armhf 2.0.6-1+rpi1 [52.5 kB]
Get:121 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf klibc-utils armhf 2.0.6-1+rpi1 [87.1 kB]
Get:122 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf initramfs-tools-core all 0.133+deb10u1 [99.2 kB]
Get:123 http://archive.raspberrypi.org/debian buster/main armhf firmware-brcm80211 all 1:20190114-1+rpt7 [4,457 kB]
Get:124 http://mirror.datamossa.io/raspbian buster/main armhf linux-base all 4.6 [32.4 kB]
Get:125 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf initramfs-tools all 0.133+deb10u1 [69.7 kB]
Get:126 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libarchive13 armhf 3.3.3-4+deb10u1 [271 kB]
Get:127 http://archive.raspberrypi.org/debian buster/main armhf firmware-libertas all 1:20190114-1+rpt7 [3,423 kB]
Get:128 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libisc-export1100 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [360 kB]
Get:129 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libdns-export1104 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1 [871 kB]
Get:130 http://archive.raspberrypi.org/debian buster/main armhf firmware-misc-nonfree all 1:20190114-1+rpt7 [3,070 kB]
Get:131 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libglib2.0-data all 2.58.3-2+deb10u2 [1,110 kB]
Get:133 http://archive.raspberrypi.org/debian buster/main armhf firmware-realtek all 1:20190114-1+rpt7 [495 kB]
Get:134 http://archive.raspberrypi.org/debian buster/main armhf libdrm-amdgpu1 armhf 2.4.100-4+rpi1bpo10+1 [26.9 kB]
Get:135 http://archive.raspberrypi.org/debian buster/main armhf libdrm-nouveau2 armhf 2.4.100-4+rpi1bpo10+1 [24.8 kB]
Get:136 http://archive.raspberrypi.org/debian buster/main armhf libdrm-radeon1 armhf 2.4.100-4+rpi1bpo10+1 [29.0 kB]
Get:137 http://archive.raspberrypi.org/debian buster/main armhf libllvm9 armhf 1:9.0.1-6+rpi1bpo10+1 [13.1 MB]
Get:132 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libncursesw5 armhf 6.1+20181013-2+deb10u2 [94.3 kB]
Get:138 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libtinfo5 armhf 6.1+20181013-2+deb10u2 [309 kB]
Get:139 http://mirror.datamossa.io/raspbian buster/main armhf libpango-1.0-0 armhf 1.42.4-8deb10u1 [169 kB]
Get:140 http://mirror.datamossa.io/raspbian buster/main armhf libpangoft2-1.0-0 armhf 1.42.4-8deb10u1 [62.3 kB]
Get:141 http://mirror.datamossa.io/raspbian buster/main armhf libpangocairo-1.0-0 armhf 1.42.4-8deb10u1 [52.0 kB]
Get:142 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libss2 armhf 1.44.5-1+deb10u3 [71.0 kB]
Get:143 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf libxmuu1 armhf 2:1.1.2-2+b3 [23.4 kB]
Get:144 http://archive.raspberrypi.org/debian buster/main armhf libgl1-mesa-dri armhf 19.3.2-1bpo10+1rpt1 [5,550 kB]
Get:145 http://mirror.datamossa.io/raspbian buster/main armhf python-apt-common all 1.8.4.1 [95.7 kB]
Get:146 http://mirror.datamossa.io/raspbian buster/main armhf python3-apt armhf 1.8.4.1 [167 kB]
Get:147 http://archive.raspberrypi.org/debian buster/main armhf libpam-chksshpwd armhf 1.3.1-5+rpt2 [81.7 kB]
Get:148 http://archive.raspberrypi.org/debian buster/main armhf raspberrypi-sys-mods armhf 20200514 [10.6 kB]
Get:149 http://archive.raspberrypi.org/debian buster/main armhf pi-bluetooth all 0.1.13 [4,908 B]
Get:150 http://archive.raspberrypi.org/debian buster/main armhf rpi.gpio-common armhf 0.7.0-0.1bpo10+1 [5,776 B]
Get:151 http://archive.raspberrypi.org/debian buster/main armhf python-rpi.gpio armhf 0.7.0-0.1~bpo10+1 [20.8 kB]
Get:152 http://archive.raspberrypi.org/debian buster/main armhf raspi-config all 20200707 [26.4 kB]
Get:153 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom-images all 7.8-1 [6,112 B]
Get:154 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom all 7.8-1 [316 kB]
Get:155 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf rpcbind armhf 1.2.5-0.3+deb10u1 [41.2 kB]
Get:156 http://archive.raspberrypi.org/debian buster/main armhf rpi-update all 20200409 [7,488 B]
Get:157 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf sudo armhf 1.8.27-1+deb10u2 [1,201 kB]
Get:158 http://mirror.internode.on.net/pub/raspbian/raspbian buster/main armhf wpasupplicant armhf 2:2.7+git20190128+0c1e29f-6+deb10u2 [1,008 kB]
Fetched 258 MB in 2min 11s (1,968 kB/s)

@TxBillbr
Copy link

TxBillbr commented Aug 2, 2020

The biggest thing I see is that the xwindow system is not running at all. I suspect that the desktop components are missing because the octopi image is built without them as a headless system.

@Gadgetoid
Copy link
Member

In all cases it's worth first trying the Kernel 5.4.51 fixes in #89

git clone https://github.com/pimoroni/hyperpixel4 -b pi4-64bit-beta
cd hyperpixel4
sudo ./install.sh

I believe OctoPi is academic in this case, since these same problems occur on stock Raspberry Pi OS when updating.

@mikenosko
Copy link

the pi4-64bit-beta fixes the blank screen issue but now i can't seem to able to turn the screen off! i know...

tried xset force off editing /sys/class/... bl_power/brightness even gpio toggle 24 (tbh didn't check if the command actually toggled the pin or if its the right pin - should be BCM19?) but none of these work for me

@Gadgetoid
Copy link
Member

You're a step ahead of me! I'm just updating my non-64bit OctoPi image now. IIRC I had backlight working via the /sys/class interface, but the whole shebang is nothing if not a miserable mess when it comes to display power management.

The dtoverlay still sets up the backlight module, and the /sys/class interface being present is a good sign.

The backlight pin is BCM 19.

@Gadgetoid
Copy link
Member

Gadgetoid commented Aug 3, 2020

Just before I reboot with the new updates, I can confirm on Kernel 4.19.75-v7l+ with these new changes to the HP4 overlay that the following works:

Backlight off: echo 1 | sudo tee /sys/class/backlight/rpi_backlight/bl_power
Backlight on: echo 0 | sudo tee /sys/class/backlight/rpi_backlight/bl_power

And yes, as of the updates and Kernel 5.4.51-v7l+ these commands no longer work.

big sigh

Looks like a fix is incoming- raspberrypi/linux#3767 (DON'T run rpi-update, just wait for a new official release- otherwise you might just fix one thing and break ten others)

If I had more time, I'd probably do more thorough testing with pre-release kernels and catch these kind of problems before they're released into the mainstream.

@Gadgetoid Gadgetoid changed the title hyperpixel 4.0 screen blank running octoprint on a Raspberry Pi 4.0 8gb hyperpixel 4.0 screen blank running octoprint on a Raspberry Pi 4.0 8gb (kernel 5.4.51 bug) Aug 3, 2020
@Gadgetoid Gadgetoid added the bug Something isn't working label Aug 3, 2020
@TxBillbr
Copy link

TxBillbr commented Aug 3, 2020

I have been running 32-bit (waiting to take on yet another early system). For that I have published a my work-around for the 32-bit space. See https://github.com/TxBillbr/octodash-hyperpixel-fix . the 3Dprinting community is rapidly adopting OctoDash running on a pi screen and the HyperPixel has been difficult for a number of people. The work-around has been tested on 4.19.118. and I am testing 5.4 today.

@reneb86
Copy link

reneb86 commented Aug 3, 2020

Issue #88 has been marked as being a duplicate of this, but reading the thread, this seems to be focusing on there being a bug in how it runs on the 64bit version of Raspberry OS. But right now I'm seeing how 2x Pi4@2G and 2x Pi4@4G are all crashing whenever I do:

    • fresh flash of Raspberry OS (32bit) using Pi imager
    • sudo apt-get upgrade
    • hyperpixel4 install via curl

The only way it works is if I skip step 2. Something in the upgrade is breaking things, and #88 describes it better. Pi3B has no issues whatsoever even when upgrading.

TxBillbr I'm keen to try out your workaround tomorrow and see if that solves my issue.

My test setup for whoever is interested (4x Pi3B, 2x Pi4@2G, 2x Pi4@4G): pic

@TxBillbr
Copy link

TxBillbr commented Aug 3, 2020

I upgraded to 5.4 kernel and the solution breaks. Here are the dmesg lines for Goodix...
[ 5.366547] Goodix-TS 11-005d: 11-005d supply AVDD28 not found, using dummy regulator
[ 5.366659] Goodix-TS 11-005d: 11-005d supply VDDIO not found, using dummy regulator
[ 5.367419] Goodix-TS 11-005d: i2c test failed attempt 1: -6
[ 5.401870] Goodix-TS 11-005d: i2c test failed attempt 2: -6
[ 5.441050] Goodix-TS 11-005d: I2C communication failure: -6
[ 5.441466] Goodix-TS 11-0014: 11-0014 supply AVDD28 not found, using dummy regulator
[ 5.441597] Goodix-TS 11-0014: 11-0014 supply VDDIO not found, using dummy regulator
[ 5.443533] Goodix-TS 11-0014: ID 911, version: 1060
[ 5.466113] input: Goodix Capacitive TouchScreen as /devices/platform/i2c@0/i2c-11/11-0014/input/input0

Linux octopi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux

Goodix shows loaded by lsmod with zero use count: goodix 20480 0

i2c is /dev/i2c-11

@TxBillbr
Copy link

TxBillbr commented Aug 3, 2020

Same problem as @mikenosko. Only difference is pi revision C03111
For grins I did an rpi-update to the commit that bumped the kernel to 4.19.118 and the screen runs correctly. (commit e1050e9482)

@Gadgetoid
Copy link
Member

@TxBillbr in my case I have Linux octopi 5.4.51-v7l+ #1331 SMP Fri Jul 31 16:51:51 BST 2020 armv7l and touch input is working correctly.

If you're running HyperPixel4 on a Pi 4 you might be running into the race condition on startup that causes the touchscreen to swap i2c address. You should try the patch-pi4-i2c-fix branch which has both the i2c fix and Kernel 5.x fixes- https://github.com/pimoroni/hyperpixel4/tree/patch-pi4-i2c-fix

@Gadgetoid
Copy link
Member

@reneb86 it is my understanding that the problem, and solution, for both Pi 4 64bit and 32bit are the same. I've confirmed this on a Pi 4 4GB using both the OctoPi 64bit beta and latest OctoPi 32bit release.

For anyone wanting to try the fix, this is the version without the weird i2c glitch fix:

git clone https://github.com/pimoroni/hyperpixel4 -b pi4-64bit-beta
cd hyperpixel4
sudo ./install.sh

And if touch doesn't work for you, remove that clone, remove dtoverlay=hyperpixel4 from /boot/config.txt and run the i2c-fix version of the installer:

git clone https://github.com/pimoroni/hyperpixel4 -b patch-pi4-i2c-fix
cd hyperpixel4
sudo ./install.sh

You can check which i2c address the touchscreen is using:

sudo modprobe i2c-dev
ls /dev/i2c-*
i2cdetect -y <number of i2c bus found above>

It will be either 0x14 or 0x54.

To re-iterate above there is currently an issue with the backlight control kernel module on the released version of kernel 5.4.51. We'll have to sit tight for a fix to that.

@TxBillbr
Copy link

TxBillbr commented Aug 5, 2020

@Gadgetoid#4451, I did a full gamut of testing with the patch branch and it seems that applying the installation on a 4.x kernel machine and then upgrading still breaks the solution (yields a black screen, no backlight). Running it on a clean installed Raspian 5.4-based image seems to work well. In the upgrade scenario I get no i2c ports and no DSI shows up. The /devices tree does have the i2c input assigned. doing the modprobe and looking at i2c, the screen is at 0x14. xrandr sees no screen to manage. On shutdown I get a quick glimpse of the kernel shutdown messaging. So something is running that prevents the operation of the screen. As soon as that is killed the screen operates for a split second before it is killed too. I have a video of it if that is useful. I tried with vc4-fkms-v3d both enabled and disabled with the same results. I am on roughly the same version of kernel ( 5.4.51-v7l+ #1327). Tomorrow, I'll take a peek to see what has changed between 1327 and 1331.

pi@octopi:~ $ dmesg | grep Goodix
[ 6.023807] Goodix-TS 11-0014: 11-0014 supply AVDD28 not found, using dummy regulator
[ 6.023933] Goodix-TS 11-0014: 11-0014 supply VDDIO not found, using dummy regulator
[ 6.025951] Goodix-TS 11-0014: ID 911, version: 1060
[ 6.048953] input: Goodix Capacitive TouchScreen as /devices/platform/i2c@0/i2c-11/11-0014/input/input11

dbgmessages.zip
Latest /var/log/messages with exception

It's getting late. I will start in on it first thing a.m. US Central time.

@Gadgetoid
Copy link
Member

@TxBillbr ah! You've set the little rusty cogs in my brain in motion and a thought has clicked into place-

Insofar as I understand, a dtoverlay may be compiled differently depending upon the running kernel. This means the overlay compiled against 4.x, and unmanaged by the official upstream kernel packages, will sit unchanged during the upgrade to 5.x and ultimately be incompatible. D'oh!

The correct fix here is for us to upstream our dtoverlay so that a new version is installed for each kernel update. There's a small hitch here in that our i2c-compatibility fudge probably wouldn't meet the scrutiny for upstream inclusion. This is something I haven't pushed for before, but I'm going to look into it now.

The other problem with upstream is it's generally a much slower process to get a modified dtoverlay through the pipeline and onto a users Pi. I don't think our dtoverlays change all that much though, so perhaps that isn't a problem. Maybe also there's a more immediate fix to this to catch issues during upgrades... but I'm not sure.

Thank you for your thorough testing!

@TxBillbr
Copy link

TxBillbr commented Aug 5, 2020

@Gadgetoid Just did an rpi-update and the kernel 5.4.51-v7l+ #1332.. Screen is on! Rotation and i2c don't appear to be correct, but continuing tests. X and Y are swapped, but we have a cursor.

@tusing
Copy link

tusing commented Aug 9, 2020

For anyone wanting to try the fix, this is the version without the weird i2c glitch fix:

git clone https://github.com/pimoroni/hyperpixel4 -b pi4-64bit-beta
cd hyperpixel4
sudo ./install.sh

And if touch doesn't work for you, remove that clone, remove dtoverlay=hyperpixel4 from /boot/config.txt and run the i2c-fix version of the installer:

git clone https://github.com/pimoroni/hyperpixel4 -b patch-pi4-i2c-fix
cd hyperpixel4
sudo ./install.sh

You can check which i2c address the touchscreen is using:

sudo modprobe i2c-dev
ls /dev/i2c-*
i2cdetect -y <number of i2c bus found above>

It will be either 0x14 or 0x54.

To re-iterate above there is currently an issue with the backlight control kernel module on the released version of kernel 5.4.51. We'll have to sit tight for a fix to that.

Just did an apt full-upgrade (now running kernel 5.4.51-v7l+ #1327), and got the problem in this thread after. My display is still completely black after running these steps. Any idea on how the issue can be further debugged?

@Gadgetoid
Copy link
Member

@tusing if you've used the patch-pi4-i2c-fix make sure you don't have dtoverlay=hyperpixel4 in your /boot/config.txt- you should have hyperpixel4-common and the two i2c address overlays instead. It imght be that these are conflicting and breaking it for you.

@tusing
Copy link

tusing commented Aug 11, 2020

@tusing if you've used the patch-pi4-i2c-fix make sure you don't have dtoverlay=hyperpixel4 in your /boot/config.txt- you should have hyperpixel4-common and the two i2c address overlays instead. It imght be that these are conflicting and breaking it for you.

Thanks @Gadgetoid - I already did that though. Here's what I did:

  • git fetch
  • git checkout origin/pi4-64bit-beta && sudo ./install.sh
  • git checkout origin/patch-pi4-i2c-fix && sudo ./install.sh
  • Comment out dtoverlay=hyperpixel4 in boot.txt

Here is my /config/boot.txt now:

$ sudo cat /boot/config.txt | grep -v '#' | cat -s

dtparam=audio=on

[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]

enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6

dtoverlay=hyperpixel4-common
dtoverlay=hyperpixel4-0x14
dtoverlay=hyperpixel4-0x5d

While the backlight is on, unfortunately I still have a black screen :(

Edit: Commenting out the items under pi4 did the trick. Unfortunately, now, rotation doesn't seem to work (#87).

@Gadgetoid
Copy link
Member

If you're not building from a fresh GitHub directory be careful that the dtoverlay files might not regenerate- you should remove *.dtbo files from dist/ and try building again. This caught me and I probably need to force rebuild in all cases.

@Gadgetoid
Copy link
Member

I have now merged #89 and #92 to hopefully head off some more instances of this issue.

Anyone who has upgraded from Kernel 4.x to 5.x will need to re-run the HyperPixel 4 installer.

@TxBillbr
Copy link

@Gadgetoid Thanks for all your efforts on this. I have updated my OctoDash document to reflect the current state. https://github.com/TxBillbr/octodash-hyperpixel-fix

@Gadgetoid
Copy link
Member

@TxBillbr thanks for all your feedback & support here. Though I think I'm far from done with this cursed display 😆

I guess my next port of call for this is to see how much of the HyperPixel 4 driver I can get upstreamed so we don't have a repeat of this issue with another kernel release.

@mikenosko
Copy link

FYI - With the rpi kernel now updated and having the updated overlays (ie reinstalling hyperpixel4 pi4-i2c-fix branch) this seems to work OK now.

editing /sys/class/backlight/rpi_backlight/bl_power works, vcgencmd display_power [1,0] 0 turns on/off the display but not the backlight(?) and Xwindows turns the display off after a minute like i have it set.

didn't try the rotation as it already displays right for me...

thanks @Gadgetoid!

@carcamerarig
Copy link

I have this same issue where the screen is blank with a small fixed cusor top left screen, Pi4b 8gb 4" hyperpixel and loaded up 18.1 beta. Dcustom Carlin has been helping me but we are now properly stuck, did this issue ever get resolved?

Thanks guys
Justin

@carcamerarig
Copy link

video-1600630855.mp4.zip
Here's a quick preview on boot up

@divinenanny
Copy link

divinenanny commented Sep 29, 2020

While I now have a picture again (after removing all old hyperpixel stuff and running the install from the branch patch-pi4-i2c-fix), it flickers in lines. As if the image is moving quickly from top to bottom and leaving some artifacts on the screen. Touch works, backlight works.

My setup:
OS: Raspbian GNU/Linux 10 (buster) armv7l
Host: Raspberry Pi 4 Model B Rev 1.1
Kernel: 5.4.51-v7l+
Hyperpixel 4 Rectangle (in default rotation)

My /boot/config.txt:
dtoverlay=hyperpixel4-common
dtoverlay=hyperpixel4-0x14
dtoverlay=hyperpixel4-0x5d
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6

@morphias2004
Copy link

@TxBillbr thanks for all your feedback & support here. Though I think I'm far from done with this cursed display 😆

I guess my next port of call for this is to see how much of the HyperPixel 4 driver I can get upstreamed so we don't have a repeat of this issue with another kernel release.

@Gadgetoid

Are you able to provide an update on this issue?

I imagine a lot of users, my self included; have been holding off on running updates on our Pi's becuase we'll lose our displays.

Pimoroni really need to get this sorted because they are still selling the screens with no bulletin to new owner's that their screens are not going to work.

@TxBillbr
Copy link

I'll try to spend some time this week to update my pi4s with latest code and os updates to determine latest status from my side.

@morphias2004
Copy link

I'll try to spend some time this week to update my pi4s with latest code and os updates to determine latest status from my side.

Hi @TxBillbr ,

Any updates on how you went.

I know there are a bunch of us waiting to run updates on our Pi4's to fix/allow updating of other Octoprint related plugins, etc.

@TxBillbr
Copy link

Sorry, I haven't gotten to it. I've been sidelined with some health issues for a few weeks. I'll do my best to get to that as soon as possible.

@morphias2004
Copy link

Hi @TxBillbr

Can we please have an update on this?

@TxBillbr
Copy link

TxBillbr commented Nov 28, 2020 via email

@kronflux
Copy link

Has there since been any progress on this? Running out of options and may have to return screen..

@TxBillbr
Copy link

TxBillbr commented May 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
10 participants