Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5460

Troubleshooting • Re: Waveshare 7" DPI + RPi Zero W - display not working

$
0
0
The legacy driver with config.txt shown above works in all modes.

This one with kms-generic also works for X (GUI), but some modes are messed up (e.g. showing only partially or not at all - e.g. text console boot is not visible - which is just a detail):

Code:

# For more options and information see# http://rpf.io/configtxt# Some settings may impact device functionality. See link above for details# uncomment if you get no picture on HDMI for a default "safe" mode#hdmi_safe=1# uncomment the following to adjust overscan. Use positive numbers if console# goes off screen, and negative if there is too much border#overscan_left=16#overscan_right=16#overscan_top=16#overscan_bottom=16# uncomment to force a console size. By default it will be display's size minus# overscan.#framebuffer_width=1280#framebuffer_height=720# uncomment if hdmi display is not detected and composite is being output#hdmi_force_hotplug=1# uncomment to force a specific HDMI mode (this will force VGA)#hdmi_group=1#hdmi_mode=1# uncomment to force a HDMI mode rather than DVI. This can make audio work in# DMT (computer monitor) modes#hdmi_drive=2# uncomment to increase signal to HDMI, if you have interference, blanking, or# no display#config_hdmi_boost=4# uncomment for composite PAL#sdtv_mode=2#uncomment to overclock the arm. 700 MHz is the default.#arm_freq=800# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Uncomment this to enable infrared communication.#dtoverlay=gpio-ir,gpio_pin=17#dtoverlay=gpio-ir-tx,gpio_pin=18# Additional overlays and parameters are documented /boot/overlays/README# Enable audio (loads snd_bcm2835)dtparam=audio=on# Automatically load overlays for detected camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Disable compensation for displays with overscandisable_overscan=0[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[all][pi4]# Run as fast as firmware / board allowsarm_boost=1[all][pi4]###works#dpi_timings=1024 1 40 48 128 600 1 13 3 45 0 0 0 60 0 37000000 6###testdpi_timings=1024 1 40 48 128 600 1 13 3 45 0 0 0 60 0 37000000 6[all]#dtoverlay=dpi24dtoverlay=vc4-kms-dpi-generic## start testdtparam=clock-frequency=37000000# display is using DPI mode6 = default of dpi-genericdtparam=width-mm=154,height-mm=86dtparam=hactive=1024,hfp=40,hsync=48,hbp=128dtparam=vactive=600,vfp=13,vsync=3,vbp=45### end testenable_dpi_lcd=1display_default_lcd=1dpi_group=2dpi_mode=87dpi_output_format=0x6f005hdmi_cvt 1024 600 60 6 0 0 0disable_overscan=0gpu_mem=64
So I'll just use legacy, because it just works.

Statistics: Posted by dusoft — Fri Apr 12, 2024 7:33 am



Viewing all articles
Browse latest Browse all 5460

Trending Articles