LinuxMCE Forums

General => Installation issues => Topic started by: pigdog on April 21, 2014, 10:57:58 PM

Title: xine cpu 80% with vdpau
Post by: pigdog on April 21, 2014, 10:57:58 PM
Hi,

I've been doing some tests, (before I try jumbo frames), and I've notice that while playing a DVD (VOB) from my NAS to my Core/Hybrid, or to a MD, xine has been running at 79-80% CPU.

This is with both hardware acceleration & De-interlace quality set to vdpau with video card defaulted to GeForce.

Picture looks great but it seems strange that CPU % is so high.

I've tried stuff but with little success at reducing CPU %  (which I didn't think would be that high in the first place).

Am I'm wrong thinking this is an issue?

Cheers

p.s. 12.04
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 22, 2014, 12:20:00 PM
Hi,

Found this post...

http://forum.linuxmce.org/index.php?topic=13332.0

...have changed Shared Memory Size on Core/Hybrid mobo from 256 to 512.

No luck.
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 22, 2014, 03:16:17 PM
unfortunately, you did not specify what vid card you are running. Some are better able to utilize vdpau than others. I ran a 1st gen atom based board with nvidia graphics chipset, and never had a cpu load that high driving a 1080p display.
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 22, 2014, 03:46:33 PM
Hi,

I've been testing this on my Core and it has an onboard Nvidia GeForce 8200 with a Nvidia GeForce 8500 GT PCI Express.

I'm not using SLI because I don't have enough memory on board (need at least 2Gig).

The main adapter is the 8500 GT.

The MD is an Acer 330 ION 9rev b1)

I haven't looked at the second MD performance yet but if I remember correctly it's a Nvidia 9500 card.

Cheers
Title: Re: xine cpu 80% with vdpau
Post by: tschak909 on April 22, 2014, 04:03:33 PM
Don't use the 8xxx series cards with VDPAU...the 8300 does not support it correctly, and the 8500 is the first gen, which doesn't do all that much to help you.

-Thom
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 22, 2014, 04:19:11 PM
OK,

So take vdpau out of webadmin settings.  Leave GeForce as video card?

What would recommend for acceleration?  Stick with xv?  Interlacing?

Thanks.
Title: Re: xine cpu 80% with vdpau
Post by: tschak909 on April 23, 2014, 04:30:47 AM
That, or... get a newer video card, perhaps? :)

-Thom
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 23, 2014, 04:52:10 PM
Hi,

I guess that would mean change out the video card on my Core/Hybrid, scrap and replace my ACER 330 ION and my AOpen DE7000.

It doesn't matter how deep my pockets are, when I get to the bottom there's still no money.

* heavy hmm *
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 23, 2014, 10:28:27 PM
The ION should not have a problem.
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 24, 2014, 01:13:53 AM
Hi,

Unfortunately, my ION is running at 80% with xine-player (see earlier reply) which is why I am "what the heck" because I can't see why I would have an issue with the Core/Hybrid in the first place because it has the "POWER" (desktop unit, faster CPU, etc., etc.).

I'm also at a loss why the ION and DE7000 can setup 9000 mtu speeds and the Core/Hybrid (both ethX) craps out above 7000 MTU.  I tried 8000 as the next setting but it was a no go.  (Does this have something to do with having to swap network interfaces?.)

So my next head scratcher was what happens with iperf and transmission speeds over the network @ various MTU setttings using a test VOB (the same VOB, over and over and over and over) from my NAS to the Core/Hybrid, Acer 330 ION and DE7000!
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 24, 2014, 06:40:25 AM
Did you try without deinterlacing?
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 24, 2014, 01:36:22 PM
Hi posde,

vdpau with no interlacing, xine-player = 80% CPU via top

xv with no interlacing, xine-player = 20% CPU via top

opengl with no interlacing, xine-player = 40% CPU via top

System was rebooted after each change.

Mobo = ECS GF8200A Black Series, 2 Gig RAM, AMD 5200+ x2
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 24, 2014, 01:37:56 PM
That's not the ION is it?!
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 24, 2014, 05:12:32 PM
Hi posde,

Sorry I took so long to reply but I installed the April 16 28950 snap and had to generate the MD.

The ION results are as follows...

Standard video card - xv acceleration           - no interlacing        = 20% CPU via top
              "                  - opengl acceleration   -             "                 = 35 %
GeForce video card - xv accelaeration         -             "                 = 20%
              "                 - opengl acceleration    -             "                 = 35%
              "                  - vdpau acceleration    -              "                = 85+%
              "                  -             "                     - Vdpau interlacing   = 85+%

ION MD rebooted each time after changes.

Same VOB played each time.

For some reason Picture Viewer was running @ 100% on vdpau/vdpau.  I rebooted Core/Hybrid - NAS & ION MD.

It's OK now.


Cheers
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 24, 2014, 05:32:37 PM
/me had disabled the picture viewer on the ION, and also chose the UI2 masked instead of alpha (don't know which one you have)
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on April 24, 2014, 07:07:43 PM
Hi posde,

I'm using second choice - medium.

It wasn't Photo_Screen_Saver that was peg at 100% but Picture_Viewer.

Or are they part of the same mechanism?

Thanks.
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on April 24, 2014, 08:26:36 PM
Not sure, but I would disable it as well
Title: Re: xine cpu 80% with vdpau
Post by: pigdog on May 02, 2014, 03:03:34 AM
Hi,

I've been working @ this.  I have my CPU cycles way down.

When I get some time, (got a new [24/7] job), I have a couple of tests to nail what I did wrong, or what others might do wrong.

[Core/MD/kernel version/nvidia version drivers (Core/MD's), nouveau drivers, ubuntu-restricted-extras, dist-upgrade, blah, blah, blah.

My ION has good % now without disabling stuff.

Cheers
Title: Re: xine cpu 80% with vdpau
Post by: Marie.O on May 02, 2014, 07:28:33 AM
two good news: A new job, and getting CPU cycles down! Congrats on both :)