i have tried the above error examples on linux mint, just changing the device to /xs instead of /GW:
my $winopt = {Device => "/xs", WindowWidth => 7, Aspect => 1};
and i got the same errors, the first one is
Interface HASH(0X9F05818) is not known!
regards