Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Creative X-Fi Notebook in my laptop. I can't get good headphone (or stereo) output from it. I've tried different distros and they all offer multichannel outputs like 4.1 or 2.1 but no stereo. The sound is not good with these when using headphones. I've tried to configure Alsa and Pulseaudio but can't get stereo output. Is there anything to do?
Sorry but how is that gonna do anything with channel outputs? I have only "Speaker", "PCM capture" and "Line" in the settings. I raised all three and that didnt change anything.
Sorry but how is that gonna do anything with channel outputs? I have only "Speaker", "PCM capture" and "Line" in the settings. I raised all three and that didnt change anything.
So did you run alsamixer as suggested? just because your GUI is showing you three options doesn't mean that's all your computer has available to it.
This reads like a possible PulseAudio configuration issue. The PA control utility 'pavucontrol' has a configuration tab that should allow you to explicitly set an analog stereo profile as required.
If that doesn't help, share the output from the following commands so that others can advise further
Thank you all for the advice. I post here the output you asked. As you can see i have two sound devices, hda intel (which i cant disable from bios) and Creative.
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
; high-priority = yes
; nice-level = -11
; realtime-scheduling = yes
; realtime-priority = 5
; exit-idle-time = 20
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = yes
; lfe-crossover-freq = 120
flat-volumes = no
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000
; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right
; default-fragments = 4
; default-fragment-size-msec = 25
; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0
Pulseaudio can be a bit horrid when it tries to resample the audio in realtime. Especially if it's configured poorly and tries to resample multiple times in realtime. Older versions of pulseaudio only dealt in 48kHz samples. Not that I've seen much in improved behavior from pulseaudio, but I run debian stable which can be a bit dated / old.
Okay, that confirms that the desired analog-stereo channel mapping is not present.
Here's a guide which may be helpful to creating a custom path profile configuration for your hardware. It is not trivial exercise for those of us who are not sound gurus, so some rolling up of the sleeves will be needed...
The guide refers to the '/usr/lib/share/pulseaudio/alsa-mixer/profile-sets' directory, but I found mine located in '/usr/share/pulseaudio/alsa-mixer/profile-sets' (with openSUSE Leap).
Okay, that confirms that the desired analog-stereo channel mapping is not present.
Here's a guide which may be helpful to creating a custom path profile configuration for your hardware. It is not trivial exercise for those of us who are not sound gurus, so some rolling up of the sleeves will be needed...
The guide refers to the '/usr/lib/share/pulseaudio/alsa-mixer/profile-sets' directory, but I found mine located in '/usr/share/pulseaudio/alsa-mixer/profile-sets' (with openSUSE Leap).
Do i need PulseAudio to get stereo or can it be done only with ALSA?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.