Kodi Community Forum
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - 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: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs (/showthread.php?tid=116996)



RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Beninho - 2012-11-25

my fault.

http://paste.ubuntu.com/1385520/
this better?

*learning mode on*

Here's another wth another video.
http://paste.ubuntu.com/1385530/



RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-25

@Beninho:
Is this issue fixed? I cannot see you playing one file in this debug log.

Idea is:
Turn on debug logging
Play some movies
Pastebin the log


Found it:
What are the issues you see on screen?

As you are using spdif as your audio device, go to the Audio Settings and choose (just for testing) Speakers 2.0
and disable AC3 and disable DTS and disable ACC and retry.

Please describe what you are seeing on screen.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Beninho - 2012-11-25

@fritsch

think this you've not read the new paste.
I see serveral
debug was switchted on at 16:52
Shrek 1080p starts at 16:52:39
dark knight rises 1080p starts at 17:00:45

---edit--

Issue on screen is : audio is out of sync with the video.

I'll try to change the setting to 2.0 and report. (dts AC3 and ACC are disabled in the previous filed log). I did that in my search for a sollution.






RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-25

@Beninho:
Please join #xbmc-xvba on irc.freenode.net thx


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - tekno - 2012-11-25

(2012-11-25, 11:52)wsnipex Wrote: Tekno: I already told you that crystalHD is disabled in the xvba branch.
You need mainline nightlies for now: https://launchpad.net/~team-xbmc/+archive/xbmc-nightly


Actually you said
(2012-11-25, 11:52)wsnipex Wrote: 1.) nope and since there is no difference to mainline regarding crystalhd, it doen't make sense to enable it.
But I did enable it in the mainline builds. Plz try the next nightly(will be built in a couple of hours), not beta1 from the unstable ppa.

and because if that I assumed no difference in mainline vs XVBA would mean that it was now active on xvba (inherited from mainline). I hope you can now see the source of my confusion.

I dont think the HDMI audio works on the current nighly in mainline without alsa tweaks and no GUI sounds.


As for your statement about seeing no reason to activate it, I disagree ... enter Apple TV with Crystal HD that will all need to go to Linux for Frodo. THat is if the additional Acceleration were useful on The Nvidia Go 7300, This hardware appears to not benefit from any decoding and I hoped to see at least DVD s benefitting. If this were the case,the XVBA build might offer a little something more for some formats where the CrystalHD falls short (like maybe SD DVD playback?). Of course if CHD will never be active on this build it is beating a dead horse to death. I for one would like to explore the possibilities, burt of course much of that depends on how the decoding priorities aree established.oooooo

Thanks for clarifying.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - wsnipex - 2012-11-25

you can only use one hardware decoder at a time. So its either CHD or VDPAU, never both.
And I won't enable CHD in the xvba ppa, because the code is the same as in mainline. If you want CHD, use mainline, you won't lose anything. Furthermore, we already have our hands full with supporting users with xvba and vdpau, we can't handle another hardware decoder that we don't even use ourselves.
Mainline of course also has vdpau. Your nvidia card will never benefit from xvba, as this is AMD only.

Audio wise there is also zero difference between xvba and mainline, so if it doesn't work there, it won't work here.
I don't know of any necessary alsa tweaks either.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - un1versal - 2012-11-26

(2012-11-25, 11:59)fritsch Wrote:
(2012-11-25, 10:55)uNiversal Wrote: @fritsch

What's the HD audio limitation of ATI cards in Linux with the amd drivers? Is there any? Are there any cards that have this limitation if any?

uNi

Amd on linux can only do 2 real channels. This is enough for DTS (5.1) and AC3 (5.1) that decode 6 channels virtual over two real ones. But nothing more.
This is not a hardware, but a software (fglrx) limitation.

Cause of this:
Only enable AC3 and DTS in the Audio Settings. Keep LPCM, TrueHD, DTS-HD, AAC disabled. And don't check play stereo on all speakers, as it also won't work.

Thx, added this info to the wiki since it seems its being asked more than once. http://wiki.xbmc.org/index.php?title=AudioEngine#HD_audio_limitation_of_AMD_fglrx_in_Linux

Thank you again for clear and simple explanation.

uNi




RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-26

@all:

During beta1 there has been a change concerning the number of Speakers. Please check your Audio settings and update them accordingly. For some folks it changed from 2.0 to 2.1 and made video stutter (2 channel problematic on fglrx) and for others, including me, it changed from 5.1 to 7.0 with the same issues.

Thx :-)


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Steve-o - 2012-11-26

Thanks again fritsch, this helped even though I don't use the HDMI audio. Worth a check! Wink


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Drymex - 2012-11-27

Hello,
I'm using the unstable Ubuntu packages on a board with a NVidia IGPU, and it's working great except for one little problem:

When I play non-interlaced videos (with video settings/Deinterlace video set as AUTO of OFF) I see a fuzzy image, if I enable the deinterlace (=ON ) the image is OK.
So basically it does the opposite of what it should be, am I doing something wrong or is it supposed to work like that?





RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - FernetMenta - 2012-11-27

You have to more precise on what you are doing. There is a deinterlacing mode and a deinterlacing method. What's your settings?


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Drymex - 2012-11-27

I'm playing a video file with:
Video: MPEG4 Video (H264) 720x402 23.976fps [MPEG4 Video (H264)] Scan type : Progressive


using these settings:

Deinterlace video = AUTO
Deinterlacing method = AUTO SELECT
= Fuzzy video

Deinterlace video = OFF
Deinterlacing method = grayed/non selectable
= Fuzzy video

Deinterlace video = ON
Deinterlacing method = AUTO SELECT
= Perfect video




RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - FernetMenta - 2012-11-27

Would you have a short sample of this video? Do you observe this behavior with software of hw decoding?

EDIT: At what fps does the video play for both cases? (codec screen: "o" key)


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - Drymex - 2012-11-27

Sorry, my fault...
The problem was caused by a wrong setting, I had:
Allow Vdpau OpenGL interop YUV = enabled
in Playback/videos-setting, disabling it fixes the problem.
Thanks for you help!


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - john.cord - 2012-11-28

(2012-11-27, 22:34)Drymex Wrote: Sorry, my fault...
The problem was caused by a wrong setting, I had:
Allow Vdpau OpenGL interop YUV = enabled
in Playback/videos-setting, disabling it fixes the problem.
Thanks for you help!

This option enabled shoul be causing no problems...