horizon-eda / horizon

Horizon is a free EDA package
https://horizon-eda.org/
GNU General Public License v3.0
1.11k stars 82 forks source link

Lagging board and schematic editor #627

Open jue89 opened 2 years ago

jue89 commented 2 years ago

Sometimes, the board and schematic editor are lagging. It feels like a frame rate of <10 FPS.

I wasn't able to reproduce the problem and it might be related to my Nvidia graphics card. (We all know Linus Torvalds LOVES Nvidia for good reasons :D) Restarting my PC resolves this problem.

Does anyone have a guide for me how to benchmark code execution and how to trace down to the source of the problem? Maybe I'll be able to create a helpful issue the next time I'm facing this problem ...

carrotIndustries commented 2 years ago

When this happens, can you check the gtk GLArea demo and see if it lags as well? Are you using the proprietary drivers our nouveau?

katyo commented 2 years ago

@carrotIndustries Nouveau is quite slow for me too.

jue89 commented 2 years ago

I'm using the proprietary driver with Xorg.

For streaming I'm utilizing NVENC for transcoding and have to use the proprietary driver and Xorg.

jue89 commented 2 years ago

I'm experiencing lagging, again! GLArea looks fine. No lagging in the GTK example.

Currently I'm running version 2.2.0.

Any other idea how to find out what's causing the low frame rate?