cfry / dde

Dexter Development Environment
Other
44 stars 25 forks source link

Simulator takes near 100% CPU on Ubuntu 18.04 #75

Open JamesNewton opened 3 years ago

JamesNewton commented 3 years ago

DDE version since the new simulator was added cause the CPU's to run near 100% on this one computer. On a very simular machine, running Ubuntu 16.04, there is no issue. The GPU cards (and so drivers) are different, so that might be an issue. The versions of node were different but that has been tested and made no difference. (e.g. the problem machine was changed to v10.11.0 which was used on the working machine).

Workaround: Don't start the simulator.

  1. Change the lower right panel to Make Instruction or any option other than Simulate Dexter. This alone will NOT stop the simulator.
  2. Exit DDE
  3. Open DDE

Just ever opening the simulator allows DDE to work on 18.04 without excessive CPU / GPU work.

This is a very minor issue and shouldn't be a worry unless Ubuntu 20.04 has the same problem. That needs to be tested.

JamesNewton commented 2 years ago

Addressed by https://github.com/cfry/dde/commit/823e839298f84757c6ff24dc184086aa9a434405 but it would be better if it automatically limited the refresh rate on Ubuntu computers.