I cannot get screen mirroring on my mac to work

Ok, so i have a Macbook Pro from 2015 that i installed OpenCore legacy patcher on, so i could get the latest update. I also got a new ipad (10th generation) that i wanted to try to screen mirror my macbook too, and thats when i discovered that it would not appear or work. neither would my smart TV that would normally show up and work. i tried to look up my issue, but i could not find an answer. has this problem happened to anyone else, could you fix it, and if so, how?

Author: @No-Citron1088