Linux Some HDMI help please
#31
HDMI outputs are probably not visible in alsamixer because you need to press F6 and switch device.
Reply
#32
Yes I know...but if I switch the sound cards, there are allways only S/PDIF outputs avalaible. I don't see any HDMI out even if I select the one or the other soundcard. Even not if I pressed F5 to see all devices

So...what I have done at this moment....

I've installed another NVidia driver (310.19) but still the same.

my aplay's haven't change, but here are there again if it might help:

aplay -l

Code:
david@david-xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
david@david-xbmc:~$


aplay -L

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

dpkg -l | grep -i pulse

Code:
david@david-xbmc:~$ dpkg -l | grep -i pulse
ii  libpulse0:i386                       1:2.1-0ubuntu4                             i386         PulseAudio client libraries
david@david-xbmc:~$

I'm near to give this up...normally plughw:1,7 should play me some sound, but it doesn't.

Here are some screenshots of Alsa, if it helps:

Image
Image


And here the links to them:
http://www.bilder-hochladen.net/files/bi...w-3988.png
http://www.bilder-hochladen.net/files/bi...x-013d.png

I hope you have a idea

Thanks in advance

Cheers
Here is my whole xorg.conf if needed:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 310.19  (buildmeister@swio-display-x86-rhel47-11)  T$


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"

    Option         "CustomEDID" "DFP-1:/etc/X11/rotel.bin"
    Option         "ConnectedMonitor"   "DFP-1"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "HWCursor" "Off"
    Option         "NoLogo" "True"
    Option         "DynamicTwinView" "False"
    Option         "FlatPanelProperties" "Scaling = Native"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

And here is a screenshot from my NVidia X-Server-Settings:

Image

http://www.bilder-hochladen.net/files/bi...y-e00d.png

Thanks for everything
Reply
#33
There's something seriously weird with your aplay -L output. For one, Pulseaudio shouldn't be there. I don't even know why it is there. It seems everyone having HDMI-related problems are using XBMCBuntu, I guess it's broken somehow.

However, if you still have some energy left you could do the following:

1. Post the output of "dpkg -l | grep -i dmix"

2. Post the output of "dpkg -l | grep -i snoop"

3. Run "aptitude purge ~c" as root to remove all left-over configuration files from previously deleted packages (perhaps that fixes the Pulseaudio issue)

4. Paste the contents of /etc/asound.conf (if it exists) and $HOME/.asoundrc (if it exists).

5. Check if you get sound when you run "speaker-test -Dplughw:1,7" (that should be the correct output).
Reply
#34
Hey...

I got nearly the same problems after installing openelec (installed it on another HDD)...no sound

If you think XBMCbuntu is the main problem, what about installing th's minimal Ubuntu + XBMC script in uNi's signature. I took a look at this thread and it didn't seemed to be so difficult...even for a noob like me Wink

But at first, I'll post the outputs you want me to. Still in bed at this moment and write here with my Galaxy Nexus.
Reply
#35
I did 100% you said and


dpkg -l | grep -i snoop
dpkg -l | grep -i dmix

won't give me any outputs

aptitude purge ~c

Code:
david@david-xbmc:~$ sudo aptitude purge ~c
sudo: aptitude: command not found
david@david-xbmc:~$

"/etc/asound.conf" and "$HOME/.asoundrc" don't exist



I google a bit and installed "aptitude"

after that running

aptitude purge ~c

Code:
david@david-xbmc:~$ sudo aptitude purge ~c
The following packages will be REMOVED:  
  usb-modeswitch{p} usb-modeswitch-data{p}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] Y
(Reading database ... 105968 files and directories currently installed.)
Removing usb-modeswitch ...
Purging configuration files for usb-modeswitch ...
Removing usb-modeswitch-data ...
Purging configuration files for usb-modeswitch-data ...
                                        
david@david-xbmc:~$

That's all, what was removed

aplay -L has still the pulseaudio-thing in it Sad
Reply
#36
Did you try:

Quote:5. Check if you get sound when you run "speaker-test -Dplughw:1,7" (that should be the correct output).

?
Reply
#37
Not again, no...cause nothing seemed to be changed. I'll try it right now and report.
Try it and it won't get any sound

Reply
#38
Ok, so you can get sound form onboard right?

Hers two things.

1) Can you set it so the video is output from the external video card and the sound from onboard?

2) If you can try this card on a machine both video and audio comming from the same crad but without xbmc being involved.

The 1 will show give you some base, so you can enjoy the machine.

The 2 will make sure the card is ok if its not then the card could be faulty.

uNi
Reply
#39
Yes, I get sound out-of-the box from my on-board HDMI, but only if the GT520 is NOT plugged to the PCIe slot.

1) Probably yes...but I don´t want to. Don´t get me wrong, but I have a stable running XBMC-Eden HTPC, that works flawlessly. I only have to remove the card, plug the other HDD´s and I´m ready. I never crash a running system before I get another one stable Wink. For this experiments I crashed my old Dharma-XBMCLive. I have one HDD (3 HDD´s at all) for each system and I won´t touch my stable Eden Wink. So it is of course possible to get the video from the one and the sound from the other card. But that is not a deal I can life with. The deal is getting HD-Audio to work....and if I have to buy some new hardware, because the GT520 is faulty in any way, I gonna buy it. What brings us to point #2

2) That´s a good Idea. I can plugg the card to an older PC of mine with windows installed and see if I get some sound over HDMI to my rotel amp. Maybe this will bring some light in the dark Wink
Reply
#40
I'm beginning to believe there's something wrong with XBMCUbuntu itself. Every single thread about sound playback issues on the forum lately have been from people using that distro, and it seems most problems have started around the RC versions. I really don't know what else to tell you, I have a GT520 myself and it worked out of the box since the beginning (not using XBMCUbuntu) so I know the card is working.
Reply
#41
Yes...you told already and it's absolutely no problem, that you don't have any idea. I'm not angry because of that.

I've got some things to do. I can't find the time to test the card on another pc to see if it works on another system to be sure there is no hardware failure.

I don't know if the problem is related to the distro. That's because I asked what do you think about installing a minimal Ubuntu (like the link in uNiversal's signature) and install xbmc from the unstable ppa to get frodo? If the problem is related to xbmcbuntu that might solve the problem. Or I'm getting something wrong?

I see a lot of problems. One might be that I have to set a custom EDID in my xorg.conf. If I don't set these EDID's I won't get a video signal over my amp. This let me think about handshake problems with this card and my amp. But if I set them, everything works fine. I don't know anything about the source code of a HDMI connection and how it works, so I don't know why I had to set those EDID's. but it is necessary in this case. With the onboard HDMI of my Zotac ION F-Series I've got no problems to get a video signal over my amp and get sound out of the box. So it's a bit confusing ;-). Without the card it might not be a distro problem....only with this card. Is that possible?

cheers
Reply
#42
I take my time to mess around with some BIOS settings or better said...with the understanding of those settings...

I read much about the "azalia sound"-thing and figured out, what are these settings (disabled, internal, external, internal+external) for.

So in my case I will have to use "disabled". Internal means, that it will use the on-board HDMI output for sound, external means, that it will use the onboard optical output. So both of this (internal or external) is not the setting I want to have I think. I'll use the HDMI output from my GT520, so I think I'll have to set this to "disabled".

Or what do you think?
Reply
#43
Yes disable it, azalia is Intel HD internal, so if your no using it turn it off. Maybe this way when your back in OS the 520 can be used fully via HDMI for both Video and sound.

uNi
Reply
#44
Okay...gonna try it later or tomorrow morning while my giirlfriend is at work Wink

UNi....other suggestion I play around with....

Do you think a minimal ubuntu installation (like in your link in your signature) might solve the problem? Negge said my problem might be related to XBMCbuntu itself. So I thought this way of installation could solve it.

Thanks for everything you and negge did for me....both get a +1 for trying to help!!!!!!!
Reply
#45
I have no idea, though minimal Ubuntu install doesnt have a window manager so for e,g, you wont get a desktop, though this can all be added and lightdm (some xbmcbuntu component the window manager) does affect audio in some systems. Where you need to logg off and back on for audio devices to become available.

* un1versal shrugs

You can try for sure. I have Ubuntu 12.04 LTS and Xswat Nvidia drivers, though my minimal install I dont use ppa for XBMC, I compile from git, However everything else is the minimal install specially tweaked for my system.
My hardware is nothing like yours anyway though it is Nvidia and all Nvidia tweaks apply.

uNi
Reply

Logout Mark Read Team Forum Stats Members Help
Some HDMI help please1