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
Hyperpixel4 and 64-bit Ubuntu #95
Comments
I'm afraid I'm totally at a loss here. I've never seen a display so completely whacky. I recognise some Ubuntu-ish colours in there... but that's about it. Do you have a link to the OS image you used? I could at least try to duplicate this. |
I used the latest image from Raspberry Pi Imager - 64-bit Server 20.04.1 LTS with 5.4 kernel. I did a fresh installation, added RPi.GPIO and turned off I2C, SPI and UART in syscfg.txt. I had to manually add config lines from install.sh (-b pi4-64bit-beta) to config.txt and everything seems to be working pretty much out of the box - the screen and touch are responding, but the actual video output is messy. I tried using the hyperpixel4-init code from other branches, but it had no impact. |
Did you install a desktop environment? |
Yes, I tried ubuntu-desktop and ubuntu-unity-desktop on different installations with lightdm. Same result. |
Oh boy I'm not getting very far very quickly with this. The installer is so broken on Ubuntu that I'm surprised you're getting anywhere. I'm just passed the hyperpixel-init-being-broken stage 😆 and built the libgpio init instead. The libgpiod version should work, though it's missing the latest init tweaks. Installing ubuntu-desktop because I'm presently seeing nothing on the display. |
Okay genius me didn't disable i2c, spi and UART- really off to a good start! Now I am seeing a desktop login prompt! Here's my config:
I'm using the init from the pi4-libgpiod branch. You'll need Touch presently not working- so might have to use the touch fix branch. |
Thanks a lot for checking. Turns out it was a hardware issue. I got a replacement today and tried the 64bit-beta branch again. Everything works well - display, rotation and touch. Install.sh is broken, but it is easy to fix -> manually add lines to config.txt and install RPio and python-is-python3 packages. Just in case, decided to use hyperpixel4-init from the pi4 branch. |
Hello @Gadgetoid It's great to see your Ubuntu booting screen. I would like to know if you can share with us which Image you used and steps you take in order to reach to that config. |
Hello, I managed to get the installer script to work on a fresh install of Ubuntu Mate 64-bit 20.04.1. my changes can be found here: https://github.com/Arudinne/hyperpixel4/tree/pi4-ubuntu-mate The following packages needed to be installed via apt-get first: rpi.gpio The only thing that doesn't seem to work as it should is restoring the LCD's rotation after a reboot (touch screen config seems fine). I thought I managed to resolve that by adding the following line to /etc/lightdm/lightdm.conf: display-setup-script=/usr/share/dispsetup.sh but upon testing with a clean install the pi seems stuck in a boot loop after I added that line. Everything else worked before that. Apologies if any of this isn't exactly best practice, I'm not really a Linux expert, I know just enough to break stuff. Edit; I did another clean install and the edit to /etc/lightdm/lightdm.conf seems to be working as it should. I must have messed something else up elsewhere. |
I had the same issue when I compiled a 32bit driver (pi4 branch) for 64-bit Ubuntu Server. I used the 64bit-beta branch and replaced the content of hyperpixel4-init from the pi4 branch. Also, I made same changes as @Gadgetoid in config files (config.txt and usercfg.txt). There are still some issues (see screenshots below), but not sure whether they are software or hardware related. Here is my setup. I only tested the 64-bit server image.
|
I started with the pi4-i2c-fix branch and had zero issues with the touchscreen that I could see. I do seem to have that corona around the LCD even after shutting it down (While power is still applied). I just installed the 32-bit version of Raspberry Pi OS using the imager and ran the installer (pi4-i2c-fix) and it seems fine now so it doesn't seem like a hardware issue. |
I tried following the steps some of you did, but could see either the
ubuntu login screen or anything else...
El mié., 2 sept. 2020 a las 9:57, Arudinne (<notifications@github.com>)
escribió:
… I started with the pi4-i2c-fix branch and had zero issues with the
touchscreen.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGURAAXEISNUW2FI4LHIQLSDY6MLANCNFSM4QGEQDEQ>
.
--
Ezequiel L. Aceto
https://eaceto.dev
Skype: ezequiel.aceto - Twitter: @eaceto_dev
|
Great! Which branch are you using? Is Ubuntu 64bits?
On Sun, 29 Nov 2020 at 17:07 Michael Mogenson ***@***.***> wrote:
Just wanted to mention that I've had a good experience with this display +
Pi 400 + Ubuntu 20.10 + Phosh + Wayland.
The orientation and scale can be set through the UI or from the command
line via: wlr-randr --output DSI-1 --scale 1 --transform 90. Touch
follows the rotation correctly.
[image: phosh]
<https://user-images.githubusercontent.com/900731/100552243-f5a77980-3253-11eb-80b8-dbe79b2dda33.jpg>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGURAAVMH3GIF2X5766LQ3SSKSWJANCNFSM4QGEQDEQ>
.
--
Ezequiel L. Aceto
https://eaceto.dev
Skype: ezequiel.aceto - Twitter: @eaceto_dev
|
Yep. |
That's bloody brilliant! Would you mind share the full how-to with us?
…On Sun, 29 Nov 2020, 17:20 Michael Mogenson, ***@***.***> wrote:
Yep.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGURAEH42M56XE6TPIEJPTSSKUJHANCNFSM4QGEQDEQ>
.
|
I just got this up and running after quite a bit of time and wanted to share my steps in case it could help others. Goal: Cyberdeck with Raspi400 & hyperpixel4 touch with Ubuntu Desktop (21.10) Some prerequisites: sudo apt-get update
sudo apt-get upgrade #this was important to get the i2c to work correctly
sudo apt get install rpi.gpio python-is-python3
/boot/firmware/config.txt
This got me to a screen that worked, but was the incorrect cyber deck rotation. I tried Also it wasn't obvious to me reading some of the debugging tips but when you run |
Wow! Congrats!!! hope this can get into the official doc! |
For what it is worth I got it to work on Ubuntu 22.04.1 64bit (including rotation) with help from Tristan above (thanks a lot) and another forum thread focusing on Raspberry Pi OS. Here is what worked for me: It is important to update-upgrade before updating config.txt, otherwise it will be overwritten (which I learned the hard way):
Change these lines:
Add these lines at the end of the file:
Save, reboot and it works... |
did you get the login screen to rotate? |
Hi all,
I understand that 64-bit Ubuntu Server is not supported, but just wanted to understand if it is possible to fix the issue below. I installed hyperpixel4 -b 64bit-beta drivers and managed to get to a point where the driver seems to be loading, the touch is working and there is video output, but there seems to be some issues with timings? Or maybe something more advanced? Thanks
config.txt
arm_64bit=1
device_tree_address=0x03000000
#dtoverlay=vc4-kms-v3d
dtoverlay=hyperpixel4
#gpio=0-25=a2
#gpio=19=op,dh
#overscan_left=0
#overscan_right=0
#overscan_top=0
#overscan_bottom=0
#framebuffer_width=800
#framebuffer_height=480
enable_dpi_lcd=1
display_default_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
The text was updated successfully, but these errors were encountered: