-
-
Notifications
You must be signed in to change notification settings - Fork 5
AnyBeam HAT Configuration for Bookworm #33
Copy link
Copy link
Open
Description
Hey, so the dpi24 overlay has been fully deprecated in Raspbian; it's necessary to use the vc4-kms-dpi-generic driver now. Several hours of ripping hair out later, and I found that the following configuration for it will work for Mode 1; I'm not putting a soldering iron to my board to get it working for Modes 2-4, but if someone wants to, I can give pointers as to how I got this timing working. I suspect bgr666 will work out-of-the-box for modes 2-4, since the timings should be the same, and since the DTS difference, like the old dpi_output_format values, are only one bit apart from one another.
Anyway, here's the Mode 1 config:
# vc4-kms-v3d driver is necessary
dtoverlay=vc4-kms-v3d
# Optionally, disable HDMI output
#dtparam=nohdmi
# Configure for 1280x720@60Hz progressive
# This is similar to DMT group 2, mode 0x55, but with 40 pixels traded from back porch to front
# The original 0x55 config - `hfp=110,hsync=40,hbp=220` - left the desktop with 40 pixels on the left
# that belonged to the right side of the screen.
dtoverlay=vc4-kms-dpi-generic
dtparam=hactive=1280,hfp=150,hsync=40,hbp=180
dtparam=vactive=720,vfp=5,vsync=5,vbp=20
dtparam=clock-frequency=74250000,bgr888
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels