[Closed] Screen bugs out with D3D canvas and resolution scale !=1

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Screen bugs out with D3D canvas and resolution scale !=1

Postby DerTodIstEinDandy » Fri Feb 09, 2018 3:03 pm

When software canvas is set to Direct3D and resolution scale isn't 1, the engine can't run in fullscreen mode and always falls back to windowed.
In addition, if resolution scale is less than 1, the screen appears to be botched with only a fraction of it being rendered:



At least the following video modes are affected for me:
1360x768
1366x768 (native monitor resolution)
1980x1080
1024x640
800x500
Other modes like 800x600, 1024x768, 1280x720, 1280x768, 640x480, 720x480 etc are not affected.
None of this happens with OpenGL canvas.

Tested on gzdoom-g3.3pre-402-ged23008.
The system specs are: Windows 7 x64, GeForce GTX750 Ti, driver v.384.76
DerTodIstEinDandy
 
Joined: 27 May 2017

Re: Screen bugs out with D3D canvas and resolution scale !=1

Postby Rachael » Fri Feb 09, 2018 4:54 pm

Working on this one is definitely like tumbling down the rabbit hole in Alice in Wonderland.

The resolution code is so spaghetti right now that every time I change one thing to fix this, something else breaks.

I'm working on a fix for this, but it may need to be refactored down the line.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests