Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Ogg Vorbis acceleration project (Read 190110 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Ogg Vorbis acceleration project

Reply #75
OK, I just succesfully tested ALL builds both on XP Pro and 7 Ultimate @ 64 bits.

CPU: Sempron 140 unlocked @ AMD Athlon II X2 440
XP64: foobar 1.0.3 / q5
7 64: foobar 1.1 / q0

Source information:
-----------------------
File: Krless - Ecce Krless.flac
Duration : 1:03:45.307 (168696024 samples)
Sample Rate : 44100 Hz
Channels : 2
Bits Per Sample : 16
Bitrate : 957 kbps
Codec : FLAC
Encoding : lossless
Tool : reference libFLAC 1.1.4 20070213
Embedded Cuesheet : no
Audio MD5 : BE924B523EF3E6281357C403BBA6650B

Faster version *seems* (human impression) SSE2 < SSE3 < SSE.

EDIT: ok, just tested all 3 encoders on 96 KHz / 24 bit source and works on XP64/foobar 1.0.3/q5

Source information:
-----------------------
Duration : 31:46.000 (182976000 samples)
Sample Rate : 96000 Hz
Channels : 2
Bits Per Sample : 24
Bitrate : 4608 kbps
Codec : PCM
Encoding : lossless

Speed *seems* (human impression again) exactly the opposite (btw source is not compressed): SSE < SSE2=SSE3.

...i'll investigate better this next week.
F.O.R.A.R.T. npo

Ogg Vorbis acceleration project

Reply #76
Excellent, thanks.

Ogg Vorbis acceleration project

Reply #77
Thanks for the feedback and suggestions. In the hope of resolving this, here are three compiles, this time with oggenc2.87:

SSE3 - http://www.rarewares.org/files/ogg/oggenc2...7-Lancerx64.zip
SSE2 - http://www.rarewares.org/files/ogg/oggenc2...cerx64-SSE2.zip
SSE - http://www.rarewares.org/files/ogg/oggenc2...ncerx64-SSE.zip

I have to say that for standard length song tracks, ie., approx. 4 mins, there seems to be negligible speed difference between them on a q6600 @ 3.2GHz and 8GB DDR2 although any difference will no doubt be more apparent on a longer encoding exercise.

Feedback and experience with these would be welcome.

TIA.


will test when i get home.

will these give the same quality as the aoTuV 5.7 builds, or would there need to be another build based on aoTuV 5.7?

Ogg Vorbis acceleration project

Reply #78
These are all based on 5.7.

Ogg Vorbis acceleration project

Reply #79
this is just very odd, every time i try and run them either mediacoder crashes or dbpoweramp errors, yet the older compile still works fine.....

Ogg Vorbis acceleration project

Reply #80
OK, i made a quick test @ q0 with different bitrate sources (24/96 and 16/44), here's results (on AMD):

SSE < SSE3 = SSE2

SSE3 is slightly faster than SSE2 (which is the slower), both are slower - 2/3 sec. in any encoding - than SSE which is obviously the winner.

I'll test same files on different processor to understand if Intel compiler cheats.
F.O.R.A.R.T. npo

Ogg Vorbis acceleration project

Reply #81
this is just very odd, every time i try and run them either mediacoder crashes or dbpoweramp errors, yet the older compile still works fine.....

It is, indeed. 

Given that the several versions do appear to run on AMD cpus, it's difficult to come to any conclusion. I'll produce a VC compile in the next day, or so, and it will be interesting to see whether that runs. If you also have problems with that, it would seem that the problem lies somewhere in your set up.

Ogg Vorbis acceleration project

Reply #82
OK, i made a quick test @ q0 with different bitrate sources (24/96 and 16/44), here's results (on AMD):

SSE < SSE3 = SSE2

SSE3 is slightly faster than SSE2 (which is the slower), both are slower - 2/3 sec. in any encoding - than SSE which is obviously the winner.

I'll test same files on different processor to understand if Intel compiler cheats.

Thanks.  I know Intel is supposed to be removing that bias but I don't actually know whether it is supposed already to have happened, or whether it will be at some future time. 

As mentioned above, on my own systems (a variety of Intel CPUs - q6600s, e6600, e6420 and e4300, all overclocked to varying degrees), there is really little to choose between the compiles for speed.


Ogg Vorbis acceleration project

Reply #84
BTW there is a small utility called iccpatch that removes any check for intel/non-intel processor in executable files.

Found 3 versions of it:

http://freearc.org/download/testing/iccpatch.rar
http://lunatics.kwsn.net/downloads/iccpatch-windows0.7z
and www . mediafire . com/?b7dprscd53sx4t3

But I don't expect significant difference...


any instructions on how to use this?

Ogg Vorbis acceleration project

Reply #85
any instructions on how to use this?


I found this "How I (an Idiot) applied the AMD Patch..." guide:

Quote
  • I opened explore and made new folder in C: called Patch.
  • I downloaded the ICC progam and used the 7z unzipper from chickens site and unzipped it into C:\\Patch
  • I downloaded the SaH_5.15_KWSN_SSE3-Intel_Ben-Joe_2.0_B.7z and unzipped it into C:\\Patch
  • I clicked run and typed cmd.
  • Somehow I got it to C:
  • I typed CD patch and got to C:\\Patch
  • I then typed iccpatch.exe SaH_5.15_KWSN_SSE3-Intel_Ben-Joe_2.0_B.exe (the space between the iccpatch.exe and SaH seems to be very important)then clicked enter.
  • it said something about 10 instances and I closed it.
  • I closed boinc and 2 instances of Cli.exe in task manager.
  • I renamed a copy of Boinc to Boinc1.
  • I opened Boinc\\projects and deleted the app with the seti Icon.
  • I copied the SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B with the seti Icon, the SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B PDB file and one called SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe~ into the original boinc folder and said YES to all.
  • closed all windows and restarted boinc with no problems.
F.O.R.A.R.T. npo


Ogg Vorbis acceleration project

Reply #87
OK, did a quick test on Intel E2200/XP64 (work PC) and speed results seems more correct:

SSE3 < SSE2 < SSE

SSE3 is the winner, SSE2 is slightly slower than it and SSE is the loser (8 sec. difference !).

I honestly don't know if it's the compiler "bug", but i suggest a compilers' shootout (GCC vs. ICC vs. MSC)
F.O.R.A.R.T. npo

Ogg Vorbis acceleration project

Reply #88
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?
🇺🇦 Glory to Ukraine!


Ogg Vorbis acceleration project

Reply #90
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!


Ogg Vorbis acceleration project

Reply #92
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!


crashes with dbpoweramp even with .wav files, again, no clue why, everything else has been working, and the older x64 builds work great(just have to set them to vista compat mode to keep them from crashing)

Ogg Vorbis acceleration project

Reply #93
I made some speed tests on a full CD using the recently posted builds, as well as one without the Lancer optimizations (using aoTuV 5.7). The tests were done on a Core2 Quad Q9550 running 64-bit Vista:

Code: [Select]
Stadard, x86              31,6343x
Lancer, x86               58,1845x
Lancer, x64, MSVC SSE3    55,2260x
Lancer, x64, SSE          55,2260x
Lancer, x64, SSE2         62,6603x
Lancer, x64, SSE3         63,8889x

The files from the x86 builds had a slightly higher bitrate compared to the x64 builds (108.8 vs 107 kb/s).

Ogg Vorbis acceleration project

Reply #94
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!


crashes with dbpoweramp even with .wav files, again, no clue why, everything else has been working, and the older x64 builds work great(just have to set them to vista compat mode to keep them from crashing)

I'm sorry to see that you still have problems with these builds. I'd like to try to help more but I really am completely out of ideas. If anyone has any other suggestions or ideas, please let's hear them!

Ogg Vorbis acceleration project

Reply #95
Thanks to those have provided feedback and test results. Lear's results pretty much align with my own.

Ogg Vorbis acceleration project

Reply #96
I'm sorry to see that you still have problems with these builds. I'd like to try to help more but I really am completely out of ideas. If anyone has any other suggestions or ideas, please let's hear them!

Finding the problem without a debugger can be difficult. Seems like you can get something similar to core dumps on Windows, using WinDbg (see here for a short description). Haven't used WinDbg myself though.

Ogg Vorbis acceleration project

Reply #97
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(

 

Ogg Vorbis acceleration project

Reply #98
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(


try compat mode and set it to vista, see if that helps.

Ogg Vorbis acceleration project

Reply #99
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(


try compat mode and set it to vista, see if that helps.


I don't understand. Could you be more specific?