pixels icon indicating copy to clipboard operation
pixels copied to clipboard

Black screen on macOS Mojave

Open FloVanGH opened this issue 5 years ago • 6 comments

I've got black screen running the winit examples on macOS Mojave.

image

FloVanGH avatar Jun 09 '20 04:06 FloVanGH

Related to #72 and #76

parasyte avatar Jun 09 '20 15:06 parasyte

I have added a troubleshooting section to the README, with instructions for requesting the high performance GPU. This should be enough to workaround this issue for now.

parasyte avatar Jul 19 '20 01:07 parasyte

After I've updated to macOS Catalina it works.

FloVanGH avatar Jul 20 '20 05:07 FloVanGH

Apparently, everyone who's encountered this issue has just promptly updated their OS, preventing the maintainers from ever determining or fixing the problem.

Mojave is only 2 versions behind the latest version. It's also more significant than other versions because it's the first version to add dark mode AND the last version to support 32-bit programs. That means some people like me are never going to upgrade.

That said, I also cannot reproduce this issue. I would love to help, but you know...

LoganDark avatar Jan 21 '21 03:01 LoganDark

The most up-to-date information I have on this issue is that it relates to both the GPU hardware and version of Metal that ships with Mojave. I have seen black screens with integrated Intel GPUs, but not discrete AMD GPUs.

Apart from upgrading the OS, requesting the high performance GPU may be acceptable in most cases. There is still an issue with laptops that only have an Intel GPU and run Mojave, however...

parasyte avatar Jan 21 '21 05:01 parasyte

There is still an issue with laptops that only have an Intel GPU and run Mojave, however...

...and laptops which turn on automatic graphics switching every time you reboot, like mine. Maybe explicitly requesting high perf will fix that one. However, forcing pixels to run on my integrated GPU doesn't exhibit the black screen issue anyway.

LoganDark avatar Jan 21 '21 05:01 LoganDark

The last release of Mojave was July 21, 2021; 16 months ago. It has been succeeded by four major macOS releases. I think this can safely be closed and our official position should be "macOS Mojave is not supported".

parasyte avatar Dec 18 '22 03:12 parasyte

What a great way to solve the issue, just wait until you can say the OS is not supported :)

(sorry for my earlier comments on the issue. BTW, my Mac is still running Mojave, because I can't upgrade it)

LoganDark avatar Dec 18 '22 05:12 LoganDark

If you have a better solution, I will happily accept it.

Unfortunately there has been a lack of contributions on this particular issue, and I do not personally have a way to run macOS Mojave. And as you know, there are open issues on the wgpu repo for Mojave. And at least one that was closed (probably prematurely): https://github.com/gfx-rs/wgpu/issues/104

Regardless, I don't think there is anything we can do here except track an upstream issue (whether that's the closed one or something else?)

parasyte avatar Dec 18 '22 05:12 parasyte