|
| 1 | += Troubleshooting |
| 2 | + |
| 3 | +In case you encounter any problems with LibrePCB, this chapter gives you some |
| 4 | +tips to get them solved or to get help from the community. |
| 5 | + |
| 6 | +== Workspace Sync (Dropbox, Cloud, Git, ...) |
| 7 | + |
| 8 | +If you sync your LibrePCB workspace with a cloud or similar, it's important to |
| 9 | +follow some rules to avoid problems: |
| 10 | + |
| 11 | +* Exclude all files with pattern `cache_*` from the synchronization. These |
| 12 | + files are stored in the workspace subdirectory `data/libraries/`. If |
| 13 | + LibrePCB does not work correctly and you had these files synced, delete |
| 14 | + those files manually (while LibrePCB is closed) and try again. These files |
| 15 | + are automatically recreated after deletion. |
| 16 | +* Consider excluding files named `.lock` from the synchronization too if you |
| 17 | + experience problems with file locks. However, never open a project or |
| 18 | + library at the same time from multiple computers! |
| 19 | +* Hidden files ("dotfiles") must be synchronized. If hidden files are |
| 20 | + ignored by the sync, LibrePCB will not work correctly. |
| 21 | + |
| 22 | +Note that even when following these rules, it's still not guaranteed that |
| 23 | +everything works correctly. Especially with clouds the problem is that they |
| 24 | +are not operating "atomically", which can cause very serious troubles. |
| 25 | +Therefore we do not recommend to store any LibrePCB files in a cloud. |
| 26 | + |
| 27 | +Working with a version control system like Git however is fine, since it works |
| 28 | +atomically and even allows to roll back a change in the very unlikely case |
| 29 | +something is messed up. We just recommend to use version control per-project |
| 30 | +and per-library, not for the whole workspace. |
| 31 | + |
| 32 | +== Wayland |
| 33 | + |
| 34 | +There are some known issues when using LibrePCB natively on Wayland. If you |
| 35 | +experience any problems, please try XWayland or X11 (both should work fine). |
| 36 | + |
| 37 | +== Slow/Laggy UI |
| 38 | + |
| 39 | +On some systems, especially with large projects, the UI could get a bit |
| 40 | +laggy. We are aware of this and try to improve it. In the mean time, try the |
| 41 | +following things: |
| 42 | + |
| 43 | +* Reduce grid density or disable grid completely |
| 44 | +* Avoid huge schematics -- split them into multiple sheets (e.g. DIN A4 format) |
| 45 | +* In the schematic editor, hide pin numbers (toggle menu:View[Show Pin Numbers]) |
| 46 | +* In the board editor, reduce the number of visible layers |
| 47 | +* Enable or disable OpenGL in workspace settings (test both modes) |
| 48 | +* If using a high-resolution display, try to reduce resolution |
| 49 | +* On a laptop, plug in the charger :-) |
0 commit comments