notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 496 forks source link

Can't get above 4FPS with a PiTFT 320x240 connected to a ODROID Xu4 #461

Closed smlehbleh closed 3 years ago

smlehbleh commented 7 years ago

I've got a PiTFT 320x240 TFT working on my ODROID Xu4, but its incredibly slow: 4fps transferring at ~700kb/sec according to the debug output.

This is tested from both my own simple C program writing to mmap'ed fb1 and also outputting mplayer to fb1. I've tried lots of different speed and fps parameters with modprobe fbtft_device, but sadly it won't budge from 4fps.

I saw in another issue that SPI without DMA might reduce fps to very low, but I'm not sure how to tell if this is the issue, or whether or not fbtft is actually using DMA.

notro commented 7 years ago

I believe this is better asked in the Odroid forums. The spi core handles dma, it asks the spi controller driver if it can do dma on the transfer and if so maps it up.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.