Results 1 to 9 of 9

Thread: Sound Confusion, pulse, kmix, alsa, photon?

  1. #1
    Join Date
    Sep 2012
    Location
    Maryland, US
    Posts
    623

    Default Sound Confusion, pulse, kmix, alsa, photon?

    Can someone please help me understand the sound system in openSUSE 12.2 KDE?

    Main questions are this,

    1) which one of these darn mixers is the default is it alsa, pulse, kmix, photon or what?
    2) why is the sound output volume so low on all my Gigabyte motherboard intel soundcard chip?
    3) Really, number 2 is annoying and may drive me insane and to another OS, maybe.
    4) why is it so darn hard to get the sound volume higher on usb speakers like palto alto cubik?
    5) Really, Windows 7 rocks these speakers (see #4) out to at least four times, yes 4x the volume as linux?

    Can some please help me get more listening pleasure out of openSUSU 12.2 KDE 4.9.5.
    Kernel: 4.12.14-lp150.12.7-default x86_64 bits:
    64 Desktop: Gnome 3.26.2
    Distro: openSUSE Leap 15.0

  2. #2
    Join Date
    Mar 2009
    Location
    United States
    Posts
    612

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    Quote Originally Posted by anika200 View Post
    Can someone please help me understand the sound system in openSUSE 12.2 KDE?
    Well I can try to get you started.

    1) which one of these darn mixers is the default is it alsa, pulse, kmix, photon or what?
    Alsa is the low level sound framework for Linux. Pulseaudio is an abstraction on top of alsa that allows features such as software mixing and network audio. Kmix is just a front end for alsa or pulseaudio mixers.

    Phonon is what allows KDE/Qt applications to use multiple backends. Such as gstreamer/vlc. This is useful for other platforms such as Windows/OSX which have different multimedia engines than Linux. KDE can use them all.

    2) why is the sound output volume so low on all my Gigabyte motherboard intel soundcard chip?
    I can think of plenty of reasons but that is all academic without more specific information. Open a terminal such as console and try running this command to play with the mixers:
    Code:
    alsamixer -c0
    3) Really, number 2 is annoying and may drive me insane and to another OS, maybe.
    I don't see how this is relevant.

  3. #3
    Join Date
    Sep 2012
    Location
    Maryland, US
    Posts
    623

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    ahh, thank you. You have clarified things greatly. So I checked out this alsamixer -c0 thing and found it very good and helpful. It was nice to discover F6 and pick the usb speakers and crank them up some more. The usb speakers are still not near the volume as they get under windows but anyway no big deal.

    Question,

    What do the sound leavers in Yast2 controll? I am guessing alsa maybe?
    Kernel: 4.12.14-lp150.12.7-default x86_64 bits:
    64 Desktop: Gnome 3.26.2
    Distro: openSUSE Leap 15.0

  4. #4
    Join Date
    Mar 2009
    Location
    United States
    Posts
    612

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    Quote Originally Posted by anika200 View Post
    ahh, thank you. You have clarified things greatly.
    I am quite happy to help.

    What do the sound leavers in Yast2 controll? I am guessing alsa maybe?
    Exactly. They should correspond to the mixers in alsamixer if I am not mistaken.

  5. #5

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    find your kmixrc file

    find / -name kmixrc

    for me it is in /home/myname/.kde4/share/config/kmixrc

    don't forget the dot "." before .kde4 or .kde because it is a hidden file

    to edit file: sudo vi /home/myname/.kde4/share/config/kmixrc

    press "i" to insert and add this line at the top under [Global]

    VolumeOverdrive=true

    now restart kmix or just restart your computer

    while the onscreen volume still shows 100%, it is actually going to 153%, you should be able to notice that it's louder

    if you need proof you can install pavucontrol with sudo apt-get install pavucontrol (or zypper install for you suse people and that volume slider will show the 153%, but this step isn't needed. Kmix is going to 153% also. I promise ;p

  6. #6
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    to edit file: sudo vi /home/myname/.kde4/share/config/kmixrc
    I seriously doubt you should edit the kmixrc file as root.

    Here are the permissions
    Code:
    ~/.kde4/share/config> ls -l kmixrc
    -rw------- 1 user users 2048 Apr 28  2013 kmixrc
    Note that the file is rw to the owner ONLY, and that will be root after sudo vi.....

    You should be able to make the desired modification as you, the user(and owner).

    This might not be a good time to learn vi/vim, unless you are already proficient.
    It is a simple text file - kwrite or other editors would work for you as well.
    Desk: i7-4790K Leap 15.1(x86_64)4.12.14-lp151.28.7-default KF5 59.0 Plasma 5.14.4 Qt 5.13.0
    Lap: HPDV7T i7 Leap 15.0(x86_64)4.12.14-lp151.28.7-default KF5 59.0 Plasma 5.14.4 Qt 5.13.0

  7. #7
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    You may also find this Wiki Item helpful, although it is somewhat dated.

    Moderator/formum member oldcpu has authored several how-to's on audio setup and debugging over the past few releases.

    If you remain stuck, try an advanced search with topic: Audio and member: oldcpu
    Desk: i7-4790K Leap 15.1(x86_64)4.12.14-lp151.28.7-default KF5 59.0 Plasma 5.14.4 Qt 5.13.0
    Lap: HPDV7T i7 Leap 15.0(x86_64)4.12.14-lp151.28.7-default KF5 59.0 Plasma 5.14.4 Qt 5.13.0

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Sound Confusion, pulse, kmix, alsa, photon?

    Quote Originally Posted by cmcgrath5035 View Post
    You may also find this Wiki Item helpful, although it is somewhat dated.

    Moderator/formum member oldcpu has authored several how-to's on audio setup and debugging over the past few releases.

    If you remain stuck, try an advanced search with topic: Audio and member: oldcpu
    For PulseAudio setup, the default, please look here: PulseAudio and Selecting the Proper Sound Card Configuration - Blogs - openSUSE Forums

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9
    Join Date
    Sep 2012
    Location
    Maryland, US
    Posts
    623

    Default Re: Sound Confusion, pulse, kmix, alsa, photon?

    Hey guys, thanks for all the replies. The thread is almost a year old now though and funnily enough I had completely forgotten about the issue. I guess I got used to the new sound volumes since I do not boot windows anymore.

    Anyway, chuckiv's solution worked fine and now the sound is louder. Of course I did not use root permissions since it was in my home and I did break out vi for old time kicks and giggles.
    Kernel: 4.12.14-lp150.12.7-default x86_64 bits:
    64 Desktop: Gnome 3.26.2
    Distro: openSUSE Leap 15.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •