Linux - AudioEngine testers - Linux only

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #631
Thnx, I will do the same when I have time
find quote
odin89 Offline
Junior Member
Posts: 31
Joined: May 2010
Reputation: 0
Post: #632
So I tried it and it works with NVIDIA Driver 304.64. On my Archlinux i was forced to install LTS Kernel which is 3.0.53 because with 3.6.5 the Driver doesnt work.
I testet DTS-HD and Dolby TrueHD and it works just fine :-)
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #633
You are king, lets do it here also.
I have 3.4 kernel btw.

This should be update in the fipo. Beside that we should test what the latest version is which works.

Update:
The bitstream option is still not working.
You changed 2 things at the same time:
- Kernel
- Driver

Question now is, is the kernel the problem or the driver.
XBMC is installed correctly. Receiver is able to bitstream. Folks on the forum use Denon for bitstream so mine should do as well.
Only thing I can think of is the kernel after trying the video driver

Besides that I am thinking of trying an windows machine to test the receiver of receiving the signals

Here a part of my log:
Code:
10:36:12 T:140528327182464  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
10:36:12 T:140528327182464  NOTICE: special://xbmcbin/ is mapped to: /usr/lib64/xbmc
10:36:12 T:140528327182464  NOTICE: special://masterprofile/ is mapped to: /home/htpc01/.xbmc/userdata
10:36:12 T:140528327182464  NOTICE: special://home/ is mapped to: /home/htpc01/.xbmc
10:36:12 T:140528327182464  NOTICE: special://temp/ is mapped to: /home/htpc01/.xbmc/temp
10:36:12 T:140528327182464  NOTICE: The executable running is: /usr/lib64/xbmc/xbmc.bin
10:36:12 T:140528327182464  NOTICE: Local hostname: htpc01
10:36:12 T:140528327182464  NOTICE: Log File is located: /home/htpc01/.xbmc/temp/xbmc.log
10:36:12 T:140528327182464  NOTICE: -----------------------------------------------------------------------
10:36:12 T:140528327182464    INFO: Selected UPower as PowerSyscall
10:36:12 T:140528327182464    INFO: CAESinkALSA - ALSA: pcm_ioplug.c:920:(snd_pcm_ioplug_create) ioplug: Plugin version mismatch
10:36:12 T:140528327182464    INFO: CAESinkALSA - ALSA: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
10:36:12 T:140528327182464    INFO: CAESinkALSA - ALSA: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
10:36:12 T:140528327182464    INFO: CAESinkALSA - Unable to open device "default" for playback
10:36:12 T:140528327182464   DEBUG: CAESinkALSA - Skipping HDMI device "hdmi:CARD=NVidia,DEV=0" as it has no ELD data
10:36:12 T:140528327182464   DEBUG: CAESinkALSA - Skipping HDMI device "hdmi:CARD=NVidia,DEV=1" as it has no ELD data
10:36:12 T:140528327182464   DEBUG: CAESinkALSA - Skipping HDMI device "hdmi:CARD=NVidia,DEV=2" as it has no ELD data
10:36:12 T:140528327182464   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
10:36:12 T:140528327182464  NOTICE: Enumerated ALSA devices:
10:36:12 T:140528327182464  NOTICE:     Device 1
10:36:12 T:140528327182464  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=3
10:36:12 T:140528327182464  NOTICE:         m_displayName     : HDA NVidia
10:36:12 T:140528327182464  NOTICE:         m_displayNameExtra: DON DENON-AVAMP on HDMI
10:36:12 T:140528327182464  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
10:36:12 T:140528327182464  NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
10:36:12 T:140528327182464  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
10:36:12 T:140528327182464  NOTICE:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_DTSHD,AE_FMT_EAC3,AE_FMT_TRUEHD,AE_FMT_​S32NE,AE_FMT_
S16NE,AE_FMT_S16LE
10:36:12 T:140528327182464  NOTICE: load settings...
10:36:12 T:140528327182464  NOTICE: special://profile/ is mapped to: special://masterprofile/
10:36:12 T:140528327182464  NOTICE: loading special://masterprofile/guisettings.xml
10:36:12 T:140528327182464  NOTICE: Getting hardware information now...
10:36:12 T:140528327182464    INFO: Using digital output
10:36:12 T:140528327182464    INFO: AC3 pass through is enabled
10:36:12 T:140528327182464    INFO: DTS pass through is enabled
10:36:12 T:140528327182464    INFO: AAC pass through is disabled
10:36:12 T:140528327182464   DEBUG: trying to set locale to nl_NL.UTF-8
10:36:12 T:140528327182464    INFO: global locale set to nl_NL.UTF-8

And when starting a movie with DTS HD MA:

Code:
10:49:34 T:140528327182464   DEBUG: Previous line repeats 1 times.
10:49:34 T:140528327182464   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
10:49:34 T:140528327182464   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
10:49:34 T:140527098210048  NOTICE:  (VDPAU) Total Output Surfaces Available: 2 of a max (tmp: 2 const: 4)
10:49:34 T:140527098210048  NOTICE:  (VDPAU) Creating the video mixer
10:49:34 T:140527098210048  NOTICE:  fps: 23.976024, pwidth: 1280, pheight: 720, dwidth: 1920, dheight: 1080
10:49:34 T:140527098210048   DEBUG: OutputPicture - change configuration. 1280x720. framerate: 23.98. format: VDPAU
10:49:34 T:140527098210048  NOTICE: Display resolution DESKTOP : 1280x768 @ 59.99 - Full Screen (16)
10:49:34 T:140528327182464   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
10:49:34 T:140527971088128    INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=NVidia,DEV=3"
10:49:34 T:140527971088128    INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=NVidia,DEV=3,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x0e"
10:49:34 T:140527971088128   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 512, periods 16, bufferSize 8192
10:49:34 T:140528327182464   DEBUG: Activating window ID: 12005
10:49:34 T:140528327182464   DEBUG: ------ Window Deinit (Home.xml) ------
10:49:34 T:140528327182464   DEBUG: ExecuteXBMCAction : Translating SetProperty(VideosDirectLink,True)
10:49:34 T:140528327182464   DEBUG: ExecuteXBMCAction : To SetProperty(VideosDirectLink,True)
10:49:34 T:140528327182464   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
10:49:34 T:140528327182464    INFO: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
10:49:34 T:140527971088128   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 512, periods 16, bufferSize 8192
10:49:34 T:140527971088128   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 43 ms
10:49:34 T:140528327182464   DEBUG: Load VideoFullScreen.xml: 31.71ms
10:49:34 T:140528327182464   DEBUG: Alloc resources: 33.11ms  (32.02 ms skin load)
10:49:34 T:140527971088128   DEBUG: CSoftAE::InternalOpenSink - ALSA Initialized:
10:49:34 T:140527971088128   DEBUG:   Output Device : HDA NVidia
10:49:34 T:140527971088128   DEBUG:   Sample Rate   : 192000
10:49:34 T:140527971088128   DEBUG:   Sample Format : AE_FMT_S16NE
10:49:34 T:140527971088128   DEBUG:   Channel Count : 8
10:49:34 T:140527971088128   DEBUG:   Channel Layout: FL,FR,BL,BR,FC,LFE,SL,SR
10:49:34 T:140527971088128   DEBUG:   Frames        : 512
10:49:34 T:140527971088128   DEBUG:   Frame Samples : 4096
10:49:34 T:140527971088128   DEBUG:   Frame Size    : 16
10:49:34 T:140527971088128   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 8192
10:49:34 T:140527089817344   DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
10:49:34 T:140528327182464  NOTICE: Using GL_TEXTURE_2D
10:49:34 T:140528327182464  NOTICE: GL: Using VDPAU render method
10:49:34 T:140528327182464  NOTICE: GL: NPOT texture support detected
10:49:34 T:140528327182464  NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:49:35 T:140527543195392   DEBUG: CDVDPlayer::HandleMessages - player started 1
10:49:35 T:140527543195392   DEBUG: CDVDPlayer::HandleMessages - player started 2
10:49:35 T:140527543195392   DEBUG: CDVDPlayer::SetCaching - caching state 0
10:49:35 T:140527971088128   DEBUG: CSoftAE::Run - Sink restart flagged
10:49:35 T:140527971088128    INFO: CSoftAE::InternalOpenSink - RAW passthrough enabled
10:49:35 T:140527971088128    INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_DTSHD, FL,FR,BL,BR,FC,LFE,SL,SR, 192000hz
10:49:35 T:140527971088128   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 8192
10:49:35 T:140527089817344   DEBUG: CDVDPlayerAudio:: Discontinuity - was:4519971853.893000, should be:4519978666.666667, error:6812.773667
10:49:35 T:140528327182464   DEBUG: ------ Window Deinit (Pointer.xml) ------
10:49:37 T:140527089817344   DEBUG: CDVDPlayerAudio:: Discontinuity - was:4521982236.130667, should be:4521941843.314331, error:-40392.816336
10:49:39 T:140527089817344   DEBUG: CDVDPlayerAudio:: Discontinuity - was:4523942285.115331, should be:4523926503.423606, error:-15781.691725

Looks like XBMC is normally outputting data, but it does not exit the Sapphire edge HD2
(This post was last modified: 2012-12-04 11:52 by tudstudent.)
find quote
wsnipex Offline
Team-XBMC packaging monkey
Posts: 3,505
Joined: Jun 2011
Reputation: 84
Post: #634
I suggest you try OpenElec Frodo Beta from an USB stick. It should work ootb there.
(This post was last modified: 2012-12-04 12:35 by wsnipex.)
find quote
odin89 Offline
Junior Member
Posts: 31
Joined: May 2010
Reputation: 0
Post: #635
Maybe you can try it with a older Kernel. I can only test it with kernel 3.0.53, 3.6.8-1 (not 3.6.5 which i wrote in my post above) and 3.7rc7 (didnt test this Version) . There are no other Kernel in the ArchLinux Repository.
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #636
Tested beta openelec -> Not working.....
Beta Release: 2.95.3 (3.0 Beta 3) based on XBMC-Frodo

Going nuts....

only thing I can now think of is the kernel and a windows test (windows live or something similar)
(This post was last modified: 2012-12-04 13:07 by tudstudent.)
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #637
I am very sure it is an edid issue. Reading a lot about it.
Also what the problem is, I only don't know how I can fix it in Linux. Are here some devs of users who can help me out:

http://www.avsforum.com/t/1012239/denons...t_13480395
find quote
wsnipex Offline
Team-XBMC packaging monkey
Posts: 3,505
Joined: Jun 2011
Reputation: 84
Post: #638
if you find a correct edid you should be able to force it in the nvidia driver.
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #639
I am busy to solve this issue in a windows environment, if that succeeds then I have an working edid which I can use in linux.
Keep you posted.

(Chance is very likely that XBMC and my Linux config are 100% OK)
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #640
Oke, small update:
(By the time you can see the steps I have taken and what I have done, in case you have similar issues)

@13:00
I have DTS HDMA on my receiver. I cannot yet tell how I did it coz it could be a wrong suggestion. Later on 2day I am going to test some options which are still to investigate. After this is done I will state what my problem was en if necesarry the solution worked out (the best I can).

@13:47
Installed the latest Nvidia driver, lets see if this one works as well. If it works my initial install was quite OK.
Next steps will be making a new Monitor dump with moninfo:
http://www.entechtaiwan.com/util/moninfo.shtm

@14:24
Video driver 310.19 is working fine. Since detection of standard size is disabled the image is too big, but that is for a later stage.
Now I am going to extract a new monitor file (EDID) with the program mentioned before. I am going to use this as-is in the xorg file.

@14:40
New untouched edid is loaded in my xorg.conf and computer is rebooting.
Curious about the result.

@14:55
Untouched EDID is not working.
Going to open the file in: Advantiv EDID Editor
http://ez.analog.com/docs/DOC-2143
So open Moninfo again and copy the raw data from there in a notepad. Make it look like this:

Code:
EDID BYTES:
0x     00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
      ------------------------------------------------
0000 | 00 FF FF FF FF FF FF 00 04 21 00 00 00 00 00 00
0010 | 00 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
0020 | 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
0030 | 01 01 01 01 01 01 00 00 00 00 00 00 00 00 00 00
0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 CC
0080 | 02 03 04 00 00 00 00 00 00 00 00 00 00 00 00 00
0090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00B0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F7

Mine is looking like:
Code:
EDID BYTES:
0x     00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
      ------------------------------------------------
0000 | 00 FF FF FF FF FF FF 00 11 EE 0B 00 01 01 01 01
0010 | 00 11 01 03 80 47 28 78 8A 28 8E 9E 55 48 97 24
0020 | 16 48 4B AD CE 00 31 59 45 59 61 59 81 80 01 01
0030 | 01 01 01 01 01 01 A9 1A 00 A0 50 00 16 30 30 20
0040 | 37 00 C4 8E 21 00 00 18 66 21 50 B0 51 00 1B 30
0050 | 40 70 36 00 C4 8E 21 00 00 18 00 00 00 FC 00 44
0060 | 45 4E 4F 4E 2D 41 56 41 4D 50 0A 20 00 00 00 FD
0070 | 00 2F 55 1F 50 0E 00 0A 20 20 20 20 20 20 01 93
0080 | 02 03 4A 71 5B 93 04 14 05 1F 10 12 11 03 02 01
0090 | 16 15 07 06 0E 23 0F 24 1D 25 1E 26 0A 0B 19 1A
00A0 | 38 0F 7F 07 3D 1E C0 15 07 50 5F 7E 01 57 06 00
00B0 | 65 7E 00 67 1E 00 4D 02 00 83 5F 00 00 6C 03 0C
00C0 | 00 12 00 80 00 C0 01 01 10 10 01 1D 00 BC 52 D0
00D0 | 1E 20 B8 28 55 40 C4 8E 21 00 00 1A 01 1D 00 72
00E0 | 51 D0 1E 20 6E 28 55 00 C4 8E 21 00 00 1E 00 00
00F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B5

Save the file as a ".dat"

Remark: Everybody's file is different I have no idea if you can screw your config up with my EDID!

Now I read this is in EDID Editor.
After open you press save! (If you do not do this the file will not be saved anymore!)
Press unlock the file! No you can do with the file whatever you want.

I just press check file (the green V) (checking the file)
If you are finished you can press save, but for my goal I need a little other format, so you EXPORT the file (if you do not export, moninfo will not read the E-EDID)

After my updates the EDID looks like:
Code:
EDID BYTES:
0x     00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
      ------------------------------------------------
0000 | 00 FF FF FF FF FF FF 00 11 EE 0B 00 01 01 01 01
0010 | 00 11 01 03 80 47 28 78 8A 28 8E 9E 55 48 97 24
0020 | 16 48 4B AD CE 00 31 59 45 59 61 59 81 80 01 01
0030 | 01 01 01 01 01 01 00 00 00 A0 00 00 00 00 00 00
0040 | 00 00 00 00 00 00 00 00 00 00 50 B0 51 00 1B 30
0050 | 40 70 36 00 C4 8E 21 00 00 18 00 00 00 FC 00 44
0060 | 45 4E 4F 4E 2D 41 56 41 4D 50 0A 20 00 00 00 FD
0070 | 00 2F 55 1F 50 0E 00 0A 20 20 20 20 20 20 01 85
0080 | 02 03 4A 71 5B 93 04 14 05 1F 10 12 11 03 02 01
0090 | 16 15 07 06 0E 23 0F 24 1D 25 1E 26 0A 0B 19 1A
00A0 | 38 0F 7F 07 3D 1E C0 15 07 50 5F 7E 01 57 06 00
00B0 | 65 7E 00 67 1E 00 4D 02 00 83 5F 00 00 6C 03 0C
00C0 | 00 12 00 80 00 C0 01 01 10 10 01 1D 00 BC 52 D0
00D0 | 1E 20 B8 28 55 40 C4 8E 21 00 00 1A 01 1D 00 72
00E0 | 51 D0 1E 20 6E 28 55 00 C4 8E 21 00 00 1E 00 00
00F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B5

For now I stop, coz I want to see if the update of the file contents is just enough to make the edid work in my Linux environment. The more basic the better.
This file I am going to test in my linux environment. Wish me luck

Ps, this is the rule to put it in your config:
Code:
Option "CustomEDID" "DFP-1:/storage/.config/edid-binary.bin"
Option "UseEDID" "true"

@17:46
It looks like these adjustmens make the edid work as well as the sound. However keep in mind that the extract is somehow dependant on the HDMI port you used (dunno) why, but honestly i do not care.
Now I need to make sure the standard frequencies for my LCD are used out of that same edid file which should be easy.

@17:57
Resolution was just an option in the XBMC settings. Sooooo Nice.
All working. Hope someone can do something with my logs.
(This post was last modified: 2012-12-05 18:59 by tudstudent.)
find quote
odin89 Offline
Junior Member
Posts: 31
Joined: May 2010
Reputation: 0
Post: #641
What Version of Windows did you use for moninfo?
I tried it with windows 7 and moninfo crashes at start or reboot my computer.
It would be interesting if it works with another edid on driver 310.xx for me too
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #642
I used windows 7 X64

(Try run it in compatibility mode -> you used win 8 right?)
find quote
odin89 Offline
Junior Member
Posts: 31
Joined: May 2010
Reputation: 0
Post: #643
i used win 7 x86. I will try it with windows xp
find quote
tudstudent Offline
Senior Member
Posts: 190
Joined: Jan 2010
Reputation: 0
Post: #644
it does not matter with which pc you retrieve the edid code, as long as you get the source edid.
find quote
odin89 Offline
Junior Member
Posts: 31
Joined: May 2010
Reputation: 0
Post: #645
Now i get moninfo working with a fresh win7 install.
But my Raw Data from Moninfo look like this:
Code:
00,FF,FF,FF,FF,FF,FF,00,3D,CB,32,0A,00,00,00,00,00,14,01,03,80,6F,3E,78,0A,EE,91​,A3,54,4C,99,26,
0F,50,54,BD,EF,80,71,4F,81,00,81,40,81,80,95,00,95,0F,B3,00,A9,40,02,3A,80,18,71​,38,2D,40,58,2C,
45,00,A0,5A,00,00,00,1E,66,21,50,B0,51,00,1B,30,40,70,36,00,A0,5A,00,00,00,1E,00​,00,00,FC,00,54,
58,2D,53,52,33,30,38,0A,20,20,20,20,00,00,00,FD,00,18,4B,1A,51,11,00,0A,20,20,20​,20,20,20,01,91
and not like your codeblock. And i dont know what to do with it in the EEdit Manager.
find quote
Post Reply