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-10-31

?uestion -- should we be using oibaf, or wsnipex ppa?


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

personally i'd use wsnipex repo, i'm assuming wsnipex are known working snapshots of oibafs ppa.


RE: Radeon OSS with vdpau (howto) - dan_jericho - 2013-10-31

On the PVR, my HD channels work great, but when I switch to an SD channel, XBMC crashes. Has anyone else had this issue?


RE: Radeon OSS with vdpau (howto) - nonorider360 - 2013-10-31

Hello,
I'm running xbmc xvba for a long time, but some limitations (especially sound over hdmi) force me to move on the radeon uvd.
Thank for your how to, but I can't enjoy it today because I'm running under 32bits.
So I have 2 questions : where can I find the source of linux image 3.12RC7 32bits ?
And what is the proper way to patch source ?


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

(2013-10-31, 21:10)dan_jericho Wrote: On the PVR, my HD channels work great, but when I switch to an SD channel, XBMC crashes. Has anyone else had this issue?

Pastebin your crash, before do: sudo apt-get install gdb


RE: Radeon OSS with vdpau (howto) - snmp - 2013-10-31

just for clarification if you are using this method with the newer kernel 3.12 and have an external usb ir receiver then you need to change
/etc/udev/rules.d/85-xbmc.rules
first line "usb" to "usbmisc", per FernetMenta the newer kernels require usbmisc instead of usb.
probably should include that in the post
all is working well now, thanks for putting this together, this is way better than catalyst!!!


RE: Radeon OSS with vdpau (howto) - nmsaraujo - 2013-10-31

Hello all,

how can I force the screen size for a size that is not listed by xrandr?

I would like to have a size like 1366x768, because XBMC screen, currently is bigger than the screen.

Thanks.



Screen 0: minimum 320 x 200, current 1280 x 720, maximum 8192 x 8192
HDMI-0 connected 1280x720+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
1280x720 60.0*+ 50.0 59.9
1920x1080i 30.0 25.0 30.0
1440x576 50.0
1440x480 60.0 59.9
720x576 50.0
720x480 60.0 59.9
640x480 60.0 59.9
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)


xxx@yyy:~$ DISPLAY=:0 vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name width height types
-------------------------------------------
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name level macbs width height
-------------------------------------------
MPEG1 0 9216 2048 1152
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
MPEG4_PART2_SP 3 9216 2048 1152
MPEG4_PART2_ASP 5 9216 2048 1152

Output surface:

name width height nat types
----------------------------------------------------
B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name width height
------------------------------
B8G8R8A8 16384 16384
R8G8B8A8 16384 16384
R10G10B10A2 16384 16384
B10G10R10A2 16384 16384
A8 16384 16384

Video mixer:

feature name sup
------------------------------------
DEINTERLACE_TEMPORAL -
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY -
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -

parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 48 2048
VIDEO_SURFACE_HEIGHT y 48 1152
CHROMA_TYPE y
LAYERS y 0 4

attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y


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

Use xrandr to enable Overscan or better use your TV remote control and set it to Fit or Just Scan Mode, which I would prefer.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-01

For those with 24p Audio drops when Adjust Refreshrate to match Video is turned on, please try those kernels:

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.12.0-rc7ckfixes%2B_1.4_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-image-3.12.0-rc7ckfixes%2B_1.4_amd64.deb
sudo dpkg -i *rc7ckfixes*deb

To test, turn on "Adjust Refreshrate to match video" and "Sync Playback to Display" Video Clock (Drop / Dupe) and play some passthrough (DTS, AC3, DTS-HD, TrueHD) at 24p mode.

These won't fix the flickering reported for some asics.


RE: Radeon OSS with vdpau (howto) - Fremske - 2013-11-01

Hi Fritsch,

Can you tell me the latest update (3.12-rc7+) including your 24P Audio drop patch will be included in one of the OpenELEC generic nightly builds?

I would very much like to try it on my Zotac AD06 (E2-1800).

Thanks in advance.

Regards,
Fremske


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-01

See latest commit on OE github. It was no new patch. It was a revert.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-01

For the saucy people, please use the wsnipex ppa for mesa for now. Something upstream got broken - currently investigating: https://launchpad.net/~wsnipex/+archive/mesa


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-11-01

@wsnipex, not sure what you did, but streams are working again from addons.

thanks!


RE: Radeon OSS with vdpau (howto) - riker77 - 2013-11-01

(2013-11-01, 10:49)fritsch Wrote: For those with 24p Audio drops when Adjust Refreshrate to match Video is turned on, please try those kernels:

-snio
Hi fritsch,

I would appreciate a link to the applied patch(es). As a non Ubuntu user this would be really helpful, in order to test with my own kernel build.

Thank in advance.

Regards


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-01

They are all listed in the howto thread.

But - some did not work as expected - use latest kernel git and only apply:
Anssi hda radeon patch: http://onse.fi/files/atihdmi5.patch

If you need some ELD information, you even have to revert two patches in kernel, cause those cause "the flickering" one user reports here.