-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSD1322: Python 3.7 to 3.9-3.11 upgrade fail #320
Comments
can you doublecheck if the installed package versions for 3.7 vs 3.9 are the same? |
Just tested it with the same versions in Python3.7. No problems there. |
Hi @majuss , which oled driver is it? |
I use a SSD1322 and no same glitches with 7.1.2. |
smbus2 recently had a big update as well, but probably unrelated to glitches.. |
Tried again with most recent packages. Exactly the same :( |
@majuss so it doesn't work with Pillow 8.x on Python 3.9 but Pillow 7.1.2 on Python 3.9 is ok? And Python 3.7 is always ok?
Please specify which ones and version nrs. |
Python3.9 never works pillow version doesn't matter. Python3.7 is always okay. |
Well the interesting thing here is that the tests target python 3.6, 3.7, 3.8 and 3.9, and while they generally substitute the interface (I2C / SPI) for a mock, they do check to make sure the correct sequence of bytes is being produced for all the different displays across all versions of Python (albeit on Ubuntu / intel rather than Raspian / arm) So that leads me to the following questions:
Everything you've said (and not said so far) points to it being a local issue, so we really need to know more about your setup |
I use the latest version of Raspbian on a RPI 3B+. Didn't tried Python3.8 yet. I installed Python directly from source. |
I switched to a Pi 4 and now everything works with Python3.9 |
@rm-hull The exact same behaviour is back again with Python 3.11 latest raspberry pi os bookworm. I already freshly installed everything. |
@majuss what version of Pillow are you using? Can you test with latest (10.1.0)? |
@thijstriemstra how can I debug this? Even the runner example etc. is showing these artefacts again :/ |
The pillow version doesnt matter. The bug is there even with 9.4 |
Can you reproduce it on other devices? |
Hi guys,
I'am in the process of upgrading my project from Python 3.7 to 3.9 but the Luma.oled library is spazzing out.. In the attached picture you see a scrolling text. With 3.7 everything works fine but with Python 3.9 the scrolling text is completely broken. Minimal static examples all work.
Expected behaviour
Scrolling text without artifacts.
Code can be found here: https://github.com/majuss/wladio/blob/master/radio/display.py
Actual behaviour
Scrolling text with haevy glitches.
The runner example is also broken, if I don't stretch it across the whole screen.
I will update this issue with my findings.
The text was updated successfully, but these errors were encountered: