Comments (5)
Just FYI. Yesterday I have pushed Beta8 to flathub-beta
. It brings CUDA support for Faster-Whisper STT and Coqui TTS.
from dsnote.
Thanks for the report.
I'm using EnvyControl and these instructions for installing CUDA + Machine Learning.
Actually, local CUDA installation doesn't really matter. Speech Note flatpak package comes with all needed CUDA libraries. This is an advantage - you don't need to install anything else - and also disadvantage because package size is huge.
This error:
[D] 13:46:29.136 0x7f676e20ed00 add_cuda_devices:227 - scanning for cuda devices
[D] 13:46:29.136 0x7f676e20ed00 add_cuda_devices:236 - cuda version: driver=0, runtime=0
[W] 13:46:29.136 0x7f676e20ed00 add_cuda_devices:241 - cudaGetDeviceCount returned: 35
indicates that NVIDIA card was not detected in your system. I see the same log on my computer with AMD card.
I have to admit I know nothing about PRIME technology and GPU switching on laptops. Most likely I won't tell you anything you already know. NVIDIA card needs to be somehow turn-on before starting an app. As I understand 'EnvyControl' should make this happen.
The Internet mentions also that there is prime-run
tool which switches GPU by setting the following env variables:
__NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
so, you might try to do:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia flatpak run net.mkiol.SpeechNote --verbose
or set these variables inside flatpak sandbox using flatpak override
:
flatpak override --env=__NV_PRIME_RENDER_OFFLOAD=1 --env=__GLX_VENDOR_LIBRARY_NAME=nvidia net.mkiol.SpeechNote
flatpak run net.mkiol.SpeechNote --verbose
Please have in mind that I'm just guessing.
from dsnote.
Maybe this guide: https://askubuntu.com/questions/1316566/how-do-you-offload-a-flatpak-application-to-run-on-the-nvidia-graphics-card-when
from dsnote.
Thanks!
I had tried __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia flatpak run net.mkiol.SpeechNote --verbose
and it wasn't working, but your instructions for setting the variables in the flatpak sandbox using flatpak override did actually seem to fix the issue. Really appreciate it!
from dsnote.
Wow! That is awesome!
from dsnote.
Related Issues (20)
- Support for aprilasr HOT 2
- Missing support for certain file formats HOT 5
- Add open dyslexic font HOT 1
- Save to audio file seemingly not working for large texts HOT 7
- How to get GPU acceleration working? (Debian 12.2, Gnome, Wayland, X11, Nvidia P1000 GPU, Zbook Studio G5) HOT 15
- Should OpenCL work on an Ice Lake v11 intel processor? HOT 9
- '--action' and dbus issue HOT 7
- Drag and drop support HOT 2
- why flatpak app is so big? HOT 15
- Transcribe a file does not work with mounted Google Drive on Gnome HOT 5
- stdout option please HOT 2
- Subtitle output from Whisper models HOT 1
- distil-whisper HOT 2
- Configure audio source HOT 7
- Use Dbus for Desktop Integration HOT 8
- It is hard to see what the "Download" button corresponds to in the model download dialogue HOT 1
- Stop button smaller than cancel HOT 2
- Limit the number of CPU cores HOT 2
- Call dsnote system wide, read highlighted text from other applications HOT 1
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 dsnote.