kodi on rbp4 "Unable to create GUI."

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

kodi on rbp4 "Unable to create GUI."

Postby Baumkuchen » Sun Dec 27, 2020 8:01 am

Hello Everyone,

running a RaspberryPi 4b, 4GB RAM, armv7

As is described in other threads on this forum kodi 18.9 stopped working mid december 2020. It froze when watching something. Sound just went humming. For some mysterious reason the Netflix-plugin was the one thing still working.
While trying to fix it I accomplished a failure of Netflix, too.

With nothing to lose I deinstalled kodi and its affiliates via -Rusnc. As recommended I deleted /var/lib/kodi. I saved .kodi to kodibackup.

Then I installed kodi-rpi-git. By now I learned to read what the console tells me. I emptied /boot/config.txt and typed in it:
[all]
include kodi.config.txt

I rebooted. I tried to start kodi.
ERROR: Unable to create GUI. Exiting

I installed kodi-rpi-git-eventclients and kodi-rpi-tools-texturepacker
I rebooted. I tried to start kodi.
ERROR: Unable to create GUI. Exiting

I would love to post Logs. With kodi not starting I am unsure how I am supposed to get them?

Where did I go wrong?
Did I forget something?

Baumkuchen
Baumkuchen
 
Posts: 9
Joined: Sun Dec 27, 2020 7:43 am

Re: kodi on rbp4 "Unable to create GUI."

Postby graysky » Sun Dec 27, 2020 12:15 pm

What is the output of systemctl status kodi
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi on rbp4 "Unable to create GUI."

Postby Baumkuchen » Sun Dec 27, 2020 1:07 pm

systemctl status kodi
* kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor pre>
Active: inactive (dead)
lines 1-3/3 (END)
Baumkuchen
 
Posts: 9
Joined: Sun Dec 27, 2020 7:43 am

Re: kodi on rbp4 "Unable to create GUI."

Postby graysky » Sun Dec 27, 2020 1:46 pm

Start the service then post the output again.
$this->bbcode_second_pass_code('', 'systemctl start kodi
systemctl status kodi')
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi on rbp4 "Unable to create GUI."

Postby Baumkuchen » Sun Dec 27, 2020 1:57 pm

$this->bbcode_second_pass_quote('', 's')ystemctl status kodi
* kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor pre>
Active: active (running) since Sun 2020-12-27 14:53:57 CET; 9s ago
Main PID: 850 ((andalone))
Tasks: 1 (limit: 4915)
CGroup: /system.slice/kodi.service
`-850 (andalone)
lines 1-7/7 (END)
Baumkuchen
 
Posts: 9
Joined: Sun Dec 27, 2020 7:43 am

Re: kodi on rbp4 "Unable to create GUI."

Postby graysky » Sun Dec 27, 2020 2:07 pm

I do not understand. Post the out of:
$this->bbcode_second_pass_code('', 'pacman -Q | grep kodi
ps aux | grep kodi
cat /boot/config.txt
cat /boot/kodi.config.txt
')

Please use code tags.
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi on rbp4 "Unable to create GUI."

Postby Baumkuchen » Sun Dec 27, 2020 3:34 pm

$this->bbcode_second_pass_code('', '[philipp@alarmpi ~]$ pacman -Q | grep kodi
kodi-rpi-git 19.0b2.56840.579551ef13-1
kodi-rpi-git-eventclients 19.0b2.56840.579551ef13-1
kodi-rpi-git-tools-texturepacker 19.0b2.56840.579551ef13-1
[philipp@alarmpi ~]$ ps aux | grep kodi
philipp 907 0.0 0.0 2652 636 pts/1 S+ 16:32 0:00 grep kodi
[philipp@alarmpi ~]$ cat /boot/config.txt
# See /boot/overlays/README for all available options
[all]
include kodi.config.txt
[philipp@alarmpi ~]$ cat /boot/kodi.config.txt
dtoverlay=vc4-kms-v3d,cma-384
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
[philipp@alarmpi ~]$
')

THANKS for your replies and your work!
Baumkuchen
 
Posts: 9
Joined: Sun Dec 27, 2020 7:43 am

Re: kodi on rbp4 "Unable to create GUI."

Postby graysky » Sun Dec 27, 2020 5:08 pm

I am very puzzled by this. I tested this package on 1/2 dozen RPi4 and never experienced this. The only difference which should not matter is that your /boot/kodi.config.txt is missing a line from the default.

$this->bbcode_second_pass_code('', '% cat /boot/kodi.config.txt
dtoverlay=vc4-kms-v3d,cma-384
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
')

Just to be consistent, add that line, then post the output of these in order (as root):
$this->bbcode_second_pass_code('', 'systemctl disable kodi
chown -R kodi:kodi /var/lib/kodi
reboot
systemctl start kodi
systemctl status kodi
')
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi on rbp4 "Unable to create GUI."

Postby Baumkuchen » Sun Dec 27, 2020 5:36 pm

$this->bbcode_second_pass_code('', '[philipp@alarmpi ~]$ systemctl start kodi
Failed to start kodi.service: Access denied
See system logs and 'systemctl status kodi.service' for details.
[philipp@alarmpi ~]$ sudo systemctl start kodi
[philipp@alarmpi ~]$ systemctl status kodi
* kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor pre>
Active: active (running) since Sun 2020-12-27 18:33:52 CET; 14s ago
Main PID: 884 ((andalone))
Tasks: 1 (limit: 4915)
CGroup: /system.slice/kodi.service
`-884 (andalone)
lines 1-7/7 (END)
')

The ones before the reboot had no output.

My /boot/kodi.config.txt had all the four lines you posted.
Baumkuchen
 
Posts: 9
Joined: Sun Dec 27, 2020 7:43 am

Re: kodi on rbp4 "Unable to create GUI."

Postby graysky » Sun Dec 27, 2020 7:09 pm

I do not understand what's going on with your system. Post:
$this->bbcode_second_pass_code('', 'pacman -Q|grep linux')

Are you sure the system is up to date?
$this->bbcode_second_pass_code('', 'pacman -Syyu')

You should see several PIDs listed under that status command. In your case I have no idea what "andalone" means. Did you paste that or type it and miss some of the output?

Example:
$this->bbcode_second_pass_code('', '% systemctl status kodi
● kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2020-12-27 14:06:27 EST; 8s ago
Main PID: 421 (kodi-standalone)
Tasks: 22 (limit: 4091)
CGroup: /system.slice/kodi.service
├─421 /bin/sh /usr/bin/kodi-standalone
├─425 /bin/sh /usr/bin/kodi --standalone
└─430 /usr/lib/kodi/kodi-gbm --standalone

Dec 27 14:06:27 myth systemd[1]: Started Kodi standalone (GBM).
Dec 27 14:06:30 myth kodi-standalone[430]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_nam>
')
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests