Results 1 to 7 of 7

Thread: No audio in OpenITG due to ALSA-related issue

  1. #1

    Default No audio in OpenITG due to ALSA-related issue

    Code:
    00:00.859: Initializing driver: ALSA
    00:00.945: Couldn't open card "hw:0" to get ID: No such file or directory
    00:00.946: ALSA: Advanced Linux Sound Architecture Driver Version k3.11.10-17-desktop.
    00:00.947: ALSA Driver: 1: Xonar DG [DG], device 0: Multichannel [Multichannel], 1/1 subdevices avail
    00:00.947: ALSA Driver: 1: Xonar DG [DG], device 1: Digital [Digital], 1/1 subdevices avail
    00:00.948: ALSA error: pcm_hw.c:1667 _snd_pcm_hw_open: Invalid value for card
    00:00.948: Couldn't load driver ALSA: dsnd_pcm_open(hw:0): No such file or directory
    00:00.948: Initializing driver: DirectSound
    /////////////////////////////////////////
    00:00.948: WARNING: Unknown sound driver name: DirectSound
    /////////////////////////////////////////
    00:00.948: Initializing driver: ALSA-sw
    00:00.949: OS: Linux ver 031110
    00:00.949: ALSA error: pcm_hw.c:1667 _snd_pcm_hw_open: Invalid value for card
    00:00.949: Couldn't load driver ALSA-sw: dsnd_pcm_open(hw:0): No such file or directory
    00:00.949: Initializing driver: DirectSound-sw
    /////////////////////////////////////////
    00:00.949: WARNING: Unknown sound driver name: DirectSound-sw
    /////////////////////////////////////////
    00:00.949: Initializing driver: CoreAudio
    /////////////////////////////////////////
    00:00.949: WARNING: Unknown sound driver name: CoreAudio
    /////////////////////////////////////////
    00:00.949: Initializing driver: OSS
    00:00.950: Couldn't load driver OSS: RageSound_OSS: Couldn't open /dev/dsp: No such file or directory
    00:00.950: Initializing driver: QT1
    /////////////////////////////////////////
    00:00.950: WARNING: Unknown sound driver name: QT1
    /////////////////////////////////////////
    00:00.950: Initializing driver: WaveOut
    /////////////////////////////////////////
    00:00.950: WARNING: Unknown sound driver name: WaveOut
    /////////////////////////////////////////
    00:00.950: Initializing driver: Null
    00:00.950: Starting thread: Decode thread
    00:00.950: Sound driver: Null
    The main errors being:

    Code:
    00:00.945: Couldn't open card "hw:0" to get ID: No such file or directory
    00:00.948: ALSA error: pcm_hw.c:1667 _snd_pcm_hw_open: Invalid value for card
    00:00.948: Couldn't load driver ALSA: dsnd_pcm_open(hw:0): No such file or directory
    
    00:00.949: ALSA error: pcm_hw.c:1667 _snd_pcm_hw_open: Invalid value for card
    00:00.949: Couldn't load driver ALSA-sw: dsnd_pcm_open(hw:0): No such file or directory

    Seems like my audio card doesn't have a proper ALSA value. Not entirely sure what to do. Sound from KDE works fine, and aplay plays static just fine. Running OpenITG with aoss also produces audio, but there's far too much latency to actually play with.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,841
    Blog Entries
    1

    Default Re: No audio in OpenITG due to ALSA-related issue

    Unlikely to be an openSUSE-specific issue. Consider casting your net wider with

    https://github.com/openitg/openitg/wiki#Support

  3. #3

    Default Re: No audio in OpenITG due to ALSA-related issue

    Quote Originally Posted by deano_ferrari View Post
    Unlikely to be an openSUSE-specific issue. Consider casting your net wider with

    https://github.com/openitg/openitg/wiki#Support
    I know it doesn't say much, but OpenITG worked fine under Ubuntu 14.04 last I checked.

    I'm also pretty sure development for OpenITG stopped a good while back :/

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,802

    Default Re: No audio in OpenITG due to ALSA-related issue

    OpenSUSE uses pulse by default and programs that require alsa may not work. Check yast for lib for alsa-pulse libraries and if 32 bit you will need the 32 bit version also

  5. #5

    Default Re: No audio in OpenITG due to ALSA-related issue

    Quote Originally Posted by gogalthorp View Post
    OpenSUSE uses pulse by default and programs that require alsa may not work. Check yast for lib for alsa-pulse libraries and if 32 bit you will need the 32 bit version also
    I'm using 32-bit openSUSE 13.1 currently. I tried disabling PulseAudio from YaST and it didn't seem to make a difference.

    Is there a way to adjust what id sound cards have? I'm unsure as to what the exact issue is, but it seems either OpenITG is just looking for a card ID that doesn't exist, or that ALSA has an improper ID set to the card.

  6. #6

    Default Re: No audio in OpenITG due to ALSA-related issue

    Got it figured out. Apparently the Xonar DG I was using gets misconfigured in some way with openSUSE.

    I took out the card, switched to the onboard Realtek audio, set it up in YaST2, and audio in OpenITG is fine.

    Just have to figure out why the card doesn't get configured right. Works fine under Ubuntu. I noticed that YaST2 mentioned the Xonar DG was using some virtuoso module, but my experience in other distros pointed that it used oxygen. I'm not 100% certain how/if the two names are related though.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,841
    Blog Entries
    1

    Default Re: No audio in OpenITG due to ALSA-related issue

    Quote Originally Posted by Espionage724 View Post
    Just have to figure out why the card doesn't get configured right. Works fine under Ubuntu. I noticed that YaST2 mentioned the Xonar DG was using some virtuoso module, but my experience in other distros pointed that it used oxygen. I'm not 100% certain how/if the two names are related though.
    You might try running the alsa-info.sh script in different distros and compare the output

    https://en.opensuse.org/SDB:Audio_tr...ed_information
    https://help.ubuntu.com/community/So...ocedure#Step_3

    That should help nail down any differences.

Tags for this Thread

Posting Permissions

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