Vencord / Vesktop

Vesktop is a custom Discord App aiming to give you better performance and improve linux support
GNU General Public License v3.0
3.61k stars 168 forks source link

Microphone sounds real bad when running on steamdeck #520

Open Quatsz opened 4 months ago

Quatsz commented 4 months ago

The frequency or something is real off with just vesktop.. regular discord / chrome picks up the mic just fine. It's not the internal mic im using but the issue is there with that one too. When I test it, its like the bitrate was just really low. sounded like a mcdonalds happy meal toy. everything else works though! Real happy with being able to stream audio... just cant seem to make my microphone sound like it should on the steamdeck. tried everything i could from my end using settings, not very linux savvy so any help or suggestions i appreciated. the issue persists with both internal mic and using a headphone mic. thanks for reading!

gwstorm commented 4 months ago

I'm wondering if it's more widespread than that. I just started using vesktop and people were telling me that my microphone quality was bad. I rejoined the voice channel in a couple of other clients and they all said those sounded fine. After self testing in the sound settings, the difference is night and day. I'd rather use Vesktop, but the audio quality for input is very noticeably worse.

Curve commented 4 months ago

I don't see how this would happen, microphone audio is not tinkered with (afaik) and other clients also just use electron

gwstorm commented 4 months ago

Agreed. Mine was more of a coincidental observation. Although the version I started with was using Electron29. I just swapped to 30 and it's sorted out... Not sure why. Maybe it was just the reinstall. I'll stop hijacking this post now.

GTcreyon commented 4 months ago

I have this problem too, running on my Linux laptop. People complain about a loud popping or crackling sound.

VelamyGH commented 3 months ago

having this issue too, was able to most likely confirm that theres a lot of compression going on using an audio in source to see what vesktop picks up.

this video shows what vesktop is (most likely) picking up for audio https://github.com/Vencord/Vesktop/assets/45497981/0d5a66d6-a928-482e-9f94-4ac9d0cb4e82
this is the direct audio (specs and software info can be seen in this too if that helps lol) https://github.com/Vencord/Vesktop/assets/45497981/97ebaa12-880b-462d-9444-c297797db8c4

i have none of the noise suppression options turned on in discord settings, the quality is just that bad overall and i havent found a way to fix it. this is the most relevant issue i could find relating to this

Vendicated commented 2 months ago

have had multiple users say that they can't repro, so this seems to be a system issue. this issue will likely go stale since I have no steamdeck, help / further research by someone with one would be appreciated

VelamyGH commented 2 months ago

should mention i came into this meaning to say this seems to be an issue on linux in general, or at the very least arch and not just steamOS

Curve commented 2 months ago

issue on linux in general, or at the very least arch and not just steamOS

I'm also running arch, as are multiple people I know and I know of noone that's experiencing a similar issue.

Maybe this issue is related to the specific microphone / drivers used? It may be helpful to provide output of pw-dump, that could give us a lot of insights into the device used, as well as the audio settings used for it.

VelamyGH commented 2 months ago

It may be helpful to provide output of pw-dump

getting the entire output of this gives way too many lines for my terminal, cant seem to locate or find a way to see the entire output. is there any specific info i should gather? or any way to get the entire JSON it outputs

Covkie commented 2 months ago

@VelamyGH run pw-dump > log.txt then provide the log.txt file

VelamyGH commented 2 months ago

@VelamyGH run pw-dump > log.txt then provide the log.txt file

thank you :) log.txt

Patpatolino commented 2 months ago

Same problem for me, "official" discord application microphone input is totally fine. Vesktop or other forks is the audio input quality kinda.. "muffled".

log.txt

VelamyGH commented 2 months ago

small update to this, but i did a fresh install of endeavourOS on my laptop (separate hardware from my original post), and i still have the same mic issues persist. here is the pw-dump log from a fresh install with no tweaking done to vesktop or pipewire log.txt

DerCommander323 commented 1 month ago

I daily drive the Steam Deck Oled docked, and I believe I also had this issue when electron29 was introduced to vesktop. I edited the launch script to use electron28, which seemed to resolve it. Now on electron31 I havent heard any of my friends complain yet either.

SOLDATO2 commented 1 month ago

Same problem for me, "official" discord application microphone input is totally fine. Vesktop or other forks is the audio input quality kinda.. "muffled".

log.txt

I can also confirm I have this exact issue, I'm on manjaro. My voice sounds fine on Discord's official client but overall I've noticed a considerable loss in quality in Vencord.

My voice sounds muffled whenever I have krisp/standard noise suppression enabled.

Also, even with nois sup disabled, I've noticed there's still some sort of loss in quality, it just sounds less "clean" as if there's still some "trash" present (echoes, static, etc...).

VelamyGH commented 1 month ago

I daily drive the Steam Deck Oled docked, and I believe I also had this issue when electron29 was introduced to vesktop. I edited the launch script to use electron28, which seemed to resolve it. Now on electron31 I havent heard any of my friends complain yet either.

would like to test this too, how exactly did you edit the launch script to do this?