error:/dev/video0 format not supported

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

error:/dev/video0 format not supported

5,833 Views
petersonhou
Contributor II

executing 'capturing' in SV3D-project on imx8qxp-mek,the UART output is "/dev/video0 format not supported"

but input cmd like"gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1920,height=1080,framerate=15/1' ! queue ! waylandsink" the LCD can output the normal graphic from sensor.

kernel image:L4.14.98.2.0.0

SV3D project : surround-view-3D_1.1_beta

The image and binaries compiled with aarch64-poky-linux toolchain

i trace the code of SV3D project,this err located at v4l2Camera.captureSetup()->ioctl(fd,VIDIOC_S_FMT,&fmt);

but cannot trace the callback in the level of kernel.  

looking forward to your answer

Tags (1)
11 Replies

5,619 Views
igorpadykov
NXP Employee
NXP Employee

Hi peterson

for supported formats one can refer to attached Release Notes,

pay attention to Table 15. i.MX GStreamer 1.0 plugins.

test with Demo Images from

i.MX Software and Development Tools | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

5,619 Views
petersonhou
Contributor II

thanks for your answer!!!

Maybe my description is little bit misty...

i use the command"gst-launch-1.0..."means the /dev/video0 is available.

The real err is when i executing binary file "Tools/CamCapture/capturing" under the surround-view-3D_1.1_beta project which compiled by aarch64-poky-linux toolchain.The UART output is "/dev/video0 format not supported".

Hope the question is clear,any problems notice me.

0 Kudos
Reply

5,619 Views
igorpadykov
NXP Employee
NXP Employee

suggest to check below documentation what is currently supported

for that processor

i.MX Software and Development Tools | NXP

Also for i.MX8QXP most updated kernel version is L4.14.98_2.3.0

Linux 4.14.98_2.3.0 Documentation

Best regards
igor

0 Kudos
Reply

5,619 Views
petersonhou
Contributor II

Thank you very much!

I already pass the format problem,after that the Surround-view project comes a new err:

ES30: some draw get error and skipped during validation

From a similar posting,like:No graphical output after updating GPU vivante driver ,I learn that the err mean i should update my GPU driver,is that right?

looking forward your answer!

0 Kudos
Reply

3,815 Views
diwakar2599
Contributor II

how did you resolve this error :/dev/video0 

could you please tell me .i'm stucking with that

0 Kudos
Reply

5,538 Views
pakselami
Contributor I

I am having the same issue. Could you please explain how did you solve this problem? @petersonhou 

0 Kudos
Reply

5,619 Views
igorpadykov
NXP Employee
NXP Employee

what bsp are you using, try nxp bsps from source.codeaurora.org/external/imx/linux-imx 

repository : linux-imx - i.MX Linux kernel 
All gpu drivers are already included to them.

Best regards
igor

0 Kudos
Reply

5,619 Views
petersonhou
Contributor II

kernel version:

Linux imx8qxpmek 4.14.98-06466-g5910884-dirty #99 SMP PREEMPT Thu Feb 27 23:43:30 PST 2020 aarch64 aarch64 aarch64 GNU/Linux

 Galcore version 6.2.4.190076

The UART still output 

ES30: some draw get error and skipped during validation

and the LCD display like blew:pastedImage_4.png

and flicker 

Looking forward your answer!Thank you!

0 Kudos
Reply

5,619 Views
igorpadykov
NXP Employee
NXP Employee

please try to use latest rev.C0 i.MX8QXP silicon with "AC"

suffix and Linux 4.14.98_2.3.0 Documentation

5,619 Views
petersonhou
Contributor II

when could i get  the rev.C0 i.MX8QXP silicon ?

5,619 Views
igorpadykov
NXP Employee
NXP Employee

please ask it in local nxp marketing office.

Worldwide Locations | NXP