Skip to content

Problems with accelerated graphics

Description

Currently, I cannot use accelerated graphics. On my desktop machine I see visual artifacts. On a VM I get segfaults.

I've attached a few videos - in simplescreenrecorder-2022-01-11_10.24.08.mkv you will see that as I pan the screen, many of the through-hole pads are switching between their proper yellow color and a grayish blue. This is with "no antialiasing".

In simplescreenrecorder-2022-01-11_10.25.33.mkv I've turned on high-quality antialiasing. In this case, in addition to the pads changing color during a pan, I also get flickering of the screen.

In simplescreenrecorder-2022-01-11_10.34.54.mkv I get flickering just by moving the mouse around without doing any panning.

Steps to reproduce

  1. Enable accelerated graphics and high quality antialiasing
  2. Notice various visual artifacts

KiCad Version

Application: KiCad

Version: 6.0.0-2.fc35, release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.79.1 OpenSSL/1.1.1l-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.45.1 OpenLDAP/2.4.59

Platform: Linux 5.15.12-200.fc35.x86_64 x86_64, 64 bit, Little endian, wxGTK, KDE, x11

Build Info:
	Date: Dec 25 2021 00:00:00
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.79.1
	ngspice: 35
	Compiler: GCC 11.2.1 with C++ ABI 1016

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

simplescreenrecorder-2022-01-11_10.24.08.mkv

simplescreenrecorder-2022-01-11_10.25.33.mkv

simplescreenrecorder-2022-01-11_10.34.54.mkv

This is a Fedora 35 Linux machine with an NVidia graphics card using the open source nouveau kernel driver.

I'll try to get some coredumps from the VMs that experience segfaults. Stay tuned...