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

Certain window sizes cause rendering to stop #1003

Closed
nic96 opened this issue Dec 4, 2020 · 5 comments
Closed

Certain window sizes cause rendering to stop #1003

nic96 opened this issue Dec 4, 2020 · 5 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@nic96
Copy link
Contributor

nic96 commented Dec 4, 2020

Bevy version

Commit: 1aff709

Operating system & version

OS: Linux
GPU: Nvidia RTX 2070 Max-Q
Driver version: nvidia 455.45.01

What you did

When resizing the window, at certain sizes everything will stop rendering.

And this is logged (spammed) in the terminal

Dec 04 08:06:01.049  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.060  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.070  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.081  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.092  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.103  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
Dec 04 08:06:01.115  WARN wgpu_core::device: Requested size 1678x1192 is outside of the supported range: Extent2D { width: 1678, height: 1191 }..=Extent2D { width: 1678, height: 1191 }
@nic96
Copy link
Contributor Author

nic96 commented Dec 4, 2020

I've been told PR: #997 addresses the issue

@mockersf
Copy link
Member

mockersf commented Dec 4, 2020

the 1678x1192 / { width: 1678, height: 1191 } looks like a rounding issue

@nic96
Copy link
Contributor Author

nic96 commented Dec 4, 2020

Yeah, I believe it is. I'm on a high DPI display so it makes sense now.

@blunted2night
Copy link
Contributor

Yes, this is the issue I was addressing in PR #997

@Moxinilian Moxinilian added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Dec 4, 2020
@nic96
Copy link
Contributor Author

nic96 commented Dec 8, 2020

Closing this since #997 got merged

@nic96 nic96 closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

4 participants