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/DLPLCR4500EVM: Projector freeze after LCR_ValidatePatLutData

Part Number: DLPLCR4500EVM

Tool/software: Linux

I have my pattern sequence backed on latest 3.1 FW, so each time when I start LC4500 it's start playing this sequence automatically. On other side, I have my software (on Ubuntu 16.04 kernel 4.4.14 lowlatency) which after start should stop sequence and play it again to sync my Camera and Projector.

Th sequence is following: 

[...]

LCR_SetMode(true); // Pattern Seq mode, no error here
LCR_PatternDisplay(0); // Stop Pattern Display
LCR_SetTrigOutConfig(1, true, 0, 0); // sync with camera
LCR_ValidatePatLutData(&status) // validating, no error here
int err = LCR_PatternDisplay(2); // return = 7

[...]

the problem is that sometimes (80% cases) instead of restarting sequence I'm getting static picture from LC4500 and it's stops responding:

 but should be like that:

do you have any recommendations?

PS:

nk@SYSTEM:~/#LC4500$ lsusb 
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 008: ID 0451:6401 Texas Instruments, Inc. 
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub




nk@SYSTEM:~$ cat /etc/udev/rules.d/
40-flir.rules 60-ssd-scheduler.rules 69-basler-cameras.rules lightcrafter.rules 
nikk@STEREO-SYSTEM:~$ cat /etc/udev/rules.d/lightcrafter.rules 
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="6401", GROUP="plugdev", MODE="0666"



uname -a:
Linux SYSTEM 4.4.14-040414-lowlatency #201606241434 SMP PREEMPT Fri Jun 24 18:41:30 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  • Nik,

    Have you tried removing the host processor (Linux) from the equation, and driven the system using the LightCrafter 4500 GUI instead? if it works in that case, then your issue may be an incorrect command being issued from the host side. If possible, please provide the behavior of each of the individual system blocks to debug in more detail.

    Thanks.

    Best Regards,
    Philippe Dollo
  • Have no problem with GUI (compiled and run under the same Linux) to verify and play sequence. The command sequence to run patterns is in my initial post. 

    Also tried the same under other Linux. with kernel:  4.4.0-128-generic and it works fine.

    The problematic Linux has kernel:  4.4.14-040414-lowlatency, the other one  (also Ubuntu 16.04) . May be you have any kernel recommendation for Lightcrafter 4500? Any specific libraries versions maybe?

    Thank you.

  • Nik,

    Thanks for the information. I don't have an immediate recommendation for which kernel to use. Where are you sourcing your linux-side software from (and which version of said software)?

    Best Regards,
    Philippe Dollo
  • Nik,

    Are you still having issues with your system? If so, please share your linux-side software source. If not, I will tentatively mark this thread as resolved.

    Thanks!

    Best Regards,
    Philippe Dollo