panick on wayland display server #86
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ArkForgeLabs/BlueEngine#86
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When switching to wayland I get these errors:
This is not an engine issue, by most chances its driver problem
@ElhamAryanpur Actually its only to do with BlueEngine, I tried imgui through wgpu and egui demo and they don't have the same issue as blue engine does.
@Raj2032 there was no error related to BE in the log that you posted. The closest relation was from an error by WGPU's GL backend that couldn't start.
Probably the wgpu couldn't get a context and run in an unknown environment, hence the assumption of a bad driver. Try using another backend, or set it to pick a default backend.
@ElhamAryanpur I used https://github.com/katharostech/NESImg
ANd that uses wgpu and opengl for backend. So still lost what may be the issue over here?
not too sure other backends vulkan causes a panick (happens with other gui projects as well so need to figure that one out).
I see, I'm not sure tbh. I am sure it's not an engine issue since I'm using wayland as well and I can't reproduce your errors.
@ElhamAryanpur Yeah I don't get it, all though NESImg uses eframe as its backend which uses wgpu.
I assume maybe that your engine has an issue with amd graphics cards as I assume you use nvidia?
Can you run one of the examples in this repository? Maybe triangle example
And nah I use both Nvidia and AMD, shouldn't be the issue
Have you used amd on wayland? Are you using EndeavourOS and are you using SystemD boot? When you run
lspci -nnk | grep -i -EA3 "3d|display|vga"what is the output?Mine is:
I am using amdgpu drivers, not radeon. What driver are you using for amd graphics card?
You want me to run this on wayland?
Those shouldn't matter much, drivers for both gpu and drivers are good enough for Vulkan and GL. Just try running the triangle example and see if it still errors?
@ElhamAryanpur Last time Vulkan never worked on radeon, only on amdgpu, also mentioned on Debian:
I ran the example on wayland using amdgpu driver and got these errors:
Also ran this:
Just in case there is something useful you can find.
Possibly related to gfx-rs/wgpu/issues/5505
@ElhamAryanpur Ah right
What's weird is I am using
gtk-rsand that uses wgpu, weird that I have no issues on wayland.Do they? I'm not sure then, perhaps different versions
@ElhamAryanpur My mistake, actually they use vulkan but not too sure about wgpu I should have read more carefully.
@Raj2032 It's all good, lets keep this issue opened until theres a wgpu fix