Hi,
I am using a Waveshare 4.3" QLED DSI display with my Raspberry Pi 5.My config.txt:When I boot the Pi, the display appears to work, I can see the terminal on the screen. ( Pi OS Lite )
However my application I am trying to do a DRM preview, but I do not see the DSI display?kmsblank and kmstest both work, I can see the display update and show the appropriate output. What can I do to fix this?
I want to see a preview of a Raspberry Pi Camera on the display, but in the current state it is not possible.
I am using a Waveshare 4.3" QLED DSI display with my Raspberry Pi 5.
Code:
pi@raspberrypi:~ $ sudo uname -r6.6.32-v8-16k+
Code:
pi@raspberrypi:~ $ cat /boot/firmware/config.txt # For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected cameras#camera_auto_detect=1#dtoverlay=imx585,cam0dtoverlay=imx477,pi5,cam0# Automatically load overlays for detected DSI displays#display_auto_detect=0# dtoverlay=vc4-kms-dsi-waveshare-panel,4_0_inch# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2dtoverlay=vc4-kms-dsi-7inch# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Run in 64-bit modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[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]arm_freq=3050gpu_freq=1100force_turbo=1
However my application I am trying to do a DRM preview, but I do not see the DSI display?
Code:
pi@raspberrypi:~ $ modeprint vc4Starting testResourcescount_connectors : 2count_encoders : 4count_crtcs : 4count_fbs : 0Connector: HDMI-A-1 id : 32 encoder id : 0 conn : disconnected size : 0x0 (mm) count_modes : 0 count_props : 13 props : 1 2 5 6 4 37 33 34 35 36 38 7 39 count_encoders : 1 encoders : 31Connector: HDMI-A-2 id : 41 encoder id : 0 conn : disconnected size : 0x0 (mm) count_modes : 0 count_props : 13 props : 1 2 5 6 4 42 33 34 35 36 43 7 44 count_encoders : 1 encoders : 40Encoder: TMDS id :31 crtc_id :0 type :2 possible_crtcs :0x4 possible_clones :0x1Encoder: TMDS id :40 crtc_id :0 type :2 possible_crtcs :0x8 possible_clones :0x2Encoder: Virtual id :56 crtc_id :0 type :5 possible_crtcs :0x1 possible_clones :0x4Encoder: Virtual id :73 crtc_id :0 type :5 possible_crtcs :0x2 possible_clones :0x8Crtc id : 55 x : 0 y : 0 width : 0 height : 0 mode : 0x55555cf4cdfc gamma size : 0Crtc id : 72 x : 0 y : 0 width : 0 height : 0 mode : 0x55555cf4ce6c gamma size : 0Crtc id : 86 x : 0 y : 0 width : 0 height : 0 mode : 0x55555cf4cedc gamma size : 0Crtc id : 97 x : 0 y : 0 width : 0 height : 0 mode : 0x55555cf4cf4c gamma size : 0Ok
Code:
pi@raspberrypi:~ $ kmsprintConnector 0 (35) DSI-2 (connected) Encoder 0 (34) NONE Crtc 0 (33) 800x480@60.03 30.000 800/131/2/45/- 480/7/2/22/- 60 (60.03) P|D Plane 0 (31) fb-id: 36 (crtcs: 0) 0,0 800x480 -> 0,0 800x480 (XR24 XB24 RG24 BG24 RG16) FB 36 800x480 XR24
Code:
pi@raspberrypi:~ $ kmstestConnector 0/@35: DSI-2 Crtc 0/@33: 800x480@60.03 30.000 800/131/2/45/- 480/7/2/22/- 60 (60.03) P|D Plane 0/@31: 0,0-800x480 Fb 38 800x480-XR24press enter to exit
I want to see a preview of a Raspberry Pi Camera on the display, but in the current state it is not possible.
Statistics: Posted by schoolpost — Tue Jul 09, 2024 5:17 am