I try to get my waveshare display running with latest rasbian on my rpi5. Compilation works and everything is working on HDMI, but I don't have any idea how to get my display working.
Acc. to this https://forums.raspberrypi.com/viewtopi ... 8#p2170664, I have this 'config.txt' parts
Code: Select all
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# waveshare 1.3in - 240x240pixel - SKU19650
dtoverlay=mipi-dbi-spi,speed=32000000
dtparam=compatible=wavesku19650\0panel-mipi-dbi-spi
dtparam=write-only,cpha,cpol
dtparam=width=240,height=240,width-mm=23,height-mm=23
dtparam=reset-gpio=23,dc-gpio=25,backlight-gpio=24
Code: Select all
mcpat@rpi5:/opt/videos $ mpv --drm-connector=help
Available connectors for card 0 (/dev/dri/card2):
SPI-1 (connected)
Available connectors for card 1 (/dev/dri/card1):
HDMI-A-1 (disconnected)
HDMI-A-2 (disconnected)
Available connectors for card 2 (/dev/dri/card0):
Cannot retrieve DRM resources: Operation not supported
Code: Select all
root@rpi5:/opt/videos# drmdevice
--- Checking the number of DRM device available ---
--- Devices reported 3 ---
--- Retrieving devices information (PCI device revision is ignored) ---
device[0]
+-> available_nodes 0x01
+-> nodes
| +-> nodes[0] /dev/dri/card2
+-> bustype 0002
| +-> platform
| +-> fullname /axi/pcie@120000/rp1/spi@50000/panel@0
+-> deviceinfo
+-> platform
+-> compatible
wavesku19650
panel-mipi-dbi-spi
--- Opening device node /dev/dri/card2 ---
--- Retrieving device info, for node /dev/dri/card2 ---
device[0]
+-> available_nodes 0x01
+-> nodes
| +-> nodes[0] /dev/dri/card2
+-> bustype 0002
| +-> platform
| +-> fullname /axi/pcie@120000/rp1/spi@50000/panel@0
+-> deviceinfo
+-> platform
+-> compatible
wavesku19650
panel-mipi-dbi-spi
device[1]
+-> available_nodes 0x05
+-> nodes
| +-> nodes[0] /dev/dri/card0
| +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
| +-> platform
| +-> fullname /axi/v3d@2000000
+-> deviceinfo
+-> platform
+-> compatible
brcm,2712-v3d
--- Opening device node /dev/dri/card0 ---
--- Retrieving device info, for node /dev/dri/card0 ---
device[1]
+-> available_nodes 0x05
+-> nodes
| +-> nodes[0] /dev/dri/card0
| +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
| +-> platform
| +-> fullname /axi/v3d@2000000
+-> deviceinfo
+-> platform
+-> compatible
brcm,2712-v3d
--- Opening device node /dev/dri/renderD128 ---
--- Retrieving device info, for node /dev/dri/renderD128 ---
device[1]
+-> available_nodes 0x05
+-> nodes
| +-> nodes[0] /dev/dri/card0
| +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
| +-> platform
| +-> fullname /axi/v3d@2000000
+-> deviceinfo
+-> platform
+-> compatible
brcm,2712-v3d
device[2]
+-> available_nodes 0x01
+-> nodes
| +-> nodes[0] /dev/dri/card1
+-> bustype 0002
| +-> platform
| +-> fullname /axi/gpu
+-> deviceinfo
+-> platform
+-> compatible
brcm,bcm2712-vc6
--- Opening device node /dev/dri/card1 ---
--- Retrieving device info, for node /dev/dri/card1 ---
device[2]
+-> available_nodes 0x01
+-> nodes
| +-> nodes[0] /dev/dri/card1
+-> bustype 0002
| +-> platform
| +-> fullname /axi/gpu
+-> deviceinfo
+-> platform
+-> compatible
brcm,bcm2712-vc6
Code: Select all
/usr/bin/kmscube -D /dev/dri/card2
Code: Select all
root@rpi5:/opt/videos# kmsprint
Connector 0 (32) HDMI-A-1 (connected)
Encoder 0 (31) TMDS
Crtc 2 (88) 1920x1080@120.00 297.000 1920/88/44/148/+ 1080/4/5/36/+ 120 (120.00) D 16:9
Plane 2 (78) fb-id: 301 (crtcs: 2) 0,0 1920x1080 -> 0,0 1920x1080 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
FB 301 1920x1080 RG16
Connector 1 (42) HDMI-A-2 (disconnected)
Encoder 1 (41) TMDS