Nvidia OpenGl doesn't work anymore with KiCad?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
Hi,
I have Kicad run on FreeBSD 11.3 -Stable
:
Application: Pcbnew
Version: 5.1.4, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.67.0 OpenSSL/1.0.2t zlib/1.2.11 nghttp2/1.39.2
Platform: FreeBSD 11.3-STABLE amd64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (UTF-8,wx containers,
Boost: 1.71.0
OpenCASCADE Technology: 7.4.0
Curl: 7.67.0
Compiler: Clang 8.0.1 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Graphics Card is an Nvidia Quadro FX 4500 with 512MB of RAM that worked for me very well in the past performance wise. THe Driver ist nvidia-driver-304 from the FreeBSD Ports.
My Problem is that since approx an half year ago KiCad stopped to work with Nvidias OpenGL, I can only use the "Modern Toolset (Fallback)", otherwise pcbnew crashes at startup, now gerbview is dead too.
Version Info:
Application: Pcbnew
Version: 5.1.4, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.67.0 OpenSSL/1.0.2t zlib/1.2.11 nghttp2/1.39.2
Platform: FreeBSD 11.3-STABLE amd64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (UTF-8,wx containers,
Boost: 1.71.0
OpenCASCADE Technology: 7.4.0
Curl: 7.67.0
Compiler: Clang 8.0.1 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
If startet from cmd line I get a longish log on stderr:
Vertex info
-----------
0(119) : warning C7050: "delta" might be used before being initialized
Internal error: assembly compile error for vertex shader at offset 15516:
-- error message --
line 602, column 1: error: too many instructions
-- internal assembly text --
MAD R0.x, R0, R2.y, c[11].w;
[..]
complete log at https:/
Similar things happen if I switch pcbnew to "accellerated". Pcbnew and gerbview are dumping cores after that.
Whats happening here?
Regards,
Holm
Changed in kicad: | |
status: | Incomplete → Confirmed |
status: | Confirmed → Fix Released |
Changed in kicad: | |
importance: | Undecided → Unknown |
status: | Expired → Fix Released |
I use NVidia under Debian Buster without issue.
While it is possible that there is an incompatibility showing up in the shader compiler due to new KiCad code, we do not have a FreeBSD developer on the project at the moment who can look into this.
You can utilize one of the supported Linux distributions or, should you be inclined, dig into the source code and propose a patch that fixes your issue.