Quantcast
Viewing all articles
Browse latest Browse all 3790

Troubleshooting • Re: BookWorm - Pi Zero2W [] Display Rotate and Overscan

How did you enable your DPI display? the 'rotate' parameter in the dpi-generic overlay should happily do that for you.
Which display is it?
Why do you need overscan? Are you sure your display timing is o.k.?

Code:

vc4-kms-dpi-genericInfo:   Enable a generic DPI display under KMS. Default timings are for the        Adafruit Kippah with 800x480 panel and RGB666 (GPIOs 0-21)        Requires vc4-kms-v3d to be loaded.Load:   dtoverlay=vc4-kms-dpi-generic,<param>=<val>Params: clock-frequency         Display clock frequency (Hz)        hactive                 Horizontal active pixels        hfp                     Horizontal front porch        hsync                   Horizontal sync pulse width        hbp                     Horizontal back porch        vactive                 Vertical active lines        vfp                     Vertical front porch        vsync                   Vertical sync pulse width        vbp                     Vertical back porch        hsync-invert            Horizontal sync active low        vsync-invert            Vertical sync active low        de-invert               Data Enable active low        pixclk-invert           Negative edge pixel clock        width-mm                Define the screen width in mm        height-mm               Define the screen height in mm        rgb565                  Change to RGB565 output on GPIOs 0-19        rgb565-padhi            Change to RGB565 output on GPIOs 0-8, 12-17, and                                20-24        bgr666                  Change to BGR666 output on GPIOs 0-21.        bgr666-padhi            Change to BGR666 output on GPIOs 0-9, 12-17, and                                20-25        rgb666-padhi            Change to RGB666 output on GPIOs 0-9, 12-17, and                                20-25        bgr888                  Change to BGR888 output on GPIOs 0-27        rgb888                  Change to RGB888 output on GPIOs 0-27        bus-format              Override the bus format for a MEDIA_BUS_FMT_*                                value. NB also overridden by rgbXXX overrides.        backlight-gpio          Defines a GPIO to be used for backlight control                                (default of none).        backlight-pwm           Defines a PWM channel to be used for backlight                                control (default of none). NB Disables audio                                headphone output as that also uses PWM.        backlight-pwm-chan      Choose channel on &pwm node for backlight                                control.                                (default 0).        backlight-pwm-gpio      GPIO pin to be used for the PWM backlight. See                                pwm-2chan for valid options.                                (default 18 - note this can only work with                                 rgb666-padhi).        backlight-pwm-func      Pin function of GPIO used for the PWM                                backlight.                                See pwm-2chan for valid options.                                (default 2).        backlight-def-brightness                                Set the default brightness. Normal range 1-16.                                (default 16).        rotate                  Display rotation {0,90,180,270} (default 0)        rgb-order               Allow override of RGB order from DPI.                                Options for vc4 are "rgb", "bgr", "grb", and                                "brg". Other values will be ignored.

Statistics: Posted by aBUGSworstnightmare — Fri Oct 18, 2024 8:46 am



Viewing all articles
Browse latest Browse all 3790

Trending Articles