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.
(2013-11-18, 15:33)pyrodex Wrote: [ -> ]I've been playing with my two systems and on one of the systems I've noticed I crash after stopping an episode from time to time. I've uploaded the crash log with debug=1 to http://paste.ubuntu.com/6437466/. Can anyone help with determining potentially?

i've noticed this too.

for me, it only happens on streaming files, and when I use the stop function on my remote.
if I use the OSD stop button, or am playing a local file, this doesn't happen.

would you like more logs of this? or is this a known issue?

@pyrodex, thanks for bringing this up. i've just been living with it.
@fritsch. I have been all over gaming sites reading about vsync. It sounds a lot like what I see. It can lag unpredictably and cause drops depending the driver/chipset. With it off I get no tearing/few skips, but my set is 120hz. 120hz might help with frames coming too fast that would otherwise cause tearing. Not sure.
I cloned Git. I found surfaces.cpp and some others that switch vsync.

What do you think about an option- vsync *only on menus*?

My menu framerate is in the 100s. No tearing, but laggier with vsync off. I was trying to find where the combo box gets populated and chooses which vsync to add this myself. Match refresh rate to display seems to keep my refresh and frame rates at a normal number where I do not get tearing. Must be some of Fernetmenta's magic.
Are there any patches in the XBMC world that would prevent us from moving to official nightlies? I saw in the thread anything > Alpha 9 was commented on but not sure if this is still valid.
@pyrodex: For the first log, it seems like the tvshow air something is causing those issues. Try to remove it and retry. Concerning the "mainline and this" build - just do a git rebase and see what is missing. For now at least one patch, that does cropping in Renderer instead of in vdpau is missing from upstream.

I will close this thread anyways soon. Most things are fixed and we discuss mostly non amd oss vdpau specific things since longer.

* The only really outstanding bug ist the Audioclock / video clock speed, which we currently investigate with upstream.

@gfisher: There is no magic involved. Reference Clock and vsync do different things with similar interest. Disable Sync Playback to Display completely and then compare the vsync methods. Again the Codec Screen is no benchmark as it produces high load. Check your xbmc.log concerning what happens. I think you also see (*)
Concerning the last bug, I openened an issue here: https://bugs.freedesktop.org/show_bug.cgi?id=71753

Guys, please. I don't wnat that anybody tells "me too" in that bug report. All that needs to be said for now is said. If you want to get updates, just add yourself to the bugreport.
@fritsch thanks for the bug report! Well said. G
Since yesterday fernet mentas git master does not compile for me:
http://pastebin.com/wBBi88PX
Can somebody make sense of the log / compilation error?

Compiling was no problem 2 weeks ago when I tried last time and wrote the openSUSE howto.

thx tomme
Have any1 a idea that the XBMC from Post #1 does not working. Most Videos does not start and XBMC hangs. XBMC 12.0 from Ubuntu 13.10 works bad too. But only the v13.0 alpha from here works good:
https://launchpad.net/~team-xbmc/+archive/unstable
The 24p Problem I have too, but I check later maybe the help when I disable vsync
@TheCritter: Provide all the logfiles the first post tells you to post. Nobody of us has a crystal ball.

@tomtomme: Do a ccache -cC in a make clean or also git clean -xfd. It seems your local copy did not survive the CStdString to std:Confusedtring conversion. Make sure you are on the latest code, be doing a git reset hard to fernetmentas tree (which is a fast forward tree). So git pull alone will harm.
I did a dist-upgrade today. had seen on the ppa. that there was a fresh build 4 hours old..
When I tried to watch. I got audio only and the screen is just white..
I followed the instructions from the first post to get the logs.
they are:
http://paste.ubuntu.com/6442288/

http://paste.ubuntu.com/6442289/

http://paste.ubuntu.com/6442292/

http://paste.ubuntu.com/6442293/

http://paste.ubuntu.com/6442294/

after doing that I went back and tried several different files.. from different sources. all except one was the same..
A few old comedy clips came with picture but it kept stuttering. I can say that one ofthos that worked has according to vlc codev info. mpeg-4 video(xvid)
592x432
freq. 29.97...
Planar 4:2:0 YUV

Hope this can be fixed soon..
Everyhting was working perfectly before the update!
I was running the xvba version before. but now I get a much crisper picture..
Lots of thanks for the work you guys do!
@fritsch: I always delete my local xbmc-git-folder completely and re-download EVERYTHING via:

git clone https://github.com/FernetMenta/xbmc.git

before re-compiling (50Mbit DSL here Big Grin).
So my local copy must be the exact one thats on git and is always fresh... right?

other suggestions? Is it possibly a bug in an updated openSUSE-package? There were quite some updates during the last 2 weeks... except kernel which I have fixed to 3.12.0.
@ohreo; you are using oibafs ppa, try with my mesa
(2013-11-19, 14:11)tomtomme Wrote: [ -> ]@fritsch: I always delete my local xbmc-git-folder completely and re-download EVERYTHING via:

git clone https://github.com/FernetMenta/xbmc.git

before re-compiling (50Mbit DSL here Big Grin).
So my local copy must be the exact one thats on git and is always fresh... right?

other suggestions? Is it possibly a bug in an updated openSUSE-package? There were quite some updates during the last 2 weeks... except kernel which I have fixed to 3.12.0.

No idea. I don't track opensuse. It still worked for me yesterdays. Will recheck this evening. Could very well be, that you hit some codepath while compiling I don't hit. Redo from scratch and send me the buildlog to fritsch@xbmc.org
Whoops, no subtitles in current fernetmenta-master git...
Totally off topic. Read www.xbmc.org - Thanks.