WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No matching FB config found  (Read 5251 times)

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
No matching FB config found
« on: September 11, 2020, 06:19:57 AM »
I'm trying to use kivy, which is a Python module. But every time I go to compile, I get a message saying "No matching FB config found". I've been searching the forums, but nothing I've found seems to help.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: No matching FB config found
« Reply #1 on: September 11, 2020, 09:45:25 AM »
FB config sounds like an X thing. Could be it's a GUI thing and requires Xorg and/or opengl?
The only barriers that can stop you are the ones you create yourself.

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #2 on: September 11, 2020, 10:12:55 AM »
I think it is a GUI thing, but installing Xorg and opengl doesn't fix it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: No matching FB config found
« Reply #3 on: September 11, 2020, 10:42:27 AM »
Hi saladin
You provide 1 error message, but without some information about what led up to it, it lacks context. Is your problem
similar to this:
https://www.reddit.com/r/kivy/comments/ioxm5y/no_matching_fb_config_found

Based on the info in that thread, maybe you need:
Code: [Select]
libEGL-dev.tcz
libEGL.tcz

and possibly some of these:
Code: [Select]
sdl2-dev.tcz
sdl2_image-dev.tcz
sdl2_image.tcz
sdl2.tcz
sdl2_ttf-dev.tcz
sdl2_ttf.tcz

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #4 on: September 11, 2020, 10:57:31 AM »
Sorry, that's me in the reddit thread. Even with all of that, I still can't get it working. I'm still getting the same error message. Is there anything else I can try, or anywhere else I can ask?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: No matching FB config found
« Reply #5 on: September 12, 2020, 12:17:59 AM »
You need these :
compiletc
git
python3.6-dev
cython3.6-dev
ffmpeg4-dev
libsdl2-dev
libsdl2_image-dev
libsdl2_mixer-dev
libsdl2_ttf-dev
zlib1g-dev

libportmidi is not there in repo. You need to make it. -dev files of libavformat... are in ffmpeg4-dev (Why ?).

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: No matching FB config found
« Reply #6 on: September 12, 2020, 04:22:21 AM »
..because ffmpeg is the name of the source code that supplies libav*

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #7 on: September 12, 2020, 05:49:41 AM »
cython3.6-dev
libsdl2-dev
libsdl2_image-dev
libsdl2_mixer-dev
libsdl2_ttf-dev
zlib1g-dev

These don't seem to exist for 64-bit. Is it easier just to use 32-bit for this project?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: No matching FB config found
« Reply #8 on: September 12, 2020, 06:12:49 AM »
There is no cython3.6-dev. Just download cython3.6.
sdl2-dev.tcz
sdl2_image-dev.tcz
sdl2_mixer-dev.tcz
sdl2_ttf-dev.tcz
zlib1g-dev is zlib_base-dev.

They are in 64-bit repo. With different names. I checked in the website.

But Juanito, other distros have it separated. I (just) suggest adding a false package or seperating them.
« Last Edit: September 12, 2020, 06:18:36 AM by Sashank999 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: No matching FB config found
« Reply #9 on: September 12, 2020, 06:14:56 AM »
Hi saladin
Is this for x86_64 or Raspberry Pi?

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #10 on: September 12, 2020, 06:57:05 AM »
x86_64, though I could change to 32 if it's easier.

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #11 on: September 12, 2020, 08:10:23 AM »
Tried what Sashank999 recommended. It worked! I no longer get the "No matching FB config found" error. Now I get a completely different error:

Code: [Select]
[INFO   ] Logger: Record log in /home/tc/.kivy/logs/kivy_20-09-12_3.txt
[INFO   ] Kivy: v1.11.1
[INFO   ] Kivy: Installed at "/usr/local/lib/python3.6/site-packages/kivy/__init__.py"
[INFO   ] Python: v3.6.4 (default, Mar  9 2018, 12:22:02)
[GCC 7.2.0]
[INFO   ] Python: Interpreter at "/usr/local/bin/python3.6"
[INFO   ] Factory: 184 symbols loaded
[DEBUG  ] Cache: register <kv.lang> with limit=None, timeout=None
[DEBUG  ] Cache: register <kv.image> with limit=None, timeout=60
[DEBUG  ] Cache: register <kv.atlas> with limit=None, timeout=None
[INFO   ] Image: Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[DEBUG  ] Cache: register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] Cache: register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] Text: Provider <pango> ignored by config
[INFO   ] Text: Provider: sdl2(['text_pango'] ignored)
[DEBUG  ] Cache: register <textinput.label> with limit=None, timeout=60.0
[DEBUG  ] Cache: register <textinput.width> with limit=None, timeout=60.0
[DEBUG  ] App: Loading kv <./epic.kv>
[DEBUG  ] App: kv <./epic.kv> not found
[DEBUG  ] Window: Ignored <egl_rpi> (import error)
[INFO   ] Window: Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: Backend used <sdl2>
[INFO   ] GL: OpenGL version <b'3.1 Mesa 19.2.3'>
[INFO   ] GL: OpenGL vendor <b'VMware, Inc.'>
[INFO   ] GL: OpenGL renderer <b'llvmpipe (LLVM 8.0, 128 bits)'>
[INFO   ] GL: OpenGL parsed version: 3, 1
[INFO   ] GL: Shading version <b'1.40'>
[INFO   ] GL: Texture max size <8192>
[INFO   ] GL: Texture max units <32>
[DEBUG  ] Shader: Fragment compiled successfully
[DEBUG  ] Shader: Vertex compiled successfully
[DEBUG  ] Window: Ignored <x11> (import error)
[CRITICAL] Window: Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
egl_rpi - ImportError: cannot import name 'bcm'
  File "/usr/local/lib/python3.6/site-packages/kivy/core/__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/local/lib/python3.6/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
    from kivy.lib.vidcore_lite import bcm, egl

sdl2 - Exception: Unknown <png> type, no loader found.
  File "/usr/local/lib/python3.6/site-packages/kivy/core/__init__.py", line 71, in core_select_lib
    cls = cls()
  File "/usr/local/lib/python3.6/site-packages/kivy/core/window/window_sdl2.py", line 152, in __init__
    super(WindowSDL, self).__init__()
  File "/usr/local/lib/python3.6/site-packages/kivy/core/window/__init__.py", line 981, in __init__
    self.create_window()
  File "/usr/local/lib/python3.6/site-packages/kivy/core/window/window_sdl2.py", line 312, in create_window
    super(WindowSDL, self).create_window()
  File "/usr/local/lib/python3.6/site-packages/kivy/core/window/__init__.py", line 1258, in create_window
    self.render_context = RenderContext()
  File "kivy/graphics/instructions.pyx", line 783, in kivy.graphics.instructions.RenderContext.__init__
  File "/usr/local/lib/python3.6/site-packages/kivy/core/image/__init__.py", line 561, in __init__
    self.filename = arg
  File "/usr/local/lib/python3.6/site-packages/kivy/core/image/__init__.py", line 756, in _set_filename
    mipmap=self._mipmap, nocache=self._nocache)
  File "/usr/local/lib/python3.6/site-packages/kivy/core/image/__init__.py", line 463, in load
    raise Exception('Unknown <%s> type, no loader found.' % ext)

x11 - ModuleNotFoundError: No module named 'kivy.core.window.window_x11'
  File "/usr/local/lib/python3.6/site-packages/kivy/core/__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)

[CRITICAL] App: Unable to get a Window, abort.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: No matching FB config found
« Reply #12 on: September 12, 2020, 08:27:44 AM »
Have you downloaded the RPi version of kivy by mistake?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: No matching FB config found
« Reply #13 on: September 12, 2020, 08:30:24 AM »
Hi saladin
Quote
Code: [Select]
[DEBUG  ] Window: Ignored <egl_rpi> (import error)
[INFO   ] Window: Provider: sdl2(['window_egl_rpi'] ignored)
What Juanito said.

Offline saladin

  • Jr. Member
  • **
  • Posts: 61
Re: No matching FB config found
« Reply #14 on: September 12, 2020, 09:18:07 AM »
I don't know how to do that. Or how to not do that.

I've been using
Code: [Select]
sudo pip3.6 install kivy.