Comments (9)
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.
from pixels.
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.
from pixels.
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".
from pixels.
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): gfx-rs/wgpu#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?)
from pixels.
from pixels.
After I've updated to macOS Catalina it works.
from pixels.
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...
from pixels.
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...
from pixels.
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)
from pixels.
Related Issues (20)
- How to make the pixel buffer larger than the window HOT 7
- Pixels no longer handles scaling factors correctly. HOT 10
- imgui UI out of bounds in example "imgui-winit" HOT 2
- Instant crash on MacOS when window is shrunk vertically HOT 4
- pixels.render() fails randomly HOT 7
- using `pixels.resize_surface` to decrease the height of the buffer will panic HOT 2
- `pixels` panics when using egui HOT 6
- The "minimal-tao" example not working on Linux HOT 3
- Error: AdapterNotFound HOT 5
- Web Example: Possible to occupy all available space ? Key Input HOT 2
- Custom shader wasm-compatible? HOT 2
- Premultiplication with `tiny-skia` HOT 2
- Feature request: Getting window position from pixel position HOT 1
- Android example HOT 1
- Black screen on Ubuntu 23 within VMWare Workstation 17 HOT 5
- Transparent windows don't work due to hardcoded alpha mode HOT 2
- No possibility of changing the surface `PresentMode` without recreating the whole `Pixels` instance HOT 3
- Not able to create pixel buffer with winit 0.29.2 HOT 8
- Using pixels with eframe HOT 4
- Invaders example doesn't work when using pixels from crates.io HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixels.