Question Can I use generic 40 pin EDP display cable for my laptop screen?

Aug 5, 2022
I own an Acer Nitro 5 AN515-45-R4GR, which I bought on 20th May, 2021, and it is out of warranty. It has a 2560x1440 screen at 165Hz, and it suddenly had horizontal lines on it. I was watching a YouTube video, and the lines developed suddenly across the whole screen. There is no physical damage or pressure of any sort, nothing has been spilled. Since then, I've reset the drivers, booted in safe mode, checked in BIOS, and the lines were there. I plugged in a TV using HDMI, and it was working fine, so it's a hardware issue.

One guy at a local repair shop suggested it could be a cable issue. I've tried taking it out and cleaning it, didn't help. I cannot find the display cable of my laptop anywhere in India, not even the screen, and shipping from abroad costs a ton. Thankfully, I've managed to find a 40 pin EDP display cable, and my screen has a 40 pin cable as well. Part number does not match, which is why I wanted to ask can I try and plug that cable to see if it solves the problem?