Savegame thumbnails are generated incorrectly
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Savegame thumbnails are generated incorrectly
Whenever the game is saved, the savepic.png comes out like this:
This is happening even after commit a0695cb (which I thought would fix it).
Looking through my savegames, it seems the most recent one with a correct thumbnail is from 2aee68d, which is about a month old. Might take pretty long to bisect this.
Edit: It seems that thumbnails are generated correctly on software renderers. Also, the screen resolution / scaling changes the size of the little square area (the lower the resolution, the bigger the square is).
This is happening even after commit a0695cb (which I thought would fix it).
Looking through my savegames, it seems the most recent one with a correct thumbnail is from 2aee68d, which is about a month old. Might take pretty long to bisect this.
Edit: It seems that thumbnails are generated correctly on software renderers. Also, the screen resolution / scaling changes the size of the little square area (the lower the resolution, the bigger the square is).
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: Savegame thumbnails are generated incorrectly
I seem to recall someone else having this problem, ages ago - what screen resolution is GZDoom using?
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Savegame thumbnails are generated incorrectly
I run at 1920x1080 (native res). Sometimes with 0.5x scaling if I need extra FPS.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: Savegame thumbnails are generated incorrectly
Whatever it is it's not in my branch so it's a consequence of the refactor.
Re: Savegame thumbnails are generated incorrectly
Is it on Linux? I tested on Windows and macOS but with no scaling.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Savegame thumbnails are generated incorrectly
Yes, this is on Linux.
Re: Savegame thumbnails are generated incorrectly
Cannot reproduce this on Ubuntu 16.04 VM. Could you please attach your .ini file?
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Savegame thumbnails are generated incorrectly
https://marisakirisa.me/tmp/gzdoom.ini
(refresh if it gave you a 403, seems like the permissions got a bit screwy when I uploaded the file)
(refresh if it gave you a 403, seems like the permissions got a bit screwy when I uploaded the file)
- fakemai
- Posts: 342
- Joined: Mon Feb 12, 2018 12:26 am
- Graphics Processor: Intel (Legacy GZDoom)
- Location: Australia
Re: Savegame thumbnails are generated incorrectly
Thought I'd give it a go with your INI and a current Git build (2d50f535ff666a9cb0a0d3fe97c31f07e5a6f9a8) but couldn't reproduce. Am running Debian Stable, but also an ancient Intel GM45, so don't put too much faith in this. It could well be system-dependent though.
Re: Savegame thumbnails are generated incorrectly
I managed to reproduce this on Windows. Enable tone mapping (set gl_tonemap CVAR to true) and the bug will appear.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49072
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Savegame thumbnails are generated incorrectly
I cannot reproduce this with any tonemap (or other postprocessing) effect.
Re: Savegame thumbnails are generated incorrectly
It should be enough to have gl_tonemap 1 and everything else by default.
BTW tonemap and lens distortion give even more weird picture
Screen resolution is 1440x900, thumbnail size is 216x162 and this corresponds to black rectangle in the corner.
This seems to be introduces with this commit and it's somehow related to switching of render buffers target textures.
BTW tonemap and lens distortion give even more weird picture
Screen resolution is 1440x900, thumbnail size is 216x162 and this corresponds to black rectangle in the corner.
This seems to be introduces with this commit and it's somehow related to switching of render buffers target textures.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49072
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Savegame thumbnails are generated incorrectly
I'll leave this to dpJudas then. Apparently I missed something important about the setup and I do not want to make it worse.
Re: Savegame thumbnails are generated incorrectly
Okay, I'll take a look soon. Based on the screen shots, it probably has something to do with glViewport not being what the screenshot code reading from the back buffer expects.
-
- Posts: 219
- Joined: Wed Jan 08, 2014 8:40 am
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: Savegame thumbnails are generated incorrectly
I also have a savegame thumbnail issue that might be related:
This happens under Windows 10 (build 10.0.16299.431) when FXAA is enabled. I used a new INI file and simply enabled FXAA (doesn't matter which quality setting)