0

I read on a similar question that you cannot use a SPI screen when developing for Kivy. This question was asked last year and I couldn't find any updates on whether or not anything changed. Touchscreen Kivy app for Raspberry Pi

I tried setting the "KIVY_BCM_DISPMANX_ID" equal to 4 and when I ran the Kivy app I got this error

[INFO   ] [Text        ] Provider: pygame
[INFO   ] [Window      ] Provider: egl_rpi
[INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[WARNING] [WinPygame   ] Video: failed (multisamples=2)
[WARNING] [WinPygame   ] trying without antialiasing
Fatal Python error: (pygame parachute) Segmentation Fault

Current thread 0x76f7e000 (most recent call first):
  File "/usr/local/lib/python3.4/site-packages/kivy/core/gl/__init__.py", line 42 in print_gl_version
  File "/usr/local/lib/python3.4/site-packages/kivy/core/gl/__init__.py", line 38 in init_gl

For a brief moment a screen does popup and then the above error is displayed. So my question is am I able to use this SPI screen or has nothing change since last year?

Community
  • 1
  • 1
  • The second answer to that question suggests a way to make it work. Have you tried that? – inclement Dec 03 '15 at 11:23
  • Also, kivy uses sdl2 now by default, not pygame. Make sure kivy is up to date and built this way, though this probably isn't the reason for your problem though. – inclement Dec 03 '15 at 11:24
  • I have tried using the fbcp, but it isn't ideal because I need to hook it up to a monitor and the dpi is really high. I'll try updating kivy later just in case and see what happens. – Christian Koehler Dec 03 '15 at 16:14

0 Answers0