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) - locomot1f - 2013-12-22

@wsnipex: just tried to do an upgrade on the packages, and i'm getting this error:
Code:
Preparing to replace libxshmfence0:i386 1.0.0-1ppa4~saucy (using .../libxshmfence0_1.1.0-2~saucy_i386.deb) ...
Unpacking replacement libxshmfence0:i386 ...
dpkg: error processing /var/cache/apt/archives/libxshmfence0_1.1.0-2~saucy_i386.deb (--unpack):
trying to overwrite shared '/usr/lib/libxshmfence.so.1.0.0', which is different from other instances of package libxshmfence0:i386
Errors were encountered while processing:
/var/cache/apt/archives/libxshmfence0_1.1.0-2~saucy_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-12-22

either you have 32bit ubuntu or something is mixed up and it's downloading the wrong debs, x64 debs should say amd64 not i386.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-22

(2013-12-22, 20:40)deadite66 Wrote: either you have 32bit ubuntu or something is mixed up and it's downloading the wrong debs, x64 debs should say amd64 not i386.

i know... it's weird.
i definitely have 64bit installed.

i don't know why it's trying to install this version....Huh
-----------------------
should i edit my sources list in someway?


RE: Radeon OSS with vdpau (howto) - wsnipex - 2013-12-22

yes, I borked multi-arch support :/
uploaded a new package just now, that should hopefully fix it.

edit: don't remove all i386 packages, just wait for a fixed one


RE: Radeon OSS with vdpau (howto) - kiler129 - 2013-12-22

I've got it running on Debian Jessie with E-350 using first post instruction. I only didn't tested init scripts etc (bcs I've my own implementation which use remote).
There are two quirks to overcome Big Grin
1. Key thing to make it working is to use libegl1-mesa from experimental tree of Debian (add repo & apt-get -t install libegl1-mesa).
2. Also libGLEW is named differently in Debian.
• You need to install libglew1.10
• Symlink libGLEW.so.1.8 -> libGLEW.so.1.10 (ln -s /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8)
• Install dummy libglew1.8 - https://mega.co.nz/#!UJoGADzY!cWmU2nH9EIUMsaKcXqNnRyFMekdYY9XRD7v_5zphYCE

Easiest way to verify whatever vdpau is working is to press "O" in player - you should see "dc:ff-h264-vdpau".
If you have something like "VDPAU: required extension GL_NV_vdpau_interop not found" in log it means that MESA is too old (older than 10.0).


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-23

(2013-12-22, 21:48)wsnipex Wrote: yes, I borked multi-arch support :/
uploaded a new package just now, that should hopefully fix it.

edit: don't remove all i386 packages, just wait for a fixed one

yup... all fixed.
everything loaded correctly.

everything seems to be working well.


RE: Radeon OSS with vdpau (howto) - libgradev - 2013-12-23

Re: MPEG-2

Just tried on my install with the current mesa test packages and the drm-fixes20%2B_0.1_amd64 kernel - still getting GPU Lockups Sad


RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-12-23

My mpeg2 problems are mostly fixed, had one full lockup a few days ago since the patch when i left a video running and the machine locked up when i ended.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-23

okay, make sure to update the bugtracker.


RE: Radeon OSS with vdpau (howto) - EricV - 2013-12-23

(2013-12-22, 23:18)kiler129 Wrote: I've got it running on Debian Jessie with E-350 using first post instruction. I only didn't tested init scripts etc (bcs I've my own implementation which use remote).
There are two quirks to overcome Big Grin
1. Key thing to make it working is to use libegl1-mesa from experimental tree of Debian (add repo & apt-get -t install libegl1-mesa).
2. Also libGLEW is named differently in Debian.
• You need to install libglew1.10
• Symlink libGLEW.so.1.8 -> libGLEW.so.1.10 (ln -s /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8)
• Install dummy libglew1.8 - https://mega.co.nz/#!UJoGADzY!cWmU2nH9EIUMsaKcXqNnRyFMekdYY9XRD7v_5zphYCE

Easiest way to verify whatever vdpau is working is to press "O" in player - you should see "dc:ff-h264-vdpau".
If you have something like "VDPAU: required extension GL_NV_vdpau_interop not found" in log it means that MESA is too old (older than 10.0).


Note that I posted instructions for debian.


RE: Radeon OSS with vdpau (howto) - Mntz - 2013-12-23

Anyone tried this on the Kabini platform yet? The only thing I could find in search, is that Kabini is still early work in progress.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-23

Yes, me. There is currently a problem when starting a video: https://dl.dropboxusercontent.com/u/55728161/VID_20131122_201457.mp4 - especially happening with LiveTV where the player needs to wait for the stream.

But I did not test with the very latest kernel I posted. I am not at home currently. Have fun to try it and reporting back.

I already reported it upstream. Same for you?


RE: Radeon OSS with vdpau (howto) - kiler129 - 2013-12-23

(2013-12-23, 14:39)EricV Wrote: Note that I posted instructions for debian.

Could you point me to? I've looked in this thread by "jessie" keyword and found actually nothing interesting except one guy post about compiling everything from scratch.
Thanks in advance.

p.s. As I see you're using 3.13-rc4 kernel which is buggy on my hardware (MSI E350IA-E44)


RE: Radeon OSS with vdpau (howto) - fatalsaint - 2013-12-23

(2013-12-23, 15:23)kiler129 Wrote:
(2013-12-23, 14:39)EricV Wrote: Note that I posted instructions for debian.

Could you point me to? I've looked in this thread by "jessie" keyword and found actually nothing interesting except one guy post about compiling everything from scratch.
Thanks in advance.

p.s. As I see you're using 3.13-rc4 kernel which is buggy on my hardware (MSI E350IA-E44)

I'm sure he's talking about this post:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1575163#pid1575163

The rest of his steps would still be valid even with a different kernel.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-23

A christmas present by Marek: http://lists.freedesktop.org/archives/dri-devel/2013-December/050902.html

Edit: https://dl.dropboxusercontent.com/u/55728161/linux-image-3.13.0-rc3-drm-fixes23%2B_0.1_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.13.0-rc3-drm-fixes23%2B_0.1_amd64.deb