Good Display ePaper for Arduino

Maybe GxEPD2 just doesn't know which display you have, same as any reader of your post.
Please post a link to the display you have, and tell us what processor you compile for.
Did you select the display in the example, by uncommenting an appropriate constructor or definition line?

BTW: welcome to the forum! Did you read How to get the best out of this forum?

Jean-Marc