Sound Problem with Fuse under Fedora9

edited August 2008 in Emulators
Hi all,

Wonder if anyone can help me out with this. I've installed Fuse 0.9.0 under Fedora 9 using yum and I'm having some problems with the sound. Whenever I start up Fuse I get a constant clicking, crackling noise ... I'm *guessing* this is something to do with the sound system on my linux installation (which I believe is Pulseaudio) but I know nothing about such things, so wouldn't know where to start tweaking settings.

I wonder if there is some command line option I can try with fuse to eliminate this crackling sound. My sound card is:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)

I should add that sound is currently working fine for all other applications.

cheers,
ian

PS I noticed that the Fedora RPM package doesn't come with the ROMs - I take it that's because they're not covered by the GPL, and can't be distributed officially by the Fedora project?
Post edited by keypunch on

Comments

  • edited August 2008
    I had the same problem with Mandriva on my Eee 701. I suspect you are out of luck getting it fixed though, even disabling pulse audio didn't solve the crackling problem.
  • edited August 2008
    keypunch wrote: »
    Hi all,

    Wonder if anyone can help me out with this. I've installed Fuse 0.9.0 under Fedora 9 using yum and I'm having some problems with the sound. Whenever I start up Fuse I get a constant clicking, crackling noise ...

    I have had exactly the same problem on some systems.

    I found that esd (The enlightenment sound daemon) was somehow interfering with the first sound device on my system, or it could have been something else. I'm not entirely sure what was the root cause of the problem.

    Some sound-using apps on the system worked perfectly and some did not.

    FUSE uses the device called /dev/dsp by default.

    On my system, /dev/dsp was symbolically linked to something like

    /dev/audio/snd0

    (this is from memory and not exactly right)

    But luckily I found that also there was a second device available on the system called something like

    /dev/audio/snd1

    I changed the link so that /dev/dsp pointed to /dev/audio/snd1

    That totally cured the crackling sound in FUSE in that particular case.

    (Just do "ls -l /dev/dsp" to see what the device is really pointing to on your system, and check for additional devices available in the same location as that device).

    I later learnt that I could instead simply specify the path to the second sound device on the FUSE command line, and furthermore permanently save this setting out using FUSE's save option, so there was in fact no need for me to change the link.

    Of course the above fix only works on systems where your sound driver provides two or more
    logical devices and it is esd or some other program that is using the first one, getting in the way of FUSE.

    Failing that, you could try stopping the esd service (if it is running) to see if it is the cause of the problem in your case.

    Re the ROMs:
    Yes, as aowen told me the other day that Fedora has a policy of not distributing any binaries that are not open source.
  • edited August 2008
    Thanks for the tips Prawn! Unfortunately, my /dev/dsp isn't a symbolic link to anything, and I can't see any other obvious devices.... so I think I shall just have to go for the 'mute' option at the moment, as the arcane linux sound system is clearly far more involved than I would like it to be! :smile:

    As for the ROMs, I think it might be a better idea to package up the non-free ROMs as an rpm on a non-Fedora repository such as livna, so that we can then simply install them using yum after having installed fuse-emulator from updates?

    btw, I've just upgraded from Fedora 6 (!!) to Fedora 9, and I have to say, I was somewhat underwhelmed, but after I got used to the idea that KDE has gone right down the tubes and that Gnome isn't as bad as I once thought it was, I'm fine with it! :smile: I mean, let's face it, Fedora never works the way it's supposed to - I tried Ubuntu recently, but was disgusted to find everything working right out of the box - what's the point of that? I uninstalled it straight away! :wink: Not long to wait for 10...
  • edited August 2008
    keypunch wrote: »
    Thanks for the tips Prawn! Unfortunately, my /dev/dsp isn't a symbolic link to anything, and I can't see any other obvious devices.... so I think I shall just have to go for the 'mute' option at the moment, as the arcane linux sound system is clearly far more involved than I would like it to be! :smile:

    Sorry to read that didn't work in your case - it was a specific fix to a problem I had. I guess there are many different issues you can encounter using sound under UNIX/Linux.

    There may still be a different fix in your case. Depending on your sound device, you may be able to find/install alternate drivers for example, or play around with the sound driver settings but you may have already tried things like this.
    As for the ROMs, I think it might be a better idea to package up the non-free ROMs as an rpm on a non-Fedora repository such as livna, so that we can then simply install them using yum after having installed fuse-emulator from updates?

    As aowen mentioned, indeed fortunately someone else has already packaged them.

    Looking at the Fedora fuse-emulator distribution on rpmfind.net reveals it contains a file called "README_fuseroms.fedora".

    This file reads:
    Note
    ----

    Due to Fedora policy, this version has been packaged WITHOUT the ROMs. These
    are available from a 3rd party repository http://dribble.org.uk as an RPM,
    or from the original Fuse site at: http://fuse-emulator.sourceforge.net

    The ROM rpm package is indeed listed on this page for example
    http://dribble.org.uk/listrpms5.html
    fuse-emulator-roms 1.2-1.fc8.drb noarch The Spectrum ROM files, for use with the Fuse Emulator. Applications/Emulators 447609 bytes

    So, you can just grab them off there, saving a lot of work! There may be other versions specific to other Fedora releases. To be honest I didn't check for this.
    btw, I've just upgraded from Fedora 6 (!!) to Fedora 9, and I have to say, I was somewhat underwhelmed, but after I got used to the idea that KDE has gone right down the tubes and that Gnome isn't as bad as I once thought it was, I'm fine with it! :smile: I mean, let's face it, Fedora never works the way it's supposed to - I tried Ubuntu recently, but was disgusted to find everything working right out of the box - what's the point of that? I uninstalled it straight away! :wink: Not long to wait for 10...

    Although my main OS is currently Windows XP (a neccessary dependence on certain Windows apps due to work etc..), I do often also use KDE at work (SUSE Linux 11) and GNOME at home (OpenSolaris 2008.05 & Ubuntu) because there are some native UNIX/Linux apps that I also need to use regularly. I'm happy with either KDE or GNOME to be honest.

    aowen made another thread a while back which put me onto OpenSolaris. I hadn't used Solaris for years, but having tried it out again - it is in fact surprisingly good.

    This led to us making a FUSE package for Solaris systems which can be obtained via my homepage, if you ever do feel like trying that one out.

    On the other hand if you use something like Sun's own free "VirtualBox" you can easily try out mulptiple OSes on the same machine, and just delete any that you don't like. I can tell you that if you did have an OpenSolairs instance installed under VirtualBox, then the sound does work perfectly within FUSE that particular Virtualised sound driver.

    OK, so it can crackle when the emulator is not in focus, due to other apps running, but when FUSE is actually in focus, the sound is perfect.

    In fact you may even find that installing Fedora, Ubuntu or other Linux distros under VirtualBox rather than natively could solve your sound issue because you'd effectively be using a virtualised sound driver that is known to work well with FUSE.

    Of course apart from a few minor drawbacks, there are other numerous benefits to using virtualisation too. I think the benefits generally outweigh the drawbacks.
Sign In or Register to comment.