Kivy apps start with black screen on new MacBook Pro

70 views
Skip to first unread message

Charly

unread,
Nov 13, 2018, 1:48:07 AM11/13/18
to Kivy users support
Hi team,

I'm facing a stange issue with my new MacBook Pro where all Kivy applications (the demo apps or the one I wrote) start with a BlackScreen.
I did a fresh new install on my new MacBook Pro 15" with  OSX 10.14.1. (Mojave), Python (2.7.10), Kivy (1.10.1).
The main difference with my previous Mac lies with the graphic hardware config.
I don't get any error message at startup.

[INFO   ] [Logger      ] Record log in /Users/charly/.kivy/logs/kivy_18-11-13_24.txt

[INFO   ] [Kivy        ] v1.10.1

[INFO   ] [Python      ] v2.7.10 (default, Aug 17 2018, 17:41:52) 

[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)]

[INFO   ] [Factory     ] 194 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_imageio, img_dds, img_sdl2, img_gif (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

[INFO   ] [Window      ] Provider: sdl2

[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system

[DEBUG  ] [GL          ] glShaderBinary is not available

[INFO   ] [GL          ] Backend used <gl>

[INFO   ] [GL          ] OpenGL version <2.1 ATI-2.2.8>

[INFO   ] [GL          ] OpenGL vendor <ATI Technologies Inc.>

[INFO   ] [GL          ] OpenGL renderer <AMD Radeon Pro 555X OpenGL Engine>

[INFO   ] [GL          ] OpenGL parsed version: 2, 1

[INFO   ] [GL          ] Shading version <1.20>

[INFO   ] [GL          ] Texture max size <16384>

[INFO   ] [GL          ] Texture max units <16>

[DEBUG  ] [Shader      ] Fragment compiled successfully

[DEBUG  ] [Shader      ] Vertex compiled successfully

[DEBUG  ] [ImageImageIO] Load </Users/charly/Context/Dev/lib/python2.7/site-packages/kivy/data/glsl/default.png>

[INFO   ] [Window      ] auto add sdl2 input provider

[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked

[INFO   ] [Text        ] Provider: sdl2

[DEBUG  ] [Atlas       ] Load </Users/charly/Context/Dev/lib/python2.7/site-packages/kivy/data/images/defaulttheme.atlas>

[DEBUG  ] [Atlas       ] Need to load 1 images

[DEBUG  ] [Atlas       ] Load </Users/charly/Context/Dev/lib/python2.7/site-packages/kivy/data/images/defaulttheme-0.png>

[DEBUG  ] [ImageImageIO] Load </Users/charly/Context/Dev/lib/python2.7/site-packages/kivy/data/images/defaulttheme-0.png>

[DEBUG  ] [Resource    ] add </Library/Fonts> in path list

[DEBUG  ] [Resource    ] add </System/Library/Fonts> in path list

[DEBUG  ] [Resource    ] add </Users/charly/Library/Fonts> in path list

[DEBUG  ] [Resource    ] add </Users/charly/Context/Dev/lib/python2.7/site-packages/kivy/data/fonts> in path list

[DEBUG  ] [Cache       ] register <textinput.label> with limit=None, timeout=60.0

[DEBUG  ] [Cache       ] register <textinput.width> with limit=None, timeout=60.0

[INFO   ] [GL          ] NPOT texture support is available

[DEBUG  ] [Base        ] Create provider from mouse

[INFO   ] [Base        ] Start application main loop


At this stage, the application is up and running but the display of the app is a black screen. 

The only trick I found to display properly the app is to resize the app window :

[DEBUG  ] [Window      ] Resize window to (2194, 1274)



Then the application is displayed and work properly.

Any idea on how to fix this issue ?

Thanks,


Глеб Самойлов

unread,
Nov 13, 2018, 2:01:01 AM11/13/18
to Kivy users support
I also have such a computer (MacBoock Air).
Only the first installation method works (Using The Kivy.app) - https://kivy.org/doc/stable/installation/installation-osx.html


вторник, 13 ноября 2018 г., 9:48:07 UTC+3 пользователь Charly написал:

Jorge Henrique

unread,
Nov 13, 2018, 3:51:21 AM11/13/18
to kivy-...@googlegroups.com
Try to force screen config, 

From kivy.config import config 

kivy.config.graphics("height" = int)
kivy.config.graphics("left"= int)



--
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 post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/450b3e2b-9cc0-4d42-bed1-ea812b2487d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Charly

unread,
Nov 14, 2018, 1:32:31 AM11/14/18
to Kivy users support
Does mean that you cannot install Kivy in any others env than the Kivy.app env ?

/Charly

Charly

unread,
Nov 14, 2018, 1:40:03 AM11/14/18
to Kivy users support
It doesn't work .. fortunately as I would have mean hacking any code before running on Mojave.

-C
Reply all
Reply to author
Forward
0 new messages