Video Overlay memory usage question...

We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:Michael.Burkey@Nexwarecorp.com)
Nexware Corp. (http://www.nexwarecorp.com)
Software Engineer
865.546.9998 x201

Hi Michael,

Does this problem occur in 6.1 or just 6.1A?
Could you post the output of:

ls -l /lib/dll/devg-cyrix.so

Regards,

Joe

Michael D. Burkey <michael.burkey@nexwarecorp.com> wrote:

We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:> Michael.Burkey@Nexwarecorp.com> )
Nexware Corp. (> http://www.nexwarecorp.com> )
Software Engineer
865.546.9998 x201

I’ll check the date/time of the file & post the answer shortly.

This is under 6.1A – I have never tried it under 6.1. We
decided it made more sense to just skip 6.1 in our porting
from 6.0C.

“Hardware Support Account” <hw@qnx.com> wrote in message news:9q4amv$dc7$1@nntp.qnx.com

Hi Michael,

Does this problem occur in 6.1 or just 6.1A?
Could you post the output of:

ls -l /lib/dll/devg-cyrix.so

Regards,

Joe

Michael D. Burkey <> michael.burkey@nexwarecorp.com> > wrote:
We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:> Michael.Burkey@Nexwarecorp.com> )
Nexware Corp. (> http://www.nexwarecorp.com> )
Software Engineer
865.546.9998 x201




\

size is 22516, Aug 23 18:02

“Hardware Support Account” <hw@qnx.com> wrote in message news:9q4amv$dc7$1@nntp.qnx.com

Hi Michael,

Does this problem occur in 6.1 or just 6.1A?
Could you post the output of:

ls -l /lib/dll/devg-cyrix.so

Regards,

Joe

Michael D. Burkey <> michael.burkey@nexwarecorp.com> > wrote:
We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:> Michael.Burkey@Nexwarecorp.com> )
Nexware Corp. (> http://www.nexwarecorp.com> )
Software Engineer
865.546.9998 x201




\

Hi Michael,

We have been unable to reproduce this problem.
On a 6.1.0 Patch A Media GX running with 2.5 MB of
video ram we were able to play several different MPEGs using a YUV
offscreen buffer (using the Photon Media Player)
We did find that when we upgraded from 6.0 to 6.1A we had to
removed our .ph directory to stop the media player from falling back
to software.

Are you using the Photon Media Player or your own application?

Can you provide more detail as to the procedure you are following?

Regards,

Joe

Michael D. Burkey <michael.burkey@nexwarecorp.com> wrote:

size is 22516, Aug 23 18:02

“Hardware Support Account” <> hw@qnx.com> > wrote in message news:9q4amv$dc7$> 1@nntp.qnx.com> …
Hi Michael,

Does this problem occur in 6.1 or just 6.1A?
Could you post the output of:

ls -l /lib/dll/devg-cyrix.so

Regards,

Joe

Michael D. Burkey <> michael.burkey@nexwarecorp.com> > wrote:
We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:> Michael.Burkey@Nexwarecorp.com> )
Nexware Corp. (> http://www.nexwarecorp.com> )
Software Engineer
865.546.9998 x201




\

I’ll see what I can do…I haven’t looked at this in a couple of weeks.

This is NOT using Photon Media Player. This is a custom device
driver and application for a Conexant Fusion878 video capture IC.

However we HAVE had similar problems when trying to run Photon
Media Player as well in the past (I’ve just not verified it recently).

We can play YUV offscreen buffer Mpegs as well without a problem
or allocate memory for a video capture buffer in this configuration as
well – however, that is at < 352x240 sizes. When we go up to 640x480
or full CCIR601 sizes is when we start getting memory problems, so be
sure to test it at that size rather than a small image.

I know we have some internal “hacks” for testing that can still play Mpeg2
at 640x480 (at VERY bad frame rates) but we’ve had to run at 4.0Mb
video memory size to get it to work – but that was under 6.0 and
I haven’t tested it with 6.1 yet (actually, I’m not even sure if our aging
hacks of the pre-conference Augusta media player will even be able
to run on 6.1 at all anyway).

\

Michael Burkey (mailto:Michael.Burkey@Nexwarecorp.com)
Nexware Corp. (http://www.nexwarecorp.com)
Software Engineer
865.546.9998 x201




“Hardware Support Account” <hw@qnx.com> wrote in message news:9rnfba$i6c$2@nntp.qnx.com

Hi Michael,

We have been unable to reproduce this problem.
On a 6.1.0 Patch A Media GX running with 2.5 MB of
video ram we were able to play several different MPEGs using a YUV
offscreen buffer (using the Photon Media Player)
We did find that when we upgraded from 6.0 to 6.1A we had to
removed our .ph directory to stop the media player from falling back
to software.

Are you using the Photon Media Player or your own application?

Can you provide more detail as to the procedure you are following?

Regards,

Joe

Michael D. Burkey <> michael.burkey@nexwarecorp.com> > wrote:
size is 22516, Aug 23 18:02

“Hardware Support Account” <> hw@qnx.com> > wrote in message news:9q4amv$dc7$> 1@nntp.qnx.com> …
Hi Michael,

Does this problem occur in 6.1 or just 6.1A?
Could you post the output of:

ls -l /lib/dll/devg-cyrix.so

Regards,

Joe

Michael D. Burkey <> michael.burkey@nexwarecorp.com> > wrote:
We are noticing a difference in the “stride” used for video overlay modes
on the NatSemi Geode (MediaGX) in 6.1A vs 6.0.

Specifically, the overlay mode now seems to require more
video memory than it did under 6.0.

Under 6.0, if I remember right, a 640x480 YUV offscreen buffer would
only require approx 615K. Now, under 6.1A, when I request the exact
same offscreen video area, it is coming back and failing the request and,
based on the stride value its returning, looks like its needing almost 2Mb.

Its a bit of a problem on at least one of our platforms as we like
to run with only 2.5Mb of video memory – and need to be able
to have Photon AND one fullscreen overlay active simultaneously.
Under 6.0 it works. Under 6.1, we have to increase the amount
of available video memory to 4Mb before it works.

Anyone have any ideas on this one?


Michael Burkey (mailto:> Michael.Burkey@Nexwarecorp.com> )
Nexware Corp. (> http://www.nexwarecorp.com> )
Software Engineer
865.546.9998 x201






\