import kivy from kivy.uix.label import Labelfrom kivy.uix.gridlayout import GridLayoutfrom kivy.uix.image import Imagefrom kivy.uix.button import Buttonfrom kivy.uix.widget import Widgetfrom kivy.app import App
class MyGrid(GridLayout): pass
class A(App):
def build(self): g=GridLayout(cols=4) g.add_widget(Button(size_hint=(0.4,0.1))) g.add_widget(Button(size_hint=(0.4,0.1))) g.add_widget(Button(size_hint=(0.4,0.1))) g.add_widget(Button(size_hint=(0.4,0.1)))
return ga = A() a.run()
On Apr 22, 2020, at 1:45 PM, Petr Marek <petr.m...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/c3a4c172-37e1-46d0-90ed-6df29d2e0fdf%40googlegroups.com.
Look at the kivy log, or the code that runs displays when the program starts up. What does it say about the OpenGL driver?
You may want to see if there is an update of the OpenGL driver for your platform.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/e605e0d3-617c-4bbe-82b5-4b282d2d2a80%40googlegroups.com.
I don’t know it this helps – https://www.raspberrypi.org/forums/viewtopic.php?t=223592#p1377088
Make sure you have the latest driver, and HW acceleration is turned on.
It looks like Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits) is not the HW accelerated graphics driver.
From: Petr Marek
Sent: Wednesday, April 22, 2020 3:08 PM
To: Kivy users support
Subject: Re: [kivy-users] Kivy on Raspberry Pi
It says:
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/e180991e-7996-4df6-a29f-a19e4632e478%40googlegroups.com.