I can’t help much, but my observations would be that the name seems to end with ‘ek’ and has an ‘o’ in the middle, possibly preceded by the letters ‘ip’. Both the ‘o’ and the ‘e’ have diacritical marks above. I read it as ‘Griporek’ but with a low degree of confidence.
It’s difficult to determine the intended slope of the diacritics, which would help determine the possible language/country but, in combination with the ‘ek’ suffix, it would most likely be Polish or Slavic.
If it reads ‘ Griporek’, as I suspect it might, then AI says that’s an uncommon surname of Slavic origin, with roots tracing primarily to Poland, and a regional variant of one of the many “son of Gregory” surnames from those regions. I don’t put a huge amount of confidence in that either, but it would at least be consistent with what I think I can see.
As for the painting itself, it looks about as amateur as you can get, with a crude home-made unmitred frame. I would think that, even if the name and the other word can be reliably deciphered, it’s not going to be in any artist database but might be traceable via genealogy websites since it’s probably an uncommon name. Note also that immigrants to the US and Canada with unusual East European names frequently subsequently changed them to Anglicised versions that were easier to spell and more familiar to natives in their new homeland.