Cyborg21
Posts: 4
Joined: Mon Jan 11, 2016 7:32 pm

OpenGL drivers & CSI Touch Screen

Wed Jun 20, 2018 5:28 pm

Hey guys,
I'm trying to make C++ opengl app with openframeworks lib.

I have no problem with HDMI cable, but the touchscreen become black if I want to use it with openGL drivers activated.

Are the OpenGL drivers able to communicate with a CSI connection Touche Screen ?


David

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20267
Joined: Sat Jul 30, 2011 7:41 pm

Re: OpenGL drivers & CSI Touch Screen

Wed Jun 20, 2018 8:55 pm

Hmm. Not sure. I thought that the DSI display was supported in the latest OpenGL driver.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

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

Re: OpenGL drivers & CSI Touch Screen

Thu Jun 21, 2018 10:23 am

It is supported but not defined in device tree.
There has just been a patch set merged upstream (ie probably 4.19) that allows panel devices to fail to probe without causing the entire display stack to fail. Without that it was a bit of a mess if you'd defined it but the connector fell out or similar.

See https://github.com/anholt/linux/wiki/Ra ... lay-panels for a description of how to add DSI devices to DT for the drm driver, and commits on https://github.com/anholt/linux/commits/drm-vc4-misc that should get the panel working (I guess they ought to be merged into an overlay at some point).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Advanced users”

Who is online

Users browsing this forum: No registered users and 16 guests