[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Meriken's Tripcode Engine No.8
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 116
Thread images: 12
File: 1463805654853.png (41 KB, 668x823) Image search: [Google]
1463805654853.png
41 KB, 668x823
(Continued from >>54662329)

This is a support thread for Meriken's Tripcode Engine.

3.2.2 (May 21, 2016)
Improve OpenCL/CUDA detection on POSIX systems, including Mac OS X.

"Meriken's Tripcode Engine English" is a cross-platform application
designed to generate custom/vanity tripcodes at maximum speed.
It is arguably the fastest and most powerful program of its kind.
(This program actually runs faster than the original mty or
MTY_CL on the same hardware!) It makes effecitive use of
available computing power of CPUs and GPUs, and the user
can specify flexible regex patterns for tripcodes. It features highly
optimized, extensively parallelized implementations of bitslice
DES and SHA-1 for OpenCL, AMD GCN, NVIDIA CUDA,
and Intel SSE2/AVX/AVX2.

"Meriken's Tripcode Engine" is free software, licensed
under GPLv3 and available for free download at the following link:

https://github.com/meriken/merikens-tripcode-engine-v3
>>
you should put the Linux version in the aur
>>
Hope that guy with a hackintosh and GTX 970 is still around...
>>
>>54679821
I dunno how exactly Linux packaging would work with OpenCL and CUDA. We will see.
>>
I guess I came here too late today. Oh well.
>>
it's midnight - 4am in the us right now lol
>>
File: hello world.jpg (39 KB, 596x446) Image search: [Google]
hello world.jpg
39 KB, 596x446
>>
>>54680216
I know... I actually live in the states. It took me a while to fix build issues on OS X.
>>
>>54680227
That is really a dinosaur fossil. I cannot believe people are still using it.
>>
>>54679825
That guy is French, and it's almost noon right now.
>>
>>54680272
oh cool you fixed it?
i'm that guy from yesterday. i'll pull and give it another try
>>
>>54681679
wait, did you add the caveat about 10.10 (as opposed to OS X in general)? is 10.11 not supported?
>>
>>54681778
There shouldn't be any problems.
>>
>>54681854
very weird. last time it didn't have trouble but now it exits out with...
Testing MerikensTripcodeEngine...
./BuildAllWithGCC.sh: line 31: ./MerikensTripcodeEngine: No such file or directory
"MerikensTripcodeEngine -l 10" failed.


lots of issues like
/System/Library/Frameworks/OpenCL.framework/Headers/gcl.h(138): error: expected a ")"
>>
>tfw too poor to use this
>>
I have a hd7750 on Arch Linux.
Can I use this with open cl?
>>
>>54681875
You could try this:

cd CMakeBuild
cmake -DENABLE_OPENCL=OFF ../SourceFiles
>>
>>54681906
Probably not...

http://support.amd.com/en-us/download/desktop?os=Linux+x86_64
>>
>>54681950
You also need to run make after cmake, obviously.
>>
>>54681950
just noticed that the last meaningful error seems to be
Error generating file
/users/myshortname/code/merikens-tripcode-engine-v3/CMakeBuild/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_CUDA12.cu.o


it still makes the CMakeBuild directory but when i cd in there and try to do it with your command it also fails.
>>
>>54679797
Yo meriken what gives I lost about 10% hashing speed with crimson drivers vs non crimson ones.
Love the program though.
>>
>>54682279
That makes sense. Let me see...
>>
>>54682302
Hmm... That's weird. Which video card are you using?
>>
Reported for endorsing tripfaggetory.
>>
File: 0kiKxSf[1].png (25 KB, 742x628) Image search: [Google]
0kiKxSf[1].png
25 KB, 742x628
Why is it this slow?
>>
>>54682510

Add "^" at the beginning of the pattern.
>>
>>54679825
I'm using a hackintosh, albeit with a 960. I'm not familiar with this tool but let me know if I can help.
>>
>>54682279
This is a bug in CMake.

http://comments.gmane.org/gmane.comp.programming.tools.cmake.devel/10070

You just need to upgrade CMake. See the updated build instructions on GitHub.
>>
File: hacky.png (166 KB, 1396x932) Image search: [Google]
hacky.png
166 KB, 1396x932
>>54679825
didn't notice this, i'm >>54681679

>>54681639
maybe you're thinking of someone else. just to be clear, this is me
>>
>>54682634
cool, thanks (and sorry for not doing this legwork myself - i don't know where i would begin to be honest)

looking at the link's comments, i'm a little lost...
>>
File: Ln3Aw83[1].png (11 KB, 479x299) Image search: [Google]
Ln3Aw83[1].png
11 KB, 479x299
>>54682580
thanks.
hmm so this adds ~15M, but shouldnt this GPU get at least 200M ?
>>
>>54682695
No prob. These commands should fix the issue.

curl -sSL https://cmake.org/files/v3.5/cmake-3.5.2-Darwin-x86_64.tar.gz | sudo tar -xzC /opt
export PATH=/opt/cmake-3.5.2-Darwin-x86_64/CMake.app/Contents/bin:$PATH
>>
>>54682777
oh hmm, i saw those in the readme about an hour ago and (thought i) ran it. i'll try it again just in case, but /opt/.../Cmake.app/Contents/bin is in my path now
>>
>>54682802
oh i guess the homebrew version i had installed was showing up in the path first. i uninstalled that one to avoid dealing with path orders for now. the cmake from curling shows up now when i check where it is, so it's building now (and should (hopefully) work)
>>
>>54682750
Non-Maxwell NVIDIA video cards are not particularly suitable for tripcode generation. You definitely want Compute Capability of 5.0 or higher.
>>
>>54682841
Oh, good!
>>
>>54682841
still crashing on ./BuildAllWithGCC.sh:

[...]/SourceFiles/MerikensTripcodeEngine.h:124:10: fatal error: 'cuda.h' file not
found
#include <cuda.h>
^
3 warnings and 1 error generated.
make[2]: *** [CMakeFiles/MerikensTripcodeEngine.dir/Main.cpp.o] Error 1
make[1]: *** [CMakeFiles/MerikensTripcodeEngine.dir/all] Error 2
make: *** [all] Error 2
>>
>>54682940
That's pretty odd...
>>
>>54682940
install cuda devel package
>>
>>54683056
i did that yesterday. i can do it again, but... seems like kind of a waste of time (unless there's good reason to think it'd help to do it again).
>>
>>54679856
You simply add OGL/CUDA as package dependency.
>>
What does this say?

ls /usr/local/cuda/include
>>
I really should get a hackintosh myself.
>>
>>54683112
>ls /usr/local/cuda/include
>>
>>54683169
it's nice except for this kind of stuff
>>
>>54683104
Is it this simple? I dunno...
>>
>>54683218
When you make a build package yes,
>>
>>54683183
>>ls /usr/local/cuda/include

cuda.h is right there! You can try:

cd CMakeBuild
cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda ../SourceFiles
make
>>
I am trying to build the app with clang on OS X now. Let's see how that goes.
>>
File: 1462839446057.png (102 KB, 600x400) Image search: [Google]
1462839446057.png
102 KB, 600x400
>>54683772
Really looking forward to that AUR PKGBUILD buddy :^).
>>
File: 1462289853586.gif (1 MB, 294x350) Image search: [Google]
1462289853586.gif
1 MB, 294x350
Tripfags are the cancer of this site.
>>
>>54683339
6:58:18 @ hck ~/code/tripping/CMakeBuild $ cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda ../SourceFiles
-- ARCH_64BIT = TRUE
-- ARCH_X86 = TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/[...]/code/tripping/CMakeBuild
6:58:24 @ hck ~/code/tripping/CMakeBuild $ make
In file included from /Users/[...]/code/tripping/SourceFiles/Main.cpp:39:
/Users/[...]/code/tripping/SourceFiles/MerikensTripcodeEngine.h:124:10: fatal error: 'cuda.h' file not
found
#include <cuda.h>
^
3 warnings and 1 error generated.
>>
>>54682750
>regex
the hell would you expect
>>
>>54679797
>tripfags

The cancer that was and is always killing this site
>>
>>54684229
we discussed this in the last thread, newfag. cancer is cancer regardless of the name field. this just makes it easier to track and filter for autistic people who have tantrums when they see tripcodes.
>>
>>54684087
This is *really* strange. You could try rebuilding everything with BuildAll.sh instead. If this doesn't work, I really need to get a hackintosh myself.
>>
>>54684087
Thanks a lot for helping me with debugging, though. I really appreciate it.
>>
File: 1460262035107.jpg (127 KB, 720x896) Image search: [Google]
1460262035107.jpg
127 KB, 720x896
I like your 2ch Browser.
>>
>>54684348
no, thank you - i hate feeling like i'm just blindly pasting shit in, but i don't know enough about this stuff to really troubleshoot more than high level stuff

i'll try >>54684318 and see what comes up
>>
>>54684021
I'll look into packaging after ironing out build issues.
>>
>>54684488
It could be so much better, though. I just don't have enough time for my ideas.
>>
>>54684521
That would be really great!
>>
>>54684652
Thanks, really appreciated.
>>
Let's see if I can create a Debian package first...
>>
AUR WHEN
>>
File: crashed.png (9 KB, 463x128) Image search: [Google]
crashed.png
9 KB, 463x128
Crashed my display drivers when I run it
>>
>>54687254
You could try "-b 2" option.
>>
>>54687254
I mean, "-x 2" option.
>>
Here's a bad beginning of the PKGBUILD

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <[email protected]>
pkgname=merikens-tripcode-engine-v3-git
_gitname=merikens-tripcode-engine-v3
pkgver=VERSION
pkgrel=1
pkgdesc='"Meriken''s Tripcode Engine" is a cross-platform custom tripcode generator.'
arch=('i686' 'x86_64')
url='https://github.com/meriken/merikens-tripcode-engine-v3'
license=('GPLv3')

# Find a way to say either/or
depends=() #('cuda' 'amdapp-sdk')
makedepends=('p7zip' 'cmake')
source=("git+$url")
md5sums=('SKIP')


pkgver() {
cd "$srcdir/$_gitname"
echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}


build() {
cd "$srcdir/$_gitname"
./buildAll.sh
}


package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}


I'll try around a bit more. I commented out the deps for now because cuda is 800mb.
>>
Make a gui and add an stress test option.

AVX2+Opencl is the ultimate complete system stress test but you need to run 2 separate programs on Windows because none exist that features both.
>>
>>54687550
The Japanese version already has these features. I will translate the GUI soon.
>>
>>54687648
Why don't you use real regex?
Would it be hard to save the 'expanded' stuff so it doesn't have to build it every time? It takes a while...


Also,
RAR your *chan folder and upload it somewhere like mega, would be eternally grateful.
>>
>>54687648
Hey Meriken:
# Maintainer: meriken <[email protected]>

pkgname=merikens-tripcode-engine-v3-git
_gitname=merikens-tripcode-engine-v3
pkgver=110.g2d9cd3b
pkgrel=1
pkgdesc='"Meriken''s Tripcode Engine" is a cross-platform custom tripcode generator.'
arch=('x86_64')
url='https://github.com/meriken/merikens-tripcode-engine-v3'
license=('GPLv3')
optdepends=(
'cuda: Support for NVIDIA GPUs'
'amdapp-sdk: Support for AMD GPUs'
)
makedepends=('p7zip' 'cmake')
source=("git+$url")
md5sums=('SKIP')


pkgver() {
cd "$srcdir/$_gitname"
echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}


build() {
cd "$srcdir/$_gitname"
./BuildAll.sh
}


package() {
cd "$srcdir/$_gitname/CMakeBuild"
make DESTDIR="$pkgdir/" install
}


This seems to work. I'm not sure if BuildAll.sh automatically picks up on available optional dependencies (I think it does). If it does, this should nearly be completely -- there should be a way to easily specify DENABLE_CUDA_DES_MULTIPLE_KERNELS_MODE=OFF, I think one would have to modify the make call in build() with all available flags then -- not sure.
>>
>>54687845
What do you mean by "real regex"?
The regex engine of this program is optimized for tripcode generation.
With the GUI version, you can pause tripcode generation. Let me see what I can do with the CUI version.
>>
>>54687999
Thanks! I will try it later and submit it to the AUR if it works. BuildAll.sh does detect optional dependencies automatically.
>>
>>54688271
arch=('i686' 'x86_64')
Use this instead, I think building should work transparently for both architectures.

Something to consider is using sed and some regex magic to enable/disable the testing step (this imho shouldn't be in BuildAll.sh) and enabling the CUDA_DES thing optionally by modifying the cmake line in the buildAll script.
>>
>>54679797

So for instance if I wanted to search for tripcodes that contained the word 'Gentoo' what would patterns.txt be?
>>
>>54688306
I agree. Testing is mostly for Travis-CI. I will modify BuildAll.sh.
>>
>>54688373

testing. Temps holding at 82c
>>
>>54688373
#noregex
Gentoo

or

#regex
^Gentoo

Don't forget to leave the last line blank.
>>
how many trips/s are you guys getting?

im at ~550M using a R9 390, temps holding steady around 75°C
>>
File: temps.png (271 KB, 2320x1356) Image search: [Google]
temps.png
271 KB, 2320x1356
>>54688495

Temps up to 86.

I remember that old Japanese one that I used years ago used to smash the cpu to pieces and never get any codes over 6 characters.

Is ^gentoo faster than gentoo?
>>
>>54688628
That's a pretty good speed.It should be OK as long as the temp stays below 90.

This program is very different from other tripcode generators as it has self-morphing codes everywhere.

The two patterns in >>54688495 are exactly the same.
>>
>>54688944
Will a benchmarking aspect be added to the GUI once it gets added in?
>>
>>54688944
Hey I'm the PKGBUILD gui. Just installed CUDA and tried again, small issue: http://pastebin.com/GN700Vgw

Without CUDA it works.
>>
>>54689152
You could try g++-5. There seems to be a problem with a combination of g++-6, Boost, and CUDA.
>>
>>54689098
I think so. Hope Mono works well with the GUI.
>>
>>54689359
I'll try that, if it works I'll update the PKGBUILD accordingly.
>>
>>54689419
>>54689472
Ugh still compiling gcc5 from the AUR. This is painful...
>>
Ok, time to look stupid. What is a tripcode?
>>
>>54689815
the thing this guy for example:

>>54689419
>>54689359

is using. It uniquely identifies you on 2ch-style boards. Just google around.
>>
>>54689762
You could try clang. Just replace gcc with clang in BuildAllWithGCC.sh.
>>
>>54690071
# Maintainer: meriken <[email protected]>

pkgname=merikens-tripcode-engine-v3-git
_gitname=merikens-tripcode-engine-v3
pkgver=110.g2d9cd3b
pkgrel=1
pkgdesc='"Meriken''s Tripcode Engine" is a cross-platform custom tripcode generator.'
arch=('i686' 'x86_64')
url='https://github.com/meriken/merikens-tripcode-engine-v3'
license=('GPLv3')
optdepends=(
'cuda: Support for NVIDIA GPUs'
'amdapp-sdk: Support for AMD GPUs'
)
makedepends=('p7zip' 'cmake')
source=("git+$url")
md5sums=('SKIP')


pkgver() {
cd "$srcdir/$_gitname"
echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}


build() {
cd "$srcdir/$_gitname"
./BuildAll.sh
}


package() {
cd "$srcdir/$_gitname/CMakeBuild"
make DESTDIR="$pkgdir/" install
}


Nope, I give up. Fix it to work with gcc6 please. When using gcc5 from AUR it doesn't even pass tiny compiler tests and when using clang it can't figure out where CUDA Is even when exporting the cuda root dir.
>>
>>54690503
> Fix it to work with gcc6 please.

I suppose I need to find a workaround for bugs in libraries... Thanks for the hard work!
>>
>>54690794
that would be neat. And of course, I'm interested in seeing this work on Arch.
>>
>>54690810
I'll work on it!
>>
It turned out this problem was more serious than I thought:

https://www.reddit.com/r/archlinux/comments/4iczja/a_work_around_if_you_are_using_cuda_and_have/

I'd wait for CUDA 8 for full CUDA support. We could still use NVIDIA cards as OpenCL devices, you know.
>>
I mean, I'd wait for CUDA 8 for full CUDA support if you cannot use gcc-4.
>>
>>54692333
>>54692285
Well that's disappointing :<

Might be a while before they release it.
There's also this: https://wiki.archlinux.org/index.php/GPGPU#Using_CUDA_with_an_older_GCC

I might muck around with this tomorrow.
>>
>>54680304
faster than what youre trying to make
>>
>>54692560
lol
>>
>>54692587
heh
>>
>>54687999
What about Intel GPUs?
>>
>>54692834
I'm not sure, I don't have one and I'm no GPU accelerated-computing expert. You might want to ask Meriken.
>>
>>54692834
The last time I checked, they were pretty slow and drivers were buggy. Things mat be different now, though.
>>
It's pretty amazing this thread survived this long. I would like to make some progress between now and the next time I come back here.
>>
>>54693833
Good luck, I hope you get it possibly working with the newest gcc -- that would be awesome :)!
>>
>>54681880
Rent the fastest ec2 instance for this application for an hour or two. It'll be like $2
>>
>>54693900
That might be possible if I can replace -std=c++11 with -std=c++98 and Boost. That's pretty ironic, though. Anyway, thanks again for your good work!
>>
>>54694148
Glad I could be of help
>>
>>54679797
Oh look, baby first tripcode explorer.
Im sure you are the first one out there.
>>
>>54694200
Where do these tards appear from. If you read a bit around you would know that Meriken's tripcode explorer has been around for quite a while and is pretty much the best one. Idiot.
>>
Debian packaging is too tedious. I will submit this app to the AUR first.
>>
I think I figured out how to creaete a Debian source package for this app.This would be pretty neat...
>>
So I ran this and it completely froze my computer. No response to any input.
>>
>>54697887
Which video card are you using? Were you monitoring its temperature? It could also be a faulty power supply unit.
Thread replies: 116
Thread images: 12

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.