I have been facing a very annoying problem with my Raspberry Pi 4 4Gb version, but i think i have pinpointed the problem thus far and need help resolving the issue.
Operating systems:
Raspbian, Libreelec dualboot using NOOBS.
Problem:
My television basically reconnects to the pi (or the other way around) after playing any kind of media, this is a short 2 second re-connection of some sorts. This is happening in both Raspbian as well as in Libreelec, so i started troubleshooting to find the root of my issue.
I troubleshooted peripherals, config.txt hdmi settings, my psu, my television, my sd card and reinstalled everything a couple of times.
(BTW in Raspbian the re-connection also occurs, just after the desktop loads up maybe that's when pulse starts?)
Nothing seemed to work so i decided to use hdmi port 0 instead of 1, of course port 1 has no audio at the moment but that worked in my advantage.
The re-connecting/blanking does not occur when audio is disabled!? So decided to plug my cable back into hdmi port 0 and voila the trouble started again! So my next thought to try and uninstall pulseaudio, to see what would happen and guess what happened next??? the TV re-connecting/blanking dissapeared again! So basically pulse is creating the problem somewhere, when sending audio through hdmi to my television set.
What could be going on? And how can i resolve this issue? Without audio my Pi is useless for my needs (media/desktop), and i would hate to get rid of my wonderful new machine...
I don't know how to share the appropriate logs to troubleshoot this weird issue, but maybe someone can help me to sort this mess out (again).
Thanks in advance

This is my second topic in the troubleshooting section, please forgive me for my persistence and remove my previous topic. I actually pinpointed the exact reason for the problem i am facing with my raspberry pi.