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) - Endeavour79 - 2013-12-24

(2013-12-23, 20:29)fritsch Wrote: 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

fritsch.. Linux noob question.. How can I safely switch to your recent kernel and delete the old versions via terminal?
System is booting into your v999.

Quote:~$ dpkg --list | grep linux-image
ii linux-image-3.12.0+ 4.0 amd64 Linux kernel binary image for version 3.12.0+
ii linux-image-3.13.0-rc3-drm-fixes14-v999-na+ 0.1 amd64 Linux kernel binary image for version 3.13.0-rc3-drm-fixes14-v999-na+
ii linux-image-3.13.0-rc3-drm-fixes23+ 0.1 amd64 Linux kernel binary image for version 3.13.0-rc3-drm-fixes23+
rc linux-image-3.8.0-32-generic 3.8.0-32.47 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP
rc linux-image-3.8.0-33-generic 3.8.0-33.48 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP
rc linux-image-extra-3.8.0-32-generic 3.8.0-32.47 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP
rc linux-image-extra-3.8.0-33-generic 3.8.0-33.48 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP



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

you can purge any kernels you don't need:
Code:
apt-get purge linux-image***
apt-get purge linux-headers***

or you could alter your grub loader to load the kernel you prefer


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2013-12-24

Thanks loco.. I didn't touch the old kernels yet. I think I may need to change some boot config before purging them. Right?


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

sudo apt-get remove linux-image-3.13.0-rc3-drm-fixes14-v999-na+ linux-headers-3.13.0-rc3-drm-fixes14-v999-na+ will only remove the v999 image.


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2013-12-24

Ok..understood. But once I remove this, do I need to update anything to make the other 3.13.-rc3 kernel the default at startup?


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

No just install it. It will then have the highest version number and therefore load as first.


RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-12-24

Looks like rc5 trusty mainline is back after the rc5 release. Just installed it on both my identical machines and my issue with rc4 on one of the machines is gone. Can't test video playback since I am remote but bootup/xbmc logs look good.


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

(2013-12-24, 18:15)pyrodex Wrote: Looks like rc5 trusty mainline is back after the rc5 release. Just installed it on both my identical machines and my issue with rc4 on one of the machines is gone. Can't test video playback since I am remote but bootup/xbmc logs look good.

Strange: the fix for the bug we both had is not in upstream rc5 but has been committed just after. I still have an initialization problem that others usually only hit when restarting from resume. Sound like a missing initialization on my board from the BIOS and a missing video reinit on resume.


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

(2013-12-23, 16:37)fatalsaint Wrote: I'm sure he's talking about this post:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1575163#pid1575163
Probably, but it involves compiling so much from sources which is waste of resources in this case Wink


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

(2013-12-25, 01:50)kiler129 Wrote:
(2013-12-23, 16:37)fatalsaint Wrote: I'm sure he's talking about this post:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1575163#pid1575163
Probably, but it involves compiling so much from sources which is waste of resources in this case Wink

Depends who you ask.. some would consider it cleaner to compile from source against the updated libraries instead of linking new libraries over old and installing "fake" packages.

But.. both I'm sure are just as effective *shrug*.


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-12-25

(2013-12-25, 01:50)kiler129 Wrote:
(2013-12-23, 16:37)fatalsaint Wrote: I'm sure he's talking about this post:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1575163#pid1575163
Probably, but it involves compiling so much from sources which is waste of resources in this case Wink

Compiling from source gives you control over the whole process, patches applied etc and provides with the the latest code updates, no need to wait for a maintainer to update his stuff.
Also, you can create a script that does everything automatically, there is no need to do it manually if you use git. I have a script that updates the git's of mesa, drm, glamor, xf86-ati and builds+installs .deb packages from them (multiarch for mesa). Only interruption is when it asks for the password to install them.


RE: Radeon OSS with vdpau (howto) - VanillaXtract - 2013-12-25

Another noob question: How can I restart xbmc without rebooting the computer?


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

sudo service xbmc restart

PS: New year, new answer fee: 50 cents / answer :p


RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-12-25

I use an alias for the following:

Code:
curl --data-binary '{ "jsonrpc": "2.0", "method": "Application.Quit", "id": "mybash"}' -H 'content-type: application/json;' http://xbmc:xbmc@localhost:8080/jsonrpc

With the guide here it will restart xbmc since it respawns.


RE: Radeon OSS with vdpau (howto) - Kablam - 2013-12-25

Hi i run the latest xvmc build on AMD A4 -3300 but i use a Nvidia 610 gfx card on this second machine and I found a bug... ( i think) Wink

When you go into a added local folder with .mkv files in it xvmc gui crashes and reloads.

dmesg | pastebinit -> http://paste.ubuntu.com/6635645/
cat /home/xbmc/.xbmc/temp/xbmc.log | pastebinit -> http://paste.ubuntu.com/6635650/
cat /var/log/Xorg.0.log | pastebinit -> http://paste.ubuntu.com/6635652/
no vdpau install since I'm not using the new mesa stuff.
dpkg -l |grep mesa | pastebinit -> http://paste.ubuntu.com/6635657/