jawi / ols

OpenBench LogicSniffer repository
http://www.lxtreme.nl/ols/
319 stars 75 forks source link

Signals not being displayed on zoom #203

Open 6thimage opened 10 years ago

6thimage commented 10 years ago

I have come across a problem when running on Linux (xubuntu 13.10), where the signals disappear from the display. This seems to only happen when RLE is enabled and when I zoom into the signal - the sample frequency and trigger type makes no difference.

I have uploaded a video to dropbox that shows the issue - https://dl.dropboxusercontent.com/u/7067568/ols_signal_issue.mp4

I'm guessing this might be a graphics issue, so it might be useful to know that I'm using the integrated graphics in an Intel i7-3770 CPU.

yuvadm commented 10 years ago

+1 getting this as well

6thimage commented 10 years ago

@yuvadm as it is likely to be useful, what operating system and graphics card are you using when the issue occurs?

yuvadm commented 10 years ago

I'm running Arch Linux with integrated Intel graphics, any other specific details I can give for debugging?

6thimage commented 10 years ago

@yuvadm I am not sure on what other details might be useful (hopefully @jawi will be able to help pin-point where the problem might be). I had a feeling that it might be being caused by Intel's integrated graphics, but I haven't been able to test for this issue on anything else, and I don't know where to start with trying to debug the problem.

jawi commented 10 years ago

Sorry for the late reply, couldn't find time sooner to look into this issue. From the video, it appears that some overflow occurs in the signal display. @6thimage, are you able to reproduce this and store the capture to a data file? This might allow me to reproduce the behaviour on my machine...

6thimage commented 10 years ago

Yes this is very reproducible, the data file at https://dl.dropboxusercontent.com/u/7067568/pll_config.ols does it. If you open the file, then zoom in (using the zoom in tool bar button) 6 times, the signals will disappear.

jawi commented 10 years ago

Exactly what I thought: you're experiencing the same issue as #160: overflows due to zooming in. Swing appears to be sensitive to integer overflows due to some internal optimisations. The good thing is that this issue is already fixed in the 'next' branch: I'm able to zoom in more than 6x while able to see the signals correctly...

6thimage commented 10 years ago

Thanks that's brilliant news - I didn't realise that #160 was the same issue. Do you have any idea when the next branch will be released?

jawi commented 10 years ago

@6thimage : I'm not able to cut a release yet, still need to do some serious bug hunting. You could try the latest snapshot of the upcoming 0.9.8 release if you like.