# PADD from balena-pihole project does not work with pitft 2.8"

**URL:** <https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049>\
**Category:** Project help\
**Tags:** raspberrypi3\
**Created:** [November 30, 2019, 12:54pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049 "2019-11-30T12:54:42Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [November 30, 2019, 12:54pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/1 "2019-11-30T12:54:42Z")

</div>

Hi!  
I am running [balena-pihole](https://github.com/klutchell/balena-pihole) project which includes PADD on my raspberry pi 3 using balena cloud and following [these instructions](https://www.balena.io/blog/deploy-network-wide-ad-blocking-with-pi-hole-and-a-raspberry-pi/). The pihole+dnscrypt-proxy work as expected except of PADD which is supposed to automatically run when it detects the pitft display.

For PADD setup following [these instructions](https://www.balena.io/blog/add-a-display-to-your-pi-hole-for-monitoring-and-stats/) but using [adafruit 2.8" capacitive pitft display](https://www.adafruit.com/product/1983) instead of Adafruit 3.5" resistive pitft display.

Here are the instructions for enabling driver of the mentioned pitft 2.8" display (just from another project): [https://github.com/balena-io-projects/balena-wpe#capacitive-touchscreen](https://github.com/balena-io-projects/balena-wpe#capacitive-touchscreen). The configuration of both these displays, as we can see actually, looks almost the same.

The display seems to work well after adding the following balena vars:

```auto
RESIN_HOST_CONFIG_gpu_mem = 64
RESIN_HOST_CONFIG_dtoverlay = pitft28-capacitive,rotate=270,speed=25000000,fps=20
RESIN_HOST_CONFIG_hdmi_cvt = 320 240 60 1 0 0 0
RESIN_HOST_CONFIG_hdmi_force_hotplug = 1
RESIN_HOST_CONFIG_hdmi_group = 4
RESIN_HOST_CONFIG_hdmi_mode = 87

```

I expect PADD to appear on the pitft display automatically after adding the configuration variables in BalenaCloud app and rebooting the pi. Am I wrong? Do I need to do any additional configurations which are not mentioned in the PADD setup instructions?

What actually happens: after booting pi the screen is white with the Balena Logo, then after I see in pihole application logs `Starting PADD` the screen turns black, but no text is visible.

Please help to make PADD work with the mentioned display.  
Thank you.

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [December 2, 2019, 11:49am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/2 "2019-12-02T11:49:02Z")

</div>

Hey @drew,

Welcome to the forums!

From the settings you provided, it looks like you set `RESIN_HOST_CONFIG_hdmi_group=4` while it should be set to `2`. Can you try setting `RESIN_HOST_CONFIG_hdmi_group=2` and see if PADD appears on the TFT display?

Let us know if it works for you.  
Cheers,  
Rahul

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [December 3, 2019, 6:15pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/4 "2019-12-03T18:15:12Z")

</div>

Thank you @rahul-thakoor for reply!  
I have tried that and it did not work. Once I changed the value of `RESIN_HOST_CONFIG_hdmi_group` from 4 to 2, the screen is still just black. Seems like it changed nothing. But thank you anyway for trying to help! Any other suggestions?

---

<div class="post-metadata">

**Author:** ![zvin](https://avatars.discourse-cdn.com/v4/letter/z/a5b964/32.png) [@zvin](https://forums.balena.io/u/zvin)\
**Post date:** [December 3, 2019, 6:50pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/5 "2019-12-03T18:50:45Z")

</div>

Hello,  
I don’t have this screen so I’m just guessing  
The project you mentioned uses `RESIN_HOST_CONFIG_dtoverlay=pitft28-capacitive,rotate=90,speed=62000000,fps=60`, not `RESIN_HOST_CONFIG_dtoverlay=pitft28-capacitive,rotate=270,speed=25000000,fps=20`

---

<div class="post-metadata">

**Author:** ![chrisys](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/chrisys/32/1731_2.png) [@chrisys](https://forums.balena.io/u/chrisys)\
**Post date:** [December 4, 2019, 2:32am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/9 "2019-12-04T02:32:40Z")

</div>

Hey there @drew

After a bit of digging we’ve found this to be an issue introduced sometime after balenaOS 2.38; if you flash your device with that version it should work OK.

I’ve created an issue to track this: [https://github.com/balena-os/meta-balena/issues/1772](https://github.com/balena-os/meta-balena/issues/1772)

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [December 4, 2019, 12:59pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/10 "2019-12-04T12:59:40Z")

</div>

> [@chrisys](#):
>
> [FBCP blanks PiTFT screens after balenaOS 2.38 · Issue #1772 · balena-os/meta-balena · GitHub](https://github.com/balena-os/meta-balena/issues/1772)

Ok, seems like you are right! balenaOS 2.38 does not have this problem. Just curious, is this planned to be fixed in the next balenaOS release or later? Thank you!

---

<div class="post-metadata">

**Author:** ![srlowe](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/srlowe/32/2638_2.png) [@srlowe](https://forums.balena.io/u/srlowe)\
**Post date:** [December 4, 2019, 1:11pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/11 "2019-12-04T13:11:33Z")

</div>

Hello,  
There’s about a 2-3 week release cycle for balenaOS, and since this is a new issue it won’t likely make it into the next release. It’s on the radar now though, and I would think it might be addressed in a month or so. I’d recommend checking back in about that time, though feel free to ask for an update of course!

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [April 13, 2020, 11:52am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/13 "2020-04-13T11:52:51Z")

</div>

Hi there! I am an OP and just decided to update to current 2.47.01rev (supervisor: [10.6.27](https://github.com/balena-io/balena-supervisor/blob/master/CHANGELOG.md#v10627)) and my PADD stopped working - after reboot just white screen. Could anyone confirm that current issue with pitft displays was fixed, or should I revert back to 2.38? Thank you.

---

<div class="post-metadata">

**Author:** ![alanb128](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alanb128/32/2839_2.png) [@alanb128](https://forums.balena.io/u/alanb128)\
**Post date:** [April 13, 2020, 5:39pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/14 "2020-04-13T17:39:32Z")

</div>

Hello @drew, the issue ([https://github.com/balena-os/meta-balena/issues/1772](https://github.com/balena-os/meta-balena/issues/1772)) still appears to be open, so I would revert back to version 2.38 for the time being. I’ll see about getting an updated estimate added to the issue as well.

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [April 14, 2020, 9:25am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/17 "2020-04-14T09:25:29Z")

</div>

Hi @alanb128. Weird enough, but after I reverted to 2.38, I see the same issue, as the one I have described above - white screen, no balena logo, no PADD… In fact, in logs I see the following:

```auto
14.04.20 12:17:28 (+0300) pihole /dev/fb1 not found. Disabling fbcp & PADD

```

So it seems like it does not detect pitft or something and pihole automatically disables PADD…

Now I am confused. Please help me to get my piftf display work with balena again.

UPDATE:  
Another strange thing I have noticed is that I can not ssh to my host os using UI:  
 ![Screen Shot 2020-04-14 at 12.28.25 PM](https://global.discourse-cdn.com/balena/original/2X/5/5b72a0039900d55a0b2dd9917ea4917f21acb710.png)

Although I am able to do it with

```auto
balena ssh 192.168.2.2
root@6e832ec:~#

```

Something weird happens((

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [April 14, 2020, 9:51am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/18 "2020-04-14T09:51:21Z")

</div>

Ok, sorry, I got it… That’s just me, being idiot. I forgot to set `RESIN_HOST_CONFIG_gpu_mem` config variable… Still exploring.

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [April 14, 2020, 10:21am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/19 "2020-04-14T10:21:57Z")

</div>

No worries!  
We’ll update this thread once the attached github issue gets resolved

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [April 14, 2020, 1:24pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/21 "2020-04-14T13:24:24Z")

</div>

Cool. Thank you very much! Still have the issue with Terminal connection to Host OS in Balena Cloud web UI, as described higher((

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 14, 2020, 1:28pm UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/22 "2020-04-14T13:28:40Z")

</div>

hey @drew if you grant support access (see the actions menu of the device) for your device and send me your device UUID in a private message I can have a quick look to see why perhaps the webterminal doesn’t work.

---

<div class="post-metadata">

**Author:** ![drew](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@drew](https://forums.balena.io/u/drew)\
**Post date:** [June 3, 2020, 7:53am UTC](https://forums.balena.io/t/padd-from-balena-pihole-project-does-not-work-with-pitft-2-8/48049/25 "2020-06-03T07:53:19Z")

</div>

Hi @shaunmulligan! I apologize for such a late response - I simply missed the message. No worries, it’s already working… I guess after some update. Still thank you very much for your help attempt!
