# Unicorn Hat has failing pixels

**URL:** <https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209>\
**Category:** Support\
**Created:** [March 8, 2017, 10:36am UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209 "2017-03-08T10:36:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevej](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stevej](https://forums.pimoroni.com/u/stevej)\
**Post date:** [March 8, 2017, 10:36am UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/1 "2017-03-08T10:36:35Z")

</div>

Hi, I first tried my Unicorn Hat on a new Pi Zero W but got the ws2811\_init failed with code -1  
Exiting cleanly error that other people have reported.

I have now put it on a Pi 3 and it works almost fine, apart from a few pixels. On one LED the red has never worked. A couple of others have failing red or blue sometimes.

I have done the apt-get upgrade, update etc and turned sound off in config.txt, but no joy. It’s powered by the ‘official’ adapter.

Is it just a bad unit, or could there be another explanation?

Many thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [March 8, 2017, 10:54am UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/2 "2017-03-08T10:54:32Z")

</div>

could well be, yes, if you get failures consistently on the same pixels then there’s not much in software that could explain that.

Contact [support@pimoroni.com](mailto:support@pimoroni.com) and they’ll sort you out a replacement.

---

<div class="post-metadata">

**Author:** ![stevej](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stevej](https://forums.pimoroni.com/u/stevej)\
**Post date:** [March 8, 2017, 11:27am UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/3 "2017-03-08T11:27:08Z")

</div>

Many thanks for that - I’ve contacted support.  
Best wishes,  
Steve

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [March 8, 2017, 2:59pm UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/4 "2017-03-08T14:59:50Z")

</div>

> [@stevej](#):
>
> Hi, I first tried my Unicorn Hat on a new Pi Zero W but got the ws2811\_init failed with code -1 Exiting cleanly error that other people have reported.

This was fixed a few days ago, there are instructions in the bannered topic but if you’ve dismissed it already, you can grab the latest library with:

```auto
sudo pip install rpi_ws281x --upgrade

```

---

<div class="post-metadata">

**Author:** ![stevej](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stevej](https://forums.pimoroni.com/u/stevej)\
**Post date:** [March 8, 2017, 3:25pm UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/5 "2017-03-08T15:25:23Z")

</div>

Thanks gadgetoid - I’ll give it a try.

Best wishes,  
Steve

---

<div class="post-metadata">

**Author:** ![stevej](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stevej](https://forums.pimoroni.com/u/stevej)\
**Post date:** [March 8, 2017, 5:07pm UTC](https://forums.pimoroni.com/t/unicorn-hat-has-failing-pixels/4209/6 "2017-03-08T17:07:15Z")

</div>

Hi Phil,

I’ve tried that on my Pi Zero W and it works fine, thank you. I still  
have dead pixels on the Unicorn Hat, but support are sending me a new one!

Thanks and best wishes,  
Steve
