Can we have a native Raspbian KODI build
#46
When one has two sources available with the same packages (but perhaps different versions) , is there a recommended way to manage this?

I can see that I can show what versions are available by doing an apt-cache show kodi, but that doesn't seem to show me where those versions are coming from. There is a path, /pool/contrib/.. or similar, but it's not obvious to me that that necessarily always is identifiable as a particular source. How do the people who know what they are doing manage this? Of course in most cases one wouldn't care, and would just take the latest, but in my mind it gets hairier when unstable sources are available.

thx
Reply
#47
apt-cache policy kodi

By default, it will always use the newest version of any available repo. This behavior can be overridden by apt pinning.
If multiple repos have the exact same version, it will just use the first one.
Reply
#48
(2015-04-03, 18:08)wsnipex Wrote: apt-cache policy kodi

By default, it will always use the newest version of any available repo. This behavior can be overridden by apt pinning.
If multiple repos have the exact same version, it will just use the first one.

Thanks! The output from that is so much more informative and just what I was looking for.
Reply
#49
I'm running kodi-standalone but the result is
Code:
kodi-standalone
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
ERROR: Unable to create GUI. Exiting
and kodi.log:
Code:
23:36:19 T:3019980800  NOTICE: special://profile/ is mapped to: special://masterprofile/
23:36:19 T:3019980800  NOTICE: -----------------------------------------------------------------------
23:36:19 T:3019980800  NOTICE: Starting Kodi (14.1 Git:38e4046). Platform: Linux ARM 32-bit
23:36:19 T:3019980800  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
23:36:19 T:3019980800  NOTICE: Kodi compiled Feb  5 2015 by GCC 4.6.3 for Linux ARM 32-bit version 3.2.51 (197171)
23:36:19 T:3019980800  NOTICE: Running on Raspbian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 3.18.7+
23:36:19 T:3019980800  NOTICE: FFmpeg statically linked, version: 2.4.6-xbmc-2.4.6-Helix
23:36:19 T:3019980800  NOTICE: Host CPU: ARMv6-compatible processor rev 7 (v6l), 1 core available
23:36:19 T:3019980800  NOTICE: ARM Features: Neon disabled
23:36:19 T:3019980800  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
23:36:19 T:3019980800  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
23:36:19 T:3019980800  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
23:36:19 T:3019980800  NOTICE: special://home/ is mapped to: /home/pi/.kodi
23:36:19 T:3019980800  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
23:36:19 T:3019980800  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
23:36:19 T:3019980800  NOTICE: Local hostname: raspberrypi
23:36:19 T:3019980800  NOTICE: Log File is located: /home/pi/.kodi/temp/kodi.log
23:36:19 T:3019980800  NOTICE: -----------------------------------------------------------------------
23:36:19 T:3019980800   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanSuspend
23:36:19 T:3019980800   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanHibernate
23:36:19 T:3019980800  NOTICE: load settings...
23:36:19 T:3019980800  NOTICE: Found 2 Lists of Devices
23:36:19 T:3019980800  NOTICE: Enumerated PI devices:
23:36:19 T:3019980800  NOTICE:     Device 1
23:36:19 T:3019980800  NOTICE:         m_deviceName      : HDMI
23:36:19 T:3019980800  NOTICE:         m_displayName     : HDMI
23:36:19 T:3019980800  NOTICE:         m_displayNameExtra:
23:36:19 T:3019980800  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
23:36:19 T:3019980800  NOTICE:         m_channels        : FL,FR
23:36:19 T:3019980800  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
23:36:19 T:3019980800  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
23:36:19 T:3019980800  NOTICE:     Device 2
23:36:19 T:3019980800  NOTICE:         m_deviceName      : Analogue
23:36:19 T:3019980800  NOTICE:         m_displayName     : Analogue
23:36:19 T:3019980800  NOTICE:         m_displayNameExtra:
23:36:19 T:3019980800  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
23:36:19 T:3019980800  NOTICE:         m_channels        : FL,FR
23:36:19 T:3019980800  NOTICE:         m_sampleRates     : 48000
23:36:19 T:3019980800  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
23:36:19 T:3019980800  NOTICE:     Device 3
23:36:19 T:3019980800  NOTICE:         m_deviceName      : Both
23:36:19 T:3019980800  NOTICE:         m_displayName     : HDMI and Analogue
23:36:19 T:3019980800  NOTICE:         m_displayNameExtra:
23:36:19 T:3019980800  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
23:36:19 T:3019980800  NOTICE:         m_channels        : FL,FR
23:36:19 T:3019980800  NOTICE:         m_sampleRates     : 48000
23:36:19 T:3019980800  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
23:36:19 T:3019980800  NOTICE: Enumerated ALSA devices:
23:36:19 T:3019980800  NOTICE:     Device 1
23:36:19 T:3019980800  NOTICE:         m_deviceName      : @
23:36:19 T:3019980800  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
23:36:19 T:3019980800  NOTICE:         m_displayNameExtra:
23:36:19 T:3019980800  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
23:36:19 T:3019980800  NOTICE:         m_channels        : FL,FR
23:36:19 T:3019980800  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000
23:36:19 T:3019980800  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
23:36:19 T:3019980800  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
23:36:19 T:3019980800  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>dvdplayer</defaultplayer>
                                                <defaultdvdplayer>dvdplayer</defaultdvdplayer>
                                              </video>
                                              <gui>
                                                <algorithmdirtyregions>3</algorithmdirtyregions>
                                                <nofliptimeout>0</nofliptimeout>
                                              </gui>
                                              <splash>false</splash>
                                              <lookandfeel>
                                                <enablerssfeeds>false</enablerssfeeds>
                                              </lookandfeel>
                                              <cputempcommand>sed -e &apos;s/\([0-9]*\)[0-9]\{3\}.*/\1 C/&apos; /sys/class/thermal/thermal_zone0/temp</cputempcommand>
                                              <gputempcommand>/opt/vc/bin/vcgencmd measure_temp | sed &quot;s,temp=\([0-9]*\)\.[0-9]&apos;C,\1 C,&quot;</gputempcommand>
                                            </advancedsettings>
23:36:19 T:3019980800  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
23:36:19 T:3019980800  NOTICE: Default DVD Player: dvdplayer
23:36:19 T:3019980800  NOTICE: Default Video Player: dvdplayer
23:36:19 T:3019980800  NOTICE: Default Audio Player: paplayer
23:36:19 T:3019980800  NOTICE: Disabled debug logging due to GUI setting. Level 0.
23:36:19 T:3019980800  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
23:36:19 T:3019980800  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
23:36:19 T:3019980800  NOTICE: Loaded playercorefactory configuration
23:36:19 T:3019980800  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
23:36:19 T:3019980800  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
23:36:20 T:3018359728  NOTICE: Thread ActiveAE start, auto delete: false
23:36:20 T:3008361392  NOTICE: Thread AESink start, auto delete: false
23:36:20 T:2947543984  NOTICE: Thread CRBPWorker start, auto delete: false
23:36:20 T:3019980800  NOTICE: Running database version Addons16
23:36:20 T:3019980800  NOTICE: ADDONS: Using repository repository.xbmc.org
23:36:20 T:2939155376  NOTICE: Thread PeripBusCEC start, auto delete: false
23:36:20 T:2930766768  NOTICE: Thread PeripBusUSBUdev start, auto delete: false
23:36:21 T:3019980800  NOTICE: Raspberry PI firmware version: Feb 14 2015 22:23:03
                                            Copyright (c) 2012 Broadcom
                                            version 7789db485409720b0e523a3d6b86b12ed56fd152 (clean) (release)
23:36:21 T:3019980800  NOTICE: ARM mem: 480MB GPU mem: 32MB MPG2:0 WVC1:0
23:36:21 T:3019980800  NOTICE: Config:
                                            arm_freq=900
                                            core_freq=250
                                            sdram_freq=450
                                            over_voltage=2
                                            hdmi_channel_map=8
                                            program_serial_random=1
                                            config_hdmi_boost=2
                                            disable_commandline_tags=2
                                            emmc_pll_core=1
                                            hdmi_force_cec_address=65535
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            temp_limit=85
                                            force_pwm_open=1
                                            pause_burst_frames=1
                                            avoid_fix_ts=1
23:36:21 T:3019980800  NOTICE: Config:
                                            device_tree=-
23:36:21 T:3019980800  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
23:36:21 T:3019980800  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 50.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 24.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 23.976025 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 25.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 30.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 29.970032 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 72.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 72.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 70.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1152 x 864 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1280 x 800 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1280 x 800 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1280 x 960 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1280 x 960 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 900 x 720 for display 0 with 1280 x 1024 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 900 x 720 for display 0 with 1280 x 1024 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 900 x 720 for display 0 with 1280 x 1024 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1275 x 720 for display 0 with 1360 x 768 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1275 x 720 for display 0 with 1360 x 768 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1440 x 900 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1440 x 900 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1440 x 900 @ 75.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1600 x 1200 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 960 x 720 for display 0 with 1600 x 1200 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1680 x 1050 @ 60.000000 Hz
23:36:21 T:3019980800  NOTICE: Found resolution 1152 x 720 for display 0 with 1680 x 1050 @ 59.940063 Hz
23:36:21 T:3019980800  NOTICE: Found ([email protected]) at 22, setting to RES_DESKTOP at 16
23:36:21 T:3019980800  NOTICE: Checking resolution 16
23:36:21 T:3019980800   ERROR: EGL error in CreateSurface: 3003
23:36:21 T:3019980800  NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
23:36:21 T:3019980800   ERROR: EGL error in CreateSurface: 300b
23:36:21 T:3019980800   ERROR: CreateWindow: Could not create surface
23:36:21 T:3019980800   ERROR: CreateNewWindow: Could not create new window
23:36:21 T:3019980800   FATAL: CApplication::Create: Unable to create window
23:36:21 T:3019980800  NOTICE: special://profile/ is mapped to: special://masterprofile/

suggestions?
I'm using jessie
Reply
#50
(2015-04-15, 23:37)mcgyver83 Wrote: suggestions?
I'm using jessie

Code:
GPU mem: 32MB

That's not enough. We'd recommend gpu_mem=256 for Pi 2.
Reply
#51
(facepalm) Sorry, I miss to increase GPU ram.
Only to be clear I'm running on a Raspberry Pi B board, not Rpi 2 (unfortunately)
Now it's running Big Grin
Many thanks!!!!
Reply
#52
(2015-04-15, 23:48)mcgyver83 Wrote: (facepalm) Sorry, I miss to increase GPU ram.
Only to be clear I'm running on a Raspberry Pi B board, not Rpi 2 (unfortunately)

Start with at least gpu_mem=128. You may need more for some use cases (e.g. heavier skins).
Reply
#53
I'm using samsung TV, CEC from tv remote control isn't working.
The last time I used xbmc (gotham) more than 6 months ago, the remote was working fine. Sad
Reply
#54
(2015-04-16, 00:02)mcgyver83 Wrote: I'm using samsung TV, CEC from tv remote control isn't working.
Have you added any other devices to your TV? I had similar issue also with samsung TV where my cable TV set top box was blocking CEC on RPi2 Kodi. Plug everything else out of TV and check if it works. If so it's a conflict with one of the other devices. To solve it, a cheap solution that doesn't involve damaging your hdmi cable is to buy hdmi-dvi and dvi-hdmi adapters and plug put them between the device causing the conflict and the tv. dvi doesn't support CEC so it blocks any signals on that path...

Hope that helps!
Reply
#55
Hi, I have only the raspberry attached to the TV.
Since the gotham release I was using the remote controller; 6 months ago I started with a fresh image and this is the first time I install xbmc on it.
Reply
#56
(2015-04-16, 08:51)mcgyver83 Wrote: Hi, I have only the raspberry attached to the TV.
Since the gotham release I was using the remote controller; 6 months ago I started with a fresh image and this is the first time I install xbmc on it.

Try unplugging the TV from the mains for a minute. Surprisingly this often gets CEC working (TVs seem to "remember" unwanted stuff about past CEC devices connected)
Make sure TV was powered up first and on correct HDMI input before Pi was booted.
Some HDMI cables don't wire the CEC pin. Are you sure that cable works with CEC?
It might be worth an experiment with an OpenELEC install where we know that libcec is built correctly just to prove the Pi/cable/TV are set up correctly.
Reply
#57
After warming up to the thought of running Kodi as the main system for my new board, while still keeping Raspbian for better compatibility with other stuff (?), this topic interests me greatly. However I'm not fully sure what it actually means! Kodi was added to the Raspbian repository, so we can now use apt-get. That I understand. But does this mean that the Raspbian version now is officially supported? Or was it always supported, or will it still not be? Can releases be expected to appear simultaneously as for other platforms? I'm not sure how these things go. Having used Windows all my life I've never had to consider other platforms.
Reply
#58
While it's not a build created by anyone on Team Kodi, I believe it follows all of our requirements and guidelines, and should be considered just as official as any other Raspberry Pi build that does the same.
Reply
#59
I have:

Code:
deb http://mirrors.dotsrc.org/raspbian/raspbian jessie main contrib non-free
deb-src http://mirrors.dotsrc.org/raspbian/raspbian jessie main contrib non-free

in my /etc/apt/source.list, but there is no kodi package?
Reply
#60
(2015-05-25, 12:10)Termo Wrote: I have:

Code:
deb http://mirrors.dotsrc.org/raspbian/raspbian jessie main contrib non-free
deb-src http://mirrors.dotsrc.org/raspbian/raspbian jessie main contrib non-free

in my /etc/apt/source.list, but there is no kodi package?

kodi is not in the raspbian repo, but in:
Code:
http://archive.raspberrypi.org/debian/

Jessie is not currently support by raspberrypi repo, so there may or may not be issues. Jessie support is being worked on.
Reply

Logout Mark Read Team Forum Stats Members Help
Can we have a native Raspbian KODI build2