Kodi Community Forum

Full Version: Geforce GT520 - Sound problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there.

I am new to this and i am experiencing some problems.
I installed latest minimal Ubuntu 11.04 64 Bit on my system.


I strictly followed this http://wiki.xbmc.org/?title=XBMCbuntu#Lo...nel_module guide in order to get everything working.

Furthermore, i followed this http://wiki.xbmc.org/index.php?title=HOW...controller guide in order to get my audio working.

It really does, but i am experiencing some audio playback problems. It seems as if menu sounds are not played properly (i can hear them, but they just don't sound like the ones on a Windows-based system [Skin is the same, ofc.]). It also happened that the menu sounds just disappeared after some time while movie playback audio was still working.

What can i do?


Kind regards!
Bump.

I created a .wav file that shows in which way my xbmc sound sounds corrupt. I actually can't describe it.

Please just take a look at this:

http://uploaded.to/file/8s7kds5e

Thank you.
I just went through it again:

-installation of 11.04 minimal + OpenSSH for remote access
- installing alsa-utils by using

Code:
sudo apt-get install alsa-utils
(HDA NVidia available in alsamixer right now!)

content of aplay -l
Code:
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0


-content of aplay -L

Code:
[email protected]:~$ sudo aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC662 rev1 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC662 rev1 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions


-enabling any SPDIF-channels in alsamixer
-testing command:

Code:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

result: no sound can be heard, even when trying to replug the hdmi cable.
Displayed text:

Code:
[email protected]:~$ sudo aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono

editing the pcm.default to directly access my video card:
Code:
[email protected]:~$ sudo nano ~/.asoundrc

pcm.!default {
      type hw
      card 1
      device 3
}

rebooting.

retrying to get any sound out of my TV:

Code:
[email protected]:~$ sudo aplay -D plughw:1,3 /usr/share/sounds/alsa/Noise.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
[email protected]:~$

still nothing to be heard.


edit:

retried it like that:
  • installed minimal ubuntu 11.04 natty
  • installed latest nvidia drivers from nvidia.com
  • installed latest natty ALSA packages and unmuted any muted devices, both onboard and the hdmi device of my graphics card [via sudo alsamixer]
  • tried the following:
    Code:
    [email protected]:~$ aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    [email protected]:~$ aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    [email protected]:~$

    Analogous speakers plugged in 0,0 --> i hear the sound
    HDMI cable plugged in 1,3 (the graphics card and my TV) --> i do not hear the sound.

  • my user is in the audio group.
  • I followed http://wiki.xbmc.org/index.php?title=HOW...controller this guide strictly
  • when trying to verify what i did in the guide, this is being displayed:
    Code:
    [email protected]:~$ sudo speaker-test -D hdmi -c6 -r19200 -FS32_LE

    speaker-test 1.0.24.2

    Playback device is hdmi
    Stream parameters are 19200Hz, S32_LE, 6 channels
    Using 16 octaves of pink noise
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    Playback open error: -2,No such file or directory
    [email protected]:~$
So i just manually compiled and installed all recent alsa-files Version 2.0.4.

I have no clue why alsa-mixer showed me that its version is 2.0.3...


Back to my problem: The Sound sounds quite strange in my TV (which is a stereo one, atm). Is it possible that my HDMI cable transports a 6-ch audio signal causing that strange echoing-effect when playing that sound with my TV?

Another question: How many channels do the XBMC-Neon-Menu-sounds have? Are they simply stereo?