Screen malfunctioning on A5 2017

Search This thread
Hello, I have an a5y17lte with latest official LineageOS 18.1 build which yesterday started exhibiting an issue with the screen where when waking it up the screen stays black. I was able to fix it by force powering it off, but soon it happened a couple more times, one time the screen not turning on after the 1st force reboot and thus requiring multiple force power offs to start working again. Later on during that day there were no issues with the screen, but since this morning this happens constantly and regularly and it always takes more than one force reboot to fix it. I have tried reflashing the system image, which worked for a bit before it started doing the same thing once again. Does anyone have a clue what could possibly be causing this?