xray-16
xray-16 copied to clipboard
Pixel alignment issue with DX10/11
When using DX10/11, the pixel alignment is off — 1:1 pixel mapping is not preserved, causing nearest-neighbour type scaling artefacts. The raster is also shifted to the left slightly cutting off a few columns of pixels at the left side of the screen (see attached image).
Issuing a vid_restart resolves it, so I'm able to work around it by automating a vid_restart in gamedata\scripts\ui_main_menu.script:
function main_menu:__init() super()
get_console():execute("vid_restart")
DX9 does not show the issue, nor does the unmodded Steam version with any renderer.
@flossy83, are you launching in windowed mode? And your game resolution is the maximal display resolution? (or desktop resolution?)
@flossy83, are you launching in windowed mode? And your game resolution is the maximal display resolution? (or desktop resolution?)
Yes full screen mode @ native res -- a 1366x768 TV.
If I apply windowed mode, the left is not cut off, but then the right and bottom edges of the window don't reach the edges and I can see the window border.
Swapped the GPU for a 1070 to no effect.
All I can think of is that 1366x768 is an unusually low res, and both my GPUs actually upscale it to 1920x1080 in the driver for the HDMI output to the TV, since the TV cannot accept a 1366x768 signal over HDMI, only 720p, 1080i/p etc., aka "TV resolutions".