Kodi Community Forum
Linux Radeon OSS with vdpau (howto) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Radeon OSS with vdpau (howto) (/showthread.php?tid=174854)



RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-15

qvdpautest /path/to/data, e.g. ./qvdpautest ../data


RE: Radeon OSS with vdpau (howto) - morbid - 2013-10-15

(2013-10-15, 10:44)fritsch Wrote: @MTroi
We already parked mesa in wsnipex mesa ppa. That will be there, so that makes it "stable" there. Fabio has in the meantime also rebuild his packages, so - development continues.

For xbmc it is quite easy. Don't upgrade before the End of a month, which is the end of the merge window.

@morbid:
It makes absolutely no sense to disable Adjust Refreshrate to match video and at the same time enable Sync Playback to Display. How should a 24p Video sync to the DisplayClock of 50hz or 60hz?

Hmm... good point. I'll disable the other option as well.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-15

(2013-10-15, 14:38)divingmule Wrote: Thanks for the hint. After reading up on upstart, this seems to be a more proper fix, change 'start on' line in the xbmc.conf file.

From -
Code:
start on (filesystem and stopped udevtrigger)

To -
Code:
start on (filesystem and stopped udevtrigger and net-device-up IFACE=eth0)

Though this did slow down my boot time a bit, Thoughts?

If you need your network, you have to wait for it ...

Things to speed it probably up: Recompile the kernel, compile in the network module into the kernel (as non module) and save perhaps 2 seconds. Alternatively or additionally use static IP Adresses, so that you save the dhcp handshake.


RE: Radeon OSS with vdpau (howto) - pet.klikera - 2013-10-15

(2013-10-15, 16:24)fritsch Wrote: qvdpautest /path/to/data, e.g. ./qvdpautest ../data

Yep, that did the trick... Feel kinda silly now for not searching for mpghd.dat...

Here's the relevant qvdpautest data: http://paste.ubuntu.com/6241052/
Btw, it's a HD6450 PCI-E...

Greets and thanx,
RW


RE: Radeon OSS with vdpau (howto) - waveletboy - 2013-10-15

(2013-10-15, 08:06)fritsch Wrote:
(2013-10-15, 07:10)waveletboy Wrote: Many thanks to Fritsch. My E350 finally dumps the flaw fgrlx. Big Grin

With the 3.11.4 kernel I still need to use xrandr --output HDMI-0 --set audio auto to enable HDMI audio. It is pretty annoying.

There is something wrong, as this code should not be in 3.11.4 at all. Please provide the logfiles, btw. you can easily script that xrandr command to automatically run after startup.

Now I don't need to run xrandr. Just start xbmc twice then HDMI audio works. It might be caused by that I start ubuntu in console/text mode.


RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-16

Hi,
it looks like there are some good news here
https://launchpad.net/~oibaf/+archive/graphics-drivers/

Did anyone test it?


RE: Radeon OSS with vdpau (howto) - smv1210 - 2013-10-16

Hi fritsch,

Would it be possible to You to add in your howto links for i386 patched kernel debs as well?


RE: Radeon OSS with vdpau (howto) - cbxbiker61 - 2013-10-16

Hey,

I tweeked qvdpautest to be a little more flexible. I was a little frustrated that qvdpautest didn't identify cards (other than Nvidia with the proprietary driver). Also, my main media systems boot straight into xbmc it was too difficult to gather the results for posting. I also fixed it to "make install" properly and it expects the test data in /usr/share/qvdpautest (now you can just run qvdpautest).

This version will identify any video card properly (with current pciutils), since it uses the pci bus to id the video card. It also writes the results to /tmp/qvdpau-result.txt so you can post the output in the event that it is too difficult to capture the standard output.

http://www.xilka.com/xilka/source/qvdpautest-0.5.2++.tar.xz

************* build/install instructions ***************
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make -j8
sudo make install
**************************************************

Here's the first result for a Radeon 7750, I'm not sure why the benchmarks are so low since it does seem to work properly.

qvdpautest 0.5.2++
AMD Phenom™ II X6 1055T Processor
AMD/ATI [Advanced Micro Devices, Inc.] Cape Verde PRO [Radeon HD 7750]

VDPAU API version : 1
VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0


MPEG DECODING (1920x1080): 8 frames/s
MPEG DECODING (1280x720): 8 frames/s
H264 DECODING (1920x1080): 8 frames/s
H264 DECODING (1280x720): 8 frames/s
MPEG4 DECODING (1920x1080): 8 frames/s

MIXER WEAVE (1920x1080): 1560 frames/s
MIXER BOB (1920x1080): 1581 fields/s
MIXER TEMPORAL (1920x1080): 1597 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 1597 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 1597 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 1597 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 1597 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 1597 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 1699 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 78 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 1703 fields/s


RE: Radeon OSS with vdpau (howto) - Ectholian - 2013-10-16

(2013-10-14, 15:36)fritsch Wrote: No xbmc without X11 (on the systems you know) - we have wayland support though :-)

It just uses a minimal setup, therefore a little upstart script is much faster than e.g. lightdm.

I stripped out all gnome and lightdm rubbish. Works perfectly with this xinit script Smile

For the future: I understand (correct me if I'm wrong) that the OSS drivers need to be installed, and the XBMc build from this PPA. When Gotham is being released: should I still use this PPA or will these changes be merged to the official PPA?

Currently I get confused all the time by the different PPA's Smile Smile


RE: Radeon OSS with vdpau (howto) - pet.klikera - 2013-10-16

(2013-10-16, 10:26)cbxbiker61 Wrote: Hey,

I tweeked qvdpautest to be a little more flexible. I was a little frustrated that qvdpautest didn't identify cards (other than Nvidia with the proprietary driver). Also, my main media systems boot straight into xbmc it was too difficult to gather the results for posting. I also fixed it to "make install" properly and it expects the test data in /usr/share/qvdpautest (now you can just run qvdpautest).

This version will identify any video card properly (with current pciutils), since it uses the pci bus to id the video card. It also writes the results to /tmp/qvdpau-result.txt so you can post the output in the event that it is too difficult to capture the standard output.
...

Hi cbxbiker61,

just added libpci-dev on top of my previous setup and everything compiled and installed perfectly. Good job!

Anyway, why not just distribute binaries? The ones who folowed frisch's HOWTO have the same OS base...

Greets,
RW

P.S.: the updated oibaf's mesa and stuff work flawless, no white screen or other artifacts...


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-16

(2013-10-16, 09:11)smv1210 Wrote: Hi fritsch,

Would it be possible to You to add in your howto links for i386 patched kernel debs as well?

I did not build any - so no chance to add a link.


RE: Radeon OSS with vdpau (howto) - teeuwj - 2013-10-16

Hello,

I have installed as described on page 1 and everything is working well only the video looks to dark.

When I look at the input info on my TV it says RGB 24bit, when I use Openelec the colors are fine and the TV info shows YCbCr 30bit.

Is it possible to change this in the config ?
I’m using a AMD Fusion E-350


RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-10-16

Could it be related to these recent updates to mesa.
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6c2afa9ceacc188690deba9da7b46bf1a0a9027
http://cgit.freedesktop.org/mesa/mesa/commit/?id=48563bd45c546a7759d6f739607b9f0906b4c8ad

maybe Openelec has been updated with those patches.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-16

@deadite66:
I think he compares with fglrx OpenELEC builds which has full range by default.


RE: Radeon OSS with vdpau (howto) - cbxbiker61 - 2013-10-16

(2013-10-16, 15:22)pet.klikera Wrote: Hi cbxbiker61,

just added libpci-dev on top of my previous setup and everything compiled and installed perfectly. Good job!

Anyway, why not just distribute binaries? The ones who folowed frisch's HOWTO have the same OS base...

Greets,
RW

P.S.: the updated oibaf's mesa and stuff work flawless, no white screen or other artifacts...

Yes, but my Xilka distro is different. So someone feel free to do a binary package for the majority of the thread's users.