Layer mixing color schemes help tremendously when routing multi-layer boards

Good idea. I will try that.

thanks

I find it hard to believe that GL shaders can’t replicate whatever the previous behavior was. Do you have a link handy to the discussion?

KiCad uses Cairo 2D graphics library for the non-accelerated canvas.

OpenGL works on Mac. If it’s starting took like it doesn’t some day, the developers must come up with a strategy. Probably there will be a working compatibility layer for OpenGL on Mac. There’s no definitive answer to that generic problem which is of course about more than just KiCad, but it’s not a danger today or tomorrow.

OpenGL doesn’t have API for XORing for colors, it’s that simple. It’s not something which is needed in 3D graphics. There have been several mentions about that in some developer discussions, there’s no one definite authoritative discussion. The graphics hardware would of course be capable of doing that in one way or another, that’s why I suggests OpenCL as an alternative. I have no idea how difficult it would be to implement.

shaders can compute just about anything based on the RGBA values though…

halachal,

here is the discussion that I read through trying to figure out how to see layers.

post 23 talks about the legacy vs opengl visualizations.

XOR shading in WebGL

That may be true. I don’t know what it would require, though. There are also some limitations due to supporting old (2.0?) OpenGL.

bitwise operators were added to GLSL in OpenGL 3.0 (2009)

so I guess the question is why KiCAD is pinned to a version released in 2004…

You should file an issue and report your findings. I don’t know if there are any real OpenGL experts in the development group so that they would have thought about all possibilities, or if there are some other obstacles.

Because KiCad is dedicated to support old hardware. The year of the specification is of course earlier than the hardware which doesn’t yet support later spec.

(Man this conversation must be difficult to follow to those who don’t know the order of our messages…)

I really hope that’s not how the developers think. If someone really can’t bother to upgrade their GPU for a decade, there’s always software openGL.

Leaving aside the lack of features, the modern pipeline and programming style is almost unrecognizably changed from OGL2.0.

The old XOR made a lot of things visible on the PCB, but all those colors also had disadvantages and even though you could see a lot of things, figuring out what was what was not always easy.

There are 2 reasons why the XOR way feels better.

  1. You get used to what you see, it’s a psychological thing.
  2. The current way opacity is handled is very simplistic in it’s implementation.

Instead of holding on to the XOR, what other tools are there in OpenGL which can help in making boards better viewable? How do other PCB programs handle this?

To give some contrast. Here is a different approach:

I would have to agree that, while I do think supporting a wide range of hardware is good, and even necessary, there comes a time when it can probably be assumed (whatever negatives go along with that) that there will be a limit to how old things should be.

First, as a pcb designer, my systems go through an upgrade cycle depending on how much support and features are needed. For example, win7 is done, so hardware needs to meet specs for win 10, and even if the hardware was good on win 7, the new software versions require win10, and that typically means better hardware. Although Linux allows wider hardware, the current new releases do much better with newer hardware specs.

For a hobbyist, I don’t think kicad should require an i-7 to not bog down (and I have never had a problem on any hardware I have used kicad 4 on), but I would imagine most computers are pretty new.

That said, kicad does keep some older versions available - and should, if the goal is usability for lower hardware requirements.

I would rather hear “to use on a dual core p2 computer, download kicad 4” than to suffer development decisions because everyone has to fall to the lowest hardware possible.

If the graphics cards are the limiting factor, set a minimum requirement of some baseline graphics available - some intel hd chip that comes in a medium budget laptop?

And thinking of the requirement side of kicad, I’m wondering if the legacy mode being gone from Ubunty20.04 might have to do with Ubuntu dropping python2, and maybe legacy mode needs python2?

I am using KiCad on a 12 year old Dualcore (E6550) with a passmark rating of around 1500, and with Linux Mint 19.3 XFCE it still works well enough that I am in doubt when I would be going to buy a newer PC. I did upgrade my pc with about the cheapest video card I could find some years ago (Nvidia N210) which was a great improvement over the original, but abysmally slow for today’s standards.

For KiCad it’s still fine. FreeCAD has become very slow 1 or 2 years ago. FreeCAD takes over a minute just to start up, which is quite horrible.

On the other hand, I’ve heard Wayne Stambaugh talking of people requesting more copper layers because they are nearing the KiCad limit and boards with several thousands of components. For those board’s you will need fast hardware, and speed for KiCad is a mayor issue.

In this thread:

qu1ck wrote:
It’s dropped on linux distributions where gtk3 is the only option. Legacy toolkit is only supported on gtk2.

I would imagine those designers would be using the latest video cards to get fast rendering and operation.
It would interesting to see the fantastic features a “latest hardware” edition of kicad would have.

paulvdh,

Thanks for the link. I wasn’t sure why the legacy option disappeared.

For around EUR700 I can buy components for a PC with a Passmark rating of around 19000, more then 12x faster then my current PC.

  • EUR180 Ryzen 3600
  • EUR150 RX570 or XR580 Video.
  • EUR150 16GB Ram.
  • EUR110 Mobo.
  • Miscellaneous components, SSD, Power supply and other stuff.

The fastest “regular” PC’s have a passmark rating of around 62000, more then 3 times faster than the top of what I would consider purchasing.

Oops. The top just jumped up to 81000…

Also, modern graphics cards can cost upto several thousand EUR, and you can put 4 of them in a PC.
I would not be surprised if a completely maxed out PC costs EUR30000 or more. It’s completely mad.