Conrod: Nothing got rendered at startup.

Created on 4 Sep 2018  路  10Comments  路  Source: PistonDevelopers/conrod

I've tried to run example apps under examples folder, using command cargo run --release --features="winit glium" --example counter, but nothing got rendered at startup except a empty window.

screen shot 2018-09-04 at 10 39 37

after resizing the window, every thing got rendered. I'm no sure if this is a bug, how to fix it?

Most helpful comment

I can confirm on the latest version of the repo that cargo run --release --features="winit glium" --example counter now works properly on Mojave 10.14.3 beta.

All 10 comments

I am having the same issue on the beta of Mojave (macOS 10.14) with my mid-2012 Macbook Pro (Intel/NVidia graphics switching). The primitives, all_winit_glium and canvas examples all experience the same symptom.

I don't have the same problem with the "hello world" example code on the Piston repository.

Do you encounter the same issue when you try to run one of the piston backend examples instead of the winit glium ones?

I don't, this example invocation worked - drew things immediately:

cargo run --release --features="piston" --example all_piston_window

I have the same problem as @barbeque in official release of MacOS 10.14.

I can confirm that there's rendering issues with glium and Mojave, which were not present with Sierra.

Thanks for opening this!

I believe this has something to do with a difference in the way resize events are generated in MacOS in Mojave. This issue might be better tracked upstream here at glutin.

Minimizing the window to the laucher and bringing it up again fixes it.

If comment the code for event in event_loop.next(&mut events_loop) { ... } everything works well. It's a problem about glutin event.


2018-12-22

Use the latest version. This problem should be fixed.
At Mojave 10.14.2 (18C54).

I can confirm on the latest version of the repo that cargo run --release --features="winit glium" --example counter now works properly on Mojave 10.14.3 beta.

Thanks @barbeque, I'll close this for now - if anyone is still hitting this after updating to the latest master feel free to re-open.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drmason13 picture drmason13  路  3Comments

mitchmindtree picture mitchmindtree  路  22Comments

JGHFunRun picture JGHFunRun  路  9Comments

SuperCuber picture SuperCuber  路  4Comments

TimBednarzyk picture TimBednarzyk  路  3Comments