Comments (12)
Yep, text rendered while playing the song is rendered by Neothesia directly, in menu it's done by iced
from neothesia.
You could try with opengl
from neothesia.
You could try with opengl
So, I figured you can set the WGPU_BACKEND
environment variable but it launches successfully on nothing but gl
. So it must've been running on OpenGL this whole time. I thought vulkan would work but no.
$ WGPU_BACKEND="vulkan" ./result/bin/neothesia
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: AdapterRequest', neothesia/src/main.rs:243:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: queue 0x55b0209b1650 destroyed while proxies still attached:
xdg_wm_base@20 still attached
wl_output@14 still attached
wl_seat@13 still attached
xdg_activation_v1@12 still attached
wp_viewporter@11 still attached
zwp_text_input_manager_v3@10 still attached
zwp_pointer_constraints_v1@9 still attached
zwp_relative_pointer_manager_v1@8 still attached
zxdg_decoration_manager_v1@7 still attached
wl_subcompositor@6 still attached
wl_compositor@5 still attached
wl_shm@4 still attached
wl_registry@2 still attached
For games on Steam, vulkan works though. vkcube
runs too.
I guess I could told from the missing mangohud overlay I get on all other vulkan apps that it's not running on vulkan.
from neothesia.
Could you try with "RUST_LOG=debug" env
from neothesia.
Could you try with "RUST_LOG=debug" env
With that env variable I found out the problem with running on vulkan was that it didn't have libvulkan.so.1 in it's path which it has now.
So, it runs on vulkan but the text is still missing. However, the Neothesia logo shows now:
from neothesia.
Oh, it was logging that it failed to find a bunch of fonts which I have all installed. Recompiling with fontconfig in runtime path.
This might just end up being a missing libraries thing.
from neothesia.
Hmm, fontconfig in it's runtime PATH doesn't help. For vulkan-loader with libvulkan.so.1 I had to explicitly put it's lib folder into LD_LIBRARY_PATH
though. Maybe fontconfig is not accessible to it?
from neothesia.
The database can try to load system fonts. Currently, this is implemented by scanning predefined directories. The library does not interact with the system API.
I looked in the dependency graph and found fontdb. Assuming this crate is used for using system fonts, scanning predefined directories doesn't work on my Linux distro (NixOS). That must be why adding fontconfig to the runtime PATH didn't help.
I will try to put it in a FHS environment then so the predefined directories will work.
from neothesia.
So, I was told putting it in an FHS env is not ideal. Patching the source code of the fontdb dependency would be better, but complex. Another option is Neothesia switching to using fontconfig. You can't expect fonts to be in predefined paths. Not every systen works the same way.
from neothesia.
I wonder if it would be possible to hardcode the iced font the same way I do for Neothesia, for Neothesia I just prebundle the hardcoded font and that's why it works, iced on the other hand is "smarter" and tries to use system's font.
Could you try one of iced demos/examples? So we can at least report this upstream before I strip the font detection part out (if it manifests upstream that is)
from neothesia.
So we can at least report this upstream
Upstream in iced? Shouldn't this be reported in cosmic-text or fontdb itself? (fontdb is a direct dependency of cosmic-text)
from neothesia.
Hmm, there's already issues about this:
and pop-os/cosmic-text#174 was merged so I guess cosmic-text needs to be updated in glyphon and iced_tiny_skia but there hasn't been a release of cosmic-text since it was merged.
from neothesia.
Related Issues (20)
- Settings page with proper design
- Extremely Quiet. HOT 1
- How do we free play like in synthesia?
- issues with high note densities HOT 1
- Easy way to replay given measures HOT 1
- Website design HOT 4
- (Question) Does the ffmpeg dependency is optional? HOT 1
- crash if open applications
- jack support
- text is rendered as rectangular shapes
- Cannot open folder inside Neothesia, and the logo is empty HOT 2
- Feature request: Support isomorphic layouts
- Feature request: Volume control (e.g., mouse wheel)
- [Feature request] Support for e-drums (map midi) HOT 2
- Can't play "Rush E" HOT 1
- build neothesia-cli error HOT 2
- mac problem no audio output and no neothesia-cli HOT 1
- Rewind doesn't seem to work HOT 3
- Tracking Neothesia in downstream package repos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neothesia.