opengl rendering artifacts on pcbnew after panning

Bug #1703989 reported by Daniele Monteleone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Undecided
Unassigned

Bug Description

When I'm viewing a PCB, after panning or resizing the windows and using openGL rendering, some strange artifacts appears, it seems that the green grid gets repeated when scrolling.
I tried using either the nightly version or the stable one, but the only difference is the position of the artifacts (in the stable version is on the bottom, while in the nightly version on the top).
Version information (nightly):
Application: kicad
Version: (2017-07-10 revision 2a301d5)-master, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.8 nghttp2/1.20.0
Platform: Mac OS X (Darwin 17.0.0 x86_64), 64 bit, Little endian, wxMac
- Build Info -
wxWidgets: 3.0.2 (UTF-8,STL containers,compatible with 2.8)
Boost: 1.61.0
Curl: 7.43.0
KiCad - Compiler: Clang 7.3.0 with C++ ABI 1002
        Settings: USE_WX_GRAPHICS_CONTEXT=ON
                  USE_WX_OVERLAY=ON
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  KICAD_SCRIPTING_ACTION_MENU=ON
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_OCE=ON
Version information (stable):
Application: kicad
Version: 4.0.6 release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 17.0.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.57.0
Curl version: libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.8 nghttp2/1.20.0
         USE_WX_GRAPHICS_CONTEXT=ON
         USE_WX_OVERLAY=ON
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON
I don't know wether the problem is related to my mac OS version or not (10.13 public beta), but other applications using openGL run fine.

EDIT: this seems to happen only when window is big enough (retina screen: MacBook Pro Retina 15" 2014)

Tags: gal opengl
Revision history for this message
Daniele Monteleone (dmonteleone) wrote :
Revision history for this message
Daniele Monteleone (dmonteleone) wrote :
description: updated
Revision history for this message
Nick Østergaard (nickoe) wrote :

I assume this is the opengl canvas. Does this also happen with the cairocanvas?

tags: added: gal
Revision history for this message
Daniele Monteleone (dmonteleone) wrote :

@nickoe , it only happens when using openGL, but the others are way too slow for me to use with big boards.

tags: added: opengl
Changed in kicad:
status: New → Confirmed
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Piotr, do you confirm the issue on OSX or another platform?

Daniele, do the artifacts stay there all the time or do they disappear when you e.g. zoom in/out or pan the view?

Seth Hillbrand (sethh)
Changed in kicad:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.