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

OpenGL: Window stretch mode canvas_items or viewport leaves uncleared section if using keep, keep_width or keep_height stretch aspect #71799

Closed
Tracked by #66458
git2013vb opened this issue Jan 21, 2023 · 4 comments · Fixed by #73300

Comments

@git2013vb
Copy link

git2013vb commented Jan 21, 2023

Godot version

v4.0.beta13.official [caacade]

System information

Debian 11

Issue description

I noticed this rendering issue.
It not happen in "Forward" or "Mobile" mode.
It happen when I set project settings->display->windows->stretch->mode as canvas_item or viewport.

I do not use NVIDIA card
DeepinScreenshot_select-area_20230121111325

this is a screen shoot
DeepinScreenshot_select-area_20230121143842

EDIT: I tried it in another computer
v4.0.beta12.official [3c9bf4b]
Debian 10


Godot Engine v4.0.beta12.official.3c9bf4bc2 - https://godotengine.org
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile

DeepinScreenshot_select-area_20230121132211

Steps to reproduce

run the MRP and resize the window

Minimal reproduction project

test_resolution.zip

@git2013vb git2013vb changed the title [4.0] Rendering problem in "Compatibility" mode [4.0 Beta 13] Rendering problem in "Compatibility" mode Jan 28, 2023
@clayjohn clayjohn changed the title [4.0 Beta 13] Rendering problem in "Compatibility" mode [gl_compatibility] window stretch mode canvas_item or viewport leaves uncleared section Jan 31, 2023
@clayjohn clayjohn added this to the 4.x milestone Jan 31, 2023
@acedogblast
Copy link

Can confirm that this bug still exists with Godot 4.0 RC1. The bug only effects the OpenGL renderer. Using Linux/Wayland with AMD GPU.

@Calinou Calinou changed the title [gl_compatibility] window stretch mode canvas_item or viewport leaves uncleared section OpenGL: Window stretch mode canvas_items or viewport leaves uncleared section if using keep, keep_width or keep_height stretch aspect Feb 10, 2023
@clayjohn clayjohn modified the milestones: 4.x, 4.0 Feb 14, 2023
@clayjohn
Copy link
Member

Looks like we have reports for this issue from all desktop OSes now, so it definitely isn't an X11 windowing issue. I will take a look

@git2013vb
Copy link
Author

git2013vb commented Feb 15, 2023

@clayjohn
It seems very similar to this issue #48091

Not sure if its related, but its worth take a look because I did some bisects at that time.

Maybe at that time this issue came out just in that particular case... We will see.

@clayjohn
Copy link
Member

@git2013vb I don't think this is related to #48091. This issue was caused by 4.0-specific changes that are not in 3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants