-
Notifications
You must be signed in to change notification settings - Fork 297
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
Examples don't work #705
Comments
Hey @Finnerale, thanks for the issue! Do all of the examples fail, or only some? Could you please provide the stack trace for the error? One of the core graphics crates that we use in the examples received a big update recently, so there may have been an error introduced and providing a trace might help to narrow it down. You can do so by putting
I just did a google search for your error and found a related issue in the glutin repo. It might be worth checking to see if the |
I've tried all examples (also the piston_window) and it's allways the same error.
At compile time I get that error (NOT with piston_window):
|
Examples aren't working for me either, but for me it's a different set of issues:
|
I'm seeing the same thing as @oars. I've attached my glxinfo (open-source Radeon driver on Ubuntu 14.04) if that helps. |
The all widgets example works for me if I reset to fe58ed8. The commits after that upgrade piston2d-graphics to 0.14, piston_window to 0.35 and piston to 0.17. (I think this issue is different from @Finnerale's issue; sorry for cluttering up this thread!) |
Thanks a lot for the update @Tom9729! There was a large overhaul of the graphics backend that the conrod examples use recently and it looks like there may have been some bugs introduced along the way. Conrod is currently behind the latest changes for those dependencies at the moment, so the issues you're getting may already be fixed upstream and we might just need to update the dev-dependency versions to receive the fixes. I won't get a chance to do this until I finish #703 (but even then I don't have a linux distro available locally to test on). cc @bvssvni maybe you have an idea where those texture artefacts might be coming from that are shown in @oars' comment? Seems strange that debug is failing but release is passing (though with rendering issues). |
Looks like alpha blending is disabled. |
@bvssvni For some reason, I missed this thread. You've got an issue with blending? Is it with gfx_graphics? |
Not speaking for the "alpha blending issue", but the "thread ' ' panicked at 'called 'Result::unwrap()' on an 'Err' value: "Couldn't find any pixel format that matches the criterias."', ../src/libcore/result.rs:746"looks like it's hitting the problem with Glutin X11: rust-windowing/glutin#748 |
@pierrechevalier83 ahh, so it should be fixed once we update to the latest glutin? We should be able to once 1.8.0 stable is released (we have to wait until then because this). |
So 1.8.0 stable should be tomorrow apparently... I'll try to push an update to latest glutin then. |
@pierrechevalier83 I've opened up a PR at #710, which we can hopefully land once the 1.8 comes out tomorrow and close this 👍 |
This is still an issue for me:
|
@mitchmindtree When I run in debug mode, I get this warning but the examples then start. However, when I run with |
@egilburg hmmm this does sound strange, would you mind posting a new issue with the full output from cargo when doing |
@mitchmindtree actually nvm it worked this time, for some reason I had to wait almost 1 min before it booted in release mode (and this after compile was finished). Thanks for your response. |
When I try to run the exaples that error occurs:
thread '<main>' panicked at 'called 'Result::unwrap()' on an 'Err' value: "Couldn\'t find any pixel format that matches the criterias."', ../src/libcore/result.rs:746
With an earlier version of conrod I had no problems...
The text was updated successfully, but these errors were encountered: