I’m using the experimental lib from kingdo9, it is working fine but still have some flickering in the brightness, my current specs are this:
There are two 128x64 in parallel, they have the chips FM6363C and DP32019B and I’m running on a RPI3B+ with a little bit of overclock, the RT Kernel ( I did the SPWM Tuning Guide and Real Time Kernel Setup Guide), this test script:
This is the video of the text D15 and D0 and some other matrix for comparison
It seams the the bright variations happens across the entire axis in both matrices at the same time. I’ve monitored the power supply with an osciloscope and there was no variation in voltage and also no undervoltage warning on the rpi log.
I see on your video you were on RegType1 , can you press keyboard Right ley to next through the regtypes different configs with D15 ? Do they all flicker.
on the D15 test, probably best to add -register-test-scan=32
Also please put this to SPWM_END_OF_FRAME_EXTRA_ROW_CYCLES=0 or SPWM_END_OF_FRAME_EXTRA_ROW_CYCLES=1
If you do --led-show-refresh what framerate are you getting.
I see on your video you were on RegType1 , can you press keyboard Right ley to next through the regtypes different configs with D15 ? Do they all flicker.
In the D15 all the regtypes configs flicker, only the colors change.
on the D15 test, probably best to add -register-test-scan=32
With --register-test-scan=32 still flcikers.
Also please put this to SPWM_END_OF_FRAME_EXTRA_ROW_CYCLES=0 or SPWM_END_OF_FRAME_EXTRA_ROW_CYCLES=1
Still flcikers.
If you do --led-show-refresh what framerate are you getting.
I either have
FM6363 and --led-spwm-row-addr-type=1
or
FM6373 and --led-spwm-row-addr-type=0
I think I can see a similar effect at the bottom of the display, I’m not sure if it was exactly what you are getting.
The only difference between the two videos below was it was cleaner when using
–led-limit-refresh=60
To the eye I can’t see issues on either, only when using a camera.
Demo 15 does seem to exagerate that movement.
I either have
FM6363 and --led-spwm-row-addr-type=1
or
FM6373 and --led-spwm-row-addr-type=0
I have a 128x64 FM6373C + TC7262FJ, gonna test this setup on it.
To the eye I can’t see issues on either, only when using a camera.
Demo 15 does seem to exagerate that movement.
It’s hard to capture the flickering with a camera, but I’d describe it as random lines (the full line) varying in brightness by a random amount. (it this setup it shows as columns but it becouse of the “Rotate:90” mapper)
I had the same bottom flickering as seeing in you second video. It was while passing through the regtypes, but it appears only in the camera, to the naked eye was fine, only the random line flyckering.
Are you able to test it on a Pi4?
Yes, I am. It’s going to take a while, though—my Pi 4 is mounted on the wall.
I will also test the 128x64 FM6373C + TC7262FJ matrix on it so we could have more data.
Hmm the random line flicker I used to get that without the kernel mod.
Are you on the latest version of it, as it was referred to as RT kernel, its now called optimized kernel.
You can soon tell if you do
cat /proc/interrupts
what do you get there. Core 2 and 3 should have reduced interrupts.
Zero2W I would expect you would get a similar result to Pi3, they are very similar.
The result: raul@rpi3:~/apps $ sudo ./testMatrix.sh Size: 128x128. Hardware gpio mapping: regular Press to exit and reset LEDs Unable to load Demo 15 profiles for FM6363: unable to open register-profile catalog: /home/raul/apps/rpi-rgb-led-matrix_pwm_experiment/lib/spwm/registertest/data/fm6363.profiles
I would take that bit out, you don’t really need to specify that..
I added the RGBMATRIX_SPWM_PROFILE_DIR because of a warning related to the FM6363 profile: “Unable to load Demo 15 profiles for FM6363: unable to open register-profile”. The demo D15 is not working on the FM6363
Definitely try a Pi4 to compare. Apart from that I can’t see any issues, hard to say without the display.
Yep, that did, it is working fine on the Pi4. It is my Pi3B+ that is not fast enough