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.
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
Re: Skybox rendered incorrectly on older machines
I'm assuming it to be related to a Intel GPU-side issue. They're GPUs that has poor OpenGL support.
- 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
Certainly it's possible that it's related to older Intel GPU's, but that's not the whole story, because it worked flawlessly with build 1345c8e7 and the builds before that.Cacodemon345 wrote:I'm assuming it to be related to a Intel GPU-side issue. They're GPUs that has poor OpenGL support.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
Since this happened in another issue I fixed a few hours ago: Are you using 32 or 64 bit 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
64 only.Graf Zahl wrote:Since this happened in another issue I fixed a few hours ago: Are you using 32 or 64 bit 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
So it's one of these commit's that introduced this behaviour on older intel gpu's:Graf Zahl wrote:There's still two uncompiled revisions in between those two...
67cb6e63b cleanup of the 2D interface.
d904fba05 trying to clean up the weapon renderer.
c2ac98535 split off the utility functions from gl_weapon.cpp.
I could try to track it down with the original plan since 2 of the builds are not present on AppVeyor.
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
Re: Skybox rendered incorrectly on older machines
The first one is likely to my eyes. I don't think the weapon renderer actually uses code from the world renderer.
- 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, I agree. But you never know
- 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
So today I started to get the latest builds from GitHub, and just before getting previous commits, I wanted to test the latest version first, so I compiled the latest code and guess what: the bug does no longer occur on the old Intel gpu with GL 4.0.
As an extra test I checked with the latest devbuild from today (build 4pre-524-ge3c78ab83) and this one was okay too. On the GL 4.2 laptop however both builds still show the strange skybox behaviour.
Was GZDoom code changed very recently changed in this respect? If not than I think indeed only the older intel gpu's are to blame. In that case for me this issue needs no longer be addressed (there is a simple work around by switching Fullscreen off and back on, or by using borderless window).
As an extra test I checked with the latest devbuild from today (build 4pre-524-ge3c78ab83) and this one was okay too. On the GL 4.2 laptop however both builds still show the strange skybox behaviour.
Was GZDoom code changed very recently changed in this respect? If not than I think indeed only the older intel gpu's are to blame. In that case for me this issue needs no longer be addressed (there is a simple work around by switching Fullscreen off and back on, or by using borderless window).
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Skybox rendered incorrectly on older machines
This actually sounds like an uninitialized variable somewhere.
Hmm...
Hmm...
- 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
A hypothesis: could it be that the skybox in some cases would not be initialized depending on some events, for instance if the wad is launched from GZDB and GZDoom main window does not have the active focus yet.. (in fullscreen mode only)? This suddenly occurred to me because it's always corrected if you switch fullscreen off and on. And I did some more testing with builds that went wrong: they seem to go okay when I drop the the wad on the GZDoom icon instead of launching it from GZDB..
Edit: I do see some changes in the code related to sky a couple of days earlier before the error occurred in the builds mentioned earlier (d694e19f0 & 785a6c2ce). Don't know it this could be related though)
Edit: I do see some changes in the code related to sky a couple of days earlier before the error occurred in the builds mentioned earlier (d694e19f0 & 785a6c2ce). Don't know it this could be related though)
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
Re: Skybox rendered incorrectly on older machines
I think the changes to the sky code seems to be causing those bugs.
User was warned for this post -Rachael
User was warned for this post -Rachael
Re: Skybox rendered incorrectly on older machines
We keep having to tell you not to make brain-dead posts. This is falling into the territory of moderator action, now. When Graf asked you to stop, Gez asked you to stop, and I asked you to stop at least twice, that's more than enough for the warning you just got.Cacodemon345 wrote:I think the changes to the sky code seems to be causing those bugs.