Author Topic: xine cpu 80% with vdpau  (Read 7607 times)

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
xine cpu 80% with vdpau
« 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
« Last Edit: April 21, 2014, 10:59:55 pm by pigdog »

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #1 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.
« Last Edit: April 22, 2014, 12:32:13 pm by pigdog »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: xine cpu 80% with vdpau
« Reply #2 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.

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #3 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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #4 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

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #5 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.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #6 on: April 23, 2014, 04:30:47 am »
That, or... get a newer video card, perhaps? :)

-Thom

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #7 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 *
« Last Edit: April 23, 2014, 04:54:31 pm by pigdog »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: xine cpu 80% with vdpau
« Reply #8 on: April 23, 2014, 10:28:27 pm »
The ION should not have a problem.

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #9 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!

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: xine cpu 80% with vdpau
« Reply #10 on: April 24, 2014, 06:40:25 am »
Did you try without deinterlacing?

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #11 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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: xine cpu 80% with vdpau
« Reply #12 on: April 24, 2014, 01:37:56 pm »
That's not the ION is it?!

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: xine cpu 80% with vdpau
« Reply #13 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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: xine cpu 80% with vdpau
« Reply #14 on: April 24, 2014, 05:32:37 pm »
* posde had disabled the picture viewer on the ION, and also chose the UI2 masked instead of alpha (don't know which one you have)