Ljud via HDMI

Problem med att spela musik, film osv.
Användarvisningsbild
Wiborg82
Inlägg: 18
Blev medlem: 20 maj 2007, 07:58
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Örebro
Kontakt:

Re: Ljud via HDMI

Inlägg av Wiborg82 »

pun skrev:Posta svaret på det här kommandot är en bra början

Kod: Markera allt

aplay -l
Det här får jag när jag kör det kommandot:

Kod: Markera allt

wibbe@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
kilko
Inlägg: 77
Blev medlem: 01 jan 2011, 20:26
OS: Debian
Utgåva: Vet inte/ingen utgåva passar

Re: Ljud via HDMI

Inlägg av kilko »

Vi går vidare med output utav

Kod: Markera allt

aplay -L
Test se om du får error här

Kod: Markera allt

aplay -D plughw:1,3,7,8,9 /usr/share/sounds/alsa/Front_Center.wav
trobleshooting under steg 17 här kanske hjälper dig vidare med detta problem

https://help.ubuntu.com/community/Sound ... gProcedure
Användarvisningsbild
Wiborg82
Inlägg: 18
Blev medlem: 20 maj 2007, 07:58
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Örebro
Kontakt:

Re: Ljud via HDMI

Inlägg av Wiborg82 »

kilko skrev:Vi går vidare med output utav

Kod: Markera allt

aplay -L
Test se om du får error här

Kod: Markera allt

aplay -D plughw:1,3,7,8,9 /usr/share/sounds/alsa/Front_Center.wav
trobleshooting under steg 17 här kanske hjälper dig vidare med detta problem

https://help.ubuntu.com/community/Sound ... gProcedure
Ok, fick följande svar:

Kod: Markera allt

wibbe@HTPC:~$ aplay -L
default
pulse
    Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, NVIDIA HDMI
    Hardware device with all software conversions

Kod: Markera allt

wibbe@HTPC:~$ aplay -D plughw:1,3,7,8,9 /usr/share/sounds/alsa/Front_Center.wav
ALSA lib conf.c:4500:(parse_args) Unknown parameter 3
ALSA lib conf.c:4633:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib pcm.c:2208:(snd_pcm_open_noupdate) Unknown PCM plughw:1,3,7,8,9
aplay: main:654: audio open error: No such file or directory
Eftersom jag fick error så fungerade inte instruktionerna i länken som du skickade...
Användarvisningsbild
pun
Inlägg: 5317
Blev medlem: 20 okt 2007, 22:11
OS: Ubuntu
Utgåva: 23.04 Lunar Lobster

Re: Ljud via HDMI

Inlägg av pun »

Wiborg82 skrev: Det här får jag när jag kör det kommandot:

Kod: Markera allt

wibbe@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Ok..... utmaningen är att pulseaudio inte vet vilken av hdmi-kanalerna som ska användas.

Terminalen kopiera/klistra in kommandot !

Kod: Markera allt

gksudo gedit /etc/pulse/default.pa
Ta bort "brädhögen" # framför raden med hw:1,7

#

Kod: Markera allt

## these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink device=hw:1,3
load-module module-alsa-sink device=hw:1,7
#load-module module-alsa-sink device=hw:1,8
#load-module module-alsa-sink device=hw:1,9

Det brukar vara 1,7 kan ev vara någon av de andra.

Spara filen !


För att sedan snabbast testa, omstart samt pulseaudio i loggläge

Kod: Markera allt

pkill pulseaudio; sleep 2; pulseaudio -vv

Högerklicka på högtalarikonen i systemfältet > Inställningar > fliken utgångar

Markera HDMI


Starta någon app och testa !
kilko
Inlägg: 77
Blev medlem: 01 jan 2011, 20:26
OS: Debian
Utgåva: Vet inte/ingen utgåva passar

Re: Ljud via HDMI

Inlägg av kilko »

Verkar som en del har ljud problemet verkar vara att det är så lågt att man ej uppfattar det .Kör isåfall

Kod: Markera allt

sudo gedit /etc/modprobe.d/alsa-base
lägg längst ner till

Kod: Markera allt

options snd-hda-intel model=3stack
Länk
https://help.ubuntu.com/community/HdaIntelSoundHowto
Användarvisningsbild
Wiborg82
Inlägg: 18
Blev medlem: 20 maj 2007, 07:58
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Örebro
Kontakt:

Re: Ljud via HDMI

Inlägg av Wiborg82 »

Tog ett tag innan jag fattade vad följande kommando gjorde:

Kod: Markera allt

pkill pulseaudio; sleep 2; pulseaudio -vv
Fösrt satt jag och väntade på att det skulle köras klart, men som jag förstått det nu så ligger den bara och loggar vad jag gör med ljudet i bakgrunden?

Hur som helst så fungerar det inte ljudet, jag har testat med 1,3 1,7 1,8 1,9

Nu kommer jag inte längre in i ljudinställningarna heller. När jag klickar på ljudikonen (som numera ser ut som att jag har sänkt ljudet till noll) och väljer ljudinställningar så får jag upp meddelandet: Waiting for sound system to respond.

Testade även att gå in i alsamixer och där var "headphone" nere på lägsta volym och när jag försökte höja det ljudet så hoppade den tillbaka på noll efter en sekund. Kan det ge någon ledtråd?

Såhär ser det i alla fall ut numera när jag kör ovanstående kommando: (det såg annorlunda ut när jag fortfarande kunde komma in i ljudinställningarna)

Kod: Markera allt

D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1p' failed (-2)
I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40
D: alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40+input:analog-mono
D: alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40+input:analog-stereo
D: alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40+input:iec958-stereo
D: alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40+input:iec958-surround-40
D: alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51
D: alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51+input:analog-mono
D: alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51+input:analog-stereo
D: alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51+input:iec958-stereo
D: alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51+input:iec958-surround-40
D: alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm.c: Unknown PCM a52:1
I: alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:hdmi-stereo
D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI) (hdmi-stereo)
D: alsa-util.c: Trying hdmi:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open hdmi:1
D: alsa-util.c: Maximum hw buffer size is 23777 ms
D: alsa-util.c: Set buffer size first (to 3528 samples), period size second (to 441 samples).
D: alsa-mixer.c: Profile output:hdmi-stereo supported.
D: alsa-mixer.c: Looking at profile output:hdmi-stereo+input:analog-mono
D: alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device hw:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:hdmi-stereo+input:analog-stereo
D: alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
D: alsa-util.c: Trying front:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device front:1: No such file or directory
D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device hw:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:hdmi-stereo+input:iec958-stereo
D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958) (iec958-stereo)
D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1c' failed (-2)
I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
D: alsa-mixer.c: Looking at profile output:hdmi-stereo+input:iec958-surround-40
D: alsa-mixer.c: Checking for recording on Digital Surround 4.0 (IEC958) (iec958-surround-40)
D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1c' failed (-2)
I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
D: alsa-mixer.c: Looking at profile input:analog-mono
D: alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device hw:1: No such file or directory
D: alsa-mixer.c: Looking at profile input:analog-stereo
D: alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
D: alsa-util.c: Trying front:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device front:1: No such file or directory
D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: alsa-util.c: Error opening PCM device hw:1: No such file or directory
D: alsa-mixer.c: Looking at profile input:iec958-stereo
D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958) (iec958-stereo)
D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1c' failed (-2)
I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
D: alsa-mixer.c: Looking at profile input:iec958-surround-40
D: alsa-mixer.c: Checking for recording on Digital Surround 4.0 (IEC958) (iec958-surround-40)
D: alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1c' failed (-2)
I: alsa-util.c: Error opening PCM device iec958:1: No such file or directory
I: card.c: Created 1 "alsa_card.pci-0000_03_00.1"
D: reserve-wrap.c: Successfully create reservation lock monitor for device 'Audio1'
D: alsa-util.c: Trying hdmi:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open hdmi:1
D: alsa-util.c: Maximum hw buffer size is 23777 ms
D: alsa-util.c: Set buffer size first (to 88200 samples), period size second (to 88200 samples).
I: alsa-sink.c: Successfully opened device hdmi:1.
I: alsa-sink.c: Selected mapping 'Digital Stereo (HDMI)' (hdmi-stereo).
I: alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL hdmi:1
I: alsa-mixer.c: Unable to attach to mixer hdmi:1: No such file or directory
I: alsa-mixer.c: Successfully attached to mixer 'hw:1'
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_03_00.1.hdmi-stereo.
I: module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_03_00.1.hdmi-stereo.
I: sink.c: Created sink 1 "alsa_output.pci-0000_03_00.1.hdmi-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: sink.c:     alsa.resolution_bits = "16"
I: sink.c:     device.api = "alsa"
I: sink.c:     device.class = "sound"
I: sink.c:     alsa.class = "generic"
I: sink.c:     alsa.subclass = "generic-mix"
I: sink.c:     alsa.name = "NVIDIA HDMI"
I: sink.c:     alsa.id = "NVIDIA HDMI"
I: sink.c:     alsa.subdevice = "0"
I: sink.c:     alsa.subdevice_name = "subdevice #0"
I: sink.c:     alsa.device = "3"
I: sink.c:     alsa.card = "1"
I: sink.c:     alsa.card_name = "HDA NVidia"
I: sink.c:     alsa.long_card_name = "HDA NVidia at 0xfbbfc000 irq 19"
I: sink.c:     alsa.driver_name = "snd_hda_intel"
I: sink.c:     device.bus_path = "pci-0000:03:00.1"
I: sink.c:     sysfs.path = "/devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1"
I: sink.c:     device.bus = "pci"
I: sink.c:     device.vendor.id = "10de"
I: sink.c:     device.vendor.name = "nVidia Corporation"
I: sink.c:     device.product.id = "0be3"
I: sink.c:     device.product.name = "High Definition Audio Controller"
I: sink.c:     device.string = "hdmi:1"
I: sink.c:     device.buffering.buffer_size = "352768"
I: sink.c:     device.buffering.fragment_size = "176384"
I: sink.c:     device.access_mode = "mmap+timer"
I: sink.c:     device.profile.name = "hdmi-stereo"
I: sink.c:     device.profile.description = "Digital Stereo (HDMI)"
I: sink.c:     device.description = "High Definition Audio Controller Digital Stereo (HDMI)"
I: sink.c:     alsa.mixer_name = "Nvidia GPU 0b HDMI/DP"
I: sink.c:     alsa.components = "HDA:10de000b,10de0101,00100200"
I: sink.c:     module-udev-detect.discovered = "1"
I: sink.c:     device.icon_name = "audio-card-pci"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 1 "alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of High Definition Audio Controller Digital Stereo (HDMI)"
I: source.c:     device.class = "monitor"
I: source.c:     alsa.card = "1"
I: source.c:     alsa.card_name = "HDA NVidia"
I: source.c:     alsa.long_card_name = "HDA NVidia at 0xfbbfc000 irq 19"
I: source.c:     alsa.driver_name = "snd_hda_intel"
I: source.c:     device.bus_path = "pci-0000:03:00.1"
I: source.c:     sysfs.path = "/devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1"
I: source.c:     device.bus = "pci"
I: source.c:     device.vendor.id = "10de"
I: source.c:     device.vendor.name = "nVidia Corporation"
I: source.c:     device.product.id = "0be3"
I: source.c:     device.product.name = "High Definition Audio Controller"
I: source.c:     device.string = "1"
I: source.c:     module-udev-detect.discovered = "1"
I: source.c:     device.icon_name = "audio-card-pci"
I: alsa-sink.c: Using 2.0 fragments of size 176384 bytes (999.91ms), buffer size is 352768 bytes (1999.82ms)
I: alsa-sink.c: Time scheduling watermark is 20.00ms
D: alsa-sink.c: hwbuf_unused=0
D: alsa-sink.c: setting avail_min=87310
D: alsa-util.c: snd_pcm_dump():
D: alsa-util.c: Hooks PCM
D: alsa-util.c: Its setup is:
D: alsa-util.c:   stream       : PLAYBACK
D: alsa-util.c:   access       : MMAP_INTERLEAVED
D: alsa-util.c:   format       : S16_LE
D: alsa-util.c:   subformat    : STD
D: alsa-util.c:   channels     : 2
D: alsa-util.c:   rate         : 44100
D: alsa-util.c:   exact rate   : 44100 (44100/1)
D: alsa-util.c:   msbits       : 16
D: alsa-util.c:   buffer_size  : 88192
D: alsa-util.c:   period_size  : 44096
D: alsa-util.c:   period_time  : 999909
D: alsa-util.c:   tstamp_mode  : ENABLE
D: alsa-util.c:   period_step  : 1
D: alsa-util.c:   avail_min    : 87310
D: alsa-util.c:   period_event : 0
D: alsa-util.c:   start_threshold  : -1
D: alsa-util.c:   stop_threshold   : 6205960286516543488
D: alsa-util.c:   silence_threshold: 0
D: alsa-util.c:   silence_size : 0
D: alsa-util.c:   boundary     : 6205960286516543488
D: alsa-util.c: Slave: Hardware PCM card 1 'HDA NVidia' device 3 subdevice 0
D: alsa-util.c: Its setup is:
D: alsa-util.c:   stream       : PLAYBACK
D: alsa-util.c:   access       : MMAP_INTERLEAVED
D: alsa-util.c:   format       : S16_LE
D: alsa-util.c:   subformat    : STD
D: alsa-util.c:   channels     : 2
D: alsa-util.c:   rate         : 44100
D: alsa-util.c:   exact rate   : 44100 (44100/1)
D: alsa-util.c:   msbits       : 16
D: alsa-util.c:   buffer_size  : 88192
D: alsa-util.c:   period_size  : 44096
D: alsa-util.c:   period_time  : 999909
D: alsa-util.c:   tstamp_mode  : ENABLE
D: alsa-util.c:   period_step  : 1
D: alsa-util.c:   avail_min    : 87310
D: alsa-util.c:   period_event : 0
D: alsa-util.c:   start_threshold  : -1
D: alsa-util.c:   stop_threshold   : 6205960286516543488
D: alsa-util.c:   silence_threshold: 0
D: alsa-util.c:   silence_size : 0
D: alsa-util.c:   boundary     : 6205960286516543488
D: alsa-util.c:   appl_ptr     : 0
D: alsa-util.c:   hw_ptr       : 0
D: alsa-sink.c: Thread starting up
D: core-util.c: RealtimeKit worked.
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: alsa-sink.c: Starting playback.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
I: module.c: Loaded "module-alsa-card" (index: #5; argument: "device_id="1" name="pci-0000_03_00.1" card_name="alsa_card.pci-0000_03_00.1" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1"").
I: module-udev-detect.c: Card /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1 (alsa_card.pci-0000_03_00.1) module loaded.
I: module-udev-detect.c: Found 2 cards.
I: module.c: Loaded "module-udev-detect" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success
D: dbus-util.c: Successfully connected to D-Bus system bus 2084cf8324c4ff23bacb198f00000006 as :1.337
D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
D: bluetooth-util.c: Bluetooth daemon is apparently not available.
I: module.c: Loaded "module-bluetooth-discover" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #8; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #10; argument: "").
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-default-device-restore.c: Restored default sink 'alsa_output.pci-0000_03_00.1.hdmi-stereo'.
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-default-device-restore.c: Restored default source 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor'.
I: module.c: Loaded "module-default-device-restore" (index: #11; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #12; argument: "").
I: module.c: Loaded "module-always-sink" (index: #13; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #14; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_03_00.1.hdmi-stereo becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #15; argument: "").
I: client.c: Created 0 "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
D: module-console-kit.c: Added new session /org/freedesktop/ConsoleKit/Session1
I: module.c: Loaded "module-console-kit" (index: #16; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #17; argument: "").
D: alsa-util.c: Trying hw:1,3 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D3p' failed (-16)
I: alsa-util.c: Error opening PCM device hw:1,3: Device or resource busy
E: module.c: Failed to load  module "module-alsa-sink" (argument: "device=hw:1,3"): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
I: module.c: Unloading "module-device-restore" (index: #0).
I: module.c: Unloaded "module-device-restore" (index: #0).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-stream-restore" (index: #1).
I: module.c: Unloaded "module-stream-restore" (index: #1).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-card-restore" (index: #2).
I: module.c: Unloaded "module-card-restore" (index: #2).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-augment-properties" (index: #3).
I: module.c: Unloaded "module-augment-properties" (index: #3).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-alsa-card" (index: #4).
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci-0000_00_1b.0.analog-stereo"
I: source.c: Freeing source 0 "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
I: card.c: Freed 0 "alsa_card.pci-0000_00_1b.0"
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloaded "module-alsa-card" (index: #4).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-alsa-card" (index: #5).
D: core-subscribe.c: Dropped redundant event due to change event.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: core-subscribe.c: Dropped redundant event due to change event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to remove event.
D: alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 1 "alsa_output.pci-0000_03_00.1.hdmi-stereo"
I: source.c: Freeing source 1 "alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor"
I: card.c: Freed 1 "alsa_card.pci-0000_03_00.1"
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloaded "module-alsa-card" (index: #5).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-udev-detect" (index: #6).
I: module.c: Unloaded "module-udev-detect" (index: #6).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-bluetooth-discover" (index: #7).
I: module.c: Unloaded "module-bluetooth-discover" (index: #7).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-esound-protocol-unix" (index: #8).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #8).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-native-protocol-unix" (index: #9).
I: module.c: Unloaded "module-native-protocol-unix" (index: #9).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-gconf" (index: #10).
I: module.c: Unloaded "module-gconf" (index: #10).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-default-device-restore" (index: #11).
I: module.c: Unloaded "module-default-device-restore" (index: #11).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-rescue-streams" (index: #12).
I: module.c: Unloaded "module-rescue-streams" (index: #12).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-always-sink" (index: #13).
I: module.c: Unloaded "module-always-sink" (index: #13).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-intended-roles" (index: #14).
I: module.c: Unloaded "module-intended-roles" (index: #14).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-suspend-on-idle" (index: #15).
I: module.c: Unloaded "module-suspend-on-idle" (index: #15).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-console-kit" (index: #16).
D: module-console-kit.c: Removing session /org/freedesktop/ConsoleKit/Session1
I: client.c: Freed 0 "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloaded "module-console-kit" (index: #16).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module.c: Unloading "module-position-event-sounds" (index: #17).
I: module.c: Unloaded "module-position-event-sounds" (index: #17).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: main.c: Daemon terminated.
Användarvisningsbild
pun
Inlägg: 5317
Blev medlem: 20 okt 2007, 22:11
OS: Ubuntu
Utgåva: 23.04 Lunar Lobster

Re: Ljud via HDMI

Inlägg av pun »

Ändra till 1.7 igen och starta sedan om

posta sedan vad aplay -l säger (om det inte funkar)
Användarvisningsbild
Wiborg82
Inlägg: 18
Blev medlem: 20 maj 2007, 07:58
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Örebro
Kontakt:

Re: Ljud via HDMI

Inlägg av Wiborg82 »

Det här får jag upp nu, men ljudinställningarna har också kommit tillbaka...

Kod: Markera allt

wibbe@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Skriv svar

Återgå till "Ljud och video"