You are not logged in.

#1 2016-11-22 11:51:42

manojd
Member
Registered: 2016-11-11
Posts: 23

GPIO VGA666 support

It will be nice to have support for the VGA666 board which uses the GPIO pins on RPi3. At present, the GPIO pins are initialized by nanoDLP. If this can be disabled, it will be nice.

Offline

#2 2016-11-22 20:14:14

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

If you do not use any gpio, it will only open /dev/mem and allocate pointer to it. Are you sure it is preventing VGA666 to work with nanodlp?

Offline

#3 2016-11-23 15:07:27

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

Hi Shah in, I am quite sure it does prevent vga666 adaper from using the gpio. The screen works perfectly if I don't start nanodlp. But as soon as nanodlp is launched, the screen goes blank. I may be using the muve distribution. Could that be the issue?

Offline

#4 2016-11-23 17:55:40

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

Are you going to use this display as information panel or primary display to cure layers? What happening when you run nanodlp and display calibration image? Both HDMI output and VGA displays layer or only HDMI display layer and VGA one remains black?

Offline

#5 2016-11-23 18:35:50

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

It displays the calibration image on hdmi and vga remains blank. I want to use vga as the information panel.

Last edited by manojd (2016-11-24 04:52:54)

Offline

#6 2016-11-24 08:35:51

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

Try running this version. I have disabled GPIO initialization. http://www.nanodlp.com/nanodlp.debug.tar.gz

Offline

#7 2016-11-24 15:26:30

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

I just tried this latest (1280). Now the HDMI is blank and the projector calibration images go to VGA.

Offline

#8 2016-11-24 16:24:03

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

Disable your shutter and any other gpio related features. Any GPIO related will panic the program as GPIO is not initialized.

Offline

#9 2016-11-27 05:24:32

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

Hi Shahin, any further thoughts on this? My vga now shows the output that is intended for the hdmi port. AFAIK I am not using the GPIO for anything in nanodlp.

Offline

#10 2016-11-27 21:10:58

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

I will try to make gpio initialization on demand. Is there any other issue related to this kind of display?

Offline

#11 2016-11-28 04:14:37

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

Shahin wrote:

I will try to make gpio initialization on demand. Is there any other issue related to this kind of display?

The display works perfectly. I was doing some more research on this and found out that the issue is due to raspberry pi having only one frame buffer by default. This can be changed by recompiling the kernel, which I did, but it requires a USB based display via a displaylink adapter. So, when you output am image, are you using /dev/fb0 or is the hdmi being referenced directly?

Offline

#12 2016-11-28 09:36:17

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

No it not depend on framebuffer, directly calling dispmanx

Offline

#13 2016-11-29 04:03:19

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

Shahin wrote:

No it not depend on framebuffer, directly calling dispmanx

I think that explains why the projector output goes to the default display.

Offline

#14 2016-12-01 05:51:29

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

Hi Shahin,

Would it be possible to have nanodlp take a parameter such as --display=5 and redirect the output to hdmi. Omxplayer successfully does this and you can use dual displays with it. This will be a very useful feature.

Thank you.

Offline

#15 2016-12-01 20:35:07

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: GPIO VGA666 support

Try the beta version. You can change display number.

Offline

#16 2016-12-02 05:35:07

manojd
Member
Registered: 2016-11-11
Posts: 23

Re: GPIO VGA666 support

You are too good smile .

The beta works perfectly. I can now have X running onto the VGA666 and the HDMI output shows projector calibration images. Thank you so much.

Offline

#17 2017-12-06 15:45:36

wavemill
Member
Registered: 2017-12-06
Posts: 1

Re: GPIO VGA666 support

Hi Manojd,

I tried without success.
Could you give me your config, i'll test it.

regards,

Offline

Board footer

Powered by FluxBB