Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering glitches in Kivy Garden graph #16

Open
gljivaer opened this issue Aug 4, 2019 · 3 comments
Open

Rendering glitches in Kivy Garden graph #16

gljivaer opened this issue Aug 4, 2019 · 3 comments

Comments

@gljivaer
Copy link

gljivaer commented Aug 4, 2019

Bug description:
I'm using Kivy Garden graph widget to draw various graphs how population sizes change over time. Specifically I'm using the SmoothLinePlot module.

The program and graph drawing itself works fine, expect some minor glitches for which I still haven't managed to find out the reason.

After certain time point the plots become distorted with graphical artifacts showing below them and parts of the plots suddenly turn invisible. I must emphasize that even then the program doesn't crash or raise any exception but instead finishes its work. Furthermore when I write the coordinates of the plots to the text file, everything seems normal.

Check the pictures below for more clarity.

Normal behaviour:

scenario_screenshot_2019-8-4_13-3-48

Buggy behaviour:

scenario_screenshot_2019-8-4_12-47-21

To Reproduce:
On request I can provide the program itself.

Logs/output:
I don't see anything particularly useful in the logs.

[INFO   ] Logger: Record log in C:\Users\X\.kivy\logs\kivy_19-08-04_10.txt
[INFO   ] deps: Successfully imported "kivy_deps.glew" 0.1.12
[INFO   ] deps: Successfully imported "kivy_deps.sdl2" 0.1.22
[INFO   ] Kivy: v1.11.1
[INFO   ] Kivy: Installed at "C:\Users\X\AppData\Local\Programs\Python\Python37\lib\site-packages\kivy\__init__.py"
[INFO   ] Python: v3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
[INFO   ] Python: Interpreter at "C:\Users\X\AppData\Local\Programs\Python\Python37\pythonw.exe"
[INFO   ] Factory: 184 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: GLEW initialization succeeded
[INFO   ] GL: Backend used <glew>
[INFO   ] GL: OpenGL version <b'4.4.0 - Build 20.19.15.4549'>
[INFO   ] GL: OpenGL vendor <b'Intel'>
[INFO   ] GL: OpenGL renderer <b'Intel(R) HD Graphics 5500'>
[INFO   ] GL: OpenGL parsed version: 4, 4
[INFO   ] GL: Shading version <b'4.40 - Build 20.19.15.4549'>
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <32>
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[INFO   ] Text: Provider: sdl2
[INFO   ] GL: NPOT texture support is available
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[INFO   ] Base: Start application main loop
[INFO   ] WindowSDL: exiting mainloop and closing.
[INFO   ] Base: Leaving application in progress...

Platform (please complete the following information):

  • OS: Windows 10
  • Python 3.7.4
  • Kivy 1.11.1; Kivy-Garden graph 0.4-dev
@black-cat-science
Copy link

Did anyone ever find out the cause of this issue or a solution? I am having a similar problem.

@AMongardi
Copy link

Hi everybody, the issue is still present, unfortunately...
Can anyone give help? @gljivaer did you find a solution?

@hideyourbugs
Copy link

Had a similar issue. Some lines and points were randomly appearing and disapperaing. The list with the coordinates also seemed okay when printed to a log file.
I made a workaround to display less data: after a certain time the first elements of the list are popped out and new points are appended.

Tested with:
Kivy==1.11.1
Kivy-Garden==0.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants