Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423273 - >sys-kernel/gentoo-sources-3.0.6 makes sound volume too low (ALSA)
Summary: >sys-kernel/gentoo-sources-3.0.6 makes sound volume too low (ALSA)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-24 07:21 UTC by Gidea Liviu-Adrian
Modified: 2012-08-27 14:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info.txt,4.54 KB, text/plain)
2012-06-24 07:24 UTC, Gidea Liviu-Adrian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gidea Liviu-Adrian 2012-06-24 07:21:50 UTC
Upgrading gentoo-sources from 3.0.6 to newer and stable versions leads to very-very low sound volume. The laptop is a Fujitsu-Siemens Amilo La1703.
Card: HDA VIA VT82XX
Chipset: VIA VT1708

#cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.

#cat /proc/asound/cards
0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
HDA VIA VT82xx at 0xd9000000 irq 17

#cat /proc/asound/devices
1: : sequencer
2: [ 0- 6]: digital audio playback
3: [ 0- 6]: digital audio capture
4: [ 0- 0]: digital audio playback
5: [ 0- 0]: digital audio capture
6: [ 0- 1]: hardware dependent
7: [ 0- 0]: hardware dependent
8: [ 0] : control
33: : timer

#cat /proc/asound/pcm
00-00: VT1708 Analog : VT1708 Analog : playback 1 : capture 2
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1

With alsamixer I've noticed:
For gentoo-sources-3.0.6 I have "master front" db gain 14.00(maximum value). This is the kernel in use with acceptable sound volume.
For newer gentoo-sources shows "master" db gain 6.75(maximum value)

Maybe the above change of value is the reason why the sound is almost unnoticeable.
Comment 1 Gidea Liviu-Adrian 2012-06-24 07:24:08 UTC
Created attachment 316123 [details]
emerge --info

emerge --info
Comment 2 Gidea Liviu-Adrian 2012-06-24 07:26:00 UTC
Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Mobile_AMD_Sempron-tm-_Processor_3500+-with-gentoo-2.1
Timestamp of tree: Sun, 24 Jun 2012 06:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo kormoc
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.romnet.org/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kormoc"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth bzip2 cdr cli cracklib crypt cups cxx dri dvd dvdr fortran gdbm gif gpm iconv ipv6 jpeg jpeg2k mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pcre png ppds pppd readline rtc session sse sse2 ssl tcpd tiff truetype unicode usb vorbis wmf x264 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse wacom synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="via fbdev vesa vga openchrome" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Mike Pagano gentoo-dev 2012-06-28 12:24:44 UTC
Is this the latest version you have tested? Can you please test 3.4.4 and then 3.5_rcX and tell me if anything is different?
Comment 4 Pun 2012-06-29 08:01:35 UTC
I've hit the same issue with the 3.3.8 kernel and Realtek ALC889A codec.
Comment 5 Gidea Liviu-Adrian 2012-06-30 22:31:52 UTC
(In reply to comment #3)
> Is this the latest version you have tested? Can you please test 3.4.4 and
> then 3.5_rcX and tell me if anything is different?

I've installed and tested many gentoo-sources versions because I've hoped somebody else will fill a bug report. :) However that doesn't mean 3.0.6 is the last good working kernel version for this hardware because I didn't had the time to install one or two stable versions imediately after 3.0.6.

Using gentoo-sources 3.4.4 I still have the same problem.
Alsamixer shows "Master [dB gain: 6.75]" and "PCM [dB gain: 14.00, 14.00]" for the maximum values.

I also mention that I verify the sound volume using headphones. The notebook has only one small speaker, which I don't use for obvious reasons.

I'll post the status for >=3.5_rc4 as soon as possible.
Comment 6 tman 2012-07-01 07:03:09 UTC
i have same problem:

this is my system: 
##################



Portage 2.2.0_alpha114_p1 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sun, 01 Jul 2012 06:30:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mpd science scarabeus luman nikai emacs java-overlay Techwolf mgorny wirelay qt poly-c gnome wine-diablo3 gamerlay-stable lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf 
/etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"


it also happens that i only hear one stream. paralell using two sound programm
is not possible. i dont hear the second programm's sound
Comment 7 Mike Pagano gentoo-dev 2012-07-01 19:06:04 UTC
Out of curiosity, have you tried listening through headphones? I would like to know if you have volume issue there, also.



When you run alsa mixer, do you see  VIA DXS and VIA DXS 1-3?
Comment 8 Gidea Liviu-Adrian 2012-07-01 20:32:10 UTC
Linux kernel 3.5-rc5 makes no difference. I have the same low sound output.
Looking in my /lib/modules folder I see the latest entries were:
3.0.6-gentoo, 3.2.1-gentoo-r2, 3.2.12-gentoo, 3.3.8-gentoo, 3.4.4-gentoo and 3.5.0-rc5. Looks like the problem appeared between 3.0.6 and 3.2.1.

With 3.5-rc5 alsamixer shows "Master [dB gain: 6.75]" and "PCM [dB gain: 14.00, 14.00]" for the maximum values, same as with the other non-working kernels.
Until now the only visual differences between 3.0.6 and the rest(values when vertical sliders are at 100):
1)3.0.6 has "master front" dB gain: 14.00 vs. "Master [dB gain: 6.75]" for other versions;
2)3.0.6 has "PCM" dB gain: 0.00 vs. "PCM" dB gain: 14.00 for others.

"Front" and "Headphones" dB gains are 0.00 at maximum values for all kernels(including 3.0.6), so I don't understand why newer kernels need a different than zero value for "PCM".
Comment 9 Mike Pagano gentoo-dev 2012-07-01 22:29:06 UTC
ok, thanks for testing. Can you please take this upstream to https://bugtrack.alsa-project.org/alsa-bug/my_view_page.php
Comment 10 Gidea Liviu-Adrian 2012-07-04 06:03:55 UTC
I give up. For two days I've been trying to create an account for alsa. I am unable to receive that confirmation mail at
https://bugtrack.alsa-project.org/alsa-bug/signup_page.php

If you're also unable to create a new account to ALSA's bugtracking system then I guess somebody will have to fill not one but two bug reports. :)
Comment 11 Gidea Liviu-Adrian 2012-08-24 13:06:47 UTC
Hmmm. I've just installed gentoo-sources-3.5.2(the newest one at this time) and I'm having the same problem. I see the status of the bug has been changed to RESOLVED UPSTREAM.
Can you post which packages, future or already existing in portage, will have to be installed in order to make this hardware usable, or at least the upstream link of the filled bug report?
Comment 12 Mike Pagano gentoo-dev 2012-08-24 18:08:29 UTC
Can you please take this upstream to https://bugtrack.alsa-project.org/alsa-bug/my_view_page.php
Comment 13 Gidea Liviu-Adrian 2012-08-27 13:36:38 UTC
As I said before. None of the following links work at this time:
https://bugtrack.alsa-project.org/alsa-bug
https://bugtrack.alsa-project.org/alsa-bug/my_view_page.php
https://bugtrack.alsa-project.org/alsa-bug/signup_page.php

I understand that the problem should be fixed upstream, but I disagree with marking the bug resolved, because it's not.
Until alsa doesn't fix their bug tracking system I can't fill any bug reports there. I'm pretty sure you can't do that at this moment either.

PS. http://forums.gentoo.org/viewtopic-p-7124056.html#7124056
Comment 14 Mike Pagano gentoo-dev 2012-08-27 14:22:06 UTC
I can't fix your issue with alsa upstream. Nor can I help you any longer.