HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > General Discussion


Reply
 
Thread Tools
Old Dec 18, 2005, 04:30 PM Threadstarter Thread Starter   #61
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Quote:
Originally Posted by CRFX
Just to let you know the sse and sse2 versions work fine. It only uses around 5% of my amd64 3000.
Thank you for this report. Does it use more % when you use the normal exe (not SSE, not SSE2)?

You have a very fast processor so the encoding latency must be very low since it encodes fast. How much is the latency noticeable?

Quote:
Originally Posted by CRFX
One question, is there a way to select what spdif output it uses instead of spdif0. I'm wondering if I could run 2 at once to output to 2 recievers at the same time.
I don't know. In the mixer, you can only choose one spdif ouput destination. It's probably a limitation of the drivers or of the sound card. From your tests, were you able to make an spdif ouput other than spdif0 work (alone, not two at the same time)?
Tril is offline   Reply With Quote


Old Dec 18, 2005, 05:37 PM   #62
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
Rep Power: 0
radiocolonel.it is on a distinguished road

Donator
Hi everybody!!!
I changed some in the download page, i hope i fixed the problems happened til now. Please try to see if it works, thanks:

this is the new link:

http://xoomer.virgilio.it/ars_acustica/kx/tril
__________________

http://www.rossanodembech.it

Last edited by radiocolonel.it; Dec 22, 2005 at 12:10 PM.
radiocolonel.it is offline   Reply With Quote
Old Dec 18, 2005, 08:18 PM   #63
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Yup works fine now in FF - left clicks for everyone..
Maddogg6 is offline   Reply With Quote
Old Dec 18, 2005, 09:17 PM   #64
DriverHeaven Junior Member
 
Join Date: Feb 2004
Posts: 29
Rep Power: 0
CRFX is on a distinguished road

I didn't see any noticable differance in cpu usages between sse and non sse.
Latency isn't a problem (at least on my comp) when playing fps games like halflife2 when using 8ms in the asio control panel. At 32ms there is a noticable lag in sounds.
I also tried changing the spdif passthogh to 1 and 2 but had no output anywhere, so I asume its limeted to that one output.
Is there anyway to select where the ac3 gets outputed to?


Plan on using 2 recievers to bi amp my 5 home theatre speakers
heh, having 3 would give 15 channels of output.
CRFX is offline   Reply With Quote
Old Dec 18, 2005, 10:11 PM Threadstarter Thread Starter   #65
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Quote:
Originally Posted by CRFX
I didn't see any noticable differance in cpu usages between sse and non sse.
That's what I thought would happen. The encoding is not compiled using SSE. It's all the code around it that is compiled using SSE and it probably does not do much and it's done by using the SSE option in Microsoft Visual Studio .NET 2003 (not coded by hand).

Quote:
Originally Posted by CRFX
I also tried changing the spdif passthogh to 1 and 2 but had no output anywhere, so I asume its limeted to that one output.
Is there anyway to select where the ac3 gets outputed to?
I have no idea.
Tril is offline   Reply With Quote
Old Dec 18, 2005, 10:53 PM Threadstarter Thread Starter   #66
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I created two test versions of redocneXk to try to get SPDIF 1 and SPDIF 2 working. I have absolutely no idea if the changes I made will get it working. Try them and report.

Test1 should work with SPDIF 1 and Test2 should work with SPDIF 2.
I have not included the avcodec.dll file. Use the one from redocneXk_v1.01.

Link here
Tril is offline   Reply With Quote
Old Dec 19, 2005, 03:00 AM   #67
DriverHeaven Newbie
 
Join Date: Mar 2005
Posts: 14
Rep Power: 0
Devil May Cry is on a distinguished road

this spdif passthru on kx3538i..can be done on sb0220? sblive 5.1 with digital out gd580..
emu10k1 processor?

cause when did spdif passthru my decoder's dolby light blink on and off.
with offcial Creative...dunno why they gave up sblive series.for develop driver.

...
Devil May Cry is offline   Reply With Quote
Old Dec 19, 2005, 03:46 AM   #68
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

I do not think that AC3 passthru is officially enabled/working for emu10k1 based cards as of yet, but I cannot be sure (but all the info that I have seen seems to indicate this).

Searching the forum, I see that some testing was done back with kX 3533, but I am not sure what become of that (maybe not enough people did the necessary testing), and I am not sure if anything has changed with new kX versions. You can read about that in the following thread: http://www.hardwareheaven.com/general-discussion/15526-ac-3-passthru-10k1.html
Russ is offline   Reply With Quote
Old Dec 19, 2005, 08:13 PM   #69
DriverHeaven Newbie
 
Join Date: Jun 2005
Posts: 6
Rep Power: 0
jagjonas is on a distinguished road

Quote:
Originally Posted by Tril
The version of the Surrounder with or without a + is not important. I said to use the one with a + because it is the one loaded by default in 3538i. Simply use the default Surrounder plugin.

In the mixer, the icon to the right called "Toggle S/PDIF Bypass Mode" must be unchecked. It is used to silences SPDIF digital output.

jagjonas, try redocneXk with passthru off and connect a sine wave from the plugin "Wave Generator" to the asio pins 0 to 5 on the epilog.

The AC3 icon should popup, the kX drivers will decode the signal (instead of sending it out by passthru) and you will hear the sound throught the analog speakers connected to the sound card.

If this works, that means that redocneXk is correctly receiving the audio by asio and that it is correctly outputing the sound using WaveOut (or DirectSound if you use -r 1). If it does not work with waveout, try with directsound.

If it works, the problem probably lies with passthru.
thanks for answering. Got the sinus-waveout hearable using asio0-5. you could hear it on both analog and digital outs. (Using "-r 1" the sound got "skipy" or what to call it).

A box saying "Ac3 - Passthru" was displayed when starting the dos-application.

When watching a dvd with surround all I get from my speakers is either only the front l/r-channels (surround but with center/rear/sub deleted) and with a hearable echo. When using analog-out I get all 6-channels but with echo. This using PowerDVD set to 6channels in settings.

Mixer settings in order left->right: "Toggle SPDIF-In AC-3 Decode-Mode" Off; Ac3-passthru Off; SPDIF-Res: 48k; By-pass SPDIF off;

redocneXk version 1.01
The avcodec library is licensed under the LGPL. See the included lgpl.txt file
for a copy of the LGPL license.
ASIO Interface Technology by Steinberg Media Technologies GmbH

*** Settings ***
Driver = 1 (kX ASIO)
Bitrate = 640000
FL = asio0
FR = asio1
SL = asio2
SR = asio3
C = asio4
LFE = asio5
Renderer = 0
*** Information ***
asioVersion: 0
driverVersion: 3537
Name: kX ASIO SB0350 10k2 [a400]
ErrorMessage: No ASIO Driver Error
ASIOGetChannels (inputs: 16, outputs: 16);
ASIOGetBufferSize (min: 1024, max: 1024, preferred: 1024, granularity: 0);
ASIOGetSampleRate (sampleRate: 48000.000000);
ASIOOutputReady(); - Not supported
ASIOGetLatencies (input: 1024, output: 1024);
*** Status ***
ASIO Driver started successfully.
Press Q to quit.

Edit: No Ac3-light on receiver at any time.
jagjonas is offline   Reply With Quote
Old Dec 19, 2005, 08:46 PM Threadstarter Thread Starter   #70
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

jagjonas, "AC3 passthru" in the mixer needs to be set to SPDIF 0 (or maybe SPDIF 1) to send the AC3 stream unmodified to the receiver. If it's set to off, it's normal to hear echo and the AC3 light on the receiver won't light up.

When you tried the sine wave, if passthru was off, you probably heard it with the digital ouput because Surrounder was connected to the SPDIF oupput on epilog. It was not AC3 but it was digital stereo.

For better performance, open the ASIO Control Panel and set the Format to "16 bit / 48 kHz [8+8]". This will make ASIO use only 8 inputs and outputs instead of 16 inputs and 16 outputs. This does not have anything to do with your problem and if you need more than 8 inputs and 8 outputs because you use ASIO for something else, ignore this recommendation. On my computer, ASIO skips less when set to [8+8] than when set to [16+16].
Tril is offline   Reply With Quote
Old Dec 20, 2005, 05:44 AM Threadstarter Thread Starter   #71
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I found out how to compile avcodec for different processors. I need to use the "--tune=" switch when running configure. It is currently compiled using generic.

The choices are :
i386
i486
i586
i686
pentium
pentiumpro
pentium-mmx
pentium2
pentium3
pentium4
prescott
k6
k6-2
k6-3
athlon
athlon-tbird
athlon-4
athlon-mp
athlon-xp
winchip-c6
winchip2
c3
nocona
athlon64
k8
opteron
athlon-fx

I can't possibly recompile and host all those because it's not necessary and it would take a lot of disk space. I need to choose a small number of them.

I plan on compiling a few of these and ask radiocolonel.it to host them. That way, you will be able to replace the generic "avcodec.dll" with one optimised for your processor.

I will recopile for a given cpu on demand. Reply to this thread and say for which cpu you want the code to be generated and I will recompile the dll for you.

Last edited by Tril; Dec 20, 2005 at 06:13 AM. Reason: added the text in bold
Tril is offline   Reply With Quote
Old Dec 20, 2005, 06:35 AM   #72
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

So - does this mean the current SSE/SSE2 versions are not actually implementing the SSE/SSE opcodes?

OR

will this further 'optimize' for the particular processor?
Maddogg6 is offline   Reply With Quote
Old Dec 20, 2005, 06:47 AM Threadstarter Thread Starter   #73
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

In the current version, the SSE/SSE2 executables use SSE/SSE2 on the code around the encoding process. The encoding is done by avcodec.dll and this does not use SSE/SE2.

By changing to a dll compiled for a given CPU, the dll code will be generated for that given CPU. It will probably use SSE, SSE2 where it can be used.
Tril is offline   Reply With Quote
Old Dec 22, 2005, 12:12 PM   #74
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
Rep Power: 0
radiocolonel.it is on a distinguished road

Donator
Updated section, the link with the Tril's downloads is now:

http://xoomer.virgilio.it/ars_acustica/kx/tril

There is an optimized version for Pentium 4
__________________

http://www.rossanodembech.it
radiocolonel.it is offline   Reply With Quote
Old Dec 22, 2005, 03:21 PM   #75
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

I have an A64, it's the optimization mentioned useful for a 32bit system with A64 processor?

Instead I'll go for an SSE2/3 compile

Tnx a lot
Yakuza696 is offline   Reply With Quote
Old Dec 22, 2005, 09:13 PM   #76
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Ok all works great so far, but i was wondering: what happens if i play a pre encoded ac3 stream with redocnexk enabled?
Yakuza696 is offline   Reply With Quote
Old Dec 22, 2005, 09:47 PM   #77
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Think about it for a sec. If you have AC3 passthru enabled, than it is going to bypass the DSP, and thus bypass redocnexk. If you do not have AC3 passthru enabled, then it will be decoded by kX, and then get re-encoded by redocnexk, and you will probably end up with an echo.
Russ is offline   Reply With Quote
Old Dec 22, 2005, 10:37 PM   #78
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Quote:
Originally Posted by Russ
Think about it for a sec. If you have AC3 passthru enabled, than it is going to bypass the DSP, and thus bypass redocnexk. If you do not have AC3 passthru enabled, then it will be decoded by kX, and then get re-encoded by redocnexk, and you will probably end up with an echo.
Sure it's enabled, but it doesn't work as you say, ffdshow or powerdvd could not see the spdif if redocnexk is running, i'm now trying to use my onboard realtek for ac3 pre-encoded streams (it seems to work for powerdvd).

Last edited by Yakuza696; Dec 22, 2005 at 11:06 PM.
Yakuza696 is offline   Reply With Quote
Old Dec 22, 2005, 10:47 PM   #79
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Sorry, I do not understand what you are saying (a language issue I think). What are you trying to do?
Russ is offline   Reply With Quote
Old Dec 22, 2005, 11:10 PM   #80
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Quote:
Originally Posted by Russ
Sorry, I do not understand what you are saying (a language issue I think). What are you trying to do?
I just edited my post, there was a terrible english in it lol
Anyway what I say is that with redocnexk running i can't play ac3 pre-encoded streams (avi+ac3 or dvd movies) directly to my spdif.

At the moment i solved the thing installing ac3filter and setting it in 6 channels mode and in this way avi-ac3 movies are played very well. I did a similar thing in powerdvd, enabling 6 channels mode with no post processing audio effects.
Yakuza696 is offline   Reply With Quote
Old Dec 22, 2005, 11:35 PM   #81
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

I cannot test it out myself as AC3 pass-thru does not work with my card (and I do not have a receiver) but I do not know why it wouldn't work (unless maybe kX can't handle more than one AC3 stream at a time). One thing I did notice is if AC3 pass-thru is enabled in kX when PowerDVD is opened, then PowerDVD shows 'SPDIF Output Device: Not Detected', but that is not related to redocnexk. I think enabling 6 channels is having your software decode the AC3 stream, instead of kX, and then redocnexk re-encode's it. BTW: Why would you have redocnexk running if you want to output a signal to SPDIF that is allready AC3 encoded?
Russ is offline   Reply With Quote
Old Dec 22, 2005, 11:41 PM   #82
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Quote:
Originally Posted by Russ
BTW: Why would you have redocnexk running if you want to output a signal to SPDIF that is allready AC3 encoded?
Because I installed redocnexk as a system service and I'm setting up my system to do all the output transparently.


Quote:
Originally Posted by Russ
I think enabling 6 channels is having your software decode the AC3 stream, instead of kX, and then redocnexk re-encode's it.
At the moment seems the only solution, i wonder if there is something that can be done in dsp, unfortunatly I'm really a newbie with kX drivers.
Yakuza696 is offline   Reply With Quote
Old Dec 23, 2005, 12:02 AM   #83
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Anyway it doesn't seem to run very well as service (I tried with firedaemon).
Yakuza696 is offline   Reply With Quote
Old Dec 23, 2005, 12:08 AM Threadstarter Thread Starter   #84
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Each SPDIF stream contains a "data stream number". By using different data stream numbers, you can have many SPDIF streams at the same time. That's the theory but I don't know how the kX drivers react to using many data streams numbers at the same time or if it even works for data streams numbers different than 0.

The version 1.01 of redocneXk has the data stream number 0.

The test versions 1 and 2 (available in the first post) have the data stream numbers 1 and 2.

I suggest that you try to use the version test1 or test2 instead of the normal version. Maybe it will make it possible to use redocneXk at the same time as something else like a DVD player. Report back to tell me if they work without and with the DVD player.
Tril is offline   Reply With Quote
Old Dec 23, 2005, 12:16 AM   #85
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Quote:
Originally Posted by Tril
Each SPDIF stream contains a "data stream number". By using different data stream numbers, you can have many SPDIF streams at the same time. That's the theory but I don't know how the kX drivers react to using many data streams numbers at the same time or if it even works for data streams numbers different than 0.

The version 1.01 of redocneXk has the data stream number 0.

The test versions 1 and 2 (available in the first post) have the data stream numbers 1 and 2.

I suggest that you try to use the version test1 or test2 instead of the normal version. Maybe it will make it possible to use redocneXk at the same time as something else like a DVD player. Report back to tell me if they work without and with the DVD player.
I tried with test1 and 2, powerdvd can't see spdif and avi+ac3 can't be played too :/

EDIT: test1 and test2 didn't work at all on my system, no audio at all and anyway same spdif not detected in powerdvd.
I don't know if it helps, but when i enabled my realtek on board ac97 with spdif out, with redocneKx running, powerdvd detected the spdif of my realtek as it was the audigy one and in fact i was able to ear the dvd audio with my second optical line on the dvd decoder.

Last edited by Yakuza696; Dec 23, 2005 at 12:43 AM.
Yakuza696 is offline   Reply With Quote
Old Dec 23, 2005, 12:59 AM Threadstarter Thread Starter   #86
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Did you think of putting the file avcodec.dll in the same folders as the test versions?

If you did, thank you Yakuza696. Nobody reported yet if test1 and test2 worked. Now I know that it does not work for one person.

It look like that what you are trying to do won't work.
Tril is offline   Reply With Quote
Old Dec 23, 2005, 01:04 AM   #87
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Yes the dll was in the dir, infact the program started with no errors but no sound at all and no digital led turned on my ac3 decoder.

No problem man, i'll start it manually when i need it, thanks for your work and i'll be here to test if you need help
Yakuza696 is offline   Reply With Quote
Old Dec 23, 2005, 10:56 AM   #88
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
Rep Power: 0
radiocolonel.it is on a distinguished road

Donator
Updated section:

http://xoomer.virgilio.it/ars_acustica/kx/tril/
__________________

http://www.rossanodembech.it
radiocolonel.it is offline   Reply With Quote
Old Dec 23, 2005, 11:31 AM Threadstarter Thread Starter   #89
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

You don't have to tell me what is your cpu anymore for me to make an optimized
dll. I made three new optimized dlls and I think that they should be enough to please everybody.

They are :
SSE
SSE2
SSE3
Tril is offline   Reply With Quote
Old Dec 23, 2005, 12:54 PM   #90
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0
Yakuza696 is on a distinguished road

Quote:
Originally Posted by Tril
You don't have to tell me what is your cpu anymore for me to make an optimized
dll. I made three new optimized dlls and I think that they should be enough to please everybody.

They are :
SSE
SSE2
SSE3
So i should use SSE2 .exe and SSE3 ddl ?
Yakuza696 is offline   Reply With Quote
Reply

Bookmarks

« Horrible static | - »
Thread Tools