Idiot can't find alsamixer in MGA2?

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

Idiot can't find alsamixer in MGA2?

Postby jaywalker » Jan 14th, '12, 19:05

For those unfamiliar with alsamixer, and to quote from Wikipedia;
alsamixer is a graphical mixer program for the Advanced Linux Sound Architecture (ALSA). It is used to configure sound settings and to adjust the volume. It has an ncurses user interface and does not require the X Window System. It supports multiple sound cards with multiple devices.

I started to have problems with the configuration of my soundcard after getting a kernel upgrade to 3.2.0-desktop-1.mga2.

My first thought was to see what alsamixer could tell me about its view of the hardware. I was working on one of the vts at the time so I issued a quick "urpmi alsamixer" and was somewhat stunned to be offered a huge list of dependencies which, by a common element in the name, seemed to belong to an old development version of Windows which never saw the light of day. At least, that was what I first thought of when I saw the name "cairo" - I had confused it with "chicago" :-)

Anyway, I have now re-installed Alpha2 (because of the secret "/usr on a separate partition" problem with systemd) and updated to 3 (and beyond) and I still have the same problem with sound, but now with a working desktop and software manager I can see that the alsamixer package has disappeared. Please please please can we have it back again? If there is a reason for leaving it out then can we at least have an alternative ncurses based mixer which we can use from the console?

Richard
Last edited by jaywalker on Jan 14th, '12, 23:21, edited 1 time in total.
jaywalker
 
Posts: 341
Joined: Nov 17th, '11, 02:38
Location: Belfast, Northern Ireland

Re: Will Alsamixer be packaged for MGA2?

Postby doktor5000 » Jan 14th, '12, 20:57

Normally you shouldn't need alsamixer at all any more, would you mind to provide the causes which make you need to use it?

FWIW, alsamixer is contained in the package alsa-utils.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Will Alsamixer be packaged for MGA2?

Postby jaywalker » Jan 14th, '12, 23:18

FWIW, alsamixer is contained in the package alsa-utils.

That's where I made my first mistake. I stupidly assumed, during the first or fifth boot after install, that it wouldn't yet be present. My second mistake was in not knowing it wasn't in its own named package. I had no particular reason to expect any applications to be present, beyond those I had explicitly selected in the minimal install which I had chosen.
I am aware that not all packages which will be installed are presented for selection in the installer's package selector. I did think that the console version of alsamixer had its own package, and also the gui version. I "normally" don't load these until I have everything else tidied up and working properly. I was (and am still) trying to iron out a few wrinkles with MGA2 so I didn't even pause to try the command. I just assumed it wasn't there and tried to install it.
doktor5000 wrote:Normally you shouldn't need alsamixer at all any more,

Hmm. I'd love to live in _that_ world. Or would I? When I need a console sound mixer I know I can always fall back on amixer, but honestly, would you not prefer to adjust virtual sliders with key presses? Did you have an equivalent alternative in mind?
would you mind to provide the causes which make you need to use it?

That's easy, but to be a complete response I would need a lot more space and time than we have available here. I use alsamixer to help me find causes when I have some difficulty with sound which has no obvious solution. Over the years it has become a treasured component of my toolbox when I am called in to sort out sound issues on a wide variety of hardware platforms and generations of Mandriva/Mageia.
It has become increasingly useful in recent years as various new desktop paradigms have led to more and more ways for the sound to "go wrong". In particular, in an unfamiliar environment, I use it to provide a guaranteed true picture of what the system thinks the sound card looks like. That is how I used it on OLPC and Jolibook machines.
In the particular case which I encountered on Thursday night/Friday morning I was trying to find out why I could get no sound from a fresh Apha-2-install + Alpha-3-updates. In the end I was able to get the desktop stable enough to allow me to install QasMixer, which is as close to an ideal diagnostic mixer as I have yet found for the desktop, and discover that my soundcard is not being correctly initialised. Specifically I found that the snd-hda-intel module is no longer taking the "model=xxxx" option which my motherboard sound card needs.


Richard
jaywalker
 
Posts: 341
Joined: Nov 17th, '11, 02:38
Location: Belfast, Northern Ireland

Re: Will Alsamixer be packaged for MGA2?

Postby doktor5000 » Jan 15th, '12, 13:54

jaywalker wrote:
doktor5000 wrote:Normally you shouldn't need alsamixer at all any more,

Hmm. I'd love to live in _that_ world. Or would I? When I need a console sound mixer I know I can always fall back on amixer, but honestly, would you not prefer to adjust virtual sliders with key presses? Did you have an equivalent alternative in mind?


That mention about alsamixer not being needed was meant in the first place for Mageia, which has one of the best pulseaudio implementations so far.
In that case you'd normally use either pavucontrol directly or the mixer of your desktop environment. Alsamixer or maybe aumix should only be really rarely needed,
most times people do this when they workaround some problem, which should be reported and fixed, not workarounded, in my opinion.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Idiot can't find alsamixer in MGA2?

Postby nccpgmr9 » Jan 15th, '12, 14:40

doktor , i use alsamixer to turn the volume down on the front mic to stop the hissing i get with the realtek drivers, its set to high by default
i have to do this every time i reboot because alsa doesnt save the settings. i'm not the only one haveing this problem, i found out about it doing a google search
to find a solution for the hissing. it seems its a common problem with those drivers i had the problem while on mandriva also so its not a Mageia problem
msi 785gtm-e45 motherboard,64bit AMD 960t Quad core (overclocked to 3.6),AMD® 785G and SB710 Chipset,ATI ‎RS880 [Radeon HD 4200] video,4gb ram
Realtek® High-End Audio chipset- Compliant with Azalia,Realtek PCI-E GbLAN controller 8111C
nccpgmr9
 
Posts: 62
Joined: Sep 16th, '11, 14:40
Location: Southbury,ct

Re: Will Alsamixer be packaged for MGA2?

Postby jaywalker » Jan 15th, '12, 15:31

doktor5000 wrote:That mention about alsamixer not being needed was meant in the first place for Mageia, which has one of the best pulseaudio implementations so far.

I understand, but in the context of this section of the forum, which is discussing the newly discovered characteristics of a new iteration of the distribution which is still under development, then I think can all take it as read that we are not dealing with a "normal" case. There are many many links in the chain between the hardware of the sound card and the output of sound from the speakers. pulseaudio is, almost by definition, the last link in that chain.
most times people do this when they workaround some problem, which should be reported and fixed, not workarounded, in my opinion.

Fair comment, and one which I would likely make myself. I should, perhaps, apologise for waiting until Alpha 3 before trying out the MGA2 candidate, but I was prompted to give it an early go because I could not quickly get a job done in MGA1 due to lack of a particular library which Google told me would be coming in MGA2. Instead I have been, since Thursday, working through the inevitable wrinkles of a new developing distribution which is giving me great pleasure and buoyant enthusiasm for the future of Mageia.

I confess I do have a problem with the sound on the one PC which I have tried out with Alpha 3. When I can properly define the problem I will certainly report anything which might be a bug. In the meantime I am applying a well-tried and useful troubleshooting methodology which starts by examining each element of a process chain to see where the problem first appears. This is where alsamixer and the log files and proc or sys entries are particularly useful.

I follow this with however much reading is necessary to understand the possible causes of the problem, starting with logs and man pages and perhaps ending up with some Google research. At some point I may also post to a forum such as this one to get help with any emerging difficulties.

Eventually I will know enough about what has gone wrong to be able to report the bug. So far I have determined that it is not an issue with the 3.1.4-desktop-2 kernel but it does appear when booting the current Alpha 3 kernel which is 3.2.0-desktop-1.
I see nothing in the Mageia changelog for the kernel which would suggest the problem lies there, but I haven't yet researched the issue on kernel.org.
According to the Alsa site there is no change to the current stable release (1.24) which appears to be the one used in the Mageia alsa packages and is likely the version used in the kernel for the modules, but I cannot yet confirm that.
I have picked up some scattered discussion (Ubuntu, Mandriva and perhaps others) about the slow migration to the standard representation of module loading configuration in /etc/modprobe.d, but I don't know yet if that is definitely linked to my issue.
There is also the new systemd system which I thought may have played a part, but this is very new to me and I have an awful lot more research to do before I can understand it well enough to assess how it might be affecting module loading. I have tried booting without the "init=/bin/systemd" instruction but there was no easily apparent change; it was late on Thursday night and I had other issues which seemed to be complicated by using the SysV init system. but now that I have that sorted I may try it again later today.

I hope you will now understand my panic when I thought that a disappearing alsamixer might also be part of the onward progress of Mageia rather than the evidence of my own misremembering and heightened frustration in the face of "yet another stupid problem" which you will, with the passing of years, come to recognise as the symptoms of approaching senility :-)

Richard
jaywalker
 
Posts: 341
Joined: Nov 17th, '11, 02:38
Location: Belfast, Northern Ireland

Re: Will Alsamixer be packaged for MGA2?

Postby doktor5000 » Jan 15th, '12, 18:08

jaywalker wrote:There are many many links in the chain between the hardware of the sound card and the output of sound from the speakers. pulseaudio is, almost by definition, the last link in that chain.

Well, to simplify it, there's the kernel/alsa drivers, and pulseaudio on top. So if you change settings at the alsa level, you're overriding pulseaudio, which should take that role. Have you reported the problem with the sound hissing or that you need to turn down some volume levels after each reboot? That's what i said, you shouldn't workaround it, but it should be reported and fixed, hence there will be no need for alsamixer.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Idiot can't find alsamixer in MGA2?

Postby jaywalker » Jan 15th, '12, 18:17

Oops, looks like you replied to nccpgmr9 there. I have been doing some more investigating and I think I am ready to start a new thread to see if I can get some help in identifying the cause of my issue with the kernel change and the effect on the initialisation of the snd-hda-intel module.

I reckon a new thread is advisable as we seem to have slipped into a discussion of pulse-v-raw alsa which was never my intention.

Richard
jaywalker
 
Posts: 341
Joined: Nov 17th, '11, 02:38
Location: Belfast, Northern Ireland

Re: Idiot can't find alsamixer in MGA2?

Postby isadora » Jan 15th, '12, 18:23

Jaywalker, i guess it is a good plan indeed opening a new thread.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Will Alsamixer be packaged for MGA2?

Postby jaywalker » Jan 15th, '12, 18:24

doktor5000 wrote:Normally you shouldn't need alsamixer at all any more


I almost forgot to ask. Is there a console mixer for pulse I could have used instead? It would have made the initial investigation a lot easier if I could have started with that.

Richard
jaywalker
 
Posts: 341
Joined: Nov 17th, '11, 02:38
Location: Belfast, Northern Ireland

Re: Will Alsamixer be packaged for MGA2?

Postby nccpgmr9 » Jan 15th, '12, 18:31

doktor5000 wrote:Have you reported the problem with the sound hissing or that you need to turn down some volume levels after each reboot? That's what i said, you shouldn't workaround it, but it should be reported and fixed, hence there will be no need for alsamixer.





Yes it has been reported to many linux distributions, and alsa and realtek this problem has been around since 2004 that i know of
msi 785gtm-e45 motherboard,64bit AMD 960t Quad core (overclocked to 3.6),AMD® 785G and SB710 Chipset,ATI ‎RS880 [Radeon HD 4200] video,4gb ram
Realtek® High-End Audio chipset- Compliant with Azalia,Realtek PCI-E GbLAN controller 8111C
nccpgmr9
 
Posts: 62
Joined: Sep 16th, '11, 14:40
Location: Southbury,ct

Re: Idiot can't find alsamixer in MGA2?

Postby doktor5000 » Jan 15th, '12, 18:35

jaywalker wrote:I have been doing some more investigating and I think I am ready to start a new thread to see if I can get some help in identifying the cause of my issue with the kernel change and the effect on the initialisation of the snd-hda-intel module.

I reckon a new thread is advisable as we seem to have slipped into a discussion of pulse-v-raw alsa which was never my intention.


IMHO it would be more efficient if you would com on IRC to #mageia-dev at irc://irc.freenode.net/#mageia-dev and sort this out with Colin Guthrie (his IRC nick is coling) because he's our pulseaudio maintainer and sound guru and then just document the problem and your solution to it in a forum thread afterwards. A forum thread might not get the needed attention/exposure and it would be rather time-consuming.
Same goes for nccpgmr9.

@nccpgmr9: Mind to share any links to such bugreports?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Idiot can't find alsamixer in MGA2?

Postby nccpgmr9 » Jan 15th, '12, 19:31

doktor5000 wrote:
@nccpgmr9: Mind to share any links to such bugreports?



this is the one that i found about a year ago with the workaround in it

its from dec 2008 -> http://lists.mandriva.com/bugs/2008-12/msg02606.php

and google this- > "hissing bug snd_hda_intel" and you'll come up with pages of hissing bugs for alsa
msi 785gtm-e45 motherboard,64bit AMD 960t Quad core (overclocked to 3.6),AMD® 785G and SB710 Chipset,ATI ‎RS880 [Radeon HD 4200] video,4gb ram
Realtek® High-End Audio chipset- Compliant with Azalia,Realtek PCI-E GbLAN controller 8111C
nccpgmr9
 
Posts: 62
Joined: Sep 16th, '11, 14:40
Location: Southbury,ct

Re: Idiot can't find alsamixer in MGA2?

Postby m123456 » Jan 15th, '12, 21:06

User avatar
m123456
 
Posts: 28
Joined: May 20th, '11, 15:22
Location: Poland


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest