[Letux-kernel] LX16 SPI display
H. Nikolaus Schaller
hns at goldelico.com
Mon Feb 17 17:19:01 CET 2025
Hi all,
I have now repaired the Letux/video-demo (mplayer setup) so that I can really have a movie on the LX16 display and look what happens.
Code is here:
https://git.goldelico.com/?p=letux-kernel.git;a=blob;f=Letux/root/video-demo;h=942342b358cf6f8ee240835c274746e13c915b99;hb=refs/heads/letux-current
When running (with Xorg) there is a lot of infos about missing audio first,
but we can ignore (better, the script should ignore if it can not find any
soundcard).
Nicely, the video starts - at a quite slow frame rate, but it starts.
Frame rate is very limited. Likely because there is no scaler and color
space conversion hardware so that the CPU has to do the hard work.
And therefore the message "Your system is too SLOW to play this!" is reasonable...
On the other hand the frame update is visible going from top of screen
to bottom. I would assume that the conversions are not done on the fly
but the updates from the mplayer buffer through Xorg to the display are
limited in speed.
AFAIR (haven't tested for years) it runs quite well on a 600 MHz OMAP3.
Here is a log:
....
Starting playback...
VIDEO: 854x480 24.000 fps 0.0 kbps ( 0.0 kB/s)
VO: [x11] 854x480 => 854x480 Planar YV12 [swscaler @ 0x76750aa0]No accelerated colorspace conversion found from yuv420p to rgb565le.
[swscaler @ 0x76750aa0]using unscaled yuv420p -> rgb565le special converter
[ 91.965419] spi_master spi0: noqueue transfer failed
A: 0.3 V: 0.0 A-V: 0.258 ct: 0.001 0/ 0 ??% ??% ??,?% 1 0 $<3>
[VD_FFMPEG] DRI failure.
A: 10.2 V: 2.1 A-V: 8.146 ct: 0.203 0/ 0 165% 664% 63.7% 50 0 $<3>
************************************************
**** Your system is too SLOW to play this! ****
************************************************
[ 113.202379] spi_master spi0: noqueue transfer failed75% 54.7% 103 0 $<3
[ 113.202661] ili9486 spi0.0: [drm] *ERROR* Failed to update display -12
[ 113.371791] spi_master spi0: noqueue transfer failed69% 55.7% 104 0 $<3>
A: 19.1 V: 4.0 A-V: 15.098 ct: 0.258 0/ 0 132% 654% 58.3% 95 0 $<3>
But more interesting is that there are still noqueue transfer failed messages
from the SPI driver.
This happens even if I have no display connected and there is no interleaved
communication with the touch screen controller.
So we still appear to have some issue in our clock/SPI driver setup and
communication with Xorg.
Any ideas how to proceed?
BR,
Nikolaus
More information about the Letux-kernel
mailing list