LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-21-2023, 03:43 PM   #1
Johpin
Member
 
Registered: May 2020
Posts: 46

Rep: Reputation: Disabled
Minimal build of Kodi Matrix gbm using its README.Linux.md for RPi4 gives EROR: Unable to create GUI. Exiting -> use x11


From https://github.com/xbmc/xbmc/tree/Matrix I downloaded Kodi Matrix.

Via slackbuilds.org I installed
gtest
zuluopenjdk
libass
tinyxml
rapidjson
platform
(pycryptodomex and libcec for CEC)

Internal builds
make -C tools/depends/target/crossguid PREFIX=/usr/local
make -C tools/depends/target/flatbuffers PREFIX=/usr/local
make -C tools/depends/target/libfmt PREFIX=/usr/local
make -C tools/depends/target/libspdlog PREFIX=/usr/local

configuration by
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=gbm -DAPP_RENDER_SYSTEM=gles -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_CROSSGUID=ON -DENABLE_INTERNAL_FSTRCMP=ON

compiling successfully

running in the tree by ./kodi-gbm gives
EROR: Unable to create GUI. Exiting

What does it mean and how to get kodi running?

Last edited by Johpin; 03-24-2023 at 12:51 PM. Reason: Removed remark
 
Old 03-22-2023, 04:00 AM   #2
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
You are missing dav1d and libnfs.
Please check out my slackbuild script for kodi 19.5 and 20.1.
Also have some prebuild slackware 15.0 arm kodi 19.5 and kodi 20.1 packages built for both x11 and gbm.

On an x86 processor you might get this error "EROR: Unable to create GUI. Exiting" if you have upgraded xorg-server and not reisntalled the graphics driver.
Note you cannot run gbm on an x86 computer as it does not support gbm, you will have to run kodi from x11.

Last edited by Minime_2003; 03-22-2023 at 04:22 AM.
 
Old 03-22-2023, 12:03 PM   #3
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Minime_2003 View Post
You are missing dav1d and libnfs.
These are not required, see slackbuilds.org

Quote:
Originally Posted by Minime_2003 View Post
Please check out my slackbuild script for kodi 19.5 and 20.1.
I used your build script to build the x11 version. It builds like a charm. Executing the binary kodi-standalone results in:

ERROR: Unable to create GUI. Exiting
ERROR: Unable to create GUI. Exiting
ERROR: Unable to create GUI. Exiting
/usr/bin/kodi --standalone has exited in an unclean state 3 times in the last 5 seconds.
Something is probably wrong

I wonder why.

Quote:
Originally Posted by Minime_2003 View Post
Also have some prebuild slackware 15.0 arm kodi 19.5 and kodi 20.1 packages built for both x11 and gbm.
I installed your kodi-x11 Matrix binary yesterday: yesterday it ran nicely. Today I installed the one using your buildscript and removed it. Reinstalled your binary running now 320% cpu time?? The kodi-gbm gives the "Unable to Create GUI" error.

Quote:
Originally Posted by Minime_2003 View Post
On an x86 processor you might get this error "EROR: Unable to create GUI. Exiting" if you have upgraded xorg-server and not reisntalled the graphics driver.
Note you cannot run gbm on an x86 computer as it does not support gbm, you will have to run kodi from x11.
You are right.

Remark cpu load of 320% disappeared. I cannot control Kodi by remote control of television despite of /dev/cecX exists.

Last edited by Johpin; 03-23-2023 at 07:02 AM. Reason: Added remark
 
Old 03-23-2023, 06:29 AM   #4
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
I configured Kodi for X11 by

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gl -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_CROSSGUID=ON
-DENABLE_INTERNAL_FSTRCMP=ON

I could compile it for 80% and stopped finally due to the open GL error:

error: ‘glFinish’ was not declared in this scope
 
Old 03-23-2023, 03:30 PM   #5
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
Quote:
Originally Posted by Johpin View Post
I configured Kodi for X11 by

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gl -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_CROSSGUID=ON
-DENABLE_INTERNAL_FSTRCMP=ON

I could compile it for 80% and stopped finally due to the open GL error:

error: ‘glFinish’ was not declared in this scope
What arch are you compiling on? rpi does not support "gl", you have to use "gles".
 
Old 03-24-2023, 12:45 PM   #6
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Minime_2003 View Post
What arch are you compiling on? rpi does not support "gl", you have to use "gles".
configuration by
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gles -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_CROSSGUID=ON -DENABLE_INTERNAL_FSTRCMP=ON

resulted in a good build.

HDMI-CEC is not supported: I cannot use the remote control of the television to control Kodi. This behaviour was also in the binary of Minime_2003. Under Raspberry Pi OS Bullseye (and Buster) it is supported.

Thanks Minime_2003 to attent me on to use X11 with GLES.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kodi 19.5 Matrix and Kodi 20.0 Nexus for Slackware arm 15.0 Minime_2003 Slackware - ARM 12 05-06-2024 01:37 PM
[SOLVED] apt install gives eror "E: The package notebot needs to be reinstalled..." srikk Linux - Software 4 11-12-2019 09:07 AM
LXer: Enter the Matrix: Create your own containerized Matrix animation LXer Syndicated Linux News 0 10-11-2019 10:30 AM
[SOLVED] cannot build Mesa with --enable-gbm and vsync doesn't work on cape verde gpu Holering Slackware 4 09-17-2013 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration