Thanks for the tip, Matthew. I might try that laterZirconiumX wrote:Julien,
As for the speed problem, try copying this and pasting it in /boot/config.txt
and reboot.Code: Select all
arm_freq = 900 gpu_freq = 350 sdram_freq = 500
**IMPORTANT**
If the raspberry pi doesn't boot up with this, turn the Pi off, remove the SD card, plug it into your computer. You should find a file called config.txt (I wonder where that came from) open it with your favourite text editor and replacewithCode: Select all
arm_freq = 900Eject the sd card, plug it in, start the RasPi up. If it doesn't boot *then*, tryCode: Select all
arm_freq = 850Rinse and repeat.Code: Select all
arm_freq = 800 gpu_freq = 300 sdram_freq = 450
If it doesn't boot then, let me know.
Matthew:out[/code]
The Raspberry Pi Thread
Moderator: Ras
-
JuLieN
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Ordering info for US residents
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
JuLieN
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Ordering info for US residents
So, three months later, who here has bought a RasPi, and what are you doing with it?
As for me:
- I ported my chess engine (piece of cake)
- I'm learning ARM asm (useless (?) but funny)
- I'm getting more acquainted to Linux, as there's nothing else really usable on the RasPi (not that different from OSX, just less user friendly).
All in all, I'm very pleased with it, and for it's price there's no chance you can be wrong to buy one.
As for me:
- I ported my chess engine (piece of cake)
- I'm learning ARM asm (useless (?) but funny)
- I'm getting more acquainted to Linux, as there's nothing else really usable on the RasPi (not that different from OSX, just less user friendly).
All in all, I'm very pleased with it, and for it's price there's no chance you can be wrong to buy one.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
ZirconiumX
- Posts: 1361
- Joined: Sun Jul 17, 2011 11:14 am
- Full name: Hannah Ravensloft
Re: Ordering info for US residents
Only a moderator could resurrect the dead.
I bought another RasPi, and attempted to get a Beowulf cluster running. I hit the brick wall of there being no cluster-capable engines.
So nowadays, I occasionally pop into the Olympus ICS armed with a special version of Stockfish optimized for a RasPi - specifically the Leading Zero Count modification. (Marco still won't implement it)
Nowadays, a Raspberry Pi has turbo mode, which means you can get away with ridiculous things like run the Pi at 1GHz with my warranty intact.
My wishlist currently is to try and find a micro water cooling kit - because my heatsinks are practically useless in a sealed case.
Matthew:out
I bought another RasPi, and attempted to get a Beowulf cluster running. I hit the brick wall of there being no cluster-capable engines.
So nowadays, I occasionally pop into the Olympus ICS armed with a special version of Stockfish optimized for a RasPi - specifically the Leading Zero Count modification. (Marco still won't implement it)
Nowadays, a Raspberry Pi has turbo mode, which means you can get away with ridiculous things like run the Pi at 1GHz with my warranty intact.
My wishlist currently is to try and find a micro water cooling kit - because my heatsinks are practically useless in a sealed case.
Matthew:out
tu ne cede malis, sed contra audentior ito
-
bnemias
- Posts: 373
- Joined: Thu Aug 14, 2008 3:21 am
- Location: Albuquerque, NM
Re: Ordering info for US residents
I run Stockfish on a dockstar. It's been a long time since I optimized it, so perhaps I'm a little fuzzy. However I remember testing assembly versions of the bit functions using clz and comparing against the default implementation. I didn't see any measurable improvement in NPS and thus opted for the default bit operations.ZirconiumX wrote:...armed with a special version of Stockfish optimized for a RasPi - specifically the Leading Zero Count modification. (Marco still won't implement it)
I kind of want to try optimizing it again anyway using a newer gcc that other threads suggest are much improved. Is there a link to the modification you are talking about?
-
jshriver
- Posts: 1360
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: Ordering info for US residents
I bought one a couple months back. So far I've tinkered with a couple open source programs, but mainly I use it to watch games on OICS on my TV via xboard.
24/7 computer chess channel on the tele
-Josh
24/7 computer chess channel on the tele
-Josh
-
mephisto
- Posts: 431
- Joined: Mon Apr 03, 2006 10:10 am
- Location: England
Re: Ordering info for US residents
Julien
Introducing the SishFishPi dedicated chess computer project.
At the moment and still under development, the SishFishPi is a built using the Raspberry Pi Linux development board, the Teensy USB development board, Stockfish chess engine, and commodity of LCD/electronics. The SishFishPi integrates with a new software build for the "Sish" chess board. The end result, a small but very powerful chess machine. To be added over the next few months will be a new autosensory reed board to replace the push sensory ones we have at the moment plus LED's around the board to indicate the computers moves as well as them appearing on the LCD screen.
Hopefully by the end of the year we will have one to show you all.
Bryan
Introducing the SishFishPi dedicated chess computer project.
At the moment and still under development, the SishFishPi is a built using the Raspberry Pi Linux development board, the Teensy USB development board, Stockfish chess engine, and commodity of LCD/electronics. The SishFishPi integrates with a new software build for the "Sish" chess board. The end result, a small but very powerful chess machine. To be added over the next few months will be a new autosensory reed board to replace the push sensory ones we have at the moment plus LED's around the board to indicate the computers moves as well as them appearing on the LCD screen.
Hopefully by the end of the year we will have one to show you all.
Bryan
What's my next move? - to the fridge for another beer !!
-
Carotino
- Posts: 222
- Joined: Fri Jun 11, 2010 10:40 am
- Location: Italy
Re: The wiki article
Hard men use Salckware + BlackBox...lucasart wrote:For an operating system that is fast, lightweight, and "gets out of your way" (to quote Don), I would recommend lubuntu or anything LXDE based. KDE is all about "nice" and graphical stuff that takes a lot of resources and aren't of much practical use...mhull wrote:Have you tried Kubuntu? The KDE interface is usually less avant garde than its Ubuntu sibling.Don wrote:I have been disappointed in recent Ubuntu versions. Maybe it's Linux itself but it's moving too far away from it's roots in my opinion. A lean and mean operating system for experts is what it has been, but their vision seems to be tto become the OS that even idiots can use. We already have Windows that even Grandma can check her email and browse the web and socially network.sje wrote:Wikipedia entry: http://en.wikipedia.org/wiki/Raspberry_Pi
I'm sad to see that no real time clock chip is included. Apparently, a networked Raspberry Pi will have to query a time server as part of the boot sequence soon after a network interface is established. The alternative is to either manually set the date and time or run like it's January 1st, 1970.
Ubuntu is not included in the default set of supported operating systems. This is not too surprising as Ubuntu has gained a lot of bloat over the past few years.
Am I alone in feeling like this?
Suggestions for a different distribution for me to try? I'm not looking to be a linux guru or make problems for myself, but I just want the OS to get out of the way and stop trying to be the killer application.
Roberto
-
j_romang
- Posts: 79
- Joined: Mon May 16, 2011 2:52 am
Re: Ordering info for US residents
I submitted armv7 assembly to Marco, it is now included in Stockfish (https://github.com/mcostalba/Stockfish/ ... 03a3f31e56) ; but as the Rpi is armv6, I don't know if it has the 'rbit' assembly instruction ?Matthew R. Brades wrote: So nowadays, I occasionally pop into the Olympus ICS armed with a special version of Stockfish optimized for a RasPi - specifically the Leading Zero Count modification. (Marco still won't implement it)
How did you implement your special version ?
-
j_romang
- Posts: 79
- Joined: Mon May 16, 2011 2:52 am
Re: Ordering info for US residents
I just tested on my Rpi :
As expected, no rbit on armv6
So I'm really interested by your version
Code: Select all
{standard input}: Assembler messages:
{standard input}:1790: Error: selected processor does not support ARM mode `rbit r3,r3'So I'm really interested by your version
-
ZirconiumX
- Posts: 1361
- Joined: Sun Jul 17, 2011 11:14 am
- Full name: Hannah Ravensloft
Re: Ordering info for US residents
Basically - replacing msb() with
means my crappy compile rivals Jim Ablett's.
I *did* see your ARMv7 patch, Jean.
No offence is intended - but in my opinion it is unneccessary due to the already 32-bit friendly Folded De Bruijin that SF has.
I have, however been thinking. Assuming that the LZCnt follows the dest, source pattern, then this could be used for quite a speedup on some systems (Stockfish becoming Cray-friendly perhaps?)
Maybe that would be platform-indepent enough for Marco's approval?
Matthew:out
Code: Select all
Square msb(Bitboard b) {
int h, l, m;
assert (b != 0);
__asm__("clz %0, %1" : "=r"(h) : "r"(b >> 32));
__asm__("clz %0, %1" : "=r"(l) : "r"((uint32_t)(b)));
m = ~((h - 32) >> 31); // ~0 (-1) if h >= 32, else 0
return Square( (h+(m&l)) ^ 63);
}
I *did* see your ARMv7 patch, Jean.
No offence is intended - but in my opinion it is unneccessary due to the already 32-bit friendly Folded De Bruijin that SF has.
I have, however been thinking. Assuming that the LZCnt follows the dest, source pattern, then this could be used for quite a speedup on some systems (Stockfish becoming Cray-friendly perhaps?)
Code: Select all
#define USE_LZCNT
#define LZCNT "clz" // or cntlzw for PPC, or leadz for Cray, or lzcnt for AMD, etc.
...
#elif defined(USE_LZCNT)
Square msb(Bitboard b) {
int h, l, m;
assert (b != 0);
__asm__(LZCNT " %0, %1" : "=r"(h) : "r"(b >> 32));
__asm__(LZCNT " %0, %1" : "=r"(l) : "r"((uint32_t)(b)));
m = ~((h - 32) >> 31); // ~0 (-1) if h >= 32, else 0
return Square( (h+(m&l)) ^ 63);
}
#else
...
Matthew:out
tu ne cede malis, sed contra audentior ito