Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gugglegum

Pages: [1]
1
Note that TVs often have some overscan, so it might well be that you don't see all pixels shown. Usually you can play around with settings to get this aligned.
Overscan on TV can be easily turned off by menu settings. And it's turned off. I always see all pixels. I don't think it's related. Because the problem appears even if TV is switched off.

SFML currently doesn't really handle DPI scaling, not doesn't it provide an API to detect the scaling.
You may want to have an option and manually scale your sf::View to match the general UI scaling.
It's not related to DPI scalling because it's set to 100% in Display Settings of Windows. It's just a bug.

2
Three years later... I've faced with the same issue and found this topic by search. My monitor has 1920x1080 resolution. But my application with SFML 2.5.1 in fullscreen mode with the same resolution looks weird. It looks like real in-game resolution is 1280x720 or something similar and it's upscaled then to 1920x1080 without any antialiasing. Although internal screen coordinates in SFML are still 1920x1080. This means if I draw a point at position (1919, 1079) it will be drawn in right bottom corner.

At first I also thought this to be related to a recent Windows 10 update. Because already compiled program that was working fine earlier now runs in this upscaled 720p mode even after Windows 10 reboot. And recently I installed some Windows update.

But when I found this topic I remembered that I also recently connected my TV to my PC via HDMI cable. TV is configured as second display with the same resoultion as main monitor (1920x1080) in duplicated mode.

Disconnecting HDMI cable from TV solves the problem. Connecting again brings the problem back. Reproducibility is 100%. It's no matter is TV turned on or turned off.

I think this is SFML 2.5.1 bug because previously I lived with HDMI cable connected to TV for many years, played different modern games almost every day and no such problem in any other applications.

The real screen resolution is still 1920x1080 bc otherwise I would see blurred pixels. While my fullscreen app is running, I can press Win-key or Alt-TAB and switch to another application. Windows interface and apps are not blurred but they scaled by ~150%. Here is a screenshot below that shows the problem after pressing Alt-TAB. All buttons on Windows taskbar are bigger. But I don't use scaling in Display settings.

On the black background on my screenshot in 1st attachment you can see my fullscreen game. At the right bottom corner you can see something like a white tank and text labels at the top of screen with coordinates. The tank and text labels looks blurred on my screenshot. But in real they are not. Screenshot in Windows adds smoothing. You can see how it looks in real on the photo in 2nd attachment.

Pages: [1]