Go to advanced search

by andyroyal
Thu Nov 29, 2012 5:57 pm
Forum: C/C++
Topic: Difference between arm-linux-gnueabi and bcm2708?
Replies: 11
Views: 44571

Re: Difference between arm-linux-gnueabi and bcm2708?

I don't know how to replace a static library. Is that something I have to do at compile time? Or is it something I have to do after copying the executable to the Raspberry Pi? It's compile time. I copied the libraries to my VM somewhere I could get at them, then added some lines to my makefile so t...
by andyroyal
Thu Sep 20, 2012 8:50 am
Forum: Troubleshooting
Topic: OpenGL ES Freezing
Replies: 3
Views: 664

Re: OpenGL ES Freezing

I've had freezing problems with OpenGL ES, but I updated Raspbian yesterday and that appears to have fixed it. I'm not sure exactly what's been fixed, or if the issue has just been "sidestepped", but I did notice that a new version of the GLES2 library was picked up so it might be that?
by andyroyal
Thu Sep 20, 2012 8:44 am
Forum: Graphics programming
Topic: [OpenGL ES] RPI freeze when load 2 texture picture
Replies: 4
Views: 3240

Re: [OpenGL ES] RPI freeze when load 2 texture picture

I've been getting freezes with my OpenGL ES programs too. It might be slightly different - I'm getting it with DVI and I'm using libjpeg instead of SOIL - but I updated Raspbian yesterday and that fixed it. The GLES2 library changed, I'm not sure exactly what the change was, but it's probably worth ...
by andyroyal
Mon Sep 17, 2012 8:17 am
Forum: OpenGLES
Topic: Taking screenshots of native window
Replies: 3
Views: 1790

Re: Taking screenshots of native window

Thanks for the suggestion. It'd be fairly easy to write a function which called glReadPixels() to dump the frame buffer to a file, and then put that function in any app I wanted to screencap. It should also be possible to write a second app which captured the frame buffer generated by the first, tho...
by andyroyal
Sun Sep 16, 2012 9:39 am
Forum: OpenGLES
Topic: Taking screenshots of native window
Replies: 3
Views: 1790

Taking screenshots of native window

I'm doing my OpenGL rendering to the native window, as I couldn't get OpenGL to work with X windows and I read somewhere it's because the X server on the RPi can't provide a suitable rendering surface. I'd like to take some screenshots, but I can't get it to work. scrot will only run with a window m...
by andyroyal
Thu Sep 06, 2012 10:03 am
Forum: Gaming
Topic: SCUMMvm and Frotz?
Replies: 18
Views: 10481

Re: SCUMMvm and Frotz?

Beneath a Steel Sky works very well on the Raspberry Pi. As my ageing telly doesn't have HDMI I'm using the phono out for the sound and get the odd cracking sound, but other than that it's fine. I can't remember where I got it from though... I think I started X in Raspbian and used Midori to downloa...
by andyroyal
Wed Sep 05, 2012 10:02 am
Forum: Raspbian
Topic: Wifi issue - wpasupplicant installed?
Replies: 11
Views: 2019

Re: Wifi issue - wpasupplicant installed?

If you've got another computer you should be able to download the package, copy it to the SD card and install it that way. Exactlly how you do that depends on the OS you're using on the RPi, with debian you'll install it with dpkg. It might be a pain to get any packages it depends on though. Try her...
by andyroyal
Fri Aug 24, 2012 3:01 pm
Forum: General discussion
Topic: Request for DSP documentation
Replies: 23
Views: 15388

Re: Request for DSP documentation

Vector/scaler core for general compute Is that typo, where you should have said "scalar", or does the core contain processing units specifically designed to do scaling? I used to be in the old video encode/decode/output processing game meself y'know. I'd guess there's some kind of embedded microcon...
by andyroyal
Fri Aug 24, 2012 10:04 am
Forum: Beginners
Topic: Newbie question sorry! Write Permissions etc.
Replies: 3
Views: 798

Re: Newbie question sorry! Write Permissions etc.

sudo allows you to run a single command as if you were root. In this instance starting nano as root allows you to write to files as root. If you want to become root and remain root, do "sudo su -".
by andyroyal
Fri Aug 24, 2012 9:46 am
Forum: General discussion
Topic: Request for DSP documentation
Replies: 23
Views: 15388

Re: Request for DSP documentation

Interesting... I hadn't noticed that the chip has a DSP in it until you pointed it out. Now I'm getting flashbacks to college, noise reduction projects, z-domain filtering, etc. etc...

I wonder if something like ALSA could take advantage of that?
by andyroyal
Fri Aug 24, 2012 9:06 am
Forum: Beginners
Topic: Newbie question sorry! Write Permissions etc.
Replies: 3
Views: 798

Re: Newbie question sorry! Write Permissions etc.

nano /etc/network/interfaces Before starting I saved a copy, sudo cp /etc/network/interfaces /etc/network/interfaces.sav As a newbie I'll ask if this is correct so far? I had no problem saving the copy but if I try to overwrite it I am denied permission! You need to be root to write to most config ...
by andyroyal
Wed Aug 22, 2012 11:20 am
Forum: General discussion
Topic: Eben won a TR35 award...
Replies: 17
Views: 2392

Re: Eben won a TR35 award...

"Honours list 2013

MBE: Eben Upton - For services pertaining to human understanding of rhyme. Oh, and something to do with compytooters?"
by andyroyal
Wed Aug 22, 2012 10:58 am
Forum: Python
Topic: Motors and transistors...
Replies: 30
Views: 5182

Re: Motors and transistors...

Also what is a geared motor? How does one work? What is the ratio you talk about? How would you change gears?I Gearless electric motors typically run very fast but with little torque. In a geared motor you're sacrificing speed to get more torque, and the ratio exartemarte's on about is the factor b...
by andyroyal
Tue Aug 21, 2012 12:45 pm
Forum: General discussion
Topic: Eben won a TR35 award...
Replies: 17
Views: 2392

Re: Eben won a TR35 award...

Congratulations Eben! But how're you going to top that? Nobel Prize next perhaps? ;)
by andyroyal
Mon Aug 20, 2012 12:24 pm
Forum: General discussion
Topic: Need good place to blog about project
Replies: 10
Views: 1703

Re: Need good place to blog about project

I use Blogger. Of my friends with blogs there seems to be a fairly even split between Blogger, WordPress and Tumblr, but I've no idea which is best. Blogger's easy to use and good enough for my purposes so I'm sticking with it for now. Slightly off-topic, but can anyone recommend a good blogging app...
by andyroyal
Mon Aug 20, 2012 8:30 am
Forum: General discussion
Topic: Can I use a 9V battery?
Replies: 43
Views: 27437

Re: Can I use a 9V battery?

What about 4 AA batteries? I'm very sceptical about running it off 4 AA batteries. You'll initially get about 6v from them, so you're going to need a regulator to keep the supply to the RPi at 5v, but drawing current will cause that 6v to drop. As the battery drains it's going to drop further, and ...
by andyroyal
Sat Aug 18, 2012 9:03 pm
Forum: C/C++
Topic: Difference between arm-linux-gnueabi and bcm2708?
Replies: 11
Views: 44571

Re: Difference between arm-linux-gnueabi and bcm2708?

The problem was that the bc2708 executables on github are 32-bit, and I'm running 64-bit Ubuntu, so I needed to install a few 32-bit libraries. libc6-i386 and lib32z1 did the trick.
by andyroyal
Fri Aug 17, 2012 1:38 pm
Forum: Python
Topic: Motors and transistors...
Replies: 30
Views: 5182

Re: Motors and transistors...

Ok... Being new to transistors and electronics in general I thought that transistors were just used as an electronic switch. Am I wrong? What else are they used for? Everything a transistor does essentially boils down to it being an electronic switch, so you could view it that way and that's certai...
by andyroyal
Fri Aug 17, 2012 10:40 am
Forum: Staffroom, classroom and projects
Topic: RasberryPi vs Arduino ? Differences so far?
Replies: 35
Views: 25814

Re: RasberryPi vs Arduino ? Differences so far?

If its primarily hardware stuff you're doing - controlling a few servos, leds etc go arduino as it is setup for lots of IO ... Best option is using both a Pi AND an arduino - you can get the Pi to talk to the arduino via serial or USB This is the conundrum I'm having. I'm thinking of making a robot...
by andyroyal
Fri Aug 17, 2012 8:30 am
Forum: C/C++
Topic: Difference between arm-linux-gnueabi and bcm2708?
Replies: 11
Views: 44571

Re: Difference between arm-linux-gnueabi and bcm2708?

It should work if you replace the static librararies with the corresponding raspbian ones. That did the trick, thanks! You could use the tools in github, referenced in the first post I tried those, but couldn't get them to work - the gcc, g++, etc. executables were there, but when I tried to execut...
by andyroyal
Wed Aug 15, 2012 9:13 pm
Forum: C/C++
Topic: Difference between arm-linux-gnueabi and bcm2708?
Replies: 11
Views: 44571

Re: Difference between arm-linux-gnueabi and bcm2708?

I've also been trying to cross compile arm-linux-gnueabihf from Ubuntu and hit the same Thumb-1 issue. If I use -marm it does compile, but when I copy the binary over to the Raspberry Pi (running Raspbian) and execute I get a segmentation fault every time. I guess this is the result of the static li...
by andyroyal
Mon Aug 13, 2012 8:10 am
Forum: General discussion
Topic: Dosbox. What have you got running.
Replies: 46
Views: 18574

Re: Dosbox. What have you got running.

Speedball 2 : Brutal Deluxe - Works quite well. You need to emulate sound, the game won't start without it. Somewhat counter-intuitively reducing the "cycles" down from the default speeds the game up, I found a value of about 700 worked best. It sounds awful, but it does on my monster desktop PC too...
by andyroyal
Fri Aug 10, 2012 4:57 pm
Forum: General programming discussion
Topic: Why "SUDO" - what does it mean?
Replies: 6
Views: 10002

Re: Why "SUDO" - what does it mean?

Well if you've already got the power to sudo then you've effectively got root access to anything you want, so AFAIK logging in as root confers no advantage beyond convenience. If you don't want everyone with an account to have root access, then don't give everyone sudo powers - i.e. sort out your /e...
by andyroyal
Fri Aug 10, 2012 2:19 pm
Forum: Off topic discussion
Topic: Greatest game of all time
Replies: 152
Views: 38010

Re: Greatest game of all time

Ask me on a different day and you'll get a different answer, but it's going to be one of these:

Dropzone (Atari version)
Advance Wars
FF7
FFX
Deus Ex
Half-Life 1 or 2
Sensible World of Soccer
Skyrim
Ocarina of Time
Hostile Waters
Mass Effect
by andyroyal
Thu Aug 09, 2012 8:34 pm
Forum: General discussion
Topic: how to set date and time
Replies: 27
Views: 352203

Re: how to set date and time

From a command time, do something like: sudo date -s "Thu Aug 9 21:31:26 UTC 2012" That should sort you out. For more info on the syntax of the date command: man date should tell you everything you need to know. Remember that the Raspberry Pi doesn't have a real-time clock (unless you add one yourse...

Go to advanced search