Kodi Community Forum

Full Version: Radeon OSS with vdpau (howto)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
implement NV_vdpau_interop v7 has been merged to mesa git.

Huge thx to Christian for pushing his work upstream http://cgit.freedesktop.org/mesa/mesa/co...0b2861e080

The future of vdpau / interop + xbmc is therefore safe.
Yay \o/
I just use 0.4 and vc-1 error is gone in the sample i left here... i give a try with new image...
(2013-10-26, 12:31)fritsch Wrote: [ -> ]The future of vdpau / interop + xbmc is therefore safe.

Does this mean XBMC chose to stick with VDPAU despite OpenMAX announcement for radeon?
What do you mean with "despite"? Did you actually read the PR? OpenMax is a whole lot more unstable than current state of vdpau, not tested and so on.

If you have hi10p in mind, this is a two liner, that needs to go to libvdpau and mesa vdpau afterwards, it can then easily be used via radeon uvd, too.
Tried linux-image-3.12.0-rc6+_0.7_amd64 to see if it fixed the weird audio glitch i'm having on my E350.
happens around 4m 30s then randomly all through the file.

played the file on my desktop and it's fine there.


310K mp3

Code:
lee@fusion:/data/movies$ mediainfo twil0233_h264m_864x480_500.mp4
General
Complete name                            : twil0233_h264m_864x480_500.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 426 MiB
Duration                                 : 1h 38mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 603 Kbps
Writing application                      : Lavf54.3.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 38mn
Bit rate                                 : 500 Kbps
Width                                    : 864 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.040
Stream size                              : 352 MiB (83%)
Writing library                          : x264 core 120 r2164 da19765
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=2 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=60 / keyint_min=31 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=1500 / vbv_bufsize=6000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language                                 : English

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1h 38mn
Bit rate mode                            : Variable
Bit rate                                 : 96.0 Kbps
Maximum bit rate                         : 1 500 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : 67ms
Stream size                              : 67.8 MiB (16%)
Language                                 : English

EDIT: just tried a file that i knew played fine previously and happens there too, going to try 3.11.4 to see if it's a 3.12 problem.

EDIT2: no problem in 3.11.4
mesa: http://sprunge.us/cLTI
libvdpau / vdpauinfo: http://paste.ubuntu.com/6306537/

Psssst: hi10p on vdpau
Since updating to xbmc 13.0 alpha 9, certain addons have been crashing xbmc. Mashup, sportsdevil, sports a holic, tube+ for example. Here are my logs, anything else I provide I would be happy to do so.

dmesg - http://paste.ubuntu.com/6306759/
cat ~/.xbmc/temp/xbmc.log - http://paste.ubuntu.com/6306764/
cat /var/log/Xorg.0.log - http://paste.ubuntu.com/6306766/
DISPLAY=:0 vdpauinfo - http://paste.ubuntu.com/6306777/
dpkg -l |grep mesa - http://paste.ubuntu.com/6306781/
Addons are not topic of this thread, sorry.

There was a bump in mainline. Most addons need an upgrade to continue to work properly, that counts especially for the non official addons (did you list any official anyways?)
@fristch - thanks.
@deadite66:
You have a xbmc.log available?
@fritsch i'll have to make a log tomorrow i'm back on 3.11.4 atm, though did tail -f xbmc.log and nothing was logged when the distortion happens.
Yeah, fill it into the logfile, please, best with 3.12-rc6+ 0.7
Same, when you disable Lanczos3?

The log looks quite okay. There are some Audio disconts, but not very frequently.

Edit: Please also upgrade mesa