Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
OMAPDRM eventual failure after
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 30 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andre Renaud  
View profile  
 More options Sep 26 2012, 3:48 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Thu, 27 Sep 2012 07:48:52 +1200
Local: Wed, Sep 26 2012 3:48 pm
Subject: OMAPDRM eventual failure after
Hi,
I'm using the OmapDRM drivers (along with libDCE) to do accelerated
video playback. This is all working fine, but after a while I start
getting the following errors, and the whole system stops functioning:
[17126.949310] omapdrm omapdrm: could not remap: -12 (3)
[17126.954650] omapdrm omapdrm: could not swap e6b733c0 -> e6b73240
[17126.960968] omapdrm omapdrm: dispc_ovl_setup failed: -22

Has anyone seen this before? I had a vague feeling it might have to do
with memory fragmentation from my drm planes, but I'm not sure about
that.

On a possibly related note, I do see the following kernel output quite
regularly as well. This doesn't seem to cause any problems, although
the act of printing it to the console briefly slows things down a bit.
[17133.534881] ------------[ cut here ]------------
[17133.539733] WARNING: at drivers/staging/omapdrm/omap_irq.c:56
omap_irq_register+0x48/0x88()
[17133.548492] Modules linked in: omapdce(C) omap_rpmsg_resmgr
rpmsg_resmgr virtio_rpmsg_bus omap_remoteproc remoteproc virtio
virtio_ring
[17133.561340] [<c0016464>] (unwind_backtrace+0x0/0xec) from
[<c0587c74>] (dump_stack+0x20/0x24)
[17133.570281] [<c0587c74>] (dump_stack+0x20/0x24) from [<c003d488>]
(warn_slowpath_common+0x5c/0x74)
[17133.579711] [<c003d488>] (warn_slowpath_common+0x5c/0x74) from
[<c003d4cc>] (warn_slowpath_null+0x2c/0x34)
[17133.589843] [<c003d4cc>] (warn_slowpath_null+0x2c/0x34) from
[<c03fc3a4>] (omap_irq_register+0x48/0x88)
[17133.599670] [<c03fc3a4>] (omap_irq_register+0x48/0x88) from
[<c03fcf7c>] (apply_worker+0x104/0x13c)
[17133.609191] [<c03fcf7c>] (apply_worker+0x104/0x13c) from
[<c00592d4>] (process_one_work+0x264/0x418)
[17133.618774] [<c00592d4>] (process_one_work+0x264/0x418) from
[<c0059808>] (worker_thread+0x1b4/0x2cc)
[17133.628448] [<c0059808>] (worker_thread+0x1b4/0x2cc) from
[<c005db64>] (kthread+0x9c/0xa8)
[17133.637145] [<c005db64>] (kthread+0x9c/0xa8) from [<c000ef6c>]
(kernel_thread_exit+0x0/0x8)
[17133.645904] ---[ end trace da227214a8249215 ]---

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Sep 27 2012, 2:54 am
From: Rob Clark <robdcl...@gmail.com>
Date: Thu, 27 Sep 2012 08:54:20 +0200
Local: Thurs, Sep 27 2012 2:54 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after
There was a leak or two that was fixed recently..  IIRC it needs an
update in omapdce kernel module and in the ducati firmware.. not sure
if this is pushed yet

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Sep 27 2012, 4:40 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Fri, 28 Sep 2012 08:40:01 +1200
Local: Thurs, Sep 27 2012 4:40 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Rob,

On 27 September 2012 18:54, Rob Clark <robdcl...@gmail.com> wrote:

> There was a leak or two that was fixed recently..  IIRC it needs an
> update in omapdce kernel module and in the ducati firmware.. not sure
> if this is pushed yet

Do you know where this will be published through? I'm currently using
the dispc-hl-split branch of your
git://github.com/robclark/kernel-omap4.git tree, as this prevented the
flickering I was seeing on other kernels. Can you tell me if this work
has migrated through to any of the stock trees?

Thanks,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Dechesne  
View profile  
 More options Sep 27 2012, 5:17 pm
From: Nicolas Dechesne <nde...@gmail.com>
Date: Thu, 27 Sep 2012 23:17:30 +0200
Local: Thurs, Sep 27 2012 5:17 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after

On Thu, Sep 27, 2012 at 10:40 PM, Andre Renaud <an...@bluewatersys.com> wrote:
> Do you know where this will be published through? I'm currently using
> the dispc-hl-split branch of your
> git://github.com/robclark/kernel-omap4.git tree, as this prevented the
> flickering I was seeing on other kernels. Can you tell me if this work
> has migrated through to any of the stock trees?

otoh, that branch should be more recent
https://github.com/xboudet/linux/tree/ti-ubuntu-3.4-1487_dispc-hl-split

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Sep 27 2012, 10:19 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Fri, 28 Sep 2012 14:19:49 +1200
Local: Thurs, Sep 27 2012 10:19 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Nicolas,

On 28 September 2012 09:17, Nicolas Dechesne <nde...@gmail.com> wrote:

> On Thu, Sep 27, 2012 at 10:40 PM, Andre Renaud <an...@bluewatersys.com> wrote:
>> Do you know where this will be published through? I'm currently using
>> the dispc-hl-split branch of your
>> git://github.com/robclark/kernel-omap4.git tree, as this prevented the
>> flickering I was seeing on other kernels. Can you tell me if this work
>> has migrated through to any of the stock trees?

> otoh, that branch should be more recent
> https://github.com/xboudet/linux/tree/ti-ubuntu-3.4-1487_dispc-hl-split

I jumped to that tree, and had some issues with the dce driver. Using
the firmware from tiomap4-syslink-mm-firmware v2.x.10.1, I get the
following error:
[  629.490509] omap-rproc omap-rproc.1: received echo reply from ipu_c0
[  634.490844] rproc remoteproc1: fatal error #17 detected in ipu_c0:
error type watchdog fired
[  634.499725] rproc remoteproc1: trying to recover ipu_c0
[  634.543121] omap_hwmod: ipu: failed to hardreset
[  634.548187] rproc remoteproc1: stopped remote processor ipu_c0
[  634.904205] rproc remoteproc1: powering up ipu_c0
[  634.948181] rproc remoteproc1: Booting fw image
ducati-m3-core0.xem3, size 3595847
[  634.956695] omap-iommu omap-iommu.1: ipu: version 2.1
[  634.974334] rproc remoteproc1: dma_alloc_coherent failed: 102760448
[  634.981109] rproc remoteproc1: Failed to process resources: -12
[  635.006774] omap_hwmod: ipu: failed to hardreset
[  635.012115] rproc remoteproc1: rproc_boot() failed -12
[  635.017578] virtio_rpmsg_bus: probe of virtio17 failed with error -12
[  635.024353] rproc remoteproc1: registered virtio17 (type 7)

If I switched to what I presume is the new firmware
ti-firmware-ipu-dce v1.6+120829+191835+git53cf578, I get the following
error:
[   12.721282] rproc remoteproc1: powering up ipu_c0
[   12.764373] rproc remoteproc1: Booting fw image
ducati-m3-core0.xem3, size 3595847
[   12.772430] omap-iommu omap-iommu.1: ipu: version 2.1
[   12.787353] rproc remoteproc1: dma_alloc_coherent failed: 102760448
[   12.793975] rproc remoteproc1: Failed to process resources: -12
[   12.819580] omap_hwmod: ipu: failed to hardreset
[   12.827148] omap_hwmod: ipu: _wait_target_disable failed
[   12.833221] rproc remoteproc1: rproc_boot() failed -12
[   12.838653] virtio_rpmsg_bus: probe of virtio0 failed with error -12
[   12.845367] rproc remoteproc1: registered virtio0 (type 7)

Any ideas what I might have missed?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Sep 28 2012, 3:10 am
From: Rob Clark <robdcl...@gmail.com>
Date: Fri, 28 Sep 2012 09:10:51 +0200
Local: Fri, Sep 28 2012 3:10 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

I guess there might be an updated firmware that should go along with
this kernel.. :-/

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Sep 30 2012, 4:22 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Mon, 1 Oct 2012 09:22:13 +1300
Local: Sun, Sep 30 2012 4:22 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Rob,

>> I jumped to that tree, and had some issues with the dce driver. Using
>> the firmware from tiomap4-syslink-mm-firmware v2.x.10.1, I get the
>> following error:

> I guess there might be an updated firmware that should go along with
> this kernel.. :-/

Does anyone know when that firmware might be available?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Dechesne  
View profile  
 More options Oct 1 2012, 7:14 am
From: Nicolas Dechesne <nde...@gmail.com>
Date: Mon, 1 Oct 2012 13:14:24 +0200
Local: Mon, Oct 1 2012 7:14 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

On Sun, Sep 30, 2012 at 10:22 PM, Andre Renaud <an...@bluewatersys.com> wrote:
> Hi Rob,

>>> I jumped to that tree, and had some issues with the dce driver. Using
>>> the firmware from tiomap4-syslink-mm-firmware v2.x.10.1, I get the
>>> following error:

>> I guess there might be an updated firmware that should go along with
>> this kernel.. :-/

> Does anyone know when that firmware might be available?

we usually update the PPA the 1st week of every month... so later this
week is the current target!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Ertsås  
View profile  
 More options Oct 1 2012, 7:18 am
From: Martin Ertsås <marti...@gmail.com>
Date: Mon, 01 Oct 2012 13:13:12 +0200
Local: Mon, Oct 1 2012 7:13 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after
On 09/27/12 23:17, Nicolas Dechesne wrote:
> On Thu, Sep 27, 2012 at 10:40 PM, Andre Renaud <an...@bluewatersys.com> wrote:
>> Do you know where this will be published through? I'm currently using
>> the dispc-hl-split branch of your
>> git://github.com/robclark/kernel-omap4.git tree, as this prevented the
>> flickering I was seeing on other kernels. Can you tell me if this work
>> has migrated through to any of the stock trees?
> otoh, that branch should be more recent
> https://github.com/xboudet/linux/tree/ti-ubuntu-3.4-1487_dispc-hl-split

Is the patches we need from here applied in the omapzoom kernel-ubuntu tree?

- Martin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Dechesne  
View profile  
 More options Oct 1 2012, 7:55 am
From: Nicolas Dechesne <nde...@gmail.com>
Date: Mon, 1 Oct 2012 13:55:24 +0200
Local: Mon, Oct 1 2012 7:55 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

On Mon, Oct 1, 2012 at 1:13 PM, Martin Ertsås <marti...@gmail.com> wrote:
> On 09/27/12 23:17, Nicolas Dechesne wrote:
>> On Thu, Sep 27, 2012 at 10:40 PM, Andre Renaud <an...@bluewatersys.com> wrote:
>>> Do you know where this will be published through? I'm currently using
>>> the dispc-hl-split branch of your
>>> git://github.com/robclark/kernel-omap4.git tree, as this prevented the
>>> flickering I was seeing on other kernels. Can you tell me if this work
>>> has migrated through to any of the stock trees?
>> otoh, that branch should be more recent
>> https://github.com/xboudet/linux/tree/ti-ubuntu-3.4-1487_dispc-hl-split
> Is the patches we need from here applied in the omapzoom kernel-ubuntu tree?

well.. not really ;-)

we actually have 2 variants of our ubuntu kernel... the one which is
on omapzoom is what we push in the PPA. rob has been working on a
redesign that impacts omapdrm/omapdss that is improving quite a few
things around overlay and compositing.. that's this 'dispc-hl-split'
branch. the problem with that branch is that it only supports hdmi for
now, not DSI, that's why it's not merged into TI ubuntu kernel.

rob and tomi (omadrm and omapdss maintainers) are working right now on
aligning on the proper design for these changes, and then they will be
merged into mainline kernel, and into TI ubuntu kernel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 3 2012, 6:41 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Thu, 4 Oct 2012 11:41:32 +1300
Local: Wed, Oct 3 2012 6:41 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi,

> we actually have 2 variants of our ubuntu kernel... the one which is
> on omapzoom is what we push in the PPA. rob has been working on a
> redesign that impacts omapdrm/omapdss that is improving quite a few
> things around overlay and compositing.. that's this 'dispc-hl-split'
> branch. the problem with that branch is that it only supports hdmi for
> now, not DSI, that's why it's not merged into TI ubuntu kernel.

> rob and tomi (omadrm and omapdss maintainers) are working right now on
> aligning on the proper design for these changes, and then they will be
> merged into mainline kernel, and into TI ubuntu kernel.

I'm trying to work out the correct combination of kernel & firmware to
get YUV & ARGB DRM layers going with no tearing effects. If I use the
dispc-hl-split branch from git://github.com/xboudet/linux.git, then I
don't seem to be able to use the newest dce firmware image, however if
I use the ti-ubuntu-3.4-1487.6 branch from
git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git, then I
get a horrible green flicker over the top of the YUV plane. I believe
this is a known issue that the dispc-hl-split fork is designed to
resolve.

So far I've had the most luck with Robs dispc-hl-split branch from
git://github.com/robclark/kernel-omap4.git (which is probably the same
as  Xaviers). However I am experiencing some odd kernel
panics/warnings on that kernel that I was hoping would be resolved in
the ubuntu version.

Can anyone advise what the most appropriate setup should be?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 7 2012, 4:24 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Mon, 8 Oct 2012 09:23:58 +1300
Local: Sun, Oct 7 2012 4:23 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi,

> rob and tomi (omadrm and omapdss maintainers) are working right now on
> aligning on the proper design for these changes, and then they will be
> merged into mainline kernel, and into TI ubuntu kernel.

Can anyone offer any hints here as to what the best option for me
would be. I'm pretty sure I need the dispc-hl-split work, as it
prevents the on-screen flicker that I'm seeing without it, but the
memory leak that was recently fixed in the dce stuff (which I believe
is not yet fixed in the dispc-hl-split branch) is killing my
application. Can anyone point me to the commits that resolved the
memory leak issue?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Boudet TIF  
View profile  
 More options Oct 8 2012, 3:22 am
From: Xavier Boudet TIF <x-bou...@ti.com>
Date: Mon, 8 Oct 2012 09:22:14 +0200
Local: Mon, Oct 8 2012 3:22 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

Hello Andre,

I would advise you to first dist-upgrade on TI PPA to get the last
October update, please refer to following e-mail for instructions:
https://groups.google.com/forum/?fromgroups=#!topic/pandaboard/7DLabw...
<https://groups.google.com/forum/?fromgroups=#%21topic/pandaboard/7DLa...>

Then we have published a new "dspc-hl-split" kernel into the trunk PPA,
please check kernel 3.4.0-*1488.2*:
https://launchpad.net/~tiomap-dev/+archive/omap-trunk/+sourcepub/2702...

NOTE: This kernel support only HDMI connector and do not support DVI.
NOTE2: corresponding source can be found in my github branch:
https://github.com/xboudet/linux/commits/ti-ubuntu-3.4-1488

Let me know if it fixes your issue.

Regards, Xavier Boudet
On 10/07/2012 10:23 PM, Andre Renaud wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 9 2012, 5:31 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Wed, 10 Oct 2012 10:31:00 +1300
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Xavier,

We're not actually using the full Ubuntu distribution, just cherry
picking the pieces we want.

Unfortunately, using that kernel, we are still unable to load the
latest ducati firmware from
http://ppa.launchpad.net/tiomap-dev/omap-trunk/ubuntu/pool/main/t/ti-...

[   20.136474] rproc remoteproc1: Booting fw image
ducati-m3-core0.xem3, size 3618829
[   20.144531] omap-iommu omap-iommu.1: ipu: version 2.1
[   20.159454] rproc remoteproc1: dma_alloc_coherent failed: 102760448
[   20.166046] rproc remoteproc1: Failed to process resources: -12
[   20.191619] omap_hwmod: ipu: failed to hardreset
[   20.196990] rproc remoteproc1: rproc_boot() failed -12
[   20.202423] virtio_rpmsg_bus: probe of virtio0 failed with error -12
[   20.209106] rproc remoteproc1: registered virtio0 (type 7)

Any ideas about where we might be going wrong with this?

Regards,
Andre

On 8 October 2012 20:22, Xavier Boudet TIF <x-bou...@ti.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Oct 9 2012, 6:13 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Tue, 9 Oct 2012 17:13:27 -0500
Local: Tues, Oct 9 2012 6:13 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after

On Tue, Oct 9, 2012 at 4:31 PM, Andre Renaud <an...@bluewatersys.com> wrote:
> Hi Xavier,

> We're not actually using the full Ubuntu distribution, just cherry
> picking the pieces we want.

> Unfortunately, using that kernel, we are still unable to load the
> latest ducati firmware from
> http://ppa.launchpad.net/tiomap-dev/omap-trunk/ubuntu/pool/main/t/ti-...

> [   20.136474] rproc remoteproc1: Booting fw image
> ducati-m3-core0.xem3, size 3618829
> [   20.144531] omap-iommu omap-iommu.1: ipu: version 2.1
> [   20.159454] rproc remoteproc1: dma_alloc_coherent failed: 102760448

hmm, if dma_alloc_coherent() is actually failing, that would point at
perhaps some kconfig issue?  Maybe CMA not enabled, or rproc's CMA
pool is not big enough?

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 9 2012, 6:17 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Wed, 10 Oct 2012 11:17:47 +1300
Local: Tues, Oct 9 2012 6:17 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after

>> [   20.136474] rproc remoteproc1: Booting fw image
>> ducati-m3-core0.xem3, size 3618829
>> [   20.144531] omap-iommu omap-iommu.1: ipu: version 2.1
>> [   20.159454] rproc remoteproc1: dma_alloc_coherent failed: 102760448

> hmm, if dma_alloc_coherent() is actually failing, that would point at
> perhaps some kconfig issue?  Maybe CMA not enabled, or rproc's CMA
> pool is not big enough?

At the moment it is set to 16MB, however the request there is for
~100MB. Is that reasonable?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Oct 9 2012, 7:16 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Tue, 9 Oct 2012 18:16:14 -0500
Local: Tues, Oct 9 2012 7:16 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after

On Tue, Oct 9, 2012 at 5:17 PM, Andre Renaud <an...@bluewatersys.com> wrote:
>>> [   20.136474] rproc remoteproc1: Booting fw image
>>> ducati-m3-core0.xem3, size 3618829
>>> [   20.144531] omap-iommu omap-iommu.1: ipu: version 2.1
>>> [   20.159454] rproc remoteproc1: dma_alloc_coherent failed: 102760448

>> hmm, if dma_alloc_coherent() is actually failing, that would point at
>> perhaps some kconfig issue?  Maybe CMA not enabled, or rproc's CMA
>> pool is not big enough?

> At the moment it is set to 16MB, however the request there is for
> ~100MB. Is that reasonable?

Well, 16MiB is the default size for the global pool.  But remoteproc
should have it's own pool.  For a quick test you could just try to
make the global pool larger.

And yes, 100MiB is about what I'd expect...  I wouldn't call it
*reasonable*, but that is OMX camera for you.  (And I think we end up
using the same memory map for builds w/out OMX camera.)

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 9 2012, 8:05 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Wed, 10 Oct 2012 13:05:04 +1300
Local: Tues, Oct 9 2012 8:05 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Rob,

>> At the moment it is set to 16MB, however the request there is for
>> ~100MB. Is that reasonable?

> Well, 16MiB is the default size for the global pool.  But remoteproc
> should have it's own pool.  For a quick test you could just try to
> make the global pool larger.

> And yes, 100MiB is about what I'd expect...  I wouldn't call it
> *reasonable*, but that is OMX camera for you.  (And I think we end up
> using the same memory map for builds w/out OMX camera.)

Thanks for that - the issue was resolved by bumping
CONFIG_OMAP4_IPU_CMA_SIZE to 0xA100000 (from 0x6500000). I'd
previously just been adjusting CONFIG_CMA_SIZE_MBYTES, which didn't
have any effect.

So has the newer firmware changed to add more features that consume
more memory here?

Regards,
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Oct 9 2012, 8:27 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Tue, 9 Oct 2012 19:27:43 -0500
Local: Tues, Oct 9 2012 8:27 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after

well, the memory increase is all about OMX camera..  which I don't
think is actually in the public firmware in the PPA.  But I'm not 100%
sure about that offhand.  I think the problem is that we don't have a
good way to have different memory maps for the internal firmware w/
OMX camera and the public firmware with just DCE on the same kernel.

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Dechesne  
View profile  
 More options Oct 10 2012, 1:55 am
From: Nicolas Dechesne <nde...@gmail.com>
Date: Wed, 10 Oct 2012 07:54:39 +0200
Local: Wed, Oct 10 2012 1:54 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

indeeed, this is the problem. our kernel is used for both public PPA,
but also for products/customers. So we need to be able to run DCE and
OMX camera, so we go with the worst case memory map... and no, OMX
camera is not pushed into the public PPA, we have it into another
firmware.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Boudet  
View profile  
 More options Oct 10 2012, 3:08 am
From: Xavier Boudet <x-bou...@ti.com>
Date: Wed, 10 Oct 2012 09:08:27 +0200
Local: Wed, Oct 10 2012 3:08 am
Subject: Re: [pandaboard] OMAPDRM eventual failure after

Hi Andre,

I would say that you are missing Kernel config changes that corresponds
to this new FW.

Can you clarify the kernel you are using?
Are you using source from:
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=summary
Are you using our config as reference:
debian.ti-omap4/config/config.common.ubuntu

You shall have a look to the following patches, especially the kernel
config one:
7c3423e UBUNTU: Config align CMA sizes for DSP and IPU (OMAP4 + OMAP5)
with new SysBios'
64232eb remoteproc/omap: increase default CMA size for DSP by 2MB
f66f185 remoteproc/omap: increase default CMA size for OMAP4 IPU to 106MB
ceeb091 omap: remoteproc: adjust the CMA start addresses for OMAP4
be09d94 remoteproc/omap: correct the CMA sizes used for IPU & DSP

I guess you are using our code but your own config, so chcke commit: 7c3423e

Regards, Xavier Boudet

On 10/10/2012 12:13 AM, Rob Clark wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 15 2012, 4:55 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Tue, 16 Oct 2012 09:55:27 +1300
Local: Mon, Oct 15 2012 4:55 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Xavier,
I shuffled over to your kernel from github, and it does appear to be
behaving reasonably well. However I have struck a new issue - the DRM
subsystem seems to stall for about 100seconds 600 seconds after boot
up. During this period, all of my calls to drmHandleEvent
page_flip_handler return immediately (implying that vsync has just
occurred, but it hasn't), and nothing appears on screen. This rights
itself shortly later on, and then doesn't seem to reoccur. The timing
is remarkably consistent (100s of stall which starts 600s after
program startup).

Has anyone seen this issue before?

Regards,
Andre

On 8 October 2012 20:22, Xavier Boudet TIF <x-bou...@ti.com> wrote:

--
Bluewater Systems - An Aiotec Company

Andre Renaud
an...@bluewatersys.com          5 Amuri Park, 404 Barbadoes St
www.bluewatersys.com            PO Box 13 889, Christchurch 8013
www.aiotec.co.nz                New Zealand
Phone: +64 3 3779127            Freecall: Australia 1800 148 751
Fax:   +64 3 3779135            USA 1800 261 2934


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Oct 15 2012, 6:20 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Mon, 15 Oct 2012 17:20:15 -0500
Local: Mon, Oct 15 2012 6:20 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
hmm, it does sound like some roll-over issue.. IIRC, jiffies rolls
over some minutes (possibly 10 minutes) after boot.

Are you waiting for the fd to be signaled and then calling
drmHandleEvent()?  Ie. select()/poll(), something along the lines of:
https://github.com/robclark/kmscube/blob/master/kmscube.c#L624

I'm curious if the event isn't happening at all, or if it is just a
problem reading back the event.

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Renaud  
View profile  
 More options Oct 15 2012, 6:57 pm
From: Andre Renaud <an...@bluewatersys.com>
Date: Tue, 16 Oct 2012 11:57:40 +1300
Local: Mon, Oct 15 2012 6:57 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
Hi Rob,
Yes, I have the select/poll loop in there. I wondered about jiffies,
but it rolls at 5 minutes, not 10 minutes (which is what I'm seeing).
I've had a quick look through drivers/staging/omapdrm and
drivers/gpu/drm and can't see any obvious changes that would impact
this (I'm comparing it against your omap4 3.0.4 kernel).

Regards,
Andre

On 16 October 2012 11:20, Rob Clark <robdcl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Clark  
View profile  
 More options Oct 16 2012, 1:16 pm
From: Rob Clark <robdcl...@gmail.com>
Date: Tue, 16 Oct 2012 12:15:51 -0500
Local: Tues, Oct 16 2012 1:15 pm
Subject: Re: [pandaboard] OMAPDRM eventual failure after
just to rule something out, could you try:

echo 0 >/sys/devices/platform/omapdrm/graphics/fb0/blank

BR,
-R


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 30   Newer >
« Back to Discussions « Newer topic     Older topic »