| Summary: | meta-fsl-arm: X11 widows manager is not working properly | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Tarek <tarek.elsherbiny> |
| Component: | bsps-meta-fsl-arm | Assignee: | Otavio Salvador <otavio> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | Medium+ | CC: | disabled.leonardo.sandoval |
| Version: | 1.3 | ||
| Target Milestone: | 1.4 M2 | ||
| Hardware: | Other | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Tarek
2012-12-18 09:37:43 UTC
Can you paste the full output when running the binary? gst-launch playbin2 uri=file:///home/root/mmfiles/clipcanvas_14348_offline.mp4 video-sink="mfw_isink axis-top=0 axis-left=0 disp-width=512 disp-height=384" MAX resolution 1280x720 set color key MFW_GST_ISINK_PLUGIN 3.0.1 build on Dec 17 2012 11:39:04. Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Aiur: 3.0.1 Core: MPEG4PARSER_06.04.22 build on Aug 22 2012 09:58:20 mime: video/quicktime; audio/x-m4a; application/x-3gp file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so Content Info: URI: file:///home/root/mmfiles/clipcanvas_14348_offline.mp4 Idx File: /home/root/.aiur/.home.root.mmfiles.clipcanvas_14348_offline.mp4.aidx Seekable : Yes Size(byte): 3144689 Movie Info: Seekable : Yes Live : No Duration : 0:00:08.040000000 ReadMode : File Track : 4 Track 00 [video_0000] Enabled Duration: 0:00:08.000000000 Language: und Mime: video/x-h264, parsed=(boolean)true, width=(int)1024, height=(int)576, framerate= (fraction)25/1, codec_data=(buffer)00000001674d401f967200800936028100000e100002b f203460016e40016e45ef7c1e1108a2400000000168de3c80 [INFO] Product Info: i.MX6Q/D/S vpudec versions :) plugin: 3.0.1 wrapper: 1.0.24(VPUWRAPPER_ARM_LINUX Build on Dec 14 2012 19:34:41) vpulib: 5.4.6 firmware: 2.1.5.32515 Track 01 [audio_0000] Enabled Duration: 0:00:08.006667000 Language: und Mime: audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)1 28795, framed=(boolean)true, codec_data=(buffer)121056e500 BLN_MAD-MMCODECS_AACD_ARM_03.07.00 build on Jul 17 2012 17:47:46. MFW_GST_AAC_PLUGIN 3.0.1 build on Dec 17 2012 11:38:42. Track 02 [subtitle]: Disabled Codec: 0, SubCodec: 0 Track 03 [subtitle]: Disabled Codec: 0, SubCodec: 0 [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 hwbuf allocator zone(884736) created can not create threadmfw_gst_isink_setcaps:1489 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... VS0 created. in fmt[NV12] win(0,0-1024,576:1024x576) out win(0,0-512,384:512x384) New clock: GstAudioSinkClock vss/mfw_gst_vss_common.c:701 ioctl error, return -1 vss/mfw_gst_vss_common.c:726 ioctl error, return -1 set deinterlace mode 0 Got EOS from element "playbin20". Execution ended after 8003785334 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... VS0 destroyed, force=0! hwbuf allocator zone(884736) destroied. Setting pipeline to NULL ... [--->FINALIZE aiurdemux Freeing pipeline ... [--->FINALIZE isink root@nitrogen6x:~# /unit_tests/mxc_epdc_x11_fb_test.out Error: unable to open X display (In reply to comment #3) > root@nitrogen6x:~# /unit_tests/mxc_epdc_x11_fb_test.out > > Error: unable to open X display For this you need to pass: #: DISPLAY=:0 <command> So it will have the display set. Same problem error for me root@nitrogen6x:~# DISPLAY=:0 /unit_tests/mxc_epdc_x11_fb_test.out Error: unable to open X display I'm using HDMI TV. Does it work for you? Hi Tarek, I could not reproduce this issue with latest repo heads. However, these are my comments: 1. Running a simple playback works fine (as you can see, I did not set the DISPLAY variable) # /unit_tests/mxc_vpu_test.out -D "-i /unit_tests/a [INFO] VPU test program built on Jan 14 2013 17:25:44 [INFO] Product Info: i.MX6Q/D/S [INFO] VPU firmware version: 2.1.5_r32515 [INFO] VPU library version: 5.4.6 [INFO] Format: STD_MPEG4 [INFO] MPEG4 class: MPEG4 [INFO] Input file "/unit_tests/akiyo.mp4" opened. [INFO] bitstreamMode 0, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 [INFO] Mpeg4 Profile: 0 Level: 3 Interlaced: 0 [INFO] Aspect Ratio Table index: 1 [INFO] Decoder: width = 176, height = 144, frameRateRes = -1, frameRateDiv = -1, count = 4 [INFO] CROP left/top/right/bottom 0 0 0 0 [INFO] Display fps will be 0 [INFO] v4l output to /dev/video17 [INFO] Display to 1024 768, top offset 0, left offset 0 [INFO] Display: NV12 [INFO] 150 frames took 4905994 microseconds [INFO] dec fps = 2070.19 [INFO] total fps= 30.57 2) Running the same test as you did, it indicates that the /dev/fb5 does not exist, but I do not see the log you posted. root@imx6qsabresd:/unit_tests# DISPLAY=:0 /unit_tests/mxc_epdc_x11_fb_test.out using XRandR: screen size = 1024x768, rotation = UR Error in opening fb device /dev/fb5: No such file or directory root@imx6qsabresd:/unit_tests# 3) When using gst-launch, the pipeline you posted does not work, at least nothing is shown on the screen but if you use mfw_v4lsink, it works as expected, video is playback correctly. (In reply to comment #6) > I could not reproduce this issue with latest repo heads. However, these are > my comments: It might have been fixed with last BSP release; we are using the 3.0.5 Gstreamer plugins in master. > 1. Running a simple playback works fine (as you can see, I did not set the > DISPLAY variable) > > # /unit_tests/mxc_vpu_test.out -D "-i /unit_tests/a > [INFO] VPU test program built on Jan 14 2013 17:25:44 > [INFO] Product Info: i.MX6Q/D/S > [INFO] VPU firmware version: 2.1.5_r32515 > [INFO] VPU library version: 5.4.6 > [INFO] Format: STD_MPEG4 > [INFO] MPEG4 class: MPEG4 > [INFO] Input file "/unit_tests/akiyo.mp4" opened. > [INFO] bitstreamMode 0, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 > [INFO] Mpeg4 Profile: 0 Level: 3 Interlaced: 0 > [INFO] Aspect Ratio Table index: 1 > [INFO] Decoder: width = 176, height = 144, frameRateRes = -1, frameRateDiv = > -1, count = 4 > [INFO] CROP left/top/right/bottom 0 0 0 0 > [INFO] Display fps will be 0 > [INFO] v4l output to /dev/video17 > [INFO] Display to 1024 768, top offset 0, left offset 0 > [INFO] Display: NV12 > [INFO] 150 frames took 4905994 microseconds > [INFO] dec fps = 2070.19 > [INFO] total fps= 30.57 > > > 2) Running the same test as you did, it indicates that the /dev/fb5 does not > exist, but I do not see the log you posted. > > root@imx6qsabresd:/unit_tests# DISPLAY=:0 > /unit_tests/mxc_epdc_x11_fb_test.out > using XRandR: screen size = 1024x768, rotation = UR > Error in opening fb device > /dev/fb5: No such file or directory > root@imx6qsabresd:/unit_tests# > > 3) When using gst-launch, the pipeline you posted does not work, at least > nothing is shown on the screen but if you use mfw_v4lsink, it works as > expected, video is playback correctly. Tarek, can you try to reproduce your issue? We'd like to close this issue but we need your confirmation. Hi Otavio, My main concern is to get the Gstreamer mfw_isink element working. Last time I checked was in January and it wasn't working. I raised this bug because I thought it is X problem that affects mfw_isink but I might not be correct. You can close this bug because I raised another one for isink: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3781 Thanks This issue cannot be reproducable as explained by Leonardo; I am closing it but in case someone reproduces it please reopen. |