Closed jedahan closed 4 years ago
That looks like you're missing vulkan drivers or vulkan support. I should provide an error for this :)
Same error here on Elementary, I'd love to know how to fix this.
Since Elementary is ubuntu-based, you have to install the ubuntu vulkan drivers, provided your hardware supports vulkan. At the very least, that's the mesa-vulkan-drivers
package, and possibly libvulkan1
and vulkan-utils
.
Perhaps this helps: https://linuxconfig.org/install-and-test-vulkan-on-linux
You can try the OpenGL branch now: cargo install --git https://github.com/cloudhead/rx --locked --branch f/gl --features compatibility
It has a few issues, when booting, the canvas is all the way hidden in the top right, and the tablet cursor doesn't seem to adapt to retina pixel ratio, so the cursor is always off from where it actually is.
@neauoire is the first issue resolved after you resize the window? Also if you look at the log output, does it log a hidpi factor
of 2
?
I'm not able to reproduce this on a retina macbook pro (osx) :thinking:
Make sure you pull recent changes, the branch has been merged into master
.
Investigating a bit more, I can reproduce if I wrongly force my laptop's hidpi factor to 2
, even though it should be 1
. Could you try this, but the other way around? Change this https://github.com/cloudhead/rx/blob/master/src/lib.rs#L117 to let hidpi_factor = 1.0;
and see what happens :eyes:.
What's happening is that it's creating a framebuffer that is 2x the size of your window, hence you only see the left corner of it!
Okay! I will give this a shot after lunch, stay tuned :)
Closing this, as GL support landed in master
.