kmssink : Cannot Open /dev/mxc_vpu with Mainline kernel
Chakra D
2chakrass at gmail.com
Tue Sep 5 09:20:07 UTC 2017
Hi Carlos,
Thanks for helping out. I have tried using v4l2videodec but could not
succeed - it is still throwing error.
Can you help me out in using this v4l2codec driver with gstreamer on main
line kernel.
When inserting the CODA driver - i got this error "vpu: loading
/lib/firmware/vpu_fw_imx6q.bin failed with error -22". And i could play the
video - but it is playing very slowly and has an small rectangular frame.
Please see the attached video - captured on the display while playing the
video
I have given the following commands - am i missing something ?
# gst-launch-1.0 uridecodebin uri=file:///root/tears_of_steel_1080p.webm ! \
> videoscale ! \
> videoconvert ! \
> video/x-raw,width=1280,height=800,pixel-aspect-ratio=1/1 ! \
> kmssink connector-id=38 driver-name="imx-drm" sync=false
On Tue, Aug 29, 2017 at 11:30 PM, Carlos Rafael Giani <dv at pseudoterminal.org
> wrote:
> There is no such device in the mainline kernel. This is part of the
> non-mainline VPU driver from the imx-kerne.
>
> Are you trying to use gstreamer-imx' imxvpudec? With the mainline kernel,
> you have to use v4l2Nvideodec instead (where N is some number ... just do
> gst-inspect-1.0 | grep v4l to find it).
>
> On 2017-08-29 19:44, Chakra D wrote:
>
> Hi All,
>
> I'm trying to use gst 1.0 in imx_6q platform based board and encountered
> with the /dev/mxc_vpu error when I use kmssink.
>
> please find the detailed steps[1]
>
> I have inserted CODA module and it got successfully inserted. From the
> logs of this CODA module insertion i found that codec registered as
> /dev/video[8-9].
>
> Coda version i'm using is
> coda 2040000.vpu: Firmware code revision: 46072
> coda 2040000.vpu: Initialized CODA960.
>
> But when called gst-launch-1.0 with the args below, i ended with error
>
> [ERR] Can't open /dev/mxc_vpu: No such file or directory
> [ERR] IOSystemInit() failure.
>
> May i know will the coda module will create the mxc_vpu driver ? which
> part of code will create this driver for gstreamer to run ?
>
> Also im seeing white rectangular screen overlapped on the left side of the
> video and video playback is very slow.
>
> Not sure what gone wrong...please share if you have any inputs for fixing
> this issue
>
> Attached the log in the following link:
>
> [1] https://paste.ubuntu.com/25426280/
>
> Regards,
> Chakra
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170905/948c01ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsteamer_code_issue_video.mp4
Type: video/mp4
Size: 2170615 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170905/948c01ec/attachment-0001.mp4>
More information about the gstreamer-devel
mailing list