Page 25 of 30

Re: Kodi 15/16 Packages for Raspbian

Posted: Wed May 25, 2016 9:08 pm
by Rascas
sn2016 wrote: Thank you for you help. The reason I have not posted to Kodi official forum is because the problem is unique to my RPi3 installation. I have no issue with my Nexus Player Kodi app. Anyway, I have created a thread there ( https://forums.tvaddons.ag/getting-star ... v-add.html ).
You have only 64 MB of RAM for the GPU. You have to set at least 128 MB, 160 MB for FullHD/High bitrate videos. 256 MB is the recommended for RPi 2/3.

Re: Kodi 15/16 Packages for Raspbian

Posted: Wed May 25, 2016 9:25 pm
by Avie02
Sorry for the late response, the version is kodi 16 and you guys were spot on as the problem was related to the stream being mpeg2. After purchasing the license, everything is running great. Turns out I could have just changed the encoding in my tuner to h264 but oh well the license is a cheap purchase. Big thanks to you guys for the great build and info.

Re: Kodi 15/16 Packages for Raspbian

Posted: Thu May 26, 2016 3:44 am
by sn2016
Rascas wrote:
sn2016 wrote: Thank you for you help. The reason I have not posted to Kodi official forum is because the problem is unique to my RPi3 installation. I have no issue with my Nexus Player Kodi app. Anyway, I have created a thread there ( https://forums.tvaddons.ag/getting-star ... v-add.html ).
You have only 64 MB of RAM for the GPU. You have to set at least 128 MB, 160 MB for FullHD/High bitrate videos. 256 MB is the recommended for RPi 2/3.
Thank you very much. I had a typo in my config file.

Re: Kodi 15/16 Packages for Raspbian

Posted: Thu May 26, 2016 1:47 pm
by Rascas
Avie02 wrote:Sorry for the late response, the version is kodi 16 and you guys were spot on as the problem was related to the stream being mpeg2. After purchasing the license, everything is running great. Turns out I could have just changed the encoding in my tuner to h264 but oh well the license is a cheap purchase. Big thanks to you guys for the great build and info.
I don't think you can change the encode type of your TV provider streams, unles you do some sort of real-time reencode.

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Posted: Sat May 28, 2016 11:11 am
by aik
Rascas wrote:I bet that it is your user "aik" that hasn't the right permissions set.
How are you running Kodi, from the desktop, terminal or auto-start at boot ? Are you running Raspbian Jessie ? You can turn the debug on in kodi and check the log file.
I got distracted a bit :) The problem is still present on my kodi and I am surprised it is not fixed in the latest builds...
The problem is: whenever Kodi shows a virtual keyboard (search addon dialog, etc), it does not accept keyboard input and treats it as player shortcuts, for example - space is always a pause and it never enters a space character. I doublechecked permissions:

aik@aikrpi ~ $ grep aik /etc/group
tty:x:5:aik,kodi
dialout:x:20:pi,aik,kodi
audio:x:29:pi,aik,kodi
video:x:44:pi,aik,kodi
plugdev:x:46:pi,aik,kodi
input:x:999:pi,aik
lpadmin:x:108:root,aik
aik:x:1002:

I checked all the steps from setup guide, all is there, tried without addons, no difference.

Answering your last questions:
1. I run kodi via a shortcut in XFCE, the process is "/usr/lib/kodi/kodi.bin --lircdev /var/run/lirc/lircd"
2. yes it is jessie debian (PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)")
3. I turned debug on, tried typing "space" in a search window and got this:

20:53:54 72609.132812 T:1944420352 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, trying keyboard action f020
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, action is Pause

And "Pause" is what really happened.

Kodi version is:
aik@aikrpi ~ $ apt show kodi
Package: kodi
Priority: optional
Section: video
Installed-Size: 28.2 MB
Maintainer: wsnipex <wsnipex@xbmc.org>
Version: 2:16.1-3~jessie

Any way to fix the problem or it is just by design? Thanks.

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Posted: Sat May 28, 2016 11:29 am
by gkreidl
aik wrote:
Rascas wrote:I bet that it is your user "aik" that hasn't the right permissions set.
How are you running Kodi, from the desktop, terminal or auto-start at boot ? Are you running Raspbian Jessie ? You can turn the debug on in kodi and check the log file.
I got distracted a bit :) The problem is still present on my kodi and I am surprised it is not fixed in the latest builds...
The problem is: whenever Kodi shows a virtual keyboard (search addon dialog, etc), it does not accept keyboard input and treats it as player shortcuts, for example - space is always a pause and it never enters a space character. I doublechecked permissions:

aik@aikrpi ~ $ grep aik /etc/group
tty:x:5:aik,kodi
dialout:x:20:pi,aik,kodi
audio:x:29:pi,aik,kodi
video:x:44:pi,aik,kodi
plugdev:x:46:pi,aik,kodi
input:x:999:pi,aik
lpadmin:x:108:root,aik
aik:x:1002:

I checked all the steps from setup guide, all is there, tried without addons, no difference.

Answering your last questions:
1. I run kodi via a shortcut in XFCE, the process is "/usr/lib/kodi/kodi.bin --lircdev /var/run/lirc/lircd"
2. yes it is jessie debian (PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)")
3. I turned debug on, tried typing "space" in a search window and got this:

20:53:54 72609.132812 T:1944420352 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, trying keyboard action f020
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, action is Pause

And "Pause" is what really happened.

Kodi version is:
aik@aikrpi ~ $ apt show kodi
Package: kodi
Priority: optional
Section: video
Installed-Size: 28.2 MB
Maintainer: wsnipex <wsnipex@xbmc.org>
Version: 2:16.1-3~jessie

Any way to fix the problem or it is just by design? Thanks.
Try
sudo chmod 0777 /dev/tty0
before starting kodi.
If that works, add
chmod 0777 /dev/tty0
to
/etc/rc.local
(above "exit 0")

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Posted: Sat May 28, 2016 4:17 pm
by Rascas
aik wrote:
Rascas wrote:I bet that it is your user "aik" that hasn't the right permissions set.
How are you running Kodi, from the desktop, terminal or auto-start at boot ? Are you running Raspbian Jessie ? You can turn the debug on in kodi and check the log file.
I got distracted a bit :) The problem is still present on my kodi and I am surprised it is not fixed in the latest builds...
The problem is: whenever Kodi shows a virtual keyboard (search addon dialog, etc), it does not accept keyboard input and treats it as player shortcuts, for example - space is always a pause and it never enters a space character. I doublechecked permissions:

aik@aikrpi ~ $ grep aik /etc/group
tty:x:5:aik,kodi
dialout:x:20:pi,aik,kodi
audio:x:29:pi,aik,kodi
video:x:44:pi,aik,kodi
plugdev:x:46:pi,aik,kodi
input:x:999:pi,aik
lpadmin:x:108:root,aik
aik:x:1002:

I checked all the steps from setup guide, all is there, tried without addons, no difference.

Answering your last questions:
1. I run kodi via a shortcut in XFCE, the process is "/usr/lib/kodi/kodi.bin --lircdev /var/run/lirc/lircd"
2. yes it is jessie debian (PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)")
3. I turned debug on, tried typing "space" in a search window and got this:

20:53:54 72609.132812 T:1944420352 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, trying keyboard action f020
20:53:54 72609.132812 T:1944420352 DEBUG: OnKey: space (0xf020) pressed, action is Pause

And "Pause" is what really happened.

Kodi version is:
aik@aikrpi ~ $ apt show kodi
Package: kodi
Priority: optional
Section: video
Installed-Size: 28.2 MB
Maintainer: wsnipex <wsnipex@xbmc.org>
Version: 2:16.1-3~jessie

Any way to fix the problem or it is just by design? Thanks.
I still think that is a permissions problem. Try running Kodi as root, just to test it, if it works, that's permissions problem.

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Posted: Mon May 30, 2016 1:09 pm
by aik
gkreidl wrote:Try
sudo chmod 0777 /dev/tty0
This helped, thanks mates!

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Posted: Mon May 30, 2016 2:01 pm
by gkreidl
aik wrote:
gkreidl wrote:Try
sudo chmod 0777 /dev/tty0
This helped, thanks mates!
Then you can add to rc.local
chmod 0777 /dev/tty0

and it will always work.

Re: Kodi 15/16 Packages for Raspbian

Posted: Fri Jun 03, 2016 5:35 pm
by rasplumino
Hi,

does anybody know if there is Kodi 16 available in official sources?
The archive.raspberrypi.org repository only has 2:15.2-2~jessie 0.

Code: Select all

pi@raspberrypi:~ $  apt-cache policy kodi

kodi:
2:15.2-2~jessie 0
500 http://archive.raspberrypi.org/debian/ jessie/main armhf Packages
regards

Re: Kodi 15/16 Packages for Raspbian

Posted: Fri Jun 03, 2016 8:04 pm
by Rascas
Not from official sources. But you have Kodi 16 packages, check the first post.

Re: Kodi 15/16 Packages for Raspbian

Posted: Mon Jun 06, 2016 5:03 am
by kxb3292
Hello,

I have installed raspbian on my new raspberry pi 3 and I have kodi v16 on top of it. I have followed a tutorial to set the system in read only mode.

Once, it is is read only mode, if i try to launch kodi. It tells me gives me the following error message
"""
Could not init logging classes. Permission errors on ~/.kodi (/home/pi/.kodi/temp/)
Error: Unable to create application. Exiting
Could't get a file descriptor referring to the console
"""
It looks like kodi needs to write some logs to launch. Is there any way I can make it write those logs to a different location (RAM)? or disable writing logs altogether so that it works when the SD card is in read only mode?

Thank you so much.

Re: Kodi 15/16 Packages for Raspbian

Posted: Tue Jun 07, 2016 3:28 pm
by Rascas
kxb3292 wrote:Hello,

I have installed raspbian on my new raspberry pi 3 and I have kodi v16 on top of it. I have followed a tutorial to set the system in read only mode.

Once, it is is read only mode, if i try to launch kodi. It tells me gives me the following error message
"""
Could not init logging classes. Permission errors on ~/.kodi (/home/pi/.kodi/temp/)
Error: Unable to create application. Exiting
Could't get a file descriptor referring to the console
"""
It looks like kodi needs to write some logs to launch. Is there any way I can make it write those logs to a different location (RAM)? or disable writing logs altogether so that it works when the SD card is in read only mode?

Thank you so much.
I don't know, but I think not. Better check the Kodi Wiki and/or ask the same question in Kodi official forum.

Re: Kodi 15/16 Packages for Raspbian

Posted: Fri Jun 17, 2016 6:26 pm
by bleep42
Hi Rascas,
I'm using your version of Kodi 17. Unfortunately it is now crashing if I try to play a h265 file, I'm assuming other Pi updates since March have broken it, any chance you will be updating it?
Many thanks. Kevin.

Re: Kodi 15/16 Packages for Raspbian

Posted: Fri Jun 17, 2016 6:45 pm
by Rascas
bleep42 wrote:Hi Rascas,
I'm using your version of Kodi 17. Unfortunately it is now crashing if I try to play a h265 file, I'm assuming other Pi updates since March have broken it, any chance you will be updating it?
Many thanks. Kevin.
That is strange. Earlier this week I was showcasing a RPi 3, recently updated with that Kodi 17 version and it played some h265 test files just fine. I will try again on monday, i am out this weekend.
I was expecting to compile a new Kodi 17 version when the first beta comes out.

Re: Kodi 15/16 Packages for Raspbian

Posted: Fri Jun 17, 2016 9:43 pm
by bleep42
Rascas wrote:
bleep42 wrote:Hi Rascas,
I'm using your version of Kodi 17. Unfortunately it is now crashing if I try to play a h265 file, I'm assuming other Pi updates since March have broken it, any chance you will be updating it?
Many thanks. Kevin.
That is strange. Earlier this week I was showcasing a RPi 3, recently updated with that Kodi 17 version and it played some h265 test files just fine. I will try again on monday, i am out this weekend.
I was expecting to compile a new Kodi 17 version when the first beta comes out.
Ok thanks, don't worry for the moment then. I am using the very latest kernel 4.4.14 I think. I'll look forward to the beta.
Thanks Kevin.

Re: Kodi 15/16 Packages for Raspbian

Posted: Sat Jun 18, 2016 2:31 pm
by bleep42
Hi Rascus,
For your information, I have now reverted to kernel 4.4.11-v7+ #888 and your build of Kodi 17 is again working fine when displaying h265 video files. :-)
Regards, Kevin.

Re: Kodi 15/16 Packages for Raspbian

Posted: Sun Jun 26, 2016 12:14 am
by hawkeyexp
Will we see a newer build of kodi 17 in next time ? last build is from march.

Re: Kodi 15/16 Packages for Raspbian

Posted: Sun Jun 26, 2016 11:07 am
by bleep42
hawkeyexp wrote:Will we see a newer build of kodi 17 in next time ? last build is from march.
Hi, Try reading the two or three posts just above yours!

Re: Kodi 15/16 Packages for Raspbian

Posted: Tue Jul 05, 2016 4:50 pm
by baxalo
Hallo..
I make fresh install of jessie and install kodi 16.1
When i try to play a movie i have only sound and no picture.
Before fresh install it works fine but now i have this problem.
anyone have any idea?
thnks.

Re: Kodi 15/16 Packages for Raspbian

Posted: Wed Jul 06, 2016 4:59 am
by gkreidl
baxalo wrote:Hallo..
I make fresh install of jessie and install kodi 16.1
When i try to play a movie i have only sound and no picture.
Before fresh install it works fine but now i have this problem.
anyone have any idea?
thnks.
GPU Memory?

Re: Kodi 15/16 Packages for Raspbian

Posted: Wed Jul 06, 2016 1:42 pm
by baxalo
gkreidl wrote:
baxalo wrote:Hallo..
I make fresh install of jessie and install kodi 16.1
When i try to play a movie i have only sound and no picture.
Before fresh install it works fine but now i have this problem.
anyone have any idea?
thnks.
GPU Memory?
256

Re: Kodi 15/16 Packages for Raspbian

Posted: Wed Jul 06, 2016 3:12 pm
by Rascas
baxalo wrote:Hallo..
I make fresh install of jessie and install kodi 16.1
When i try to play a movie i have only sound and no picture.
Before fresh install it works fine but now i have this problem.
anyone have any idea?
thnks.
Please post your Kodi log. Get it here after reproducing the problem:
/home/pi/.kodi/temp/kodi.log
Or follow this instructions:
http://kodi.wiki/view/Log_file

Re: Kodi 15/16 Packages for Raspbian

Posted: Thu Jul 07, 2016 11:19 am
by baxalo
I reinstall the jessie and kodi and all is fine now.
I don't know what was the problem.
After reinstall i see the answer of Rascas.
Anyway, Thnks a lot.

Re: Kodi 15/16 Packages for Raspbian

Posted: Sat Jul 16, 2016 5:26 pm
by b1990liam
Hi I'm a total noob to pi & Linux.
I have bought a pi2 and have managed to install raspbian Jessie and got kodi 15.2, I have been reading many post regarding adding deb http://pipplware.... but from start to finish how exactly do you do this ?