This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DLPDLCR2000EVM: How to make DLPDLCR2000EVM display loaded picture file?

Part Number: DLPDLCR2000EVM

Tool/software: Linux

Dear Fourm :

I've already sent an image via pscp to the folder / opt / scripts / device / bone / capes / DLPDLCR2000.

How can I display this file using the putty command?

The 151.jpg in the red box is the file I want to display.

I know I can use the built-in GUI to open, but I do not want to do that.

thank you

  • Hello user,

    Thanks for your interest in our DLP products.

    It sounds like what you want to do is push images (such as .JPG) directly to the framebuffer. There are multiple ways you could do this. For example:

    http://www.thelinuxdaily.com/2010/03/grabbing-or-displaying-direct-frame-buffer-image/

    This article describes some ways to read and write to/from the framebuffer. You may need to convert your image to a different format to do this. If you do not want to write directly to the framebuffer, you can also try installing a library such as OpenCV to display the images for you.

    I hope this helps. Let me know if you have any other questions or concerns.

    Best Regards,

    Philippe Dollo

  • Hello Philippe,

    I am trying to do the same thing (push an image to framebuffer) but projection is still splash screen.

    I have done 2 commands to select source and resolution as written in getting started manual:

    i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i
    i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i

    After this, splash screen does not disappear. 

    I have an  IOT debian image. Dlp scripts are working. Mplayer does not.

    I attached a projector class in c++ to show how I do write to framebuffer.

    My framebuffer settings are:

    debian@beaglebone:~$ fbset -i

    mode "640x360"
    geometry 640 360 640 360 32
    timings 0 0 0 0 0 0 0
    rgba 8/16,8/8,8/0,0/0
    endmode

    Frame buffer device information:
    Name :
    Address : 0x9ca00000
    Size : 921600
    Type : PACKED PIXELS
    Visual : TRUECOLOR
    XPanStep : 1
    YPanStep : 1
    YWrapStep : 0
    LineLength : 2560
    Accelerator : No

    Please, direct me to the right way on how to do this.

    projector.hprojector.cpp

  • Anton,

    It sounds to me like the problem may be with your OS setup. You are using the IOT version of Debian, which does not come with a GUI. I recommend you use the standard version of Debian Jessie V8.9 (GUI version) for the least chance of running into incompatibilities. Alternatively, you could try installing the GUI software (X11, etc.) yourself using "apt-get".

    I hope this helps.

    Best Regards,
    Philippe Dollo
  • Hi Philippe!

    Thank you for your response.

    I am using IOT image without GUI because I don't need it. My purpose is just to get image from camera, process it and show output. It works well when I plug hdmi cable ( I can see what is written to framebuffer on the screen), but for some reason it does not  work with projector board. What component from X server is used to show framebuffer on rgb output?

  • Anton,

    If all you are interested in doing is pushing camera output, you may be able to get away without Xserver. Have you tried the following command:

    > export DISPLAY=:0

    To set up the EVM as your display source? I have not tried this setup myself without a GUI, so I don't know for sure if it will work or not. Let me know if you encounter difficulties and we can explore further.

    Best Regards,
    Philippe Dollo
  • Philippe Dollo said:
    Anton,

    If all you are interested in doing is pushing camera output, you may be able to get away without Xserver. Have you tried the following command:

    > export DISPLAY=:0

    To set up the EVM as your display source? I have not tried this setup myself without a GUI, so I don't know for sure if it will work or not. Let me know if you encounter difficulties and we can explore further.

    Best Regards,
    Philippe Dollo

    Yes, I have tried with 'export DISPLAY=:0' but it does not work.

    I installed framebuffer driver via 'sudo apt-get install xserver-xorg-video-fbdev' command and it works, but yes - my interest is to get it worked without installing X sever.

  • Anton,

    In this case, I don't believe anything is wrong on the side of the DLP EVM. You probably need to gain a better understanding of how the BeagleBone's framebuffer and video drivers work. Have you tried asking the BeagleBoard.org community? They may have some expertise on this particular subject matter.

    You can find their forums at:
    http://beagleboard.org/discuss

    I hope this helps.

    Best Regards,
    Philippe Dollo
  • Yes, will read more, thank you!