-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crackling audio (update: if no PTY allocated) #47
Comments
I have an update. Just ignorant guessing follows: |
if i start jamesdsp from terminal: (NO XRUNS)
If i start it from the .desktop file: (XRUNS)
Note, no pts is allocated for it. Is to modify the .desktop file by executing:
That way, even if i start jamesdsp from the newly created .desktop file, PTS is allocated:
...and i've no more XRUNS. I don't know if other desktop environments do allocate PTY to apps started from .desktop files and by the fact that nobody filed bugs for this issue makes me think that the problem could be related to my system. What do you think? |
Thanks for your detailed report! Other than that, I'm not sure where the root of this issue could be; I'm running KDE too, and I haven't yet noticed any issues related to their .desktop-implementation. I'm only using stdout to print logs, and there shouldn't be any side effects if it isn't attached to a PTY. For now, I'll add some troubleshooting instructions about this to the readme in case other people run into the same problem. |
@kokoko3k |
Hi sorry, it is from the "expect" package. |
I'm still trying, but it looks like it's solved. |
I don't believe it yet, but it seems that the update that was released in the AUR some minutes ago did fix it. Nothing spectacular changed, but as of now (10 minutes after the update) the crackling is gone. This is the whole diff between the new and the old version of the AUR git: git diff bd261f23ed2a3874d7a9e683fa1dbd2702f5ed60 master
diff --git a/.SRCINFO b/.SRCINFO
index e678e95..98d7565 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
pkgbase = jamesdsp
pkgdesc = An audio effect processor for PipeWire clients
pkgver = 2.3
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/Audio4Linux/JDSP4Linux
arch = x86_64
+ arch = aarch64
license = GPL3
makedepends = git
depends = glibmm
diff --git a/PKGBUILD b/PKGBUILD
index f1ccc33..8eebae5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=jamesdsp
pkgver=2.3
-pkgrel=3
+pkgrel=4
pkgdesc="An audio effect processor for PipeWire clients"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://github.com/Audio4Linux/JDSP4Linux"
license=('GPL3')
depends=('glibmm' 'pipewire' 'qt5-svg')
@@ -45,7 +45,12 @@ build() {
cd "$srcdir/JDSP4Linux"
pushd build
- qmake-qt5 ..
+
+ if [ $CARCH == "x86_64" ]; then
+ qmake-qt5 ../JDSP4Linux.pro
+ elif [ $CARCH == "aarch64" ]; then
+ qmake-qt5 ../JDSP4Linux.pro CONFIG+=NO_CRASH_HANDLER
+ fi
make
popd
} |
I'm also having this issue of crackling audio, I use a PulseAudio distro namely Mint, it happens randomly, is a little bit annoying but can't live without this DSP |
I have tried running this DSP without the autostart option from the app itself, but from the Linux Startup apps, and it seems the audio crackling is a lot less prone to happen, or even doesn't happen at all, weird |
This would be coherent with my findings about PTY allocation. |
So probably this bug can be easily fixed by the author, yes is true it rarely happens,or probably it doesn't happen at all, now the sound is great. |
Hi, I had this problem too. |
I don't know if my issue is related to this one or not, but I also have audio crackling, but in my case it always happens when KDE notification popup shows up (with the notification bell) |
that did it for me too, so happy I got it fixed |
Be warned, that those lines prevent underruns by highering the output latency alot. |
I noticed that when i use jamesdsp, i've crackling sound from time to time with pipewire.
I tried to force the quantum even to 512 to no avail and without jamesdsp I can safely go down to 32.
I'm not doing anything special, just playing an mp3 and use an equalizer from jamesdsp.
The crackling appears when firefox is loading a page or maybe when i maximize a window.
I even tried to set jamesdsp to realtime priority.
The text was updated successfully, but these errors were encountered: