Menu

#536 Sound initialization fails for Linux verions buid from source

v2.4
closed-fixed
nobody
None
Linux
x64
2016-02-27
2014-07-04
Tron Thomas
No

I have built VICE 2.4 on a 32-bit Fedora 16 system and a 64-bit Debian 7 system.
Launching the built x64 application on either system results in the following error message:

Sound:initialization failed for device `uss'.

Overall sound functionality for the systems works fine. VICE is the only application that has issues.

Discussion

  • Greg King

    Greg King - 2014-07-06

    Sound:initialization failed for device `uss'.

    VICE puts its reason for that failure in its log. What is displayed there just before the above message pops up?

     
  • Tron Thomas

    Tron Thomas - 2014-07-06

    Here is the output I get from the terminal when I launch the x64 executable:

    user@debian:~$ *** VICE Version 2.4 ***
    OS compiled for: Linux
    GUI compiled for: NATIVE
    CPU compiled for: AMD64/x86_64
    Compiler used: GCC-4.7.2
    Current OS: *nix
    Current CPU: Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom

    Welcome to x64, the free portable C64 Emulator.

    Current VICE team members:
    D. Lem, A. Matthies, M. Pottendorfer, S. Trikaliotis, M. van den Heuvel,
    C. Vogelgsang, F. Gennari, D. Kahlin, A. Lankila, Groepaz, I. Korb,
    E. Smith, O. Seibert, M. Sutton, U. Schulz, S. Haubenthal, T. Giesel,
    K. Zsolt.

    This is free software with ABSOLUTELY NO WARRANTY.
    See the "About VICE" command for more info.

    X11: Found 24bit/TrueColor visual.
    X11: Using private colormap.
    Loading system file /usr/local/lib/vice/C64/kernal'. C64MEM: Kernal rev #3. Loading system file/usr/local/lib/vice/C64/basic'.
    Loading system file /usr/local/lib/vice/C64/chargen'. MPS-803: Error - Could not load MPS-803 charset 'mps803'. MPS-803: Error - Cannot load palette filemps803.vpl'.
    NL10: Error - Could not load NL-10 ROM file 'nl10-cbm'.
    Loading system file /usr/local/lib/vice/DRIVES/dos1541'. IECDriveROM: Warning - Unknown 1541 ROM image. Sum: 1988651. Loading system file/usr/local/lib/vice/DRIVES/d1541II'.
    IECDriveROM: Error - 1570 ROM image not found. Hardware-level 1570 emulation is not available.
    Loading system file /usr/local/lib/vice/DRIVES/dos1571'. Loading system file/usr/local/lib/vice/DRIVES/dos1581'.
    IECDriveROM: Error - 2000 ROM image not found. Hardware-level 2000 emulation is not available.
    IECDriveROM: Error - 4000 ROM image not found. Hardware-level 4000 emulation is not available.
    Loading system file /usr/local/lib/vice/DRIVES/dos2031'. Loading system file/usr/local/lib/vice/DRIVES/dos2040'.
    Loading system file /usr/local/lib/vice/DRIVES/dos3040'. Loading system file/usr/local/lib/vice/DRIVES/dos4040'.
    Loading system file /usr/local/lib/vice/DRIVES/dos1001'. Drive: Finished loading ROM images. Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion X11Video: Successfully initialized (768x544), using shared memory. Sound: Available sound devices: uss dummy fs dump wav voc iff aiff soundmovie Keyboard: Error - Cannot load keymapx11_sym.vkm'.
    Joystick: Linux joystick interface initialization...
    Joystick: Warning - Cannot open joystick device /dev/input/js0'. Joystick: Warning - Cannot open joystick device/dev/input/js1'.
    Joystick: Warning - Cannot open joystick device /dev/input/js2'. Joystick: Warning - Cannot open joystick device/dev/input/js3'.
    Joystick: Warning - Cannot open joystick device /dev/input/js4'. Joystick: Warning - Cannot open joystick device/dev/input/js5'.
    Main CPU: starting at ($FFFC).
    Main CPU: RESET.
    Did not find any uss device

     
  • gpz

    gpz - 2014-07-06

    mmmh maybe a dumb question, but are you sure you have USS? i'd expect most distros to use ALSA or pulseaudio ...

     
  • gpz

    gpz - 2014-07-31

    please retest with current trunk, it will try to initialize in this order now:
    pulse->alsa->uss->sdl

    please reopen if the problem persists

     
  • Hans Deragon

    Hans Deragon - 2014-10-26

    I compiled the trunk on 2014-10-25 on Linux Ubuntu 12.04 LTS and I only get the following sound device:

    Sound: Available sound devices: uss dummy fs dump wav voc iff aiff soundmovie

    Pulse is not getting detected. I do not have any sound playing.

     

    Last edit: Hans Deragon 2014-10-26
  • Hans Deragon

    Hans Deragon - 2014-12-21

    I confirm that this is fixed in the trunk as of 2014-12-21 on Ubuntu 14.04 LTS Trusty Thar. I did had to install the 'libpulse-dev' package first to get it running. Sound works marvelously now.

    Could we configure 'configure.ac' to install the 'libpulse-dev' using apt if the OS detected is Ubuntu? Could maybe include Debian too.

     
  • Marco van den Heuvel

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB