Segfault (with PySide2)
madbad opened this issue · comments
Not really an issue with TinyPedal, but thought worth reporting in case someone else is running in the same issue.
I was getting a segfault at startup when running the last release (as of 2024-01-21) using PySide2, python 3.12.1 on a Fedora 39 system.
I was able to track down the issue being PySide2.
I was able to "workaround" the issue by upgrading TinyPedal to use PySide6 (it was just a matter of updating the imports).
Thanks for the feedback and workaround.
PySide2 is currently only supported to 3.10 on pip, and on linux only works until python 3.11 (windows can also use 3.11 but needs workaround to manual install), so it is expected to not work on latest python version(though user should be able to install python version prior to 3.12).
Due to compatibility(for older distro) and other concerns (as mentioned in the other linux issue), there is no plan to upgrade to PySide6 any time soon (or at all).
About 2 weeks ago, I did a full test on PySide6 + python 3.11 on windows, there were also a few problems that did not look good. One issue is that for some reason, CPU usage has been several times higher than PySide2 (side by side comparison), and there is no issue being found, which is not good. Another issue is that ram usage has also increased by 20mb for no real meaning. So due to those issues(unknown cause), it is unlikely to be upgrade to PySide6.
Ok, I understand.
I indeed noticed a performance drop if running TinyPedals (dropping to 98fps when it was 112fps without it) but tought it was normal.
Feel free to close this.