Urban Terror Forums: dmaHD: New Sound System - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (18 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • This topic is locked

dmaHD: New Sound System Rate Topic: ***** 4 Votes

Optimized 3D-Hybrid-HRTF multi-platform sound system for Urban Terror.

#21 User is offline   pollofeliz Icon

  • Account: pollofeliz
  • Joined: 18-April 10
  • Posts: 140

Posted 13 November 2010 - 02:24 AM

I downloaded this build an hour ago to test it out. My goal was to test the claim that dmaHD is still faster than ikalizer. I have a demo file recorded on fallin-angels.org that's probably has demanding as it gets in Urban Terror. +20 player CTF, small map, lots of smoke and explosions. My laptop has ATI Radeon HD 5470 and Realtek HD sound. Windows 7, Catalist 10.10 software. Strangely, not only dmaHD is slower than ikalizer, but ikalizer and dmaex perform about the same. The FPS numbers were approximately:

dmaHD: 61 FPS
dmaEX: 73 FPS
ikalizer: 73 FPS

I did two runs at 1280x720 resolution. I also did it with 1920x1080 and got virtually same numbers (kinda makes me wonder, why did I change to the higher resolution earlier). dmaHD and dmaEX settings were stock, but I remember that I did make sure a while ago that ikalizer does make use of dual core CPU, and as much as it needs. I haven't done any other testing. Just the timedemo run. If you want I can send the demo file.


OK: one more note, I just remembered the demo was run with com_maxfps set to 84. The numbers might have been different with 125. Nonetheless, 84 is what I have when I play. Clearly something is wrong in either this build of the engine, or my laptop.

This post has been edited by pollofeliz: 13 November 2010 - 02:36 AM

3AKOH
(usually)

#22 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 13 November 2010 - 02:54 AM

Here it's fine, results on timedemo on a short demo of spam in a pub with a default config on my client:

(pollofeliz, /timedemo should ignore com_maxfps)

/*
Win64:
	Bumpy:
		dmaHD:		188.5-189.4
		dmaEX:		195.9-195.7
		(oops, I was accidentally running the Win64 client for this, but let's go with it too anyway)
		Ikalizer:	Not Applicable (Not available in Win64)

	Non-bumpy:
		dmaHD:		172.1-171.8
		dmaEX:		178.0-177.0
		Ikalizer: 	Not Applicable

Win32:
	Bumpy:	
		dmaHD:		213.9-212.7
		
(differences in Win64 and Win32 numbers are normal since Win64 is in more need of x86_64 code related optimizations)
		dmaEX:		221.2-220.9
		Ikalizer:	202.2-202.8
	Non-bumpy:
		dmaHD:		194.4-194.8
		dmaEX:		201.4-200.3
		Ikalizer:	185.7-185.5
(two results are there for two /timedemo runs)
*/


The system is CPU bottlenecked (in this setup and nvidia effects). This is important, since if you try to benchmark a sound system on a GPU bottlenecked system it's at least partly pointless since the CPU may be able to cope up to a point but for at least some range of FPS the GPU keeps it down.

e.g. you may have on ALL systems 50 FPS because the GPU can't go above it but the CPU can handle all three systems fine.

pollofeliz, since you tested on 2 different clients, it may had been the optimizations of building.
If I get on a dual core lower FPS on Ikalizer (which uses SMP) on its default settings, it means not only it's heavier, it's a lot heavier.


--

After profiling dmaHD_PaintChannelFrom16() ranks very high on CPU usage. I assume it's normal but pointing it out here in case it's not.

It takes 14-15% of CPU time and ranks 1st but it's on a 200FPS timedemo (spam of sounds).

This post has been edited by mitsubishi: 13 November 2010 - 05:33 AM


#23 User is offline   pollofeliz Icon

  • Account: pollofeliz
  • Joined: 18-April 10
  • Posts: 140

Posted 13 November 2010 - 08:58 AM

Ok, so I downloaded Mitsubishi's latest win32 binary, and run this demo again. I am getting results that are very similar to my previous post:

dmaHD: 58.0-59.3FPS
iKalizer: 73.3-74.4FPS
OpenAL: 71.7-71.8

So, it seems like the discrepancy I got the first time was not due to different builds..
3AKOH
(usually)

#24 User is offline   p5yc0runn3r Icon

  •   former FS member   
    Engine Developer
  • Account: p5yc0runn3r
  • Country:
  • Joined: 21-March 10
  • Posts: 375

Posted 13 November 2010 - 09:39 AM

View Postpollofeliz, on 13 November 2010 - 08:58 AM, said:

Ok, so I downloaded Mitsubishi's latest win32 binary, and run this demo again. I am getting results that are very similar to my previous post:

dmaHD: 58.0-59.3FPS
iKalizer: 73.3-74.4FPS
OpenAL: 71.7-71.8

So, it seems like the discrepancy I got the first time was not due to different builds..


To clear our some misconceptions and facts about iKALiZER and various sound systems:
  • iKALiZER has many settings to have lower sound quality vs better FPS.
  • iKALiZER runs on a separate core/processor in its default configuration and leaves the other core to run UrT.
  • iKALiZER is heavy on the second core/processor.
  • dmaEX is just a small extension to the base sound system and thus gives virtually the same FPS as default but sound quality is nearly same.
  • dmaHD gives high quality 44Khz sound on the same core that UrT runs.
  • dmaHD can be made to run on a second core/processor (given time to develop) and will 'hide' that it lowers FPS.
  • dmaHD can be lowered to 22Khz or 11Khz to increase FPS and lower sound quality (similar to iKALiZER)
  • dmaHD was developed in 2 days still in beta and needs more optimization and tweaking.

So dmaHD is running in tandem with the engine on the same core. It is heavier than dmaEX but still lighter than iKALiZER if run on the same core.
Try running Urt on a single core/processor by setting the processor affinity to one core/processor while setting the sound engines to the best sound quality. This will give true results. OpenAL does not count since it uses hardware...

TESTS
System: CPU:Intel Dual Core E2220@2.4Ghz / GPU:Nvidia 9800GT-GE / RAM:3GB DDR2-667
Method: Running on affinity for single core, NON-BUMPY SSE2 optimized build, 44100Hz sound for all engines.
Note: I have to run on single core because of the NVidia drivers or else I get 50fps in any case.
base: 125fps (this cannot be set to 44100Hz)
dmaEX: 125fps
dmaHD: 125fps
iKALiZER: 101-125fps
OpenAL: 125fps (Does not count as it uses hardware and sounds cr*p unless you have professional hardware)

So I cannot really tell...but for me with dmaHD it is still much more responsive than iKALiZER and dmaHD can still be optimized more.

This post has been edited by p5yc0runn3r: 13 November 2010 - 09:45 AM

dmaHD developer | engine developer | crazy person

#25 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 13 November 2010 - 11:16 AM

oh, as I said, I still get lower FPS on Ikalizer on SMP. Its default setting is SMP (and I just tried it with explicitly setting it, same).

bullet_loaderAdvertisement

#26 User is offline   ObScUrE Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: obscure
  • Country:
  • Joined: 28-February 10
  • Posts: 2,192

Posted 13 November 2010 - 11:24 AM

dmaHD:
1. dmaHD is good for pointing directions of HE/Smoke-nades and map sounds: suburbs band; eagle fireplace (general sounds with deeper bass) but I can't here the direction of footsteps (left/right/back/front/coming closer or going away?) they are just like radio calls very static.
-
I really turned my head back when the suburbs band started In believe it was an car from the street behind me with turned up radio. :-)

2. s_doppler 1 work's good in your build so you should add this setting to your first post.


General Build:
1. I can't here the main menu music anymore.

2. Could you add this bugfix here plz?

Will need some more time to get an better opinion about it.

Quote

BenQ-XL2420T|Filco-Ninja-TKL-MXRed|Logitech-G403|AKG-K70201000010 01101100 01110101 01110100 01010010 01100001 01110101 00100100 01100011 01101000~The quieter you become, the more you are able to hear.~

#27 User is offline   p5yc0runn3r Icon

  •   former FS member   
    Engine Developer
  • Account: p5yc0runn3r
  • Country:
  • Joined: 21-March 10
  • Posts: 375

Posted 13 November 2010 - 12:36 PM

View PostObScUrE, on 13 November 2010 - 11:24 AM, said:

dmaHD:
1. dmaHD is good for pointing directions of HE/Smoke-nades and map sounds: suburbs band; eagle fireplace (general sounds with deeper bass) but I can't here the direction of footsteps (left/right/back/front/coming closer or going away?) they are just like radio calls very static.
-
I really turned my head back when the suburbs band started In believe it was an car from the street behind me with turned up radio. :-)

2. s_doppler 1 work's good in your build so you should add this setting to your first post.


General Build:
1. I can't here the main menu music anymore.

2. Could you add this bugfix here plz?

Will need some more time to get an better opinion about it.


1. As with iKALiZER you need to get used to the engine or the engine is not compatible with the shape of your head, ears and torso (no really no offence here, everyone has a different shape). HRTF is based on the shape of these anatomy parts. I can really pinpoint accurately where steps are coming from. I will look into it more though just to be sure.

RE: Car: ROFL!!!

2. s_doppler is ignored and cannot be switched off. Doppler in dmaHD is part of the engine since it calculates real speed of sound in air and water.

3. Main menu music: I hear the main Frozen Sand sound well then the main menu music is off since I set the music volume to 0. If I increase it, I hear it :)

4. I will check the vstr bugfix.
dmaHD developer | engine developer | crazy person

#28 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 13 November 2010 - 01:21 PM

View Postp5yc0runn3r, on 13 November 2010 - 12:36 PM, said:

not compatible with the shape of your head, ears and torso (no really no offence here

LOL, funny your mind would go there.

#29 User is offline   p5yc0runn3r Icon

  •   former FS member   
    Engine Developer
  • Account: p5yc0runn3r
  • Country:
  • Joined: 21-March 10
  • Posts: 375

Posted 13 November 2010 - 01:35 PM

View Postmitsubishi, on 13 November 2010 - 01:21 PM, said:

LOL, funny your mind would go there.

LOL we are all weird :)
dmaHD developer | engine developer | crazy person

#30 User is offline   ObScUrE Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: obscure
  • Country:
  • Joined: 28-February 10
  • Posts: 2,192

Posted 13 November 2010 - 08:27 PM

View Postp5yc0runn3r, on 13 November 2010 - 12:36 PM, said:

1. As with iKALiZER you need to get used to the engine or the engine is not compatible with the shape of your head, ears and torso (no really no offence here, everyone has a different shape).

I agree there is something like an brain burn in time to get used to new headphones or sound engines, etc.

In this video here I don't have any problems to pinpoint the direction.


Quote

HRTF is based on the shape of these anatomy parts. I can really pinpoint accurately where steps are coming from. I will look into it more though just to be sure.

I can pinpoint nades and sounds with an deep timbre but the higher the noise the harder it gets.

Quote

3. Main menu music: I hear the main Frozen Sand sound well then the main menu music is off since I set the music volume to 0. If I increase it, I hear it :)

Changing the music volume has no effect for me I even tried it with /snd_restart but then it crashed.

Quote

4. I will check the vstr bugfix.

Thanks.

-
Will give it another try now. :-)

Quote

BenQ-XL2420T|Filco-Ninja-TKL-MXRed|Logitech-G403|AKG-K70201000010 01101100 01110101 01110100 01010010 01100001 01110101 00100100 01100011 01101000~The quieter you become, the more you are able to hear.~

  • (18 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942