Just comparing your dtoverlay line oftothe clock frequency is wrong, as is the vbp.
dtoverlay lines in config.txt have a max length of 100 chars, and it looks like your line is 132 chars.
Split it into 2 (or more) asto get it to take all the overrides. You also appear to have lost a 6 off rgb666.
With those parameters I would expect a refresh rate of 45.14fps.
Disassembling waveshare-7dpi.dtbo I find a configuration of (hex values converted to decimal manually)That file looks like a slightly hacked vc4-kms-dpi-generic, and the timings do give a 60fps refresh rate.
vc4-kms-DPI-7inch contains a different timing, and no backlight control.59.9fps refresh rate.
Pass as to why they ship 2 files and tell you to enable both - that is just crazy.
Code:
dtoverlay=vc4-kms-dpi-generic,hactive=1024,hfp=40,hsync=48,hbp=128,vactive=600,vfp=13,vsync=3,vbp=45,clock-frequency=37000000,rgb66
Code:
1024x600@38.37 29.500 1024/40/48/128/+ 600/13/3/4/+ 38 (38.37)
dtoverlay lines in config.txt have a max length of 100 chars, and it looks like your line is 132 chars.
Split it into 2 (or more) as
Code:
dtoverlay=vc4-kms-dpi-generic,hactive=1024,hfp=40,hsync=48,hbp=128,dtparam=vactive=600,vfp=13,vsync=3,vbp=45,clock-frequency=37000000,rgb66
With those parameters I would expect a refresh rate of 45.14fps.
Disassembling waveshare-7dpi.dtbo I find a configuration of (hex values converted to decimal manually)
Code:
clock-frequency = <0x2ca1c80>; 46800000hactive = <0x400>;1024hfront-porch = <0x50>; 80hsync-len = <0x10>; 16hback-porch = <0x50>; 80hsync-active = <0x01>; vactive = <0x258>; 600vfront-porch = <0x14>; 20vsync-len = <0x0a>; 10vback-porch = <0x14>; 20vsync-active = <0x01>;de-active = <0x01>;pixelclk-active = <0x01>;phandle = <0x07>;
vc4-kms-DPI-7inch contains a different timing, and no backlight control.
Code:
clock-frequency = <0x29f6300>; 44000000hactive = <0x400>; 1024hfront-porch = <0x28>; 40hsync-len = <0x14>;20hback-porch = <0x3c>; 60hsync-active = <0x00>;vactive = <0x258>; 600vfront-porch = <0x0c>; 12vsync-len = <0x0a>; 10vback-porch = <0x14>; 20vsync-active = <0x00>;de-active = <0x01>;pixelclk-active = <0x01>;
Pass as to why they ship 2 files and tell you to enable both - that is just crazy.
Statistics: Posted by 6by9 — Tue Mar 26, 2024 7:04 pm