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

On Macos there are vertical lines on screen when the window is put into fullscreen mode #3415

Open
erenoku opened this issue Jan 22, 2023 · 3 comments
Labels
api: metal Issues with Metal external: driver-bug A driver is causing the bug, though we may still want to work around it type: bug Something isn't working

Comments

@erenoku
Copy link

erenoku commented Jan 22, 2023

On Macos when the window is put into fullscreen mode there are vertical lines visible.
This situation occurs on all examples in this repository except for hello-triangle.

Screen Shot 2023-01-22 at 18 43 02

The background is normally a dark blue color but when switched to fullscreen mode it looks like this.

My GPU is Intel(R) Iris(TM) Plus Graphics (Metal)

@nical nical added type: bug Something isn't working external: driver-bug A driver is causing the bug, though we may still want to work around it labels Jan 23, 2023
@erenoku
Copy link
Author

erenoku commented Jan 23, 2023

After some debugging I discovered that setting either the width or the height of the surface to real size minus 1 fixes this issue. I don't know why this is the case as the reported size is correct and my method causes a one pixel wide black line on the edge of the screen.

@spencerelliott
Copy link

spencerelliott commented Feb 16, 2023

I am also seeing this issue in my iced project when making the window fullscreen (it uses wgpu for rendering). I have attached a log of the output when putting the window into fullscreen.

wgpu_3415_error_log.txt

Image of the issue:
image

@teoxoy teoxoy added the api: metal Issues with Metal label Nov 17, 2023
@Vutshi
Copy link

Vutshi commented Jun 13, 2024

I have the same problem.
wgpu

Environment

  • macOS 13.6.7 (22G720)
  • 2,3 GHz Quad-Core Intel Core i7
  • Intel Iris Plus Graphics
  • Rust 1.78.0

The issue affects the following projects:
dbalsom/martypc#118
parasyte/pixels#394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: metal Issues with Metal external: driver-bug A driver is causing the bug, though we may still want to work around it type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants