Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
2011-03-24, 11:54
(This post was last modified: 2011-03-25, 00:39 by shadow.)
I read that and will try the two files when I get home but I am on the newest nvidia drivers for sure since I am on Ubuntu 11.04 with the xorg-edgers ppa
Tested and it didn't work. It totally messed up my audio and caused failure to initialize for everything.
Posts: 155
Joined: May 2009
Reputation:
0
I must say ... nice work! I've just been testing this as a separate install, I was having a problem with pulseaudio not starting up, I'd have to manually run pulseaudio from the terminal to get it started, but the daemon would fail.
I run a headless server build, I was about to give up, every time I'd run pulseaudio from the CLI - I was getting 'Autolaunch error: X11 initialization failed'
Then it clicked, I was ssh-ing into the box, a simple 'export DISPLAY=:0.0' got it running.
Currently have "It's all gone Pete Tong" and the lovely Onkyo receiver now states 'DTS-HD MSTR'
Posts: 278
Joined: Oct 2010
Reputation:
0
2011-03-30, 11:55
(This post was last modified: 2011-03-30, 12:08 by SpectreX.)
The Ati HD5xxx/6xxx series card can bitstream HD audio up (DTS-HD and True HD) to 192Khz/24bit using ffdshow on Windows just fine, and have been doing so for over a year, so no, it`s not a hardware limitation. They were the first video cards capable of bistreaming HD audio, before that only the Asus HDAV 1.3 could to that
I have both a HD5450 card and a HD6230 (Zacate E350 APU) at home, if you want, i can help out with the testing, just send me a PM with a Live Mess/ Yahoo Mess/Skype ID and we`ll talk. I`m only in my first year of Computer Science college so i`m just learning the basics of C programming, so i can`t be much of assitance with the actual code.
Posts: 4
Joined: Dec 2010
Reputation:
0
2011-03-30, 19:38
(This post was last modified: 2011-03-30, 19:43 by RPD Hockey.)
Thanks for the reply. I did have your updated files. XBMC would play DTS Core 1.5 instead of the MA. I've done some more research on the topic and it seems that the consensus is that you have to have dog ears to tell the difference between the DTS Core and DTS MA. However, it just makes me feel good when I see the DTS-HD symbol light up on my receiver.
Anyway, I got tired of all the quirks my Radeon card had with Linux in general and decided to use Windows 7 for the time being. Hopefully support will improve in the near future, and it looks like it's going to with guys like you working on it. With that being said, even on Windows, it's a bit of a PITA to bitstream DTS-HD. Hopefully Eden will support bitstreaming of these codecs soon. I don't want to use something like TMT3/5 just for bitstreaming and lose everything else XBMC brings to the table.
SpectreX: I was reading that for XBMC you need to use DSplayer with FFDshow to bitstream properly. However, I heard that DSPlayer support for XBMC had been discontinued. Just curious, if applicable, what setup are you using with XBMC / Windows 7 to bitstream HD codecs?
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
Have you ever had any problem with the PA passthrough branch hard locking your computer? I just bought everything to make a standalone HTPC (all work before was on my Laptop) and I am trying to set it up but when I use the passthrough branch it hard locks the computer. Within seconds of bootup and the only way onto the computer is the boot a live disc and "make uninstall" pulseaudio from a chroot environment. Then I can boot back into the system.
I am using the same software setup as on my laptop.
Ubuntu 11.04 alpha (needed to support my newer hardware) out of the box
xbmc runs fine with PA uninstalled and just using straight alsa
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
That may be it since my new card is close to that. It is a GTS 450.
Whereas my laptop has a GTS 250M which is a older gt215 chipset. I don't know which chipset my new one uses.
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
2011-04-01, 13:20
(This post was last modified: 2011-04-02, 02:07 by shadow.)
I am getting my system setup to compile the kernel now. One bit of info I found out accidentally though is that even without pulseaudio running and setting the output to custom "hdmi:1,1" your version of XBMC will still bitstream DTS-HD. Although after a minute it went bad and crackling sounds started up.
Ok for a guy that has made a couple Linux From Scratch systems I sure hate compiling kernels now a days, but that patch worked. (OK it wouldn't apply so I manually edited the file with vi) among numerous other problems.
I noticed that the crackling sound came out even when using PA so it must be a bug that I never noticed before since I didn't take the time to watch the movie straight and just jumped around in it testing. I also tried it on my laptop and it was the same.
The movie is A Nightmare on Elm Street 1984 version with 7.1ch DTS-HD MA audio and it starts the second the movie name shows up on screen.
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
I just can't get a system I like, I got sick of trying to get it setup good under 11.04 so I decided that since I already had to update alot of stuff even under 11.04 I might as well just make the changes to xbmc-live even though it is 32bit so I lost some ram but oh well.
So I installed it updated the kernel to 2.6.39-rc1 updated the nvidia drivers manually installed libbluray etc
When I moved onto audiofilter I can't get it to compile now. Any idea what the problem is?
...
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/VArgs.cpp -o VArgs.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/VTime.cpp -o VTime.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/WavSink.cpp -o WavSink.o
In file included from ../../include/AudioFilter/WavSink.h:6,
from ../../lib/WavSink.cpp:2:
../../include/AudioFilter/AutoFile.h:36: error: ‘off64_t’ does not name a type
../../include/AudioFilter/AutoFile.h:40: error: ‘fsize_t’ does not name a type
../../include/AudioFilter/AutoFile.h:62: error: ‘fsize_t’ has not been declared
../../include/AudioFilter/AutoFile.h:67: error: ‘fsize_t’ has not been declared
../../include/AudioFilter/AutoFile.h:96: error: ‘fsize_t’ does not name a type
../../include/AudioFilter/AutoFile.h:111: error: ‘fsize_t’ has not been declared
../../include/AudioFilter/AutoFile.h:112: error: ‘fsize_t’ does not name a type
../../include/AudioFilter/AutoFile.h:117: error: ‘fsize_t’ does not name a type
../../include/AudioFilter/AutoFile.h: In static member function ‘static bool AudioFilter::AutoFile::isLarge(int)’:
../../include/AudioFilter/AutoFile.h:64: error: ‘fsize_t’ was not declared in this scope
../../include/AudioFilter/AutoFile.h:64: error: expected primary-expression before ‘)’ token
../../lib/WavSink.cpp: In member function ‘void AudioFilter::WavSink::initRiff()’:
../../lib/WavSink.cpp:67: error: ‘class AudioFilter::AutoFile’ has no member named ‘pos’
make[1]: *** [WavSink.o] Error 1
make[1]: Leaving directory `/home/xbmc/audiofilter/gnu/out.i686'
make: *** [all] Error 2
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
Thanks that worked, my system is nearly complete. My last problem is for some reason PA doesn't start with the system and the only way to get sound is to ssh in after boot and start it manually