Skip to content
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

FanShim, LCD screen Blinking won't finish boot #796

Closed
Aki113s opened this issue Sep 24, 2019 · 40 comments · Fixed by #882
Closed

FanShim, LCD screen Blinking won't finish boot #796

Aki113s opened this issue Sep 24, 2019 · 40 comments · Fixed by #882
Labels
hardware Related e.g. to Power Supplies, Screens..
Milestone

Comments

@Aki113s
Copy link

Aki113s commented Sep 24, 2019

I posted on FanShim forums, this is to see if anyone else has this issue with a Pi 4, Raspiblitz 1.3

I turn it on and the LCD comes up to boot then half way in booting the screen flickers showing random parts of the screen with the boot sequence showing. No SSH possible.

Took screen off, booted was able to SSH in. I was using a USB fan while awaiting a FanShim, I may go back to that sadly. SO nice to have a screen

Thanks for any insights.

@Tracachang
Copy link
Contributor

Ever had some screen problems as you mention but I was able to ssh.

What worked for me was flashing the SD card, installed raspbian lite and run the script (manually build ad card) and then screen was working normal.

@gandreottola
Copy link

I had the same problem using fan shim with RP4, Software boots up perfectly fine when you don't have the fan shim. Switched the fan shim with a usb fan because I want both the LCD and fan on my raspberry pi 4, now it works fine.

@ZeusMinos
Copy link

I can confirm that the RP4 board is getting stock at booting and the LCD wont work properly if the Shim Fan is in place. It the Shim service try to start.

I will contact the Shim fan guys to try to debug this issue

@gandreottola
Copy link

When do you think this issue would get resolved?

@openoms
Copy link
Collaborator

openoms commented Oct 3, 2019

To me this seems to be an electrical contact issue, so trying to physically reposition the shim under the LCD might help.
In any case please let know the actual designers of the fan too on this forum:
https://forums.pimoroni.com/t/3-5-lcd-wont-work-with-fan-shim/11687/8

@gandreottola
Copy link

I recently ordered a new type LCD that is has an installed fan, this only made for the raspberry pi 4. Just tested it out with raspiblitz and I am able to boot up the software with no issues. Who ever has a raspberry pi 4, and want to have both fan and LCD on the pi then I recommend getting an LCD with built-in fan, this is just an option for the ones with RP4 and are having problems with fan shim, as well makes the whole raspberry pi set up look very clean.

Link for LCD: https://www.amazon.com/Raspberry-Cooling-Heatsink-320x480-Monitor/dp/B07WRV48ZW/ref=sr_1_2?keywords=lcd+built-in+fan&qid=1570126606&s=electronics&sr=1-2

@openoms
Copy link
Collaborator

openoms commented Oct 3, 2019

@gandreottola nice suggestion, thanks. I like this all round option, having a fan power connector on the back of the screen is a great idea also a spacer to keep the screen stable is a nice touch I was looking into as well.
Can you confirm that this screen works out of the box with the RaspiBlitz image or you need to install the suggested driver manually?

@gandreottola
Copy link

Yes, I've tested it with the pre-installed raspiblitz image, no need to do it manually.

@KhimairaCrypto
Copy link

To me this seems to be an electrical contact issue, so trying to physically reposition the shim under the LCD might help.
In any case please let know the actual designers of the fan too on this forum:
https://forums.pimoroni.com/t/3-5-lcd-wont-work-with-fan-shim/11687/8
You are !00% right. The connections on the fan are the main issue. The fan cant handle a HAT. Sometimes if the connectors are not well aligned the Pi wont boot. I am remove the LCD and using keeping only the fan. I rather keep the PI cool

@fluidvoice
Copy link
Contributor

fluidvoice commented Oct 9, 2019

I recently ordered a new type LCD that is has an installed fan, this only made for the raspberry pi 4. Just tested it out with raspiblitz and I am able to boot up the software with no issues. Who ever has a raspberry pi 4, and want to have both fan and LCD on the pi then I recommend getting an LCD with built-in fan, this is just an option for the ones with RP4 and are having problems with fan shim, as well makes the whole raspberry pi set up look very clean.

Link for LCD: https://www.amazon.com/Raspberry-Cooling-Heatsink-320x480-Monitor/dp/B07WRV48ZW/ref=sr_1_2?keywords=lcd+built-in+fan&qid=1570126606&s=electronics&sr=1-2

yes looks clean. What kinda temps do you see during and after syncing?

@KhimairaCrypto
Copy link

The issue with that type of case is that the air flow is not that great, because of the full enclosure!

@fluidvoice
Copy link
Contributor

fluidvoice commented Oct 9, 2019

This or similar LCD with fan and power-pins on the rear is for sale without the case, so if it's the same size as other 3.5" screens it might allow other cases, for example the CryptoCloaks LightningShell: https://www.amazon.com/Raspberry-Resistive-Heat-Sinks-320x480-RASPBIAN/dp/B07VHQX37S

Screenshot_2019-10-09_09-47-49

@openoms
Copy link
Collaborator

openoms commented Oct 9, 2019

Nice find! Ordered to test: https://www.amazon.co.uk/Raspberry-Resistive-heat-sinks-320x480-RASPBIAN/dp/B07VHQWG37

@fluidvoice
Copy link
Contributor

The issue with that type of case is that the air flow is not that great, because of the full enclosure!

Screenshot_2019-10-09_10-14-41

@fluidvoice
Copy link
Contributor

Nice find! Ordered to test: https://www.amazon.co.uk/Raspberry-Resistive-heat-sinks-320x480-RASPBIAN/dp/B07VHQWG37

Just pinged CryptoCloaks, he's buying to test too.

@gandreottola
Copy link

I recently ordered a new type LCD that is has an installed fan, this only made for the raspberry pi 4. Just tested it out with raspiblitz and I am able to boot up the software with no issues. Who ever has a raspberry pi 4, and want to have both fan and LCD on the pi then I recommend getting an LCD with built-in fan, this is just an option for the ones with RP4 and are having problems with fan shim, as well makes the whole raspberry pi set up look very clean.
Link for LCD: https://www.amazon.com/Raspberry-Cooling-Heatsink-320x480-Monitor/dp/B07WRV48ZW/ref=sr_1_2?keywords=lcd+built-in+fan&qid=1570126606&s=electronics&sr=1-2

yes looks clean. What kinda temps do you see during and after syncing?

Yea, the case makes the pi run hot by keeping all the heat inside but I took out the case and just left the bottom half of the case, right now my pi is running at 47 celsius.

IMG_0113

@openoms
Copy link
Collaborator

openoms commented Oct 9, 2019

@gandreottola, good number! I think with any kind of active cooling the RPi4 is comfortable. Also it is very cheap to reaplace this kind of fan requiring only two pins (especially vs the shim fan.)

I see you have the touch pen on the side.
Did you test the RaspiBlitz touch function yet?
The experimental option is to be activated in the SERVICE menu and can be deactivated any time. Requires a restart.
Calibration help here: #809 (comment)

@gandreottola
Copy link

I have not tested the RaspiBlitz touch function, but thinking to try it out later on.

@KhimairaCrypto
Copy link

My findings so far:
https://forums.pimoroni.com/t/3-5-lcd-wont-work-with-fan-shim/11687/13?u=khimaira

@openoms
Copy link
Collaborator

openoms commented Oct 10, 2019

Nice find! Ordered to test: https://www.amazon.co.uk/Raspberry-Resistive-heat-sinks-320x480-RASPBIAN/dp/B07VHQWG37

@fluidvoice The new screen is working straight out of the box. Doesn't even need new drivers, just the one already installed. My broken touch function is alive too (probably my old LCD was broken). The fan is spinning, temp at 53 C. The fan is glued to the GPIO connector, but probably could come of if enough force or a knife applied.

@fluidvoice
Copy link
Contributor

Nice find! Ordered to test: https://www.amazon.co.uk/Raspberry-Resistive-heat-sinks-320x480-RASPBIAN/dp/B07VHQWG37

@fluidvoice The new screen is working straight out of the box. Doesn't even need new drivers, just the one already installed. My broken touch function is alive too (probably my old LCD was broken). The fan is spinning, temp at 53 C. The fan is glued to the GPIO connector, but probably could come of if enough force or a knife applied.

Thanks. Will order one. Will this be added onto any of the shopping lists?

@openoms
Copy link
Collaborator

openoms commented Oct 20, 2019

if anyone has a problem with the shim fan, just manually bend the GPIO out very slightly (like 1mm) to make all the connections tight.
My new screen and shim fan pair stopped flickering instantly after I have done this. It is confirmed to be a contact issue.

@Aki113s
Copy link
Author

Aki113s commented Oct 29, 2019

if anyone has a problem with the shim fan, just manually bend the GPIO out very slightly (like 1mm) to make all the connections tight.
My new screen and shim fan pair stopped flickering instantly after I have done this. It is confirmed to be a contact issue.

I would try but my fanshim died :( I for an enclosed case with fan built on LCD, as expected it runs hotter than I like but not throttling. LCD works.

@hermanlim
Copy link

hermanlim commented Nov 10, 2019

I posted on FanShim forums, this is to see if anyone else has this issue with a Pi 4, Raspiblitz 1.3

I turn it on and the LCD comes up to boot then half way in booting the screen flickers showing random parts of the screen with the boot sequence showing. No SSH possible.

Plymouth is causing problems. I have the same ahrdware as you and had the exact same problem as you. The Raspberry will boot eventually but this could take 20 minutes to 6 hours. The easiest way to tell is to watch the ethernet port lights (you will be able to ssh in when it is blinking). Once you are in, uninstall plymouth ( sudo apt-get purge plymouth* ) and all will be fine.

--Herman

@KhimairaCrypto
Copy link

@hermanlim you are my hero :-O. I tried almost everything. How did you findout that this was the issue?
It works 🥇

@hermanlim
Copy link

hermanlim commented Nov 13, 2019 via email

@openoms
Copy link
Collaborator

openoms commented Nov 13, 2019

Great find @hermanlim!
I think we should weed out plymouth during the SDcard build process. It would be only necessary for the desktop GUI which we don't use.

@openoms openoms added bug - confirmed Something isn't working and can be reproduced final testing was fixed - needs testing labels Nov 13, 2019
@openoms openoms added this to the 1.4 Release milestone Nov 13, 2019
@f-daniel
Copy link

f-daniel commented Nov 14, 2019

encountered the same problem and after trying just about all the suggestions in the thread simply removing plymouth worked, thanks @hermanlim!

@rootzoll
Copy link
Collaborator

Open up an issue for 1.4 release: Fix BootUp Problems - Remove plymouth #861
Thx @hermanlim for the finding.

@openoms & @fluidvoice how was the testing of the LCD+Fan? Can we plan to update shopping lists for v1.4 release to that to reduce ShimFan connection problems?

@openoms
Copy link
Collaborator

openoms commented Nov 15, 2019

@openoms & @fluidvoice how was the testing of the LCD+Fan? Can we plan to update shopping lists for v1.4 release to that to reduce ShimFan connection problems?

I am still pro ShimFan (especially that now the flickering problem seem to have a software fix) manly because it does not run all the time. I have found it necessary during the initial Block Download, but during the day-to-day operation I prefer having the fan off for up to 70 degrees.
set up like this (https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-fan-shim)

git clone https://github.com/pimoroni/fanshim-python
cd fanshim-python
sudo ./install.sh

cd examples
sudo ./install-service.sh --on-threshold 70 --off-threshold 55 --delay 2

With the LCD-with-powerpins-and-fan I found:
pro:

  • it works
  • cheaper than LCD + shimfan
  • fan is replaceable (other fan can be attached to the pins)

cons:

  • noisy and always on - can be only controlled physically by unplugging.
  • needs to be broken off to replace

I am looking forward to test some big heatsinks with the RPI4. With some proper airflow it could be still an option to have a no-moving-part setup.
There are plenty of these appeared since the RPi4 came out: https://www.aliexpress.com/wholesale?SearchText=raspberry+4+heatsink+case . I am waiting to have one posted. and will do some tests.

@hermanlim
Copy link

hermanlim commented Nov 16, 2019 via email

@openoms
Copy link
Collaborator

openoms commented Dec 2, 2019

So having the fan always on is hardly a solution as we can get fan only with a 5V connector for 10x cheaper.

wondering if anyone having solved their shim fan issue with sudo apt-get purge plymouth* has had any further problems? Things like the sudo reboot or sudo shutdown now not working or else?
It might just affect or latest build: #885

Also did anyone have luck with changing the shimfan to a never one? I wonder if this is issue is just a manufacturing error or a wrong update to their PCB?

Removing plymouth might have got through the booting problem but unfortunately not catching the problem early can lead to weird issues later on.

I have tested with a GPIO Expansion board. Physically separating the connection of the shim fan from the LCD did not help my faulty one. Also unlikely to be an EM interference as distance form the board did not make a difference either.

@openoms openoms reopened this Dec 2, 2019
@openoms
Copy link
Collaborator

openoms commented Dec 2, 2019

Also need to test if having the shim-fan software preinstalled would prevent the problems? #806

@openoms
Copy link
Collaborator

openoms commented Dec 4, 2019

My faulty shim-fan stops a new RPi4 too from shutting down or rebooting.

Installing shim-fan software does not make a difference.

Will order another shim fan to see if this is a consistent issue.

@hermanlim
Copy link

hermanlim commented Dec 5, 2019 via email

@openoms
Copy link
Collaborator

openoms commented Dec 5, 2019

the not shutting down is due to the bitcoind not quitting. The system will shut down if you issue the command with the 'force' option though it will have issues booting later due to the need for the blockchain to sync properly.

Possible, but when I remove the faulty shim-fan the sudo reboot or sudo shutdown now works instantly. How would the shim-fan affect the bitcoind? Will test with force and update here. Still would be very strange to need that.

This is the weird behaviour with long time in between the commands.

admin@RaspiBlitz:~ $ sudo shutdown now
admin@RaspiBlitz:~ $ sudo reboot
admin@RaspiBlitz:~ $ 

more described in here: #885

@hermanlim
Copy link

hermanlim commented Dec 5, 2019 via email

@openoms
Copy link
Collaborator

openoms commented Dec 5, 2019

I can confirm that it is a shim-fan causing the problem and using sudo reboot -f is certainly not a viable solution.

! got a new shim-fan today and unfortunately it produces the same problem so 2 out of 3 of mine are faulty (only the one from an early batch is ok) although there is no visual difference between them.

I tested 3 screens and 2 RPi4-s, and the above mentioned 3 fans in various combinations.

With the faulty fans the problem with plymouth and the shutdown issues are reproducable.
When I remove the fan and reboot (need to pull the plug) everything works again (including instant sudo reboot, sudo shutdown now and no screen flickering when plymouth is reinstalled)
When I put a faulty fan back and all the issues appear again.

Will send this new fan of mine back to pimoroni (bought through Amazon).

@thelightningist
Copy link

Purging Plymouth worked like a charm. Now the shim fan and the LCD run in my cryptocloak without issue

@rootzoll
Copy link
Collaborator

OK v.14 will contain this fix. Closing issue for now.

@rootzoll rootzoll removed bug - confirmed Something isn't working and can be reproduced final testing was fixed - needs testing labels Jan 28, 2020
@openoms openoms added the hardware Related e.g. to Power Supplies, Screens.. label Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware Related e.g. to Power Supplies, Screens..
Projects
None yet
Development

Successfully merging a pull request may close this issue.