The cursor/resolution bug


octavian

Recommended Posts

Posted

This is from the .258 changelog:

*Fixed issue with button collision being offset at certain resolutions.

Well, at least the way I have always experienced it is not fixed.

https://youtu.be/ILKisO-30uc

Let me describe how and why I am experiencing this.

I have an old crappy monitor with 1680x1050 maximum resolution. This means I cannot record at 1920x1080, that's extremely obvious.

I will mention in passing that I could record at higher resolutions if DSR worked, which it doesn't, and has been reported, but I would still be bound by the 16:10 aspect ratio, and since 1080 is 16:9, that still wouldn't help me.

So what I do is record at 720, so I set the game resolution to that, 1280x720. Now, everything works fine in windowed mode, and the window is indeed 1280x720, but if the game starts windowed and I change to full screen, I get the bug.

However, even more interesting is that the video I linked above is recorded at 1680x1050 not 1280x720 even though that's the resolution I've set the game to. The software just records whatever it's hooked to at whatever resolution it currently is. Also, there are no black bars to speak of on my screen in this case, and I can tell the image is stretched to fit.

To further corroborate the issue, since it's not 1080p, even though larger than 720p (1680x1050), the video is downscaled to 720p by YT, but it does this proportionally without touching the aspect ratio, it doesn't stretch it in other words, so it ends up with 1152x720, hence the black bars to the left and right of the video because it has too add something to make it 1280x720.

So what I did for the longest time was to simply play in windowed mode, and added "-popupwindow" to the launch options in Steam. And whenever I checked to see if the bug was fixed, having started the game in windowed mode by default since I added that argument, I would change to full screen, and would see that it's not fixed.

Then, as I'm writing this topic, I get the idea to remove the "-popupwindow" argument, so I did. The game starts looking as if at 1280x720 (so fairly pixelated) and it is in full screen and I do get black bars top and bottom as I should and the bug is fixed but it still records at 1680x1050.

https://youtu.be/Kh8pskS0VPg

Now I have the initially mentioned black bars to the left and right (because it's still recorded at 1680x1050) and the ones top and bottom and notice how the Steam popup thing is smearing over the black bar and notice my recording-fps-counter-thing at bottom left which should not be recorded, and is usually not, you don't see it in the first video, and it was still there on my monitor while recording.

Also, if it records at 1680x1050 who the heck is adding the black bars? It cannot be anyone else than TLD itself, and it should never do that, it should leave it to the GPU to do the scaling. To my knowledge, that's how it works, no matter what resolution I set, say I set my desktop to PxT, my monitor will still physically be at its default 1680x1050 resolution but the GPU renders at PxT resolution, which it then scales and displays to fit my monitor.

Also, compare this with any of my other videos, like this one:

https://youtu.be/GBnzbtrg8So

No black bars, no recording-counter-thing, it was still there on my monitor when I recorded it, no weirdness. This is recorded at 1280x720 in windowed mode and is, simply, 1280x720.

So basically what TLD does not do is change the resolution of my monitor to match the resolution I set it to when full screen is also selected, which is what I would expect. In that case, the game would set my resolution to 1280x720, as if I manually did so, and the GPU would handle the scaling.

Case in point, what happens if I manually change the resolution of my monitor to 1280x720 to match what the game is set to?

https://youtu.be/kk1Rm9mDeFc

It records at 1280x720, so no black bars, no weirdness, as far as I can tell it works exactly like it would if I would record in windowed mode, except I'm in full screen mode. And instead of looking at a dinky window, I'm looking at it full screen, and what bars I do see on my monitor are not part of the recording, since it's the GPU doing the scaling, not TLD.

Also, please do go back to the second link and compare the Steam popup thing in that one with the Steam popup thing in this one I linked just above.

In the second link, it appears over the bottom black bar, which is another indication it's just faux scaling. If the GPU did the scaling, that would not be an area that exits and is black, it would be an area that does not exist as far as the software is concerned.

Case in point, in the last link, where I manually set the resolution of my desktop to 1280x720, the popup thing does not overlap the bar only I can see, it doesn't exist, that area, as far as the software is concerned. And because it doesn't exist as far as the software is concerned, I can't record it, and the popup can't overlap it either. Makes any sense?

Another thing I notice in the last link, the cursor, it's showing the Windows, thinking spinny thing. Now, this is the first time I notice it, but I'm fairly sure it shouldn't do that. Is, how should I put this, TLD using my Windows cursor instead of its own cursor? If that makes any sense. Why would it do that?

What I expect TLD to do in full screen mode is to absolutely not touch or do anything except change my desktop resolution to match what I select in-game. That's it. The GPU will do the scaling and there will be no weirdness. Then DSR will also work.

Thanks.

Guest mcopeman
Posted
I will mention in passing that I could record at higher resolutions if DSR worked, which it doesn't, and has been reported

This is being looked into.

but I would still be bound by the 16:10 aspect ratio, and since 1080 is 16:9, that still wouldn't help me.

What software are you using to record? 16:9 is a pretty standard ratio for video recording.

However, even more interesting is that the video I linked above is recorded at 1680x1050 not 1280x720 even though that's the resolution I've set the game to. The software just records whatever it's hooked to at whatever resolution it currently is. Also, there are no black bars to speak of on my screen in this case, and I can tell the image is stretched to fit.

Video capturing will generally conform to the dimensions of your monitor. The exception to this would probably be if you ask the software to only capture a certain window (in which case I imagine it would record the pixel dimensions at that ratio). In any case this would be determined by your capturing software and not TLD.

Well, it seems this issue has been known for at least one year and that it's a Unity problem. At least the part about how TLD handles full screen resolutions.

viewtopic.php?f=56&t=1038

Any news on getting it fixed? At least before story mode gets released.

Unfortunately that's up to unity. They have a ticket on this issue and hopefully it will be resolved soon.

Archived

This topic is now archived and is closed to further replies.