Latest Beta Client for Linux

To try out the latest Electric Sheep client for Linux (developed under Ubuntu 8.04), just download and run this script. It installs any required packages, downloads the latest source, then compiles and installs the screen-saver. It may ask for your root password, but otherwise should be completely automatic.

Update: now you can install binary packages from Launchpad.

Beginners: right click on the link to the script, and save it in your home directory. Then open up a terminal (under Applications/Accessories) and type the command ". makesheep.sh" (yes with a leading dot and space) and press return.

You can use electricsheep-preferences to change the video driver. If mplayer and your X server are properly configured then the default (blank) should work, but if not, anything you pass to "mplayer -vo" can be put here. Common values are "x11", "gl", and "xv".

Browse the new flock, in 800x600x160 mpeg4. It's at 1/10th quality until we have more users, then I'll crank it up.

Bug reports and compatibility issues most welcome, as well as success stories. Please comment below if you try it and let us know what happens.

You may also see the protocol design wiki, and the previous release.

Thanks!

Successful install on Fedora 8

I was able to install on Fedora 8, but it looks like the version I'm running has been putting out bad frames. I'll install the new version when I get home tonight.

If you use mplayer and have something in there to inhibit the screensaver during playback you might want to add something to check that electricsheep isn't running. I had to do that before I could get it to run from the screensaver.

I have a (probably) unrelated problem where I just get a black screen about 75% of the time that the screensaver kicks in, but I'm not sure what is causing that. I just keep locking the screen until the display works for now (since I usually start the screensaver after putting on music or before coding.)

I have a blog post with more information and a little script that does the electricsheep check for mplayer if you are interested.

Thanks Fugu. I also get the

Thanks Fugu. I also get the black screen about half the time. This totally baffles me, since all the display is done with mplayer. If anyone can figure out what's going, I'd really appreciate the help.... Just email me.

Also, I think you can just disable the screensaver suppressor from your Mplayer config file.

v2d7b.sheepserver.net is down

Hi Spot,
v2d7b.sheepserver.net is down, perhaps you can give it a nudge?

--
"Mary had a little lamb"
Parse error
Terminated

the server was taken down to

the server was taken down to install a bigger disk, it should be back now.

My client has been running

My client has been running in the background for a few hours now and it hasn't had anything to render.
Is there really enough people rendering such that theres clients (like mine) with nothing to do? Perhaps its time to go full quality on our asses :)

we are in the middle of

we are in the middle of moving up to flock 243 and a new server. there will be nothing to render until this is completed.

Question:Does this linux

Question:

Does this linux version supports torrents, like the Windows one?
Until the last Linux version,, it could only download by http

Edit: I also had to install automake to "make" the flam3 (aclocal)

Too bad it does not run as screensaver, just as an application. (It open and then cloes quickly, without even showing any sheeo)
As I just use it as a screensaver, a downgraded to 2.6.x again.

Neither of the 2.7 beta

Neither of the 2.7 beta versions (Linux and Windows) has Bittorrent built-in now. But just like with version 2.6, you should be able to subscribe to the RSS feed of torrents with a standard client like Azureus, as explained here.

It should work as a screensaver too. Try changing the video driver to "x11", "gl", and "xv".

Automake shouldn't be required, are you sure it is?

Thanks, -Spot

Is your screensaver nothing but black?

Okay, I'm new to Ubuntu so just assume that I don't know anything.

I am fairly good with computers and pick up new things quickly as long as they're explained properly.

I followed the install instructions (download script, place in home directory, run) and it installed just fine.

However, when I go to System -> Preferences -> Screensaver, the preview for the screensaver is blank. Nothing happens.

I'm also impatient. As I was writing this, I clicked back and the screensaver is working now. Apparently it starts out black and just takes several seconds to start.

So if you think it's not working and you've only looked at the preview for a few seconds before exiting, wait and see what happens. It might be working just fine. :)

To the coders working on this screensaver, it's AMAZING, thanks!

RedHat support?

So if I go to complile and install this, will I be inflicting a LOT of pain or just a little pain on myself?
I'm running Red Hat Enterprise Linux 5 Workstation.

the client it should work

the client it should work fine on redhat. the script uses apt-get so you will have to resolve the dependencies yourself, but i think the code should compile and run fine.

Error

While running the script I get this error:

/home/niels/electricsheep/ffmpeg/libavformat/rtp_mpv.c:58: undefined reference to `ff_find_start_code'
/home/niels/electricsheep/ffmpeg/libavformat/rtp_mpv.c:58: undefined reference to `ff_find_start_code'
../ffmpeg/libavformat/libavformat.a(yuv4mpeg.o): In function `yuv4_read_packet':
/home/niels/electricsheep/ffmpeg/libavformat/yuv4mpeg.c:359: undefined reference to `avpicture_get_size'
../ffmpeg/libavformat/libavformat.a(yuv4mpeg.o): In function `yuv4_write_packet':
/home/niels/electricsheep/ffmpeg/libavformat/yuv4mpeg.c:128: undefined reference to `avcodec_get_chroma_sub_sample'
collect2: ld gaf exit-status 1 terug
make: *** [electricsheep] Fout 1

Any idea on how to fix this? I am running Ubuntu Gutsy x64

Electric Sheep et Compiz

Hello,
I recently upgraded from Gutsy to Hardy ! It is great!
I tried Compiz : excellent et stable now!
But.... Electric Sheep does not seem to like it... I cannot run Electric Sheep and Compiz....
I tried the new Electric Sheep Beta : it is very nice, but still does not work with Compiz... Sad!
I disabled Compiz... because I like too much Electric Sheep!
Is there any way to make them compatible ?
Thanks!

i haven't heard of any

i haven't heard of any problems with compiz (i use it). what's the problem?

Compiz...

Hello and thanks for your reply!

Electric Sheep works almost fine now with Compiz!
I changed the kernel, I am now using the 2.6.24-18-generic (I was still using the old Gutsy one, because I kept my old menu.list during the upgrade...).
I reinstalled the last ATI driver, changed a few things to compiz config according to the Unofficial Wiki for the ATI Linux Driver...

Compiz works fine!
Electric Sheep works fine... but not full screen : I get a squared window with Electric Sheep surrounded by large black borders.

What should I do now?

Best regards

cool thanks, try running

cool thanks, try running electricsheep-preferences and set the video driver to "xv" or "gl".

Compiz again

Thanks for your reply!

I get a squared window with Electric Sheep surrounded by large black borders with video driver to "x11".

With video driver to "xv" no Electric Sheep screensaver at all... preview is OK though, with green line at the bottom of the screen( on the right).

With video driver to "gl" everything is flickering!!! And unwatchable...

Any other option I could try?

Try uncommenting "#zoom=yes"

Try uncommenting "#zoom=yes" in /etc/mplayer/mplayer.conf. Ie run "sudo gedit /etc/mplayer/mplayer.conf" and remove the "#" from that line, then save the file.

Almost there!

Thanks again!
I uncommented "#zoom=yes" in /etc/mplayer/mplayer.conf.

With video driver to "xv" nothing except the green line at the bottom of the screen( on the right).
With video driver to "gl" everything is still flickering!
With video driver to "x11" it is almost OK! Not yet full screen: I still get two black borders (one on each side of my 19" screen).

We are getting there! Anything else I can try?

Missing libtool under 8.04?

I couldn't get makesheep.sh to work under my Ubuntu 8.04 install. I tracked it down to a missing libtool.

The script ended with:
checking pkg-config is at least version 0.9.0... yes
checking for FLAM3... configure: error: Package requirements (flam3 >= 2.7.11) were not met:

No package 'flam3' found

but
cd electricsheep/flam3
make
ends with

Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:7: to `configure.in' and run `aclocal' and `autoconf' again.
Makefile.am:7: If `AC_PROG_LIBTOOL' is in `configure.in', make sure
Makefile.am:7: its definition is in aclocal's search path.

I had to:
sudo apt-get install libtool

Then I had to delete the flam3 directory and run makesheep.sh again. (rerunning ./configure and/or make after installing libtool wasn't enough)

I just realized that I was running makesheep.sh as ./makesheep.sh not '. makesheep.sh' I don't know if I might have avoided this problem had I done that.

thanks for the report, i

thanks for the report, i believe you are correct, libtool should be required. i've updated makesheep.sh.

also, why use mplayer?, it

also, why use mplayer?, it doesn't work at all for me as a screensaver, only as an app, and uses more memory

what would you recommend?

what would you recommend?

so

why is it that the torrent downloads are in avi format, does the new client support avi?

yes the 2.7 series uses avi

yes the 2.7 series uses avi of x264.

It there also a 2.7b8 for Linux now?

I am still running 2.7b4 for Linux. Is there also 2.7b8 for Linux? How can I upgrade?

no, the clients are separate

no, the clients are separate trees with unrelated version numbering.

nice work

after a few initial issues with the 2.6 version that i downloaded from the ubuntu repository, i downloaded the 2.7 beta and i can verify that the hiccups that occured when a sheep looped are now gone, so now it looks reaally slick. that, and the first sheep was downloaded in just a few seconds, which was really nice. good work.

thanks :) please spread the

thanks :) please spread the word.

Do I need to uninstall

Do I need to uninstall first?

How do I run a script -- copy and paste into the terminal?

I rewrote the directions to

I rewrote the directions to be clearer. Let me know if that works for you. Thanks for your patience.

This procedure (and the old one) will leave the directories with the source and object code lying around in a directory called "electricsheep". If you already have a directory there (as you probably do), then you should move it aside or delete it.

Tar.gz it

Hi Spot,

maybe you could alter the script to make a tarball of the existing folder first.
Preferably with the date/time in the filename, so that we can do multiple betas a day.

--
"Mary had a little lamb"
Parse error
Terminated

last night i fixed an

last night i fixed an important bug which caused preview and screensaver modes to fail (command line was ok though) when a video output driver was specified. please update and reinstall.

new flock credit.

Hi Spot,

Is it just me, or is the credit on the new flock on v2d7b.sheepserver.net running backwards?
I left my computer running electricsheep non-stop for the past 12 hours, which resulted in going from 144 frames to 80.

--
"Mary had a little lamb"
Parse error
Terminated

The credits are based on the

The credits are based on the current flock, so say last week you contributed to a sheep that finally dies, then your count will go down. And the sheep that are in progress in the render queue are not born yet. Your contributions will show up hours later, all at once, instead of one frame at a time. This is how the 2.6 server works too.

Someday I hope to improve this to track your history, and keep a grand total, but right now I'm focusing on getting the new clients out.

Correction. A few hours

Correction.

A few hours later and now she's working perfectly (as far as I can tell).

One problem so far. I see

One problem so far.

I see the screen saver in the preview window, or when I test it on full screen, but it doesn't seem to start up as a screen saver when the computer is idle.

I had the same problem

I had the same problem initially.

Calling it from the shell disables the screensaver. stopping that doesn't seam to enable the screensaver again. Restart the gnome-screensaver deamon.

--
"Mary had a little lamb"
Parse error
Terminated

thanks for the report, i

thanks for the report, i think i know what the problem is. there are a couple of ways of fixing it, i'll get to it when i can find the time. look for another update here.

Hej hej spotspot

Well, I followed the instructions above. At the moment I'm getting the message, "Please be patient while the first"--

HOLY MOTHER OF GOD! It's working!

Wow. That was fast. Last time I did this (in Windows) it took hours for the client to download the first sheep.

So far so good. I'll let you know if I come across anything buggy.

Oh, and once again, thanks for all your great work.

Tim