Kodi 15.0 segfaults
#1
Hi there!
I managed to get amdgpu driver work with my Radeon R9 285 card (seems like a dream) I have vdpau acceleration, vlc works fine with it, I installed Kodi 15.0 from packman's package (opensuse 13.2 here) and since then I see the startup screen and then program crashes.
kodi crashlog
Xorg.0.log
VDPAUinfo output
glxinfo output

Any ideas? Please don't send me back to fglrx!!Sad
Reply
#2
Quote:MPEG1 0 36864 4096 2304
MPEG2_SIMPLE 3 36864 4096 2304
MPEG2_MAIN 3 36864 4096 2304
H264_BASELINE 41 36864 4096 2304
H264_MAIN 41 36864 4096 2304
H264_HIGH 41 36864 4096 2304
VC1_ADVANCED 4 36864 4096 2304
MPEG4_PART2_SP 3 36864 4096 2304
MPEG4_PART2_ASP 5 36864 4096 2304

^^ That's really nice. The first AMD GPU I see with 4K decoding capabilities.

Sadly your kodi is not a Debug Log and you don't have gdb installed. So I cannot do anything with the crashlog.

Please try to get a gdb backtrace.

That bug needs filing at bugs.freedesktop.org and it might be worth to ping agd5f and ckoenig in #radeon irc channel.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
I run kodi from konsole with --debug switch... I hope this helps more...
Kodi debug crashlog
Reply
#4
(2015-08-03, 22:33)djdoo1 Wrote: I run kodi from konsole with --debug switch... I hope this helps more...
Kodi debug crashlog
Nope. No gdb no crashlog :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
This is the output when using gdb
gdb output
Crashlog with advancedsettings.xml debug for everything
Reply
#6
Sorry, this does not help.

Let's start from scratch. You are running a non supported kodi version (v15) with a selfbuild ffmpeg 2.7.x. A double corrupted list rather looks like a ccache issue. Therefore please clone xbmc.git from our github (you can switch to the Isengard branch if you want).

then build it with:
Code:
./bootstrap ; ./configure --enable-debug --enable-vdpau --disable-vaapi --disable-libcec
make -j4
sudo make install (if it was succesful).

Now, we start with gdb:

Code:
gdb /usr/local/lib/kodi/kodi.bin
set logging on "tonga.txt"
run

After it crashes run in the gdb shell:
Code:
thread apply all bt

Now press return until no output is coming out anymore.

After that provide: tonga.txt and kodi.log
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
I did exactly as you said, (it was a bit of pain to get all the devel libraries and tools needed for compile, I read the readme linux, cause they had different names in opensuse packages, for example 'lib' first word was missing it was libffmpeg and ffmpeg-devel) run gdm commands and voila the program run! It didn't crash! I took the Isengard branch.
It is very easy to grab the branch nowadays, I just searched xbmc and githud site gave it to me in a zip file very friendly decompressed it and did the rest of the job.
I see the interface I can change settings but the interface stucks for some seconds and revives again, really strange... It is still running, what should I do now??
Reply
#8
You report that issues to the opensuse folks - cause what they provide obviously breaks your setup.

I am still interested in an Debug Log running this new version as I am interested in the vdpau functionality.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
Wait a sec I ll provide everything
Reply
#10
Tonga.txt
I terminated the program normally, screen stalls at sound output setting cause it does not detect sound devices, I don't use that shitty thing called pulseaudio, and I cannot pastebin contents of kodi.log don't know why...
Video with vdpau isn't working, although I see the vdpau dedicated settings through menus when video is playing, software video playback is working, interface is smooth and tearfree.
Reply
#11
Recompiled everything with alsa-devel, which contains libasound2-devel files as I discovered for opensuse, so now I get sound and sound card recognized! Kodi run excellent all settings and menus are fine, I am using kwin's 3d effects and I have them to shutdown for fullscreen apps.
Tonga2.txt
I used Kodi for a shorter period(so kodi.log is smaller now and I could pastebin it) just played 2 videos, one hd and one sd mpg, vdpau didn't work as I said in the previous post and software for the sd video worked fine. I had normal sound in both cases.
Kodi.log
Reply
#12
Quote:13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface
13:21:59 T:140735986779904 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
13:21:59 T:140735848367872 DEBUG: Previous line repeats 1 times.
13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735986779904 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
13:21:59 T:140735848367872 DEBUG: Previous line repeats 1 times.
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface
13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface

That's something for ckoenig.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
(2015-08-04, 16:42)fritsch Wrote:
Quote:13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface
13:21:59 T:140735986779904 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
13:21:59 T:140735848367872 DEBUG: Previous line repeats 1 times.
13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735986779904 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
13:21:59 T:140735848367872 DEBUG: Previous line repeats 1 times.
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface
13:21:59 T:140735848367872 NOTICE: VDPAU::COutput registered output surfaces
13:21:59 T:140735848367872 ERROR: VDPAU::COutput error mapping surface

That's something for ckoenig.
Is it going to live doctor??
Reply
#14
No idea. It seems tonga has issues with the VDPAU implementation that we did with the amd radeon people. So I consider this a bug in the tonga vdpau realization and upstream needs to know. Go here and file it: bugs.freedesktop.org

VLC and other desktop players are not really comparable as kodi + (mpv I think) are the only players that use GL_INTEROP extension.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
I created an account. In what product should I file the bug? Mesa or Xorg or something else? And what files should I contain there?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 15.0 segfaults0