hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.73k stars 1.18k forks source link

Is it possible to display static image with 128x128 display ? (MBIxxxx driver mapping) #1350

Open antoine-nedelec opened 3 years ago

antoine-nedelec commented 3 years ago

Using:

I would like to display static image on my 128x128 display.

I know that there is a refresh problem for > 64x64 displays, but I would not be bothered by laggy video.

Is it possible ? (what would I need to change in order to make it work (currently i have duplicated horizontal (0 - 63 & 64 - 127), and only displayed on 1/3 or the vertical of the display. Played with all the flags but could't yet correct the problem.

Edit 20/10:

The canvas height and width return 128, so this seems ok.

Here is the current result. I added a custom function lines that draw rectangle (here a square) of canvas with diagonals.

Also nothing appear on rows 65 to 128

And here is the command I use for the launch : sudo examples-api-use/lines --led-gpio-mapping=adafruit-hat-pwm --led-show-refresh --led-slowdown-gpio=2 --led-cols=64 --led-rows=64 --led-limit-refresh=100 --led-chain=4 --led-pixel-mapper="U-mapper"

Edit2:

The LED display have IC driver: MBI5166 or MBI5124 or chipone. This subject seems to have been discussed here.

I have tried both fixes, but nothing changes:

Edit 21/10:

I discovered my LED display has a HUB75E connector, so I soldered (cf this doc), E pin with 8 pin, which resulted in fixing the error on the top half part. Here is the result.

The thing is I have a 128 x 128 display and the bottom half never lit up. Here is the back of my LED display. I tried to plug the data cable into what I thought was the output for chain display, but when I do I get the exact same output as the other pic, but translated 128 pixels in the bottom.

Does this mean my display do not support chained displays ? Does this mean I need another type of Adafruit with parallel output, and add the --led-parallel=2 flag in my command ?

jeroenverspeek commented 1 month ago

@antoine-nedelec : Did you make any progress? I am having a similar problem for a 128x128 panel (issue #1713).