Linux kodi fills syslog with errors while running (intel HD5500 on ubuntu 14.1)
#1
Kodi seems to run properly and does not show any errors itself, but it causes a huge stream of errors to be logged in my syslog as long as the app is running. The errors appear to be occurring at the framerate kodi redraws (20-30/sec). Here's a few of the errors (they are all the same): http://paste.ubuntu.com/10822047/

As you can see, they are all related to the intel graphics driver. I've been struggling to get my kodi/mythtv setup running smoothly and have installed the latest 0.8 intel driver stack. It resolved the issues I was having with rendering artifacts but now I have this issue. Normally I would blame the driver update for this but kodi is the ONLY application that causes these errors.

Here's my kodi debug log which should contain the pertinent information related to my setup: http://paste.ubuntu.com/10822023/

Any advice? I have tried changing the render method to basic shaders but that didn't make a difference. Also, I should point out these errors are thrown even if kodi isn't playing back any media. Just sitting at the menu will fill my syslog.

Thanks for any help/advice you can give!
-Matt
Reply
#2
Too old kernel, too old VAAPI packages, too old mesa.

Edit: Mesa might be good enough, though you run a 10.4.0 release which misses a whole lot of BDW fixes that went in later.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
An easy thing you can do is: Run OpenELEC from a USB stick.

And here are all fixes you don't have: http://cgit.freedesktop.org/mesa/mesa/log/?h=10.4 - I'd start installing the latest kernel > 3.19 from ubuntu mainline.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
Thank you for the reply!
Unfortunately I'm a bit of a linux noob so please bear with me :\.
I tried OpenELEC initially but was having difficulties figuring out how to configure it as I wanted. It seems to be set up purely as an appliance but I needed to access some more settings to install mythtv-backed and redirect the recordings to my 1TB HDD (I boot from a 64gb SSD). The lack of a standard window manager thwarted my initial efforts (due to my limited linux experience I can usually figure out what I need through GUI tools but was unable to with OpenELEC).
So you would suggest I try to upgrade to kernel 3.19.4 and update VAAPI and Mesa?
-Matt
Reply
#5
You shall not use OE forever - just see if the bugs you have vanish when running it.

As you seem to be a noobie, it's not easy to update mesa. Kernel and VAAPI is no problem:

Code:
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install i965-va-driver

For the kernel:
Code:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
sudo dpkg -i *4.0*deb

Newer linux-firmware:
Code:
wget https://launchpad.net/ubuntu/+source/linux-firmware/1.143/+build/7047815/+files/linux-firmware_1.143_all.deb
sudo dpkg -i *linux*firmware.deb
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
Thanks again for the information.
I tried to run the updates you describe.
After adding the repository for vaapi and running update/dist-upgrade attempting to install i965-va-driver said the driver was already up to date.

I then proceeded to downloading and update the kernel and received an error:
i915-3.18.3.16-dkms 1: i915-3.18-3.16 kernel module failed to build...

Any suggestions?
-Matt
Reply
#7
Also, I went ahead and completed the rest of the steps you listed (upgrading linux firmware) and rebooted. Kodi still seems to start and run just fine but I continue to get the original errors in my syslog. Here's the latest kodi log. You can see the kernel is now 4.0 but the problem persists... http://paste.ubuntu.com/10823169/
-Matt
Reply
#8
bugs.freedesktop.org <- if you are really unlucky - this was even introduced with the drivers you installed, nothing kodi could or should fix.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
so there's nothing I can do? I don't get the errors when kodi isn't running.
Reply
#10
Yeah - nothing. Try OpenELEC and compare.

Kodi was long there before BDW even existed.

The place for you to go is bugs.freedesktop.org and boot with the option your error message wants. Then post them your dmesg output.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
kodi fills syslog with errors while running (intel HD5500 on ubuntu 14.1)0