4k screen with scale

Asked by juan

I am using a 4k screen (3840x2160) 40 ", in windows 10 pro (64bits) and windows 7 professional (64bits)
use an intel 2500k cpu, a gpu amd rx480 8GB with the latest drivers available.
I try with java jdk 32 and 64 bits, 7, 8,9 and 10.

I use the screen in its native resolution, I also use windows scaling at 200%, because some of the programs I use need that scaling or they look very small.

The problem is, with that configuration Sikuli sees the screen as if it were 1920x1080 in some situations and 3840x2160 in others.

For example, hover sees the 1920x1080 screen and regions and image comparisons see them as 3840x2160.

that means that when detecting an image, it does not detect it, or if it detects it, when moving the mouse with hover go to anywhere, or directly tell me that the coordinates are off the screen.

for now what I'm doing is using the screen in 1920x1080 100% scale, but it bothers me a lot in some applications, because I lose a lot of sharpness, especially in fonts. at 1920x1080 work perfect.

Is there anything I can do to solve this? something to try?
Do you need more information to help me?
thanks in advance.

Revision history for this message
RaiMan (raimund-hocke) said :
#1

this is a known problem.

... but I cannot help you, since I do not have the resources (machine/Monitor) nor do I have any insight, in what is going on there.

Sorry.

Revision history for this message
juan (fogelmanjg) said :
#2

Thank you
I'm going to continue researching to see if I can reach something, or workaround.
If at any time you want to access my machine by teamviewer or similar, or anything else you can put at your disposal, tell me.
Thanks again.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Thanks for your cooperation.

If at any time in the next months it makes sense to test anything, I will come back on your offer.

If you have any update or other insights, please add comments to the related bug.

For now, I set this to solved.

Revision history for this message
WeiHsin Yeh (azelmk2) said :
#4

Maybe similar situation (?)

I use 27" LCD native resolution 1920*1080, windows 10 scale 150% ( or 125%)
When I try to get region or snapshot, sikuli scales the screen again. like the pic in the link

https:// imgur.com/a/QpH72tK

sikuli can still match picture in this situation, so I try to write some scripts but the click() doesn't work. It clicks on a 1.5 scaled position... (like, picture is at 100, 100 and it clicks on 150,150)

my sikuli 1.1.0 works properly several weeks ago. I tried sikuli 1.1.4 today, but the situation is the same. No idea what I hav edone on my PC in these days effect sikuli's behavior (reinstall win10, update JAVA, install Anaconda Navigator, etc. )

With scale 100% there is no problem but the overall font size is too small for me.

Sorry for poor grammar and bump old question...