Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No image on both Windows 10 and Ubuntu 20.04 - PureThermal-2 with Lepton 3.5 #50

Open
Werterror opened this issue Jul 12, 2022 · 9 comments

Comments

@Werterror
Copy link

Hi all,
I first tried on Windows 10 and I have the same issue as @nomad described here:
https://groups.google.com/g/flir-lepton/c/NnLDO1Ua4ss
Camera is visible in both CCI and Camera Feed selection, LED is lit constantly and shutter closes for a second periodically,
but there is no image, just grey square in the middle.

So I tired with Linux Ubuntu 20.04, I follow steps that are described in Readme file.
Everything goes through without any errors. I run:
sudo ./GetThermal - That is located in /GetThermal/build/release and this window opens:
Screenshot from 2022-07-12 12-33-15
Theres is no image, GetThermal returns onto terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' UVC initialized Device found Device opened DEVICE CONFIGURATION (1e4e:0100/8005800e-5113-3238-3233-393800000000) --- Status: idle VideoControl: bcdUVC: 0x0100 VideoStreaming(1): bEndpointAddress: 129 Formats: UncompressedFormat(1) bits per pixel: 16 GUID: 5559565900001000800000aa00389b71 (UYVY) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(2) bits per pixel: 16 GUID: 5931362000001000800000aa00389b71 (Y16 ) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 FrameDescriptor(2) capabilities: 02 size: 80x63 bit rate: 725760-725760 max frame size: 10080 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(3) bits per pixel: 8 GUID: 5938202000001000800000aa00389b71 (Y8 ) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 345600-345600 max frame size: 4800 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(4) bits per pixel: 16 GUID: 5247425000001000800000aa00389b71 (RGBP) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(5) bits per pixel: 24 GUID: 7deb36e44f52ce119f530020af0ba770 (}�6�OR��S) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 1036800-1036800 max frame size: 14400 default interval: 1/9 interval[0]: 1/9 END DEVICE CONFIGURATION Initializing lepton SDK with UVC backend... Using GroupGets PureThermal (fw:v1.3.0) with firmware 8005800e-5113-3238-3233-393800000000 OK Found extension unit ID 3, controls: 000fffff, GUID: 70 74 31 2d 6c 65 70 2d 61 67 63 2d 30 30 30 30 Found extension unit ID 4, controls: 7fffffbf, GUID: 70 74 31 2d 6c 65 70 2d 6f 65 6d 2d 30 30 30 30 Found extension unit ID 5, controls: 3ffcffc81ffffff, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 2d 30 30 30 30 Found extension unit ID 6, controls: 007fffff, GUID: 70 74 31 2d 6c 65 70 2d 73 79 73 2d 30 30 30 30 Found extension unit ID 7, controls: 00003fff, GUID: 70 74 31 2d 6c 65 70 2d 76 69 64 2d 30 30 30 30 Found extension unit ID 21, controls: 07ff9ff9, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 32 30 30 30 30 Found extension unit ID 254, controls: 0000003f, GUID: 70 74 31 2d 6c 65 70 2d 63 75 73 74 30 30 30 30 bmHint: 0000 bFormatIndex: 5 bFrameIndex: 1 dwFrameInterval: 1111111 wKeyFrameRate: 0 wPFrameRate: 0 wCompQuality: 0 wCompWindowSize: 0 wDelay: 0 dwMaxVideoFrameSize: 14400 dwMaxPayloadTransferSize: 962 bInterfaceNumber: 1 UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Estimated / selected altsetting bandwith : 13 / 642. Streaming... QQmlExpression: Expression qrc:/ViewerForm.ui.qml:68:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/ViewerForm.ui.qml:53:21 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5 Surface supports format 3 width 80 height 60QQmlExpression: Expression qrc:/lepton/InfoControls.qml:51:17 depends on non-NOTIFYable properties: LeptonVariation::ptFirmwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:46:17 depends on non-NOTIFYable properties: LeptonVariation::oemDspSoftwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:41:17 depends on non-NOTIFYable properties: LeptonVariation::oemGppSoftwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:36:17 depends on non-NOTIFYable properties: LeptonVariation::sysFlirSerialNumber QQmlExpression: Expression qrc:/lepton/InfoControls.qml:31:17 depends on non-NOTIFYable properties: LeptonVariation::oemFlirPartNumber qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqNormalizationFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqEmptyCount value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqMidPoint value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqBinExtension value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqClipLimitLow value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqClipLimitHigh value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqMaxGain value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqDampingFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearDampeningFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearMidPoint value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearMaxGain value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearHistogramClipPercent value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearHistogramTailSize value: 0 QQmlExpression: Expression qrc:/lepton/AgcControls.qml:11:5 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:69:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:62:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:47:13 depends on non-NOTIFYable properties: LeptonVariation::supportsHwPseudoColor LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:26:13 depends on non-NOTIFYable properties: LeptonVariation::supportsHwPseudoColor LeptonVariation::supportsRadiometry UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: qrc:/lepton/VidControls.qml:125: TypeError: Cannot read property 'data' of undefined qrc:/lepton/VidControls.qml:149: TypeError: Cannot read property 'data' of undefined qrc:/lepton/AgcControls.qml:263: TypeError: Cannot read property 'data' of undefined qrc:/lepton/VidControls.qml:143: TypeError: Cannot read property 'data' of undefined qrc:/lepton/AgcControls.qml:257: TypeError: Cannot read property 'data' of undefined -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute

I also tried running GetThermal.pro with QT, which opens similar screen:
Screenshot from 2022-07-12 12-37-01

It seems like resolution might be the problem, which is 160x120 for Lepton 3.5 and software expects 80x60.
I have check the cable with a mobile phone and I am able to transfer data via it.

@xevilstar
Copy link

same problem here on debian bookworm

@zhaocundang
Copy link

ROOT PERMISSON RUN IT ;

@xevilstar
Copy link

ROOT PERMISSON RUN IT ;

doesn't solve the issue and, anyway even if it would solve it I do not want to run a gui as root

@kubabuda
Copy link

@Werterror @xevilstar What purethermal firmware are you using?
I had camera feed working in GetThermal on Ubuntu with FW v1.0.0. I updated FW to v1.3.0 to get radiometry working, and I got the same
'UVC_GetAttribute failed: -9' errors.
Camera is still working as plain UVC (for example on https://davidwalsh.name/demo/camera.php), but no image at all in GetThermal

@kubabuda
Copy link

By the way, firmware v1.0.0 also was causing me 'UVC_GetAttribute failed: -9' errors - on older laptop, when PT board was connected to plain USB2.0 port. After I connected PT camera to another, USB SS port, the problem went away (with v1.3.0 on my laptop unfortunately it does not help)

@kubabuda
Copy link

I downgraded PT firmware to v1.2.2 and GetThermal v0.1.3 correctly displays image - maybe there is problem with new USB descriptors added in FW v1.3.0?

@xevilstar
Copy link

how can I know which firmware I am running ?

@kubabuda
Copy link

kubabuda commented Jan 3, 2023

Launch GetThermal from terminal, somewhere in log you will get something like

'Initializing lepton SDK with UVC backend...
Using GroupGets PureThermal (fw:v1.2.2) with firmware [...]
OK

@zhaocundang
Copy link

how do you make it on WIN10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants