-
Notifications
You must be signed in to change notification settings - Fork 161
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
Pi 3.5" TFT on Bookworm 3/15 effect Pi3B / Pi Zero #310
Comments
Please do. Thanks. |
PR #311 submitted |
I had the same problem on a Pi 3B with Bookworm and a 2.8" TFT. Adding |
I just merged it if you want to test it out. |
Looks like the new config option is being overwritten when if not update_configtxt(default_orientation):
shell.bail(f"Unable to update {boot_dir}/config.txt") Updating that call to set the if not update_configtxt(default_orientation, tinydrm_install=(not is_bullseye)):
shell.bail(f"Unable to update {boot_dir}/config.txt") |
@benjaminwp18 - What Pi OS release and which display are you using? On a Pi 5 running Bookworm I am still able to boot and have X running without the drm option in the /boot/firmware/config.txt. We had only been adding 'drm' for pre-Bookworm releases such as Bullseye and Buster where it was needed. The script still runs 2x when passing in something like a non-default rotation value (eg. 270):
I also am seeing a new bug based on recent Bookworm updates. The display is reversing the X, Y mapping which was not happening before so I'll open another issue and possibly PR for that. |
The new display X,Y reverse mapping was from me testing different rotations. The display was not changing, but the touch mapping calibration was getting modified in the:
|
I'm on Pi OS Bookworm Lite with the 2.8" capacitive display and a Pi 3B. Right now I install these packages to get an X11 kiosk:
Unless the wonky X installation is at fault, it seems like my setup pretty closely matches your setup that needed |
Thanks for this. I'll go back to a Pi3B bookworm to test and submit a PR. |
I loaded a Pi 3B with Bookworm 3/15. Running adafruit-pitft.py dropped in code with the ",drm" into /boot/firmware/config.txt I tried both mirror and fbcp.
|
Script Command
sudo -E env PATH=$PATH python3 adafruit-pitft.py --display=35r --rotation=90 --install-type=mirror
Operating System
64 and 32 bit Bullseye
Hardware
Pi3B and Pi Zero models
Behavior
X fails to start. Black screen with white cursor. The same setup works fine with Pi4 / Pi5.
Description
A recent fix for the touch interface which rolls back the X-server works well on Pi4 and Pi5, but leaves Pi3B and Pi Zero models with a black screen and blinking cursor at X launch. The fix is a simple addition of 'drm' to the /boot/firmware/config.txt:
dtoverlay=pitft35-resistive,rotate=90,speed=20000000,fps=20,drm
I tested this on a Pi Zero, 3B, 4B and 5.
Additional information
I can do a PR if you like.
The text was updated successfully, but these errors were encountered: