r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Host Kit]

Pekr
18-Nov-2010
[974]
I did so ... first zip contained only one file, the second one contained 
2 exes. But the result seems like not being accelerated?
Cyphre
19-Nov-2010
[975x2]
sorry guys, I screwed the archive yesterday. If you want to try it 
again, please use this one: http://cyphre.mysteria.cz/tests/r3gl-proper.zip
this archive contains
r3.exe - that's the official version
r3gl.exe - that's the accelerated one
ssolie
19-Nov-2010
[977]
I blogged a bit about the FreeType implementation in the host kit 
at http://solie.ca/


Besides the bold/italics issue I also noticed the line length is 
not being calculated correctly or similar because the text is rendering 
beyond the window bounds. If we can fix both of these issues I think 
the FreeType implementation should be as good as the win32 implementation.
Cyphre
19-Nov-2010
[978]
ssolie: looks good! The FreeType needs some fine-tuning as I made 
the conversion very quickly and had no time to look into the freetype 
API details to provide 100% accurate results as on Windows. But anyway 
it is great progress on your side. Keep up!
ChristianE
19-Nov-2010
[979]
Ah, way better results, then, Cyphre. 132 fps vs 86 fps on my laptop 
now.
Pekr
21-Nov-2010
[980]
0:00:07.345 54.458 FPS   |   0:00:06.367 62.823 FPS
0:00:07.174 55.756 FPS   |   0:00:06.273 63.765 FPS
0:00:07.038 56.834 FPS   |   0:00:06.295 63.542 FPS
AdrianS
21-Nov-2010
[981]
Christian, what are your hardware specs? Your unaccelereated speed 
is higher than my accelerated one and my video card should be pretty 
good. I'm getting the following stats with a Core 2 Duo @ 1.8 GHz, 
Radeon 5770 (slightly overclocked), Win 7 64 bit:

0:00:08.846 45.218 FPS | 0:00:05.125 78.048 FPS
0:00:08.45   47.337 FPS | 0:00:05.037 79.412 FPS
0:00:08.498 47.069 FPS | 0:00:05.024 79.617 FPS
Cyphre
21-Nov-2010
[982]
Thanks guys..so far it looks good:

-there are no crashes (yet) so it looks the method is highly compatible 
as I expected

-if you have at least decent (doesn't mean new or fast) card the 
difference can be somewhere between 70-100% performance increase 
in the test

-noone(yet) reported case when opengl-speed < sw-speed except Henrik 
running some VM which has most probably bad OpenGL support.


Regrading Pekr's case. He is using Intel on-board gfx which has either 
not good performance/opengl driver or he has forced in the driver 
config VSYNC limiter set to ON so the FPS cannot get higher than 
60Hz LCD frequency.
Henrik
21-Nov-2010
[983]
Yes, VirtualBox OpenGL is very poor. I may try something in Parallels 
later.
ChristianE
21-Nov-2010
[984]
AdrianS, I measured on a Vaio with a NVIDIA GeForce GT 330M graphics 
card, 8core Intel i7CPU Q 720 @ 1.60GHz, Win 7.64 bit, 8 GB RAM.
AdrianS
21-Nov-2010
[985]
Hmm, I wonder if Cyphre's test is really CPU bound - your video chipset 
shouldn't be that much, or at all, better than mine (from what I 
recall). Your CPU kicks my old junker's butt, though. So the test 
might be measuring CPU performance more than accelerated video.
Oldes
21-Nov-2010
[986x2]
Again.. in the archive was wrong exe. Named R3.exe, but with OpenGL 
as well. So that's why Christian had almost same high values.
Although now I see that he has 8core CPU, so maybe he has the speed 
with the official version:/
AdrianS
21-Nov-2010
[988]
Yeah, I think he's got the right archive with the 132/86 numbers. 
Pretty sure that my card should be close to or better than his in 
a test that would not be doing any CPU heavy operations.
ChristianE
22-Nov-2010
[989]
Oldes, I've posted new timings here Fri 20:16 some messages above, 
getting 86 FPS without and 132 FPS with hw accleration using the 
zip archiv r3gl-proper.zip, have you noticed that? So, seems to be 
the correct version since there is a reasonable difference between 
those two version.
Cyphre
22-Nov-2010
[990]
I think Christian's results are correct. He has certainly much powerful 
CPU than Adrian. Also note that the HW accelerated version is still 
using CPU for some parts so the CPU power still can help increase 
speed even in this case. Another thing is that the performance depends 
also on the gfx driver and troughput of the CPU->GPU pipeline. So 
in some configurations the gfx card can be fast enough but it is 
blocked by worse mainboard design etc.
Aloysius
29-Nov-2010
[991]
I tried to build R3 host kit (carls-R3A110-a660e4a) for Visual Studio 
2010 (make-vc10), I got the error  C1083: Cannot open include file: 
'netdb.h': No such file or directory	c:\users\awi\documents\rebol\hostkit\carls-r3a110-a660e4a\src\include\sys-net.h
Pekr
29-Nov-2010
[992x3]
the same here, with CodeBlocks ...
I noticed, that this hostkit is some linux version. When you look-up 
netdb.h, it seems its inclusion belongs to non-Windows #ifdef .... 
I even redefined /src/include/reb-to.h to #define TO_WIN32, but still 
no luck .....
If you want just to try A110, go to REBOL3 GUI group here, there's 
a link to download a binary and dll .... we will have to wait for 
Carl to resurface and correct the release, or even better - to merge 
the changes to official location ...
Cyphre
29-Nov-2010
[995]
The "carls-R3A110-a660e4a" release  works for me. You need to change 
in reb-to.h define# TO_WIN32 to get it work on Windows as Pekr said.
Pekr
29-Nov-2010
[996]
that did not help here ...
Cyphre
29-Nov-2010
[997]
what error are you getting?
Pekr
29-Nov-2010
[998x2]
wait a bit ... I'll try to redownload Carl's HostKit
first - I am not able to get it downloaded via git client (Tortoise, 
nor normal), I get following error:

git.exe fetch -v --progress  "A110-Carl" 


fatal: http://github.com/carls/R3A110/info/refsnot found: did you 
run git update-server-info on the server?
Henrik
29-Nov-2010
[1000]
you should probably clone it instead
Cyphre
29-Nov-2010
[1001]
Pekr, I tried it without the git client using this link: http://github.com/carls/R3A110/zipball/master
Pekr
29-Nov-2010
[1002]
Downloaded .zip file. Tried it now - it works. It just does not seem 
to copy dll to the place of the exe, or something like that:

Linking executable: bin\Release\r3.exe
Output size is 317,50 KB
Running project post-build steps
post-build-win.cmd bin\Release\

Execution of 'post-build-win.cmd bin\Release\' in 'C:\!rebol\!R3\r3-host-kit-A110\make-cbp' 
failed.
Nothing to be done.
Cyphre
29-Nov-2010
[1003]
yes, the .cmd file is missing from some reason
Pekr
29-Nov-2010
[1004]
I think that when Carl is back, we should merge. CC contains already 
some A111 fixes. What was the reason Carl posted the source tree 
in the different than usual place?
Kaj
29-Nov-2010
[1005]
It's a test location
Andreas
29-Nov-2010
[1006x3]
First, all make-* build methods except make-gcc are community contributed 
and not officially (i.e. by Carl) maintained. Therefore they may 
get out of sync, until someone in the community steps up and fixes 
them.
Second, the temporary R3A110 repository is even more unsupported 
than usual. Unless you want to work on distribution and building 
of the hostkit itself, it's probably better to stay clear of this 
and  wait until things settle down a bit.
Third, Pekr, you are _still_ using the wrong URL for your remote. 
Either make a fresh clone with

  git clone git://github.com/carls/R3A110.git


or fix your remote manually (Probably via `git remote set-url origin 
git://github.com/carls/R3A110.git`.)
Aloysius
4-Dec-2010
[1009]
anyone can help? Thx!
Pekr
4-Dec-2010
[1010]
Aloysius - I already described the help, and Cyphre kind of confirmed 
- I noticed, that this hostkit is some linux version. When you look-up 
netdb.h, it seems its inclusion belongs to non-Windows #ifdef. So 
please go to /src/include/reb-to.h directory/file and rewrite the 
definition to: #define TO_WIN32
Andreas
4-Dec-2010
[1011x2]
A quick note of success: just built an A110 hostkit on OSX Intel!
>> print system/version
2.100.110.2.5

Yay!
GrahamC
4-Dec-2010
[1013]
Is Carl still using his own personal repo?
Andreas
4-Dec-2010
[1014]
Haven't heard anything from Carl for weeks.
GrahamC
4-Dec-2010
[1015]
So, there's still no official github R3 repo?
Andreas
4-Dec-2010
[1016]
Nope, only the R3A110 test repo.
GrahamC
4-Dec-2010
[1017]
seems he's only available to blog comments .. all other channels 
are down
Pekr
4-Dec-2010
[1018]
yes, another blac-out, which even SCRUM did not prevent us from .... 
nearly a month now, without a single message ...
GrahamC
4-Dec-2010
[1019]
Hey, he talks for 2 hours at AmiWest ...!
Pekr
4-Dec-2010
[1020]
Selling his Amiga stuff? :-)
GrahamC
4-Dec-2010
[1021]
Yeah .. and in part 2, he says that people bug him everyday about 
Rebol ... lol
Pekr
10-Dec-2010
[1022x2]
I still miss something like general R3 porting group. Or will we 
set-up one group per target platform here, as we did with Android? 
I think this group is good for technical host-kit stuff, not general 
porting stuff ...
I found out, that Genesi is now sponsoring Linaro Linux, which tries 
to unify distros for ARM target. They gave away 50 smartbooks:

http://bbrv.blogspot.com/2010/12/momentum-is-building.html
http://www.genesi-usa.com/products/smartbook


From past month's discussion with BBRV, I believe they are able to 
send us a machine to port R3. And now again - this is not my port-it-for-me 
request, just a note, to eventually start a discussion, how do we 
get ourselves on ARMs. Carl could have one smartbook to port Core, 
and someone willing to play with the HostKit port could have another 
one. In the case someone is interested, I could try to negotiate 
it with BBRV.


Of course - ARM is a broad term. I never heard of Linaro. We have 
some TI hardware, and I know there are some embedded systems for 
such stuff, mostly commercial and expensive, and Linaro might be 
an answer here. Another HW option is BeagleBoard (cheaper, more OSes 
supported, even QNX, Android):

http://beagleboard.org/