-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Cannot display example models #2011
Comments
Thank you, @bluthej! I'll have a look later. |
Hey @bluthej, I've submitted a number of pull requests that might or might not address this. Could you please run |
@hannobraun I confirm that these changes fixed the issue :) Thanks a lot for taking the time to investigate that! I do get an error but it doesn't prevent the model from being displayed, so I guess this must be a minor thing. Here is the error in case you are interested: 2023-09-07T22:12:53.671118Z ERROR sctk_adwaita::config: XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme |
Nice! Could you still post the other log output? There should be a message about an adapter being selected. My theory is, that Vulkan is not available on your system for some reason, and OpenGL was selected instead (previously our settings would have prevented that, which is one of the things I changed). But I'd like to confirm.
No idea what that is. It's not something Fornjot is using directly, so it must originate somewhere in the dependency chain. If it doesn't affect anything, I'd be inclined to ignore it and hope it goes away 😂 For the record, here's what I did: As I said before, our previous settings only allowed for wgpu's "primary" backends to be selected, which doesn't include OpenGL. I changed it so all backends are acceptable, and also fixed an OpenGL-only bug that I ran into on my system. All those "still attached" warnings seem to just be a consequence of the aborted initialization. If I return the |
This is all I get in my terminal when I run the command: ❯ cargo run -p cuboid
Finished dev [unoptimized + debuginfo] target(s) in 0.52s
Running `target/debug/cuboid`
2023-09-08T10:00:16.483482Z ERROR sctk_adwaita::config: XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme I don't have any other message printed out. If there is something I'm missing could you tell me where to look for a more complete log? I tried the verbose option of the CLI but that only added some cargo output. |
To see the debug output, you need the full command I quoted above:
|
Oh yes sorry I totally overlooked your instructions... Here is the debug output: ❯ RUST_LOG=fj_viewer=debug cargo run -p cuboid
Finished dev [unoptimized + debuginfo] target(s) in 0.53s
Running `target/debug/cuboid`
2023-09-08T17:00:05.742866Z DEBUG fj_viewer::graphics::renderer: Using adapter: AdapterInfo { name: "AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.52, 6.4.12-arch1-1)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
|
Thanks, that confirms my suspicion! For whatever reason, Vulkan is not available on your machine (at least to wgpu). |
Problem
Tried displaying the example models to get started with Fornjot but I could not get any to run correctly.
Error
Note that exporting the example models does work.
Configuration
Version
Cloned the main branch on the 7th of september 2023.
The text was updated successfully, but these errors were encountered: