stencilview not working in mac os #683

Closed
shyamdsundar opened this Issue Sep 18, 2012 · 3 comments

Projects

None yet

2 participants

@shyamdsundar

I am using macbook pro and linux.
While the examples "widgets/scrollview.py" and "canvas/stencil_canvas.py" work in linux, they show a blank screen in mac.

@tito
Member
tito commented Sep 19, 2012

Could you give more information as we requested in the contribution document ? Like the backtrace if exist, the log in debug etc... http://kivy.org/docs/contribute.html

Thanks.

@shyamdsundar

Oops. My bad. Guess I was quite sleepy :)

In the case of scrollview example, the screen is blank from the start. For the stencil_canvas example, the UI is initially visible. But when I click "+200 Rectangles" button, then the screen turns blank.

The same works well in linux and android. So, dont know if it has got to do with implementation of graphics instruction.

Please let me know if you need any other info.

I have attached the log below. (run on Mac OS X v10.6.8)
I tried Kivy 1.4.0 as well. The result is same.

$ python canvas/stencil_canvas.py 
[INFO   ] Kivy v1.4.1-dev
[INFO   ] [Logger      ] Record log in /Users/mpessd/.kivy/logs/kivy_12-09-19_4.txt
[INFO   ] [Factory     ] 123 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=60s
[INFO   ] [Window      ] using <pygame> as window provider
[INFO   ] [GL          ] OpenGL version <2.1 APPLE-1.6.36>
[INFO   ] [GL          ] OpenGL vendor <Intel Inc.>
[INFO   ] [GL          ] OpenGL renderer <Intel HD Graphics 3000 OpenGL Engine>
[INFO   ] [GL          ] Shading version <1.20>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [Shader      ] fragment compiled successfully
[INFO   ] [Shader      ] vertex compiled successfully
[DEBUG  ] [ImagePygame ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/glsl/default.png>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] using <pygame> as text provider
[DEBUG  ] [App         ] kv <canvas/stencilcanvas.kv> not found
[DEBUG  ] [Atlas       ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
[DEBUG  ] [Atlas       ] Need to load 1 images
[DEBUG  ] [Atlas       ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
[DEBUG  ] [ImagePygame ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
[INFO   ] [OSC         ] using <multiprocessing> for socket
[DEBUG  ] [Base        ] Create provider from tuio,0.0.0.0:3333
[DEBUG  ] [Base        ] Create provider from mouse
[INFO   ] [Base        ] Start application main loop
[DEBUG  ] [OSC         ] Start thread <0.0.0.0:3333>
[INFO   ] [OSC         ] listening for Tuio on 0.0.0.0:3333
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
[DEBUG  ] [OSC         ] Stop thread <0.0.0.0:3333>
[DEBUG  ] [OSC         ] Stop thread <0.0.0.0:3333> finished
$  python widgets/scrollview.py 
[INFO   ] Kivy v1.4.1-dev
[INFO   ] [Logger      ] Record log in /Users/mpessd/.kivy/logs/kivy_12-09-19_5.txt
[INFO   ] [Factory     ] 123 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=60s
[INFO   ] [Window      ] using <pygame> as window provider
[INFO   ] [GL          ] OpenGL version <2.1 APPLE-1.6.36>
[INFO   ] [GL          ] OpenGL vendor <Intel Inc.>
[INFO   ] [GL          ] OpenGL renderer <Intel HD Graphics 3000 OpenGL Engine>
[INFO   ] [GL          ] Shading version <1.20>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [Shader      ] fragment compiled successfully
[INFO   ] [Shader      ] vertex compiled successfully
[DEBUG  ] [ImagePygame ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/glsl/default.png>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] using <pygame> as text provider
[DEBUG  ] [Atlas       ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
[DEBUG  ] [Atlas       ] Need to load 1 images
[DEBUG  ] [Atlas       ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
[DEBUG  ] [ImagePygame ] Load </opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
[INFO   ] [OSC         ] using <multiprocessing> for socket
[DEBUG  ] [Base        ] Create provider from tuio,0.0.0.0:3333
[DEBUG  ] [Base        ] Create provider from mouse
[INFO   ] [Base        ] Start application main loop
[DEBUG  ] [OSC         ] Start thread <0.0.0.0:3333>
[INFO   ] [OSC         ] listening for Tuio on 0.0.0.0:3333
[INFO   ] [GL          ] NPOT texture support is available
@tito
Member
tito commented Oct 21, 2013

This bug is too old to be debugged. Our experience shows that graphics drivers on intel sucks on some cases. It you still hit the issue, please reopen for more investigation!

@tito tito closed this Oct 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment