# \[Solved\] GFX Hat - Issues with RPi4

**URL:** <https://forums.pimoroni.com/t/solved-gfx-hat-issues-with-rpi4/11357>\
**Category:** Support\
**Created:** [August 19, 2019, 3:22am UTC](https://forums.pimoroni.com/t/solved-gfx-hat-issues-with-rpi4/11357 "2019-08-19T03:22:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tropic\_dragon](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tropic\_dragon](https://forums.pimoroni.com/u/tropic_dragon)\
**Post date:** [August 19, 2019, 3:22am UTC](https://forums.pimoroni.com/t/solved-gfx-hat-issues-with-rpi4/11357/1 "2019-08-19T03:22:54Z")

</div>

Hi,

I bought the RPi4, Pibow case, Fan Shim and GFX Hat from you guys. Really impressed by the hardware design and attention to detail. I have some questions about the GFX Hat:

a. I’ve noticed that very often after a reboot, the screen shows no text or graphics but bunch of dark pixels scattered all over. It takes several seconds for the text to slowly show and for the dark pixels to fade away. Is this the normal behavior?.

b. I’m working on a Python script that uses the `menu-options.py` in the examples folder as a baseline. When an option from the menu is selected, it calls _another_ python script which also uses the `menu-options.py` example script to select from a menu. When the scripts are run independently, the menu interaction is flawless, no problems at all. However, when the main menu script calls the second one, the menu interaction is erratic. I’m guessing this is because there are `handler` functions on each script trying to take control over the “touch” signals (?). How would you recommend to tackle this issue?. Neither examples or documentation address this particular use case.

Your help will be greatly appreciated.

Thanks,

---

<div class="post-metadata">

**Author:** ![tropic\_dragon](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tropic\_dragon](https://forums.pimoroni.com/u/tropic_dragon)\
**Post date:** [August 20, 2019, 2:42pm UTC](https://forums.pimoroni.com/t/solved-gfx-hat-issues-with-rpi4/11357/2 "2019-08-20T14:42:56Z")

</div>

I think I solved the issue. I looks like if both parent and child scripts use a handler function to interact with the same touch buttons, they may interfere with each other. I solved it by calling the child script through a spawn process using `subprocess.Popen()` and killing the parent script right afterwards (using `sys.exit(0)`). If the child script is supposed to go back to the parent script, I just call the parent script using the same methodology.

Not very _pythonic_, but it works.
