Page 34 of 43 FirstFirst ... 243233343536 ... LastLast
Results 331 to 340 of 428

Thread: Hardy 8.04 & OSS4 (Alternative to ALSA)

  1. #331
    Join Date
    Jun 2007
    Beans
    11,070

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Reverting to ALSA
    If, for some reason, you want to go back to ALSA, here is the procedure: (I tested this myself on my test system)
    Code:
    sudo soundoff
    sudo dpkg -r oss-linux
    sudo dpkg-reconfigure linux-sound-base
    sudo apt-get -y install libesd-alsa0 alsa-oss alsa-base libsdl1.2debian-alsa
    gksudo gedit /etc/modprobe.d/blacklist
    The preceding command opens your blacklist file in the text editor. Delete all the lines from "blacklist snd-seq" down to the end of the file (make sure the last line in the file refers to a snd module and was not added by another program).
    Restart the PC.
    Now, re-install ALSA kernel modules with this script: http://ubuntuforums.org/showthread.php?t=820959
    Go to System -> Preferences -> Sounds and select Autodetect or ALSA
    Any applications that you configured for OSS should be changed back to ALSA, although they should work with the alsa-oss wrapper.

    Optionally, you can setup and configure PulseAudio. I have no experience with this, but I have seen guides for it (use search). If you do, remember to install the Pulse-compatible libflashsupport package:
    Code:
    sudo apt-get install libflashsupport
    Last edited by Temüjin; October 1st, 2008 at 01:55 PM. Reason: fix typos, add libsdl1.2debian-alsa

  2. #332
    Join Date
    Jul 2008
    Location
    North Carolina
    Beans
    478
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Ok, a few questions:

    1. My sound doesn't go into the headphones when they're plugged in. It just plays out of the computer. Any way to fix that? Before, when I was using ALSA, it only went through the headphones and not the computer

    2. How do I get it to work via the volume control?
    Last edited by itsjareds; August 11th, 2008 at 10:38 AM.
    Good judgment comes from experience, and often experience comes from bad judgment.

  3. #333
    Join Date
    Oct 2006
    Location
    Second star to the right
    Beans
    607
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Are they actually coming through your headphones, or just not muting your speakers?

    OSS doesn't have jack sensitivity. To get around this, I wrote a few simple scripts to toggle/mute/unmute the internal speakers, and used xbindkeys to create shortcuts.

    Code:
    #! /bin/bash
    
    if [[ $(ossmix -c | head -n 2 | grep ON) == '' ]]
    then ossmix jack.int-speaker.mute ON
    else ossmix jack.int-speaker.mute OFF
    fi
    This may not work for you. It depends on the fact that my internal speakers occupy the first two lines of output. May be useful to you, though.

    For the volume control, did you follow the instructions in the first addendum? I had to reboot to get it all working.
    Last edited by coolen; August 11th, 2008 at 11:49 AM.
    I don't really mind, and it's starting to get to me.

  4. #334
    Join Date
    Jul 2006
    Beans
    112
    Distro
    Gutsy Gibbon Testing

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Temüjin,

    I am following your guide step by step in preparation to replace ALSA with OSS. I notice that Ubuntu uses a modular blacklist system with OSS currently blacklisted in /etc/modprobe.d/blacklist-oss so you should probably update your guide to say something like the following.

    Code:
    sudo rm /etc/modprobe.d/blacklist-oss
    sudo ln -s /lib/linux-sound-base/noALSA.modprobe.conf /etc/modprobe.d/blacklist-alsa
    This would make reverting easier.

  5. #335
    Join Date
    Jul 2006
    Beans
    112
    Distro
    Gutsy Gibbon Testing

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    HOLY MOLY

    I was getting extremely tired of the hissing noise coming out of my speakers in Ubuntu Hardy with that garbage that comes installed by default. I now have OSS4 installed and I'm listening to some music in Rhythmbox and I cannot believe the difference. I'm not really an audiophile but the difference is incredible. When there's no sound playing my speakers are silent and when music is playing the quality is amazing.

    I still have some things to resolve apparently (volume controls) but it'll be worth it. I was ready to face complete silence rather than continue suffering from the hissing noise.

  6. #336
    Join Date
    Jun 2007
    Beans
    11,070

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Quote Originally Posted by beerfan View Post
    Temüjin,

    I am following your guide step by step in preparation to replace ALSA with OSS. I notice that Ubuntu uses a modular blacklist system with OSS currently blacklisted in /etc/modprobe.d/blacklist-oss so you should probably update your guide to say something like the following.

    Code:
    sudo rm /etc/modprobe.d/blacklist-oss
    sudo ln -s /lib/linux-sound-base/noALSA.modprobe.conf /etc/modprobe.d/blacklist-alsa
    This would make reverting easier.
    This is part of what dpkg-reconfigure linux-sound-base does.
    Last edited by Temüjin; August 11th, 2008 at 02:34 PM.

  7. #337
    Join Date
    Jul 2006
    Beans
    112
    Distro
    Gutsy Gibbon Testing

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    [Edit: False alarm. After rebooting I now have a mixer]

    My issues to resolve are bigger than I thought.

    I have sound in Rhythmbox and VLC. However, I have no mixer device.

    sudo ossdetect -v
    Detected Nvidia High Definition Audio (MCP55)
    Detected Generic USB audio device (BETA)

    ossinfo
    No /dev/mixer device available in your system.
    Perhaps Open Sound System is not installed or running.

    The first time I installed the deb it complained that some drivers could not be removed and suggested rebooting. I did that and the installation proceeded but seemed to not install correctly due to mpd running and being able to unload ESD or something. Even so, sound was working in those apps.

    Since then I have manually uninstalled oss-linux-4.0 and reinstalled. It reported no errors after installing this time. However, I still have no mixer device.
    Last edited by beerfan; August 11th, 2008 at 03:36 PM. Reason: false issue

  8. #338
    Join Date
    Jul 2006
    Beans
    112
    Distro
    Gutsy Gibbon Testing

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    I can't imagine going back to ALSA now that I've heard the difference in the OSS4 drivers. I've created an entry on Ubuntu Brainstorm to promote supporting OSS4 in Intrepid.

    http://brainstorm.ubuntu.com/idea/12127/

    Go hit it if you care. I don't know if that Brainstorm actually works but I guess it can't hurt.

  9. #339
    Join Date
    Jun 2007
    Location
    Moscow Russia
    Beans
    15
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    kde 4.1 mini-howto:

    Execute in terminal:
    Code:
    mv /usr/lib/oss/lib/libsalsa.so.2.0.0 /usr/lib/oss/lib/libsalsa.so.2.0.0.bak
    ldconfig
    Install latest gstreamer and plugins from ubuntu ppa:
    deb http://ppa.launchpad.net/gstreamer-team/ubuntu hardy main
    Also uninstall gstreamer-alsa (for sure)

    Move gstreamer to the first place in phonon-backends list in "Sound" section of "System Settings".

    And sound is magically working now! Volume control at application level too.
    Tested with juk-kde4 and dragon player.

    Some issues still remain:
    Sound configs can be changed only via ossxmix or ossmix.
    qtconfig says that there is no gstreamer phonon-backend at all - but it could be only (k)ubuntu trouble.
    Last edited by SeaJey; August 14th, 2008 at 09:10 PM.

  10. #340
    Join Date
    Jun 2007
    Beans
    11,070

    Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

    Hey SeaJey, is kmix working for you?

Page 34 of 43 FirstFirst ... 243233343536 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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