Benglenok
Posts: 2
Joined: Sun Oct 09, 2016 11:58 am

Picamera Touch Screen

Wed Apr 26, 2017 10:12 pm

I connect a touch screen to the raspberry pi 3. When I use it on my monitor I can see the picamera without problems, but when I see the raspberry pi 3 from the touch screen I can not see the picamera. In both cases it records well.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Picamera Touch Screen

Thu Apr 27, 2017 8:41 am

Hi,
which touch screen? Can you see anything on the display, or just blank?
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8926
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Picamera Touch Screen

Thu Apr 27, 2017 10:18 am

The camera preview is rendered by the GPU directly to the HDMI/DSI/DPI/composite video output, not via the Linux framebuffer.
Assuming you are using any of the SPI linked touchscreens, the the GPU has no knowledge of those.

Look for fbcp for cloning fb0 to fb1 - https://github.com/notro/fbtft/wiki/Fra ... -mirroring seems to be some reasonable instructions.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Picamera Touch Screen

Thu Apr 27, 2017 10:41 am

6by9 wrote:
Look for fbcp for cloning fb0 to fb1 - https://github.com/notro/fbtft/wiki/Fra ... -mirroring seems to be some reasonable instructions.
Exactly what I was going towards ;)

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “General discussion”