Results 1 to 6 of 6

Thread: Frets on Fire won't start

  1. #1
    Join Date
    Jun 2007
    Location
    Norway
    Beans
    8
    Distro
    Ubuntu 7.04 Feisty Fawn

    Frets on Fire won't start

    When i try to start Frets on Fire i only get a black flash on the screen and return back to the desktop.

    I get these messages from the terminal when I try to start it from the terminal:

    ALSA lib pcm_dmix.c:874snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:874snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:874snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:874snd_pcm_dmix_open) unable to open slave
    Traceback (most recent call last):
    File "./FretsOnFire.py", line 64, in <module>
    engine = GameEngine(config)
    File "/usr/share/games/fretsonfire/game/GameEngine.py", line 149, in __init__
    self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
    File "/usr/share/games/fretsonfire/game/Audio.py", line 49, in open
    pygame.mixer.init()
    pygame.error: No available audio device
    Error in sys.excepthook:
    Traceback (most recent call last):
    File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 78, in apport_excepthook
    report_file = open(pr_filename, 'wt')
    IOError: [Errno 13] Permission denied: u'/var/crash/_usr_share_games_fretsonfire_game_FretsOnFire.py.1 000.crash'

    Original exception was:
    Traceback (most recent call last):
    File "./FretsOnFire.py", line 64, in <module>
    engine = GameEngine(config)
    File "/usr/share/games/fretsonfire/game/GameEngine.py", line 149, in __init__
    self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
    File "/usr/share/games/fretsonfire/game/Audio.py", line 49, in open
    pygame.mixer.init()
    pygame.error: No available audio device


    Anyone got an idea on how too fix it?

  2. #2
    Join Date
    Oct 2007
    Beans
    4

    Re: Frets on Fire won't start

    Hello,

    I have the same problem.
    I'm sure this is another issue brought to us by Hardy Heron and PulseAudio.

    Please, any hints are welcome.

  3. #3
    Join Date
    Oct 2007
    Beans
    4

    Re: Frets on Fire won't start

    Okay, you can run it using pasuspender as prefix (note that the same applies to other applications).

    Code:
    pasuspender fretsonfire
    Regards.

  4. #4
    Join Date
    Feb 2007
    Beans
    57
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Frets on Fire won't start

    Thanks, that works. But why?

  5. #5
    Join Date
    May 2006
    Location
    Uruguaiana, RS,
    Beans
    89
    Distro
    The Feisty Fawn Testing

    Re: Frets on Fire won't start

    Yeah, that worked of me too. But why?
    ASUS k8N motherboard(NVIDIA Chipset) amd64 3200+ 1024RAM
    ATI Radeon 9600 PRO 256mb
    Linux Mint Gloria (9.04 Ubuntu Equivalent)

  6. #6
    Join Date
    Nov 2007
    Location
    Queensland
    Beans
    257
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Frets on Fire won't start

    man pasuspender

    pasuspender is a tool that can be used to tell a local PulseAudio sound
    server to temporarily suspend access to the audio devices, to allow
    other applications access them directly. pasuspender will suspend
    access to the audio devices, fork a child process, and when the child
    process terminates, resume access again.
    So basically it tells pulse audio to get lost and let frets access the sound system directly.
    -----
    Where does it say I know what I'm talking about?

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
  •