OpenGL on remote desktop


#1

I’m using remote desktop often, and whenever I’m trying to start pcbnew, it complains the “a higher than 2.1 OpenGL is required”. Then it reverts to the classic mode, which I find much less convenient, or to Cairo, which is much much slower (at least on my machine).
Am I missing something?

Tnx


#2

The first Google hit explains why
https://www.opengl.org/discussion_boards/showthread.php/198132-OpenGL-and-Microsoft-Remote-Desktop
MS Remote Desktop declares OpenGL 1.1


#3

Yes, I’m aware of this entry. Thanks. It took me a long while to post this question here - I was actually hoping there is a way around it. Does anybody know if there are plans to make Cairo as usable as the OpenGL view, or force Kicad to be happy with OpenGL1.1?

To be clear, I’m aware that this is a Microsoft issue, I’m just wondering if anyone else have dealt with this before and has a workaround…


#4

Other victims of this use alternatives to MS remote desktop like VNC.


#5

Cairo is an external library not related with KiCad. It is best known from produce consistent results across different platforms.

The speed that you experience on Pcbnew using OpenGL is mainly because of the OpenGL 2.1 features: shader support (that were only introduced in 2.0 version).
KiCad is using a very conservative version of the Opengl shaders language, introduced in 2006 (12 years ago)


#6

Have you been able to resolve this issue?

If not have you tried using a batch file to start KiCad? Within the batch file first disconnect the remote desktop session and reconnect the session to the console, then start KiCad. When you log back in KiCad should be running as if it were started normally on the local machine.