mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
Snap remove pulseaudio (#1076)
This commit is contained in:
parent
e40ae5134e
commit
658ff87525
7 changed files with 5 additions and 11 deletions
|
|
@ -115,12 +115,9 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|||
|
||||
#### GPU Support
|
||||
|
||||
GPU support on Windows is possible for Buzz that ir installed from the source code or with `pip`.
|
||||
Use the instructions above to install the Buzz from the source code or run `pip install buzz-captions`
|
||||
and then follow the instructions below to enable CUDA GPU support. For pip installation it is recommended to use
|
||||
a separate [virtual environment](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/).
|
||||
GPU support on Windows with Nvidia GPUs is included out of the box in the `.exe` installer.
|
||||
|
||||
To enable GPU support first ensure CUDA 12.1 is installed - https://developer.nvidia.com/cuda-12-1-0-download-archive
|
||||
To add GPU support for source or `pip` installed version first ensure CUDA 12.1 is installed - https://developer.nvidia.com/cuda-12-1-0-download-archive
|
||||
Other versions of CUDA 12 should also work.
|
||||
|
||||
Switch torch library to GPU version. It must match the CUDA version installed, see https://pytorch.org/get-started/locally/ .
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ sudo apt-get install libportaudio2 libcanberra-gtk-module libcanberra-gtk3-modul
|
|||
sudo snap install buzz
|
||||
sudo snap connect buzz:audio-record
|
||||
sudo snap connect buzz:password-manager-service
|
||||
sudo snap connect buzz:pulseaudio
|
||||
sudo snap connect buzz:removable-media
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ class SnapNotice(QDialog):
|
|||
self.text_edit.setPlainText(
|
||||
"sudo snap connect buzz:audio-record\n"
|
||||
"sudo snap connect buzz:password-manager-service\n"
|
||||
"sudo snap connect buzz:pulseaudio\n"
|
||||
"sudo snap connect buzz:removable-media"
|
||||
)
|
||||
self.text_edit.setReadOnly(True)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ sudo apt-get install libportaudio2 libcanberra-gtk-module libcanberra-gtk3-modul
|
|||
sudo snap install buzz
|
||||
sudo snap connect buzz:audio-record
|
||||
sudo snap connect buzz:password-manager-service
|
||||
sudo snap connect buzz:pulseaudio
|
||||
sudo snap connect buzz:removable-media
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ sudo apt-get install libportaudio2 libcanberra-gtk-module libcanberra-gtk3-modul
|
|||
sudo snap install buzz
|
||||
sudo snap connect buzz:audio-record
|
||||
sudo snap connect buzz:password-manager-service
|
||||
sudo snap connect buzz:pulseaudio
|
||||
sudo snap connect buzz:removable-media
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ sudo apt-get install libportaudio2 libcanberra-gtk-module libcanberra-gtk3-modul
|
|||
sudo snap install buzz
|
||||
sudo snap connect buzz:audio-record
|
||||
sudo snap connect buzz:password-manager-service
|
||||
sudo snap connect buzz:pulseaudio
|
||||
sudo snap connect buzz:removable-media
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# Development notes:
|
||||
# - To build the snap run `snapcraft clean` and `snapcraft`
|
||||
# - To install local snap `snap install ./buzz_*.snap --dangerous`
|
||||
name: buzz
|
||||
base: core22
|
||||
version: git
|
||||
|
|
@ -158,7 +161,6 @@ apps:
|
|||
- gsettings
|
||||
- opengl
|
||||
- removable-media
|
||||
- pulseaudio
|
||||
- audio-playback
|
||||
- audio-record
|
||||
- password-manager-service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue