How do I make Ubuntu recognize My Hdmi

Recently I’ve broken my Chromebook screen and I wanted it to use my phone as a display using an HDMI capture card But It Doesn’t allow me and it throws me with an I/O error on USB camera which is the app I use My Chromebook is an Acer Chromebook 11 N7