Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine: Rendering graphical glitch #2456

Open
edmundito opened this issue Jun 24, 2024 · 9 comments
Open

Engine: Rendering graphical glitch #2456

edmundito opened this issue Jun 24, 2024 · 9 comments
Labels
context: graphics type: bug unexpected/erroneous behavior in the existing functionality

Comments

@edmundito
Copy link
Contributor

edmundito commented Jun 24, 2024

Describe the bug
While playing An English Haunting, I noticed a graphical glitch in one of the rooms—a black bar with a blue pixel. I notified the creator (Postmodern Adventures), and they couldn't see it. They reviewed the sprites used for the room, and nothing unusual was found. Note that animation is playing in this part of the room, so this area is part of an object that animates:

image

I am running the game with an ATI (Now AMD?) Radeon 560; I wonder if that's the issue, as I've encountered some problems with this before.

AGS Version
3.6.0.54

Game
An English Haunting (I can provide a save game)

To Reproduce
Just stand in the room and watch.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Game setup:
image

Desktop (please complete the following information):

  • OS: Windows 10
@ivan-mogilko
Copy link
Contributor

An English Haunting (I can provide a save game)

Yes please, provide a save. I have asked developers for a game copy a while ago, but I haven't played it through.

@ivan-mogilko ivan-mogilko added type: bug unexpected/erroneous behavior in the existing functionality context: graphics labels Jun 27, 2024
@ivan-mogilko ivan-mogilko added this to the 3.6.1 maintenance milestone Jun 27, 2024
@edmundito
Copy link
Contributor Author

@ivan-mogilko Here's a saved game that puts you right in the cave:

an-english-haunting_cave-glitch-save.zip

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Jun 28, 2024

I'm afraid I don't see this glitch either.

I have a nvidia card, but idk if it's related.

Do you know if anybody else with ATI card reported such problem for this game?

@edmundito
Copy link
Contributor Author

This is why I suspect it is video card-related. I don't know anyone with an ATI card yet, But I will ask around... In any case, hopefully, a minor bug then.

@ivan-mogilko
Copy link
Contributor

Could you also tell, does this happen in any display mode or in particular one (fullscreen, exclusive fullscreen, windowed)?

@edmundito
Copy link
Contributor Author

edmundito commented Jun 28, 2024

I just tried all modes and all rendered (d3d9, ogl, software) and it's still there. I tried enabling sdl debug info in the console but nothing unusual other than:

SDL : ERROR: DEBUG: Couldn't open C:\TIMIDITY\TIMIDITY.CFG
SDL : ERROR: DEBUG: Couldn't open timidity.cfg

@ericoporto
Copy link
Member

I just tried all modes and all rendered (d3d9, ogl, software) and it's still there.

If it happens in the software renderer I don't think it can be related to the video card.

I don't know if you are familiar with RenderDoc, but it can be used to inspect the textures by themselves, it works with the AGS OpenGL driver, you need to run the game from RenderDoc to be able to inspect it.

But anyway, if it happens in the Software Renderer my guess is it isn't that. If you can run the game on a build from the master and see if it reproduces the error it would be useful, also perhaps running it on your mac computer, and seeing if it reproduces there or not.

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Jul 2, 2024

Actually, yes, if it happens in software mode, then either this is actually a game bug, engine bug, or something else overlaying the game.

Because in software mode all the game is first drawn on bitmap using software blitting in ram.

@ivan-mogilko
Copy link
Contributor

@edmundito can you clarify, do you see this glitch immediately after loading the save that you attached, or do you have to do something to make it appear?

Another thing, there are few test options in the engine. Try running the game with --nospr command, that will disable rendering of characters and objects. See if the glitch persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: graphics type: bug unexpected/erroneous behavior in the existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants