Liby99 / geometry-sketchpad

A Cross-Platform Geometry Sketchpad written in Rust using specs
7 stars 3 forks source link

Eplieptic Graphics Overload #2

Open nyghtly-derek opened 5 years ago

nyghtly-derek commented 5 years ago

System information:

image

Description of bug:

The application's graphics immediately malfunction upon opening, blinking excessively between many different colors.

The loop can be stopped by pressing L. After that, the application works correctly, allowing the user to draw and delete lines, etc.

I believe this bug is probably specific to Windows 10.

nyghtly-derek commented 5 years ago

A simple way to prevent this bug might be to clear the screen in between drawing loops, or to clear the screen immediately upon opening the window.

Liby99 commented 5 years ago

Thanks so much for reporting the bug! I'm trying to reproduce it on my windows machine...

nyghtly-derek commented 5 years ago

@Liby99 I have access to another Windows machine--I'll try and reproduce it on there as well.

tonnylyz commented 5 years ago

@nyghtly-derek Hi! I have also tried reproducing on my Windows machine. Though I once saw some weird cyan colored canvas when sketching on it, I cannot reproduce it anymore.

I think this is an upstream library bug regarding back end/GPU, and we can do so little.

I also released an alpha build for Windows x64, you can test it. We very appreciate for your feedback and bug reporting.

nyghtly-derek commented 5 years ago

Just tested the master branch on my other windows machine. No graphics glitch detected this time.

Here are the specs:

image

Worth noting that the computer with the glitch was using onboard intel graphics whereas this computer has a dedicated graphics card.

Might be worth reporting this upstream. I assume Piston is the relevant crate?