Hello!
I'm fruitlessly trying to add some "overscan" on a small ILI9341 display running over DPI on the latest version of Bookwork on a Pi Zero 2. The display works great, I have a microcontroller bit-bash out the initialisation routine, and my config in firmware/config.txt is:
The display is installed inside an old GameBoy. and in years past I have used rotate_disply=x and overscan_top/bottom/left/right=x to squash the active area into the cutout in the gameboys shell. but it looks like kms has changed all that.
I found this post discussing the use of modedb and that seems to include all the rotate and overscan options I want that can be tucked nicely into a config.txt. But for the life of me, I cannot get anything about my display position on the screen to change, regardless of what video= line I add to my config.txt
Reading the modedp document above, I feel like this line in config.txt should be doing something, but alas, I'm clearly missing something.
Any pointers are gratefully received.
I'm fruitlessly trying to add some "overscan" on a small ILI9341 display running over DPI on the latest version of Bookwork on a Pi Zero 2. The display works great, I have a microcontroller bit-bash out the initialisation routine, and my config in firmware/config.txt is:
Code:
dtoverlay=vc4-kms-dpi-generic dtparam=hactive=240,hfp=10,hsync=10,hbp=20 dtparam=vactive=320,vfp=4,vsync=2,vbp=2 dtparam=clock-frequency=7000000 dtparam=rgb666-padhi dtparam=hsync-invert dtparam=vsync-invert dtparam=pixclk-invert #dtparam=de-invert
I found this post discussing the use of modedb and that seems to include all the rotate and overscan options I want that can be tucked nicely into a config.txt. But for the life of me, I cannot get anything about my display position on the screen to change, regardless of what video= line I add to my config.txt
Reading the modedp document above, I feel like this line in config.txt should be doing something, but alas, I'm clearly missing something.
Code:
video=DPI-1:320x240m,margin_left=0,margin_right=0,margin_top=0,margin_bottom=40,rotate=180
Any pointers are gratefully received.
Statistics: Posted by Jameth — Fri Nov 22, 2024 3:06 pm