eleclab-rpi / 5INCH_DPI_DISPLAY

7 stars 2 forks source link

no display on Ubuntu Server 24.04 #5

Open KwisatzJim opened 4 months ago

KwisatzJim commented 4 months ago

I installed a fresh copy of Ubuntu Server 24.04 and get no display.
If I do all the suggested things in your config.txt it won't boot at all. if I unplug it and plug it in it gets the splash screen but If I take out:

#dtoverlay=vc4-fkms-v3d
gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2
dtoverlay=dpi24
dpi_group=2
dpi_mode=87
dpi_output_format=0x78216

then it will boot but no display

there are parameters in 24.04 that weren't in 22.04.

In order to get the display to work I have to shutdown and then boot, but with the following full config.txt I have now:

[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

[pi4]
max_framebuffers=2
arm_boost=1

[all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
#dtparam=audio=on
dtparam=i2c_arm=on
#dtparam=spi=on
dtparam=i2c0=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2

# Enable the serial pins
enable_uart=1

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
#camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2

# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS)
#dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1

[pi3+]
# Use a smaller contiguous memory area, specifically on the 3A+ to avoid an
# OOM oops on boot. The 3B+ is also affected by this section, but it shouldn't
# cause any issues on that board
#dtoverlay=vc4-kms-v3d,cma-128

[pi02]
# The Zero 2W is another 512MB board which is occasionally affected by the same
# OOM oops on boot.
#dtoverlay=vc4-kms-v3d,cma-128

[all]

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
#dtoverlay=dwc2,dr_mode=host

[all]
dtoverlay=eleclab-dpi5inch

What changes are needed to get the display to work on reboot?

KwisatzJim commented 4 months ago

I forgot to re-enable dtoverlay=vc4-kms-v3d after going through your recommendations and then removing them as they didn't work 🤦🏻‍♂️

eleclab-rpi commented 4 months ago

OK, dtoverlay=vc4-fkms-v3d Have you tried it? I found several configurations of the original ubuntu21.10.

@.***

From: Jim Kelley Date: 2024-06-30 06:49 To: eleclab-rpi/5INCH_DPI_DISPLAY CC: Subscribed Subject: Re: [eleclab-rpi/5INCH_DPI_DISPLAY] no display on Ubuntu Server 24.04 (Issue #5) I forgot to re-enable dtoverlay=vc4-kms-v3d after going through your recommendations and then removing them as they didn't work ������‍♂️ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

KwisatzJim commented 4 months ago

it's not working again. Tried dtoverlay=vc4-fkms-v3d and it's not working either. no display on reboot

KwisatzJim commented 4 months ago

re-opening issue as issue is still ongoing

KwisatzJim commented 3 months ago

this seems to have fixed it: dtparam=spi=on

KwisatzJim commented 2 months ago

this seems to have fixed it: dtparam=spi=on

and now not even that fixes the issue

KwisatzJim commented 2 months ago

@eleclab-rpi any update on how to get this working?