Forum
RasPi4 dev version - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Community (/forum-5.html)
+--- Forum: Feedback (/forum-12.html)
+--- Thread: RasPi4 dev version (/thread-4060.html)

Pages: 1 2


RasPi4 dev version - gkusiak - 1st Dec, 2019 04:40 AM

Installed the dev version I found on github and have been configuring/testing:
https://github.com/xbianonpi/xbian/issues/870

I can't speak to whether all 4 cores are being used...but it works well! I was pleasantly surprised that the Pimoroni fan shim activated at boot - I was worried I would have to SSH in to set that up - but it may simply be that the default CPU temp reported is incorrect, or whatever switches the voltage on hasn't been configured to turn off below a certain temp. Somehow It only wants to see the 5GHz band of my ISP's router rather than my own router, but the 2.4GHz band has been working well enough for my purposes at this point, and the plan is to use the eth0 connection in deployment anyway, so this is moot.

I tried the Sybu kodi iOS app from my phone as a remote - flawless! I'll try it on my iPad next, for the bigger keyboard.

Has there been work done to that img since it was posted? (should I update?)


RE: RasPi4 dev version - gkusiak - 1st Dec, 2019 07:33 AM

I wish I hadn't upgraded to the kodi 19 alpha: it broke my add-ons, except for YouTube. Upgrade packages, except for kodi is my advice to anyone following along...is it possible to revert to 18.x? I wonder if I'll have as much luck with Netflix?

while buffering hasn't been a significant issue, there has been a bit, so I need to modify the video cache (advancedsettings.xml): FreeMemory is being reported as >3400MB (4GB Pi4), so there is PLENTY of wiggle room, depending on how much I want to tax my 15/1 connection (yeah, I've ordered a speed bump to 50/10 from my ISP)

Also happy to report xbian follows the ntp server on my router, which references a number of nearby atomic clocks...

Netflix:
https://linuxconfig.org/how-to-install-netflix-in-kodi-on-ubuntu-and-debian
it seems the terminal is definitely in my near future...


RE: RasPi4 dev version - gkusiak - 2nd Dec, 2019 06:19 AM

...setting root password and ssh-ing in to the backend wasn't as daunting as I thought

From another thread/topic here, is this the way to revert back to 18.5?
sudo apt-get install --reinstall xbian-package-firmware

also, since I'm still learning this language called linux (or debian?), will the instructions to get my Pimoroni fan shim to cycle shown
https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-fan-shim
work?

I'm still on the hunt to find the video cache settings file advancedsettings.xml - I can't seem to cd ~/.kodi/userdata/ but I have found /boot/config.txt


RE: RasPi4 dev version - Nachteule - 2nd Dec, 2019 11:16 PM

Reverting to prior version of kodi:

1) figuring out which versions are available

Terminal

root@kmxbilr2 ~ # LC_ALL=C apt-cache policy xbian-package-xbmc
xbian-package-xbmc:
Installed: 19.0~ALPHA1-1574196985
Candidate: 19.0~ALPHA1-1574196985
Version table:
*** 19.0~ALPHA1-1574196985 500
500 http://kmcubie devel/rpi2-buster armhf Packages
100 /var/lib/dpkg/status
19.0~ALPHA1-1570931654 500
500 http://kmcubie devel/rpi2-buster armhf Packages
18.5-1574350343 500
500 http://kmcubie stable/rpi2-buster armhf Packages
18.4-1573688252 500
500 http://kmcubie stable/rpi2-buster armhf Packages
18.4-1570999532 500
500 http://kmcubie devel/rpi2-buster armhf Packages
18.4-1570394279 500
500 http://kmcubie devel/rpi2-buster armhf Packages
18.4-1570392317 500
500 http://kmcubie stable/rpi2-buster armhf Packages

2) install desired version

Terminal

sudo apt-get install xbian-package-xbmc=18.5-1574350343



RE: RasPi4 dev version - Nachteule - 2nd Dec, 2019 11:19 PM

(2nd Dec, 2019 06:19 AM)gkusiak Wrote:  I'm still on the hunt to find the video cache settings file advancedsettings.xml - I can't seem to cd ~/.kodi/userdata/ but I have found /boot/config.txt

Believe me IT IS THERE!

Terminal

cd /home/xbian/.kodi/userdata



RasPi4 dev version - gkusiak - 2nd Dec, 2019 11:50 PM

Thank you!

Sent from my iPhone using Tapatalk

EDIT- I used the rollback command, and now I have 2 bootable volumes on my SD card, which is causing boot failure. Did I miss something?


RE: RasPi4 dev version - gkusiak - 6th Dec, 2019 02:32 AM

help Mr NightOwl, you're my only hope:
using the sudo apt-get install command from post #4 gets me a machine that boots to the kodi splash screen then fails to terminal with
xbian login:

so I login, xbian/raspberry...havent changed the root password yet.
then I type kodi start, which gives me the xbian logo with a progress bar that says kodi stopping.

what have I done wrong?


RE: RasPi4 dev version - Nachteule - 6th Dec, 2019 02:56 AM

Logs would be helpful


RE: RasPi4 dev version - Nachteule - 6th Dec, 2019 03:03 AM

(2nd Dec, 2019 11:50 PM)gkusiak Wrote:  Thank you!

Sent from my iPhone using Tapatalk

EDIT- I used the rollback command, and now I have 2 bootable volumes on my SD card, which is causing boot failure. Did I miss something?

???


RE: RasPi4 dev version - gkusiak - 6th Dec, 2019 03:06 AM

(6th Dec, 2019 02:56 AM)Nachteule Wrote:  Logs would be helpful

they're located where?


RE: RasPi4 dev version - Nachteule - 6th Dec, 2019 03:22 AM

/home/xbian/.kodi/temp/kodi.log
/var/log/upstart/xbmc.log


RE: RasPi4 dev version - gkusiak - 6th Dec, 2019 03:38 AM

last lines of kodi.log:

2019-12-05 17:19:45.948 T:2983693600 NOTICE: Config:
decode_MPG2=0x00000000
decode_WVC1=0x00000000
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=
2019-12-05 17:19:46.619 T:2983693600 WARNING: CDRMUtils::FindPlane - could not find plane
2019-12-05 17:19:46.619 T:2983693600 WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
2019-12-05 17:19:46.619 T:2983693600 NOTICE: CDRMUtils::InitDrm - successfully authorized drm magic
2019-12-05 17:19:46.622 T:2983693600 ERROR: CGBMUtils::CreateDevice - failed to create device
2019-12-05 17:19:46.623 T:2983693600 FATAL: CApplication::Create: Unable to init windowing system
2019-12-05 17:19:46.623 T:2983693600 NOTICE: Stopping player
2019-12-05 17:19:46.623 T:2983693600 NOTICE: Storing total System Uptime
2019-12-05 17:19:46.623 T:2983693600 NOTICE: Saving settings
2019-12-05 17:19:46.628 T:2983693600 NOTICE: Saving skin settings
2019-12-05 17:19:47.117 T:2983693600 NOTICE: Stopping all
2019-12-05 17:19:47.121 T:2983693600 NOTICE: stop dvd detect media
2019-12-05 17:19:47.372 T:2983693600 NOTICE: Application stopped
2019-12-05 17:19:47.572 T:2983693600 NOTICE: unload skin

xbmc log:

Dec 05 11:21:06: MESA-LOADER: failed to open vc4 (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 11:21:06: failed to load driver: vc4
Dec 05 11:21:06: MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 11:21:06: failed to load driver: kms_swrast
Dec 05 11:21:06: MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 11:21:06: failed to load swrast driver
Dec 05 11:21:06: ERROR: Unable to create GUI. Exiting
Segmentation fault
start: Job failed to start
stop: Job has already been stopped: xbmc
Dec 05 12:19:46: MESA-LOADER: failed to open vc4 (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 12:19:46: failed to load driver: vc4
Dec 05 12:19:46: MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 12:19:46: failed to load driver: kms_swrast
Dec 05 12:19:46: MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
Dec 05 12:19:46: failed to load swrast driver
Dec 05 12:19:46: ERROR: Unable to create GUI. Exiting
Segmentation fault
start: Job failed to start
stop: Job has already been stopped: xbmc


RE: RasPi4 dev version - Nachteule - 6th Dec, 2019 04:13 AM

Plz show me output of

ls -la /usr/local/lib/kodi

and

uname -a


RE: RasPi4 dev version - Nachteule - 6th Dec, 2019 04:17 AM

Problably reinstalling of kernel may help

Terminal

sudo apt-get install --reinstall linux-image-bcm2836=4.19.86+-1574802561



RE: RasPi4 dev version - gkusiak - 6th Dec, 2019 08:59 AM

ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Dec 4 16:01 .
drwxr-xr-x 1 root root 176 Oct 14 07:22 ..
drwxr-xr-x 1 root root 1940 Dec 4 16:01 addons
lrwxrwxrwx 1 root root 8 Dec 31 1969 kodi.bin -> kodi-gbm
-rwxr-xr-x 1 root root 32097720 Nov 21 10:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 10:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Oct 14 07:22 system

uname -a
Linux xbian 4.19.86+ #1 SMP PREEMPT Tue Nov 26 21:55:55 CET 2019 armv7l GNU/Linux