Skybox rendered incorrectly on older machines
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.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Skybox rendered incorrectly on older machines
Hi,
today I tested my TC on 2 older laptops and to my surprise the skybox wasn't rendered correctly on those machines. Traced it down to a devbuild of end of April.
Screenshot from devbuild April 29 (ok)
Screenshot from devbuild April 30 (wrong)
Now the error occurs on older machines:
- dell laptop 6 years old with GL version 4.0.0 (windows 10)
- dell laptop 3 years old with GL version 4.2.0 (windows 8.1)
This does not occur on my own laptop with GL version 4.5.0 (windows 10), that's why I didn't notice this earlier.
As you can see, with the newer devbuilds the skybox is shown cubic with a dark black spot at the end.
I think this is pretty straightforward, but if it helps I could create a small demo wad.
(wad is played with gzdoom default video/display settings except for VSYNC ON, resolution 1366*768, fullscreen)
today I tested my TC on 2 older laptops and to my surprise the skybox wasn't rendered correctly on those machines. Traced it down to a devbuild of end of April.
Screenshot from devbuild April 29 (ok)
Screenshot from devbuild April 30 (wrong)
Now the error occurs on older machines:
- dell laptop 6 years old with GL version 4.0.0 (windows 10)
- dell laptop 3 years old with GL version 4.2.0 (windows 8.1)
This does not occur on my own laptop with GL version 4.5.0 (windows 10), that's why I didn't notice this earlier.
As you can see, with the newer devbuilds the skybox is shown cubic with a dark black spot at the end.
I think this is pretty straightforward, but if it helps I could create a small demo wad.
(wad is played with gzdoom default video/display settings except for VSYNC ON, resolution 1366*768, fullscreen)
Re: Skybox rendered incorrectly on older machines
Can you post the extension string for the 4.0.0 and 4.2.0 please? As well as for the 4.5.0?
You can get that by running "gzdoom +logfile extensions.txt" on startup.
Additionally, we cannot debug a screenshot. You'll have to post a sample somewhere.
You can get that by running "gzdoom +logfile extensions.txt" on startup.
Additionally, we cannot debug a screenshot. You'll have to post a sample somewhere.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Hi,
included a zip with:
- demowad.pk3 - small wad to reproduce the error
- extensions.txt - logfile laptop GL 4.5 (runs fine)
- extensions2.txt - logfile laptop GL 4.2 (not ok)
- extensions3.txt - logfile laptop GL 4.0 (not ok)
Now I've been testing for hours, and it's even more complicated than I first thought.
- It never goes wrong on the GL 4.5 machine.
- It goes only wrong on the GL 4.2 & 4.0 machines when starting in FULLSCREEN. Switching fullscreen OFF solves it; even switching back ON it keeps running ok until you start GZDoom again in fullscreen...
- As mentioned before, the problem also only occurs with recent builds from April 30th and later, not the builds before that date.
included a zip with:
- demowad.pk3 - small wad to reproduce the error
- extensions.txt - logfile laptop GL 4.5 (runs fine)
- extensions2.txt - logfile laptop GL 4.2 (not ok)
- extensions3.txt - logfile laptop GL 4.0 (not ok)
Now I've been testing for hours, and it's even more complicated than I first thought.
- It never goes wrong on the GL 4.5 machine.
- It goes only wrong on the GL 4.2 & 4.0 machines when starting in FULLSCREEN. Switching fullscreen OFF solves it; even switching back ON it keeps running ok until you start GZDoom again in fullscreen...
- As mentioned before, the problem also only occurs with recent builds from April 30th and later, not the builds before that date.
- Attachments
-
- forumupload.zip
- (8.85 KiB) Downloaded 82 times
Re: Skybox rendered incorrectly on older machines
Build dates are not very descriptive to be honest. It's much better to specify a version or commit.
In this case I guess it's about g3.4pre-345-g76ed80fe5 and later builds.
In this case I guess it's about g3.4pre-345-g76ed80fe5 and later builds.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Yeah I know, but the build was no longer on the list at dreamteam.org and on my laptop I keep them ordered by date. But I can confirm that the issue is with g3.4pre-345-g76ed80fe5 and later._mental_ wrote:Build dates are not very descriptive to be honest. It's much better to specify a version or commit.
In this case I guess it's about g3.4pre-345-g76ed80fe5 and later builds.
Re: Skybox rendered incorrectly on older machines
There is a special system for retrieving older builds on drdteam, although it's not advertised (by intent). There's a developer mode switch on the skin control panel you can use to view hidden files. Much older builds still get pruned away, though.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Ah found it. Thanks, good to know.Rachael wrote:There is a special system for retrieving older builds on drdteam, although it's not advertised (by intent). There's a developer mode switch on the skin control panel you can use to view hidden files. Much older builds still get pruned away, though.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
I cannot reproduce this with my NVidia GPU and the attached demo mod, regardless of glversion setting. I'm afraid that someone else will have to do some testing to see at which revision exactly the behavior changed. There's 16 git commits between those 2 devbuilds.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Is there an easy way to get those revisions? (I'm a noob concerning GitHub) No problem to do the testing myself. Or are there some specific changes that are suspect so I could change it in the code on my machine? I still have the old laptop where this happens at my disposal.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
As binaries, no. You'd have to compile them yourself.
If you already have a setup for compiling you need to check them out explicitly. The easiest way for that would be some GUI tool for Git.
If you cannot compile you'll need someone to provide you the builds.
If you already have a setup for compiling you need to check them out explicitly. The easiest way for that would be some GUI tool for Git.
If you cannot compile you'll need someone to provide you the builds.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Compiling is not a problem, I can create my own builds. I've used GitHub desktop once before on my old machine, so I'll invest some time in getting to figure out how it works - can't be too difficult I guess.
Re: Skybox rendered incorrectly on older machines
They might be new enough that AppVeyor may still have builds. Check AppVeyor's artifacts for each of those revisions - I remember _mental_ explicitly set them up to save, but I have no idea AppVeyor's deletion policy (or if they are kept indefinitely).
Here's a list from AppVeyor for each of the revisions:
07586af6
93d8132b
76ed80fe
ebc1c574
c2ac9853
1345c8e7
4d72214f
852c42bb
6cd8b1b3
f91511bd
e9d84b88
76ec174f
06d20e13
9e6f3787
9350eee0
77b30161
Here's a list from AppVeyor for each of the revisions:
07586af6
93d8132b
76ed80fe
ebc1c574
c2ac9853
1345c8e7
4d72214f
852c42bb
6cd8b1b3
f91511bd
e9d84b88
76ec174f
06d20e13
9e6f3787
9350eee0
77b30161
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Skybox rendered incorrectly on older machines
Yes, thank you, that really made things easier
With this I was able to narrow it down to the following builds:
Screenshot build 1345c8e7 (OK):
Screenshot build c2ac9853 (WRONG):
Note that the weapon sprite also is wrong here, which was corrected separately later.
With this I was able to narrow it down to the following builds:
Screenshot build 1345c8e7 (OK):
Screenshot build c2ac9853 (WRONG):
Note that the weapon sprite also is wrong here, which was corrected separately later.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
There's still two uncompiled revisions in between those two...
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
I cannot reproduce it even with that particular revision. The odd thing is that between those two only 2D code was supposed to have changed.