• 1
  • 135
  • 136
  • 137(current)
  • 138
  • 139
  • 244
Linux Radeon OSS with vdpau (howto)
(2014-02-04, 21:03)ddtpv Wrote: Hi all!
Help me please with high CPU load on AMD E350 Radeon HD6310. Regardless of whether you watch h264 or MPEG, i get 24 FPS&60-80% CPU load.
Linux 13.10, Foxconn nt3500.
3.13.0-031300-generic #201401192235 SMP Mon Jan 20 03:36:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

http://paste.ubuntu.com/6874549/
http://paste.ubuntu.com/6874553/
http://paste.ubuntu.com/6874554/
http://paste.ubuntu.com/6874555/
http://paste.ubuntu.com/6874557/

I need help. I am install new 13.10 x64 system with XVBA, but i have 80% CPU load (on VDPAU system 70%) with HD PVR via tvheadend. When i running h264 full hd movie from hard drive, CPU 20-40%. Any ideas?!
XVBA?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
I have no idea what to do more. Xbmc with vdpau 70% CPU, xbmc with xvba 80%. Looks like live tv can't use hardware acceleration.
Quote:22:47:26 T:140533036775296 NOTICE: GL: Using GL_ARB_pixel_buffer_object
22:47:28 T:140531329922816 ERROR: (VDPAU) Error: An invalid pointer was provided. Typically, this means that a NULL pointer was provided for an 'output' parameter.(4) at VDPAU.cpp:1043
22:47:28 T:140531329922816 NOTICE: (VDPAU) FiniVDPAUOutput

Never seen that before. VDPAU is not used at all. Can you check the UMA size in bios?

Image
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
512. Its first thing i did.
From the installed packages I see that you have funny mixture of 10.1 and 10.0.2. Please redo the howto and provide the logfiles again with testing the favorite clannad example file: https://dl.dropboxusercontent.com/u/5572...lannad.mkv
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Fresh install
http://paste.ubuntu.com/6926838/
http://paste.ubuntu.com/6926843/
http://paste.ubuntu.com/6926846/
http://paste.ubuntu.com/6926850/
http://paste.ubuntu.com/6926852/
clannad example - max 44% CPU
Why do you have pulseaudio installed if you just followed the howto?

Edit: the log does not show that you are playing anything.
Edit2: vdpauinfo non existent - please stick to the howto.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
apt-get remove pulseaudio
vdpauinfo
http://paste.ubuntu.com/6926949/
https://drive.google.com/file/d/0Bxl3hO6...sp=sharing
You did not answer my question. Do you follow the howto or do you use something else?
You did not provide a logfile when you are actually playing clannad
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Did everything as in the instructions. I decided that the section of the audio should be done in case of problems.
Which files need to provide after clannad playback?
vdpauinfo was installed.
If you did anything that the instructions tell, you should never ever have pulseaudio installed.

I want that you put xbmc into debug mode, restart it. Play the clannad file and then post the xbmc.log
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2014-02-13, 11:42)Jan0sh Wrote: I will retry this afternoon. Yesterday when the error occurred the partition where the files are on was completely full, no free byte left.
I will fill it up again and retest. Strange

So finaly found time for the test.
To fill up the HDD i used
Code:
dd if=/dev/zero of=largeFile bs=8G count=1
after a while the skipping sound error reoccured (the hdd is not completely full)

If I redo the dd command multiple times short behind each other, the movie will require to buffer again, but then even if no IO-ops is performed the movie will play without sound and very slow/juddery (frame by frame). Looks like the buffer is never filled up again (even it states before 1 to 100% buffered). One has to stop the current playback and restart it to get it working again.

It is totaly possible that there was some IO when the problem occured first, some unraring or so, but I would have thought, thosw would be of lower priority than the xbmc process. The dd command puts quit a lot load on CPU so it is also possible the problem is more cpu-stress related than IO related?.

The HDDs are quit fast.
Code:
dd if=/dev/zero of=large4 bs=8G count=1
2147479552 Bytes (2,1 GB) kopiert, 23,1502 s, 92,8 MB/s

I assume I can live with those skips-on-heavy-io but would be interested in why the system does not priorities xbmc instead of some random Io generating subprocess?

Also the issue with rebuffering seems to require some attention. Even if xbmc has to rebuffer (because of heavy io) the movie should play back just fine after the io is finished.

If there is anything I could test in addition just say it Smile

Edit:
Did test if it could be an cpu issue with stress -cpu 2 . no problems occured, must have been io
I have used your howto with ubuntu desktop 13.10 (not the mini.iso and not the scripts) and got vdpau and xmbc to play everything perfectly, incl. DTS-HD, 1080p ect.
Since the updates from last sunday 9-2-2014 the passthu option in xbmc was gone, only the pulseaudio devices are available in xbmc 13.0.

Eventually I got passthu available again by removing the repository ppa:wsnipex/xbmc-fernetmenta-master and installing xbmc 12.3 frodo. Huh
On saturday 8-2-2014 everything was still ok using XBMC 13.0 from wsnipex/xbmc-fernetmenta-master.

Half an hour ago I tried the xbmc-fernetmenta-master again: resulting in no passthru available (in expert configsettings)
So I removed the xbmc-fernetmenta-master and reinstalled 12.3 to get things working again.

Here are the logs from my working setup:
http://paste.ubuntu.com/6922743/
http://paste.ubuntu.com/6922746/
http://paste.ubuntu.com/6922750/
http://paste.ubuntu.com/6922751/
http://paste.ubuntu.com/6922752/
http://paste.ubuntu.com/6922756/

No real problem for me here, I'm just saying... the xbmc provided in the howto is not giving me the expected results, while xbmc 12.3 Frodo is working perfectly with vdpau.
I have read the above post.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
  • 1
  • 135
  • 136
  • 137(current)
  • 138
  • 139
  • 244

Logout Mark Read Team Forum Stats Members Help
Radeon OSS with vdpau (howto)26