Go to advanced search

by 0julian
Thu Aug 27, 2020 12:27 pm
Forum: Graphics programming
Topic: glxgears corrupted graphics with v3d on PI 4
Replies: 2
Views: 855

Re: glxgears corrupted graphics with v3d on PI 4

I am experiencing the same distortions on a Yocto-built system for Pi 4.
Have you ever been able to figure out the actual root cause of this?
by 0julian
Sat Jun 20, 2015 7:47 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

Comparisons to the 2.2.x versions on x86_64 are not really helpful. To figure out if issues are mmal related or not it would require to be the exact same version on both systems. Just one using mmal video output and the other not. Regarding X: When using the current git version mmal video output is ...
by 0julian
Sat Jun 20, 2015 11:24 am
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

#14: I cannot see a problem in the logs. How exactly does it behave? #16, #21: Could you try with --deinterlace 0 option? It seems the software based deinterlacer causes issues combined with the mmal vout. And the mmal deinterlacer can currently only be used with mmal_codec, not with software decode...
by 0julian
Fri Jun 19, 2015 7:47 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

Could you post logs of the cases that still fail for you?
I did not play all files till the end, I'll try that for the ones where you see stalls at the end.
by 0julian
Wed Jun 17, 2015 10:20 am
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

@ktb: I've had a look at the code now and just pushed two patches (https://mailman.videolan.org/pipermail/vlc-devel/2015-June/103368.html, https://mailman.videolan.org/pipermail/vlc-devel/2015-June/103366.html), which shall land in vlc git quickly. With those two patches your samples look all good t...
by 0julian
Wed Jun 10, 2015 7:45 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

Thanks for the test-case collection, ktb. I just had a very short look at the logs so far, but basically I see two types of issues: 1) mp4 files seem not to play properly, because frames don't contain valid timestamps. This might be a demux issue instead of a mmal issue overall 2) Segmentation fault...
by 0julian
Tue Jun 09, 2015 3:35 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

You are aware that the mmal vout has no support for X windows? It can only render into a dispman layer directly without any integration in the VLC ui. In fact I never ran it in parallel with X being active, so I have no clue how it behaves there. I was aware that the videos would play in an overlay...
by 0julian
Tue Jun 09, 2015 2:32 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

Thank you for the reply. Those are fair points. I will provide full debug logs hopefully later today. When testing, I usually run it from the directory I built it from using ./vlc -vvv. I will use publicly available video files and include links for you. I'm currently using Raspbian Jessie on the P...
by 0julian
Tue Jun 09, 2015 1:02 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

I built the latest "3.0.0-git Vetinari" version which includes your recent commits. MMAL appears to be more broken now than the last time I tested it. May I ask what your setup is like for testing (Raspbian release? kernel version? firmware version?). Is there a specific set of video file...
by 0julian
Mon Jun 01, 2015 4:03 pm
Forum: Troubleshooting
Topic: VLC Installation?
Replies: 27
Views: 6096

Re: VLC Installation?

The 2.2 tree is most likely broken when running raspberry firmware versions from August 2014 or newer. There were some changes in the default buffer numbers which cause the VLC code to run out of buffers. The 3.0 git tree is what should be used for MMAL on the Pi as of today. I am just about to push...
by 0julian
Thu May 15, 2014 12:42 pm
Forum: Graphics programming
Topic: dispmanx: Alpha mask
Replies: 5
Views: 2568

Re: dispmanx: Alpha mask

Ah yes, ok. I've got RGBA iamges which include an alpha mask working without any issues as well.
But in this case I need to provide a dedicated alpha mask.
by 0julian
Thu May 15, 2014 11:20 am
Forum: Graphics programming
Topic: dispmanx: Alpha mask
Replies: 5
Views: 2568

Re: dispmanx: Alpha mask

How can you apply a mask when not using DISPMANX_ALPHA_T struct? For me the DISPMANX_ALPHA_T struct is the place where I link the mask resource with the actual image resource. Or is an element_add for the mask itself required? I thought I only had to do element_add for the actual image to which I li...
by 0julian
Thu May 15, 2014 8:37 am
Forum: Graphics programming
Topic: dispmanx: Alpha mask
Replies: 5
Views: 2568

dispmanx: Alpha mask

Hi, I'm struggling a little with using alpha mask on dispmanx resources. I had expected that the dispmanx resource that is created as mask would just be a 8BPP image holding an alpha value for each pixel, but this gives me all garbage. This is the code I use for testing an all opaque mask: /* Build ...
by 0julian
Tue May 13, 2014 11:51 am
Forum: Graphics programming
Topic: Dispmanx HDMI blackout
Replies: 8
Views: 5748

Re: Dispmanx HDMI blackout

Did you ever find a workaround for this?
by 0julian
Thu Sep 12, 2013 11:13 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

I made a minimal test-case for this, and opened a bug now:
https://github.com/raspberrypi/firmware/issues/213
by 0julian
Wed Sep 11, 2013 9:01 pm
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

True, but I'm still struggling with this. Everything seems to be settled fine. SetParameter passes, the module transitions to Idle and then to Executing state. Then I call FillThisBuffer twice and EmptyThisBuffer once to deinterlace one frame. But still no Empty/FillBufferDone events appear. What I ...
by 0julian
Fri Sep 06, 2013 2:28 pm
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Another update: If I configure the output port as well (setting all parameters I set on the input port) the transitions to Idle and Executing work fine. Still no FillBufferDone or EmptyBufferDone callbacks being fired...
by 0julian
Fri Sep 06, 2013 1:57 pm
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Setting nBufferSize lets it pass the SetParameter call.
by 0julian
Fri Sep 06, 2013 1:15 pm
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Thanks, this got me a little further. The SetParameter call succeeds now, but then the transition to Idle state fails with timeout. I do set the following now: definition->format.image.nFrameWidth = filter->fmt_in.video.i_width; definition->format.image.nFrameHeight = filter->fmt_in.video.i_height; ...
by 0julian
Fri Sep 06, 2013 9:55 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

This is my work in progress code, btw:
https://github.com/julianscheel/vlc-omx ... aed510b2d4
by 0julian
Fri Sep 06, 2013 9:48 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Actually setting any parameter besides definition->format.image.eColorFormat seems to fail. Which seems a little odd to me...
Is this code well tested when not being used in tunnel mode? I only saw it being used in tunnel mode so far...
by 0julian
Fri Sep 06, 2013 8:47 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Any further thoughts? Or should I open a bug report?
by 0julian
Thu Sep 05, 2013 11:44 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

Re: image_fx: Set IndexParamPortDefinition

Just tried that, so that it sets

Code: Select all

Port 190 SetFormat: 736x576 (736x576)
But it still fails with OMX_ErrorBadParameter.
by 0julian
Thu Sep 05, 2013 10:05 am
Forum: OpenMAX
Topic: image_fx: Set IndexParamPortDefinition
Replies: 14
Views: 3921

image_fx: Set IndexParamPortDefinition

Hi, I am trying to incorporate the image_fx component into a VLC module, to enable OMX deinterlacing. We do not use tunnelled mode, but use Allocate/UseBuffer to pass the buffers along. So I initialize the image_fx OMX component and try to set the image parameters to match the incoming video. The co...
by 0julian
Sat Aug 24, 2013 2:44 pm
Forum: OpenMAX
Topic: video_decode dpb/reference frames
Replies: 6
Views: 2110

Re: video_decode dpb/reference frames

Alright, thanks for you explanation. I will go on implementing the missing features and see how it performs. Unfortunately tunneling does not really fit into the plugin architecture of VLC, so we can not really use tunneling there.

Go to advanced search