PiSupply / Media-Center-HAT

Resources for the Media Center HAT
Other
8 stars 3 forks source link

Media Center Hat, due to FBCP, will not work on Rasberry pi 5! #21

Open Omnipresent77 opened 2 hours ago

Omnipresent77 commented 2 hours ago

"fbcp is not considered functional on a Raspberry Pi 5 as the underlying DispmanX API it relies on has been deprecated and is no longer available on newer Raspberry Pi models, including the Pi 5; therefore, using fbcp on a Pi 5 is not recommended."

Soo basically what is anything can replace it so small HAt style screens can work again directly plugged into the PI5?

Omnipresent77 commented 2 hours ago

another google search "for most applications, particularly on Raspberry Pi, the primary replacement for "fbcp" is "fbcp-ili9341" which is a more modern and actively maintained driver that leverages the KMS (Kernel Mode Setting) stack instead of the deprecated DispmanX API that older "fbcp" versions relied on; however, the specific replacement might depend on your display type and the platform you're using."

Correction https://github.com/juj/fbcp-ili9341/blob/master/README.md says NoPE. so it looks like the only way is the DRM in next post i said here. sigh

Can anybody test this and see if indeed there is a way to get the media center hat to work again?

Omnipresent77 commented 1 hour ago

From the raspberry pi forums: " Re: How does the Raspberry Pi 5B fit into the SPI display so that it can display a GUI?

Sat Oct 28, 2023 5:42 am

[jieweizero](https://forums.raspberrypi.com/memberlist.php?mode=viewprofile&u=418054&sid=7cacd9580de35bdfbb0126cbeda66518) wrote: [↑](https://forums.raspberrypi.com/viewtopic.php?p=2150040&sid=7cacd9580de35bdfbb0126cbeda66518#p2150040)
Sat Oct 28, 2023 1:34 am
Will fbcp be completely eliminated? What is the ideal replacement method for driving the secondary screen? 

The fbcp will be completely eliminated. The program used something called DispmanX to copy the image that is displayed on the Raspberry Pi output to a framebuffer. Mostly this was used to copy to a SPI display.

The ideal replacement is to have a driver for the display that supports DRM (Direct Rendering Manager) and then it would be possible to display the Raspberry Pi OS GUI directly on the SPI display.

I don't know which displays currently have DRM drivers. The following posts, by aBUGSworstnightmare show the GUI on a SPI device.

viewtopic.php?t=355870

Obviously not everyone is going to write their own driver, but it shows that it is possible."

So IS A 'Direct Rendering manager' driver coming for the Media center hat???