Soundquality

31 views
Skip to first unread message

Myros

unread,
Dec 16, 2019, 4:33:31 PM12/16/19
to qubes-users
Hello,

I'm a relatively new user and not very fit at this.
Windows and Ubuntu i had before could handle the sound very good, but since i installed Qubes it sounds like a metal bin.

Any suggestions what i can do?

Greez Myros

Claudia

unread,
Dec 16, 2019, 5:54:19 PM12/16/19
to Myros, qubes-users
Myros:
What soundcard do you have? And what driver is it using?

Open a dom0 terminal and run 'lspci -k'. Also run 'aplay -l'.

There are some settings you can tweak in alsa generally, with regardless
of driver/hardware. For example, run 'alsamixer' in dom0 terminal, and
make sure "gain" is zero. Other settings are specific to your exact
hardware or driver. For example, if your driver is snd_hda_intel,
setting the model= parameter or enable_msi=0 can sometimes help.

Does it sound okay in a Fedora 25 live CD?

If this is a new-ish machine, upgrading the kernel might help.
https://www.qubes-os.org/doc/software-update-dom0/#kernel-upgrade

Here are some links that might be helpful.
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting#Audio_Quality
https://help.ubuntu.com/community/HdaIntelSoundHowto#Choosing_Your_Model
https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html
https://wiki.parabola.nu/Advanced_Linux_Sound_Architecture#Unmuting_the_channels
https://wiki.parabola.nu/Advanced_Linux_Sound_Architecture#High_quality_resampling
https://wiki.parabola.nu/Advanced_Linux_Sound_Architecture#Poor_sound_quality_or_clipping

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to ab...@vfemail.net

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!

Myros

unread,
Dec 17, 2019, 2:51:05 PM12/17/19
to qubes-users
Hi Claudia, thanks for your response

aplay -l responds this:
card 0: PCH HDA INTEL PCH device 0 ALC255 analog

the other command does work, but i dont know how to export those from dom 0 and its like 2 pages long, i hope it works without these infos.

gain was already 0

where do i set these model= ?

I will look into kernel upgrades.

Greez Myros

Claudia

unread,
Dec 18, 2019, 2:11:42 PM12/18/19
to qubes...@googlegroups.com
Myros:
> Hi Claudia, thanks for your response
>
> aplay -l responds this:
> card 0: PCH HDA INTEL PCH device 0 ALC255 analog
>
> the other command does work, but i dont know how to export those from dom 0
> and its like 2 pages long, i hope it works without these infos.

If you just want to copy a few lines, select text with the mouse, right
click, and choose "copy" (don't use Ctrl-C in terminal), then press
Ctrl-Shift-C, switch your browser/email in another VM, and then
Ctrl-Shift-V.

For the whole file, run `lspci -k > ~/lspci.txt` then `qvm-copy-to-vm
anon-whonix ~/lspci.txt` (replace anon-whonix with the name of the VM
you want to copy to). Then it will appear in that VM under
/home/user/QubesIncoming/dom0.

> gain was already 0
>
> where do i set these model= ?
>
> I will look into kernel upgrades.

That's what I would try first because it's simple to do.
`qubes-dom0-update kernel-latest` should be fine. Although, I don't
think your card is very new, so a kernel upgrade may not fix anything.

> Greez Myros
>

Also, try modifying your alsa configuration as described here:
https://askubuntu.com/questions/1108825/laptops-speakers-sound-bad-poor-sound-quality


For specifying a model:

`sudo nano /etc/modprobe.d/alsa-base.conf`

add a line "options snd_hda_intel " followed by the parameters you want.
Save and reboot.

For example,
options snd_hda_intel enable_msi=0 model=dell-spk-noise power_save=0
power_save_controller=N

Here is a list of models. Look under the section for your card,
"ALC22x", and see if any of them sound like your machine. There may be
more than one and it will take some trial and error.
https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html#alc22x-23x-25x-269-27x-28x-29x-and-vendor-specific-alc3xxx-models

Note you can also try the special parameter "model=generic", which can
fix a wide range of different problems.

Tip: go into the qubes manager -> VM settings, and make sure "start VM
at boot" is unchecked for all VMs. This will make rebooting much faster.

See also
https://www.kernel.org/doc/html/latest/sound/hd-audio/index.html
https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html
https://www.alsa-project.org/wiki/Help_To_Debug_Intel_HDA#.27model.27_parameter
Reply all
Reply to author
Forward
0 new messages