Linux Some HDMI help please
#46
Maybe this might help a bitt....

I've made some screenshots from my bios:

Overview 1

Overview 2

Primary graphics adapter

Internal & external VGA

Azalia audio


I now have installed Frodo RC3 and everything works fine out-of-the-box except the new GT520

aplay -l:

Code:
david@david-xbmcbuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
david@david-xbmcbuntu:~$

aplay -L:

Code:
david@david-xbmcbuntu:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
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
david@david-xbmcbuntu:~$

and a screenshot from my "alsamixer with F5 pressed:

Alsamixer

So you have a hint, how to set-up my bbios to get this working (if the issue is there)?

Cheers
Reply
#47
If you want Audio via GT520, dont you have to disable internal azalia? same a video

Thx the screenshots help a lot

uNi
Reply
#48
uninstall libasound2-plugins, select HDMI as audio output device. If it still does not work pastebin a debug log
Reply
#49
With all my due respect....but are you sure, uninstalling libasound2-plugins won't remove XBMC? I'll do this if you think it's absolut necessary, but I don't want to crash my system.

I've got a complete working XBMC Frodo RC3 at this moment (with the on-board HDMI), which works like a charme and nearly better than my Eden stable release Wink. I configured my remote (Harmony MX1000), get my HDD's mountet at boot and integrated my movie-db. Sound is all fine at this moment with "libasound2-plugins". It took me a few hours to get this all to work.

So, do you think it's necessary to remove this or I'm safe of crashing my system by removing?
Reply
#50
@David1977

wsnipex knows what he's talking about (since he is both a developer and general XBMC guru) and doing sudo apt-get remove --purge libasound2-plugins should not remove xbmc at all. (if your using some package manager then dont use a package manager)

in fact I would go further and say so this as well as what I said previously.

Code:
sudo apt-get remove --purge libasound2-plugins
sudo apt-get install alsa-utils libasound2

You say that the onboard sound works, this is assuming you have the GT520 connected properly and the HDMI plug connected to the GT520 and not to your onboard card and like I said above disable these in BIOS

And in XBMC select the HDMI (HDA Nvidia HDMI) for both output and passthrough in XBMC and depending where your machine is connected to (if TV disable all DTS/AC3 DTS-HD and TrueHD) If receiver then its ok to leave them on.

uNi
Reply
#51
(2013-01-17, 14:32)uNiversal Wrote: If you want Audio via GT520, dont you have to disable internal azalia? same a video

Thx the screenshots help a lot

uNi

I think so, but I'm not sure. That's why asked Wink

I didn't try to install the card at this moment because I want to get some hints how to set-up my bios before I gonna do this.

On-Board video section cannot be disabled. It is automatically disabled if an external card exists. That are the possibilities that I have in the bios.

I'm wondering about the "primary graphics adapter"-section. It is set to "PCIe VGA Card first". I had the problem, that I had to set custom EDID's and a monitor in my xorg.conf to get a picture with the gt520 over my pre-amp. With the onboard HDMI I don't have to configure my xorg.conf. So, that's a bit strange and I don't know if this might be a related problem with my "sound-problem" Wink.
So i did both and I now gonna plug my card and try it:

Code:
david@david-xbmcbuntu:~$ sudo apt-get remove --purge libasound2-plugins
[sudo] password for david:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libasound2-plugins*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 256 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 105148 files and directories currently installed.)
Removing libasound2-plugins:i386 ...
david@david-xbmcbuntu:~$ sudo apt-get install alsa-utils libasound2
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version.
libasound2 is already the newest version.
libasound2 set to manually installed.
The following package was automatically installed and is no longer required:
  libspeexdsp1
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
david@david-xbmcbuntu:~$

Thanks for everything...espacially for being patient Wink

David
Reply
#52
overriding EDID might screw with sound. First try without it(if necessary without AVR, directly to TV). If that works we'll need to go from there.
Reply
#53
I tried an it won't work without setting custom EDID. I get them in a *.bin file with the on-board HDMI over the "nvidia x-server settings"-tool and then with "accuire EDID". So the EDID which I want to set, are the EDID from my rotel amp.

I don't have a TV with HDMI (only have a very old TV which still works fine Big Grin), only a beamer and this is not able to play sound without the amp Wink

At this moment my PC-monitor is plugged to my amp. To get a screen I plugged the XBMC (with the GT520) directly to the pc-monitot. But this also has no speakers to test.

So what do you think I gpnna do know? Overriding EDID in the xorg? It won't matter because it is simple to redo this. Just to lines with "#" and that's it. If you look at the first posting in this thread, you'll see what changes I want to make to get a picture over my pre-amp.

Cheers
Reply
#54
can you just use SPDIF for audio? or use the onboard HDMI for audio and GT 520 for video?
Reply
#55
Yes, but this is not the deal....I want to bitstream HD-audio and other users did this with the GT520, like "negge" or "vicbitter". The onboard hdmi cames from a Zotac ION F-Series, which is an ION 1 System which is not capable of bitstreaming hd.audio.

So if I will have to use the on-board HDMI for sound, I also can use this for video and I don't need the GT520 anymore.
Reply
#56
So...what I did now:

- installed gedit (to get the logfiles via copy&paste)
- disabled Azalia audio
- enabled debug log
- set custom EDID
- reboot direct to xbmc (got a picture over my amp with the new EDID I set)
- leave xbmc; switch to xbmcbuntu
- paste a logfile
- writing this post Wink Big Grin

XBMC-log:

http://xbmclogs.com/show.php?id=28665

Here is my whole xorg.conf if this might help:

http://xbmclogs.com/show.php?id=28667

I edited the "device" section and set the 2 lines with "option".

Maybe this might help to get this solved

Some outputs:

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

Code:
david@david-xbmcbuntu:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions

screenshot alsamixer:
http://www.pic-upload.de/view-17761070/alsa2.png.html

Still get no sound. I tried

Code:
speaker-test -Dplughw:0,3

and

Code:
speaker-test -Dplughw:0,7

Nothing works.

Hope this helps

Cheers
Reply
#57
The log says your AMP is connected to HDMI1:
m_deviceName : hdmi:CARD=NVidia,DEV=1
m_displayName : HDA NVidia
m_displayNameExtra: RTL ROTEL AVR on HDMI

BUT you set Xbmc to use HDMI0:
00:09:02 T:3007407936 INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=NVidia,DEV=0"
00:09:02 T:3007407936 INFO: CAESinkALSA::Initialize - Opened device

So do your homework and configure the correct output device
Reply
#58
Can we have a screenshot of XBMC audio settings please...

try using http://snag.gy/ I dont fancy being bombarded with attempts to download some malware from you last screenshot website you used.

The passthrough and selected device here are actually correct as opposed to the incorrect devices. See what wsnipex said eh!

FYI you can capture any logs much easier via SSH rather than installing gedit and having to go back and forth!

Code:
sudo apt-get install pastebinit

For debug log assuming your logged in as XBMC user

Code:
cat $HOME/.xbmc/temp/xbmc.log | pastebinit
Code:
cat path/to/file | pastebinit

Speaking of which your xorg.conf you have option in there that are deprecated in this driver version.

Code:
Option         "FlatPanelProperties" "Scaling = Native"
is deprecated.please remove it!

Last what we want to do is make lightdm behave! It has a nasty bug which affects audio terribly in either case there is a workaround and we are going to use it here!

http://wiki.xbmc.org/index.php?title=XBM...io_devices

Please post your finding when you have done everything!

TIA
Reply
#59
(2013-01-18, 11:49)wsnipex Wrote: The log says your AMP is connected to HDMI1:
m_deviceName : hdmi:CARD=NVidia,DEV=1
m_displayName : HDA NVidia
m_displayNameExtra: RTL ROTEL AVR on HDMI

BUT you set Xbmc to use HDMI0:
00:09:02 T:3007407936 INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=NVidia,DEV=0"
00:09:02 T:3007407936 INFO: CAESinkALSA::Initialize - Opened device

So do your homework and configure the correct output device

Yes, I know. I tried both in the sound settings. First the "HDANvidia (HDMI)" and then the other (there are only two options in my audio settings) "RTL ROTEL AVR on HDMI", But both didn´t get me any sound.

Gonna put some screenshots in here in half an hour...and gonna do the rest (what uNi said) immediatly.

And thanks for the hint of using "pastebinit". Try this next time

Cheers
Reply
#60
Here is the new log, with the correct device I think and while playing a movie. Looked after it, and it is the "dev:1", but still no sound.

XBMC-log

I configured the lightdm.conf to what the wiki said

and here are the screenshots from my soundsettings and a screenshot of alsamixer with avalaible sound cards:

Alsamixer

Audio settings
Reply

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