Go to advanced search

by Gavinmc42
Thu Dec 19, 2019 4:17 am
Forum: Gaming
Topic: What consoles can be run at 60 fps on Lakka or Retropie Raspberry Pi 4
Replies: 1
Views: 312

Re: What consoles can be run at 60 fps on Lakka or Retropie Raspberry Pi 4

Guys have got Dolphin to run on Pi4 with Gentoo64, not sure the fps.
Lakka will work on Pi4
Retropie won't yet.
by Gavinmc42
Thu Dec 19, 2019 4:00 am
Forum: Gentoo
Topic: ebuilding 64bit games
Replies: 16
Views: 12606

Re: ebuilding 64bit games

Pip did not work, that's why I asked. There does not seem to be pgzero in Gentoo for pip to find. My question should have been how to make/put one in Gentoo so it can find and build it. I have found some pgzero source on github so will have a play with that this weekend. It seems pgzero has been aro...
by Gavinmc42
Wed Dec 18, 2019 12:01 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3028

Re: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!

Processing is really cool, but it uses a dated Java core. OpenJDK is where Java is going and I wish Processing would follow. Just this week I started looking at what is needed to port it to OpenJDK. While there is the old JavaFX that is hardware accelerated, which I think Processing uses. it won't w...
by Gavinmc42
Wed Dec 18, 2019 2:44 am
Forum: Beginners
Topic: Is it possible - Head tracking in real time
Replies: 2
Views: 319

Re: Is it possible - Head tracking in real time

Use the NOIR camera, add a visible light filter and then have IR illumination and some retro reflective dots stuck to your head/helmet. This should reduce the data that needs processing to a much lower level. Hmm motion capture for movies done on Pi4's? Edit - https://spheres.ndigital.com/ https://a...
by Gavinmc42
Wed Dec 18, 2019 12:49 am
Forum: Python
Topic: Oscilloscope
Replies: 10
Views: 706

Re: Oscilloscope

'C' code could be many times faster, but Linux would then disturb the regularity with which you could read samples. Tricky timing involved, not sure how Joan solves it. http://abyz.me.uk/rpi/pigpio/piscope.html I suspect setting up DMA to take the data and shove into into memory? Then different cod...
by Gavinmc42
Wed Dec 18, 2019 12:37 am
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3028

Re: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!

And it's not always about raw speed; it can be as much about ease of doing something, how well a programmer finds a language suits how they think or like to do things. Again, it depends on what one's doing. Exactly, what the user wants to do. For me that is single user/purpose gadgets where the UI ...
by Gavinmc42
Tue Dec 17, 2019 10:42 am
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3028

Re: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!

I have acquired a knowledge of a dozen or so languages since 2012 when I started using Pi's with Python. They start to look similar apart from the punctuation. The Interpreted/scripting languages have the advantage of quick coding and generally simpler feature set. Basic, Python, Lua, JavaScript, Ja...
by Gavinmc42
Tue Dec 17, 2019 4:32 am
Forum: Gentoo
Topic: ebuilding 64bit games
Replies: 16
Views: 12606

Re: ebuilding 64bit games

Hi Sakaki, Eben and co have written a gaming book. https://wireframe.raspberrypi.org/books/code-the-classics1 It uses Python and some Python libs. import pgzero, pgzrun, pygame Error at 1st import - pgzero I cannot find any Gentoo info about pgzero or pgzrun. It is supposed to be abstraction layers ...
by Gavinmc42
Tue Dec 17, 2019 12:21 am
Forum: General discussion
Topic: Graph & timeline of Pi Sales
Replies: 96
Views: 30628

Re: Graph & timeline of Pi Sales

once i figured out how to change the swap file to 2gb, the 3B+ became instantly more useful to me. The 3B+ is a good unit
What were you doing that you needed more than 1GB of swap?
Pi3B+ is good, Pi4 is better except for that VC6 thing I can barely understand ;)
by Gavinmc42
Mon Dec 16, 2019 10:28 am
Forum: Troubleshooting
Topic: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.
Replies: 12
Views: 469

Re: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.

Try 0x19 as well. You are not over clocking at all? That can mess up the i2c clock speed. The way i2cdetects works is it just looks for the sda line going low in response to an address. It can be worth trying different OS's. But most of my i2c stuff is now done baremetal with Ultibo. Which Pi are yo...
by Gavinmc42
Mon Dec 16, 2019 10:14 am
Forum: General discussion
Topic: Raspberry Pi Tablet OS
Replies: 32
Views: 1604

Re: Raspberry Pi Tablet OS

Damn, that's good enough to sell for money.
Is that ABS and what paint did you use?
Setting the bar pretty high for the rest of us.

Got a box under the xmas tree with a 4.5" HDMI screen.
Need to get one of those 3D printers.
by Gavinmc42
Mon Dec 16, 2019 2:29 am
Forum: C/C++
Topic: Cross compiling from arm to amd64
Replies: 10
Views: 446

Re: Cross compiling from arm to amd64

Horrible machine anyway, I would not want to be building one of those.
I preferred the 12MHz AMD 286 in my first PC ;)
Any x86 chips still around and usable for DIY PCBs?
by Gavinmc42
Mon Dec 16, 2019 2:22 am
Forum: Troubleshooting
Topic: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.
Replies: 12
Views: 469

Re: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.

Missing mode command? b, c, w
Try something like i2cget -y 1 0x1e 0x00 b
i2c chips can be a pain to get working the first time.
Obvious after figuring it out :D
by Gavinmc42
Mon Dec 16, 2019 1:59 am
Forum: Troubleshooting
Topic: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.
Replies: 12
Views: 469

Re: I2C device detected with i2cdetect, however I still get "No I2C device at address" error.

See if you can use command line i2cget/i2cset to read/write the sensors. Because i2cdetect works, it should be a software issue now. I suspect your python code is not accessing them, wrong bus? Using a library can hide what is going on, which bus does that default too? The only way to really tell is...
by Gavinmc42
Mon Dec 16, 2019 1:49 am
Forum: Beginners
Topic: First day with Raspberry Pi. How to use it?
Replies: 16
Views: 828

Re: First day with Raspberry Pi. How to use it?

I and many others on this forum began programming without a GUI (on "a 'black window' command line"). For headless Pi's I install MC(Midnight Commander) on them. It can be used as a remote file manager and editor. Filezilla on the PC is great for copying files to the Pi. First time setting up Raspb...
by Gavinmc42
Mon Dec 16, 2019 1:29 am
Forum: Bare metal, Assembly language
Topic: Motorola 680x0 "bare metal" assembly on Raspberry
Replies: 2
Views: 313

Re: Motorola 680x0 "bare metal" assembly on Raspberry

Run Mimix on it?
http://psiphi.server101.com/applix/sspm.pdf
Why has Minix not been ported to the new Pi's?
by Gavinmc42
Mon Dec 16, 2019 1:24 am
Forum: General discussion
Topic: google coral camera with Raspberry Pi 4
Replies: 4
Views: 245

Re: google coral camera with Raspberry Pi 4

It looks like it uses an OV5645, the Pi camera 1 is OV5647.
Not sure the Pi camera software driver will work
You might only get raw data from it if you can convert the cable.

Use the Pi cameras with add on lenses?
It will be easier.
Try cheap Smartphone clip on lens?
by Gavinmc42
Mon Dec 16, 2019 1:18 am
Forum: Automation, sensing and robotics
Topic: AlphaBot, which type of 18650
Replies: 3
Views: 226

Re: AlphaBot, which type of 18650

18650 LiFePO4 are safer but lower capacity and lower voltage. Button top/flat top, had not heard those terms before. It explains why some battery holder don't work with flat tops without mods. It looks like LED torches have been the main driver for these cells. Hobbyking have universal chargers, I u...
by Gavinmc42
Mon Dec 16, 2019 1:03 am
Forum: C/C++
Topic: Cross compiling from arm to amd64
Replies: 10
Views: 446

Re: Cross compiling from arm to amd64

Intel SBCs? :lol: Where is the joke? Depends if you have been watching Intel attempts at SBC's/SoC's. I'm not sure if they are serious or just messing about having fun. I've used PC104 and Advantech boards too. Had thought of making a PC104 adapter/motherboard board for the Pi's. But my list is Pi ...
by Gavinmc42
Mon Dec 16, 2019 12:52 am
Forum: General discussion
Topic: Graph & timeline of Pi Sales
Replies: 96
Views: 30628

Re: Graph & timeline of Pi Sales

What, one million!? I don't even have one yet dammit. Well it is guys like you who are stopping this plot from becoming a hockey stick ;) Normally I get them in pairs but I only have one 1GB, one 2GB and one 4GB Pi's. Only the Zero's I got in singles. This tends to indicate production capacity is t...
by Gavinmc42
Mon Dec 16, 2019 12:38 am
Forum: Graphics programming
Topic: Open GL 2.1 on RPi 4
Replies: 8
Views: 926

Re: Open GL 2.1 on RPi 4

Linux Air Combat Simulator will compile but crashes. FlightGear was working slowly on Raspbian32 but not on Gentoo64 yet. OpenSceneGraph has a Cessna example you can set fire to ;) OSG was a prerequisite for FlightGear, once that compiled/worked I tried FG, hours later it worked. These Pi4's are pre...
by Gavinmc42
Sun Dec 15, 2019 7:36 am
Forum: C/C++
Topic: Cross compiling from arm to amd64
Replies: 10
Views: 446

Re: Cross compiling from arm to amd64

That is possibly the most bonkers, nuts idea I have ever heard. Why would one ever want to build x86-64 Linux kernels on a ARM? Why cross compile to aarch64 on x86_64? Or cc to RISC-V from aarch64? Or aarch64 to armv6hf. Because we can? I have used Buildroot to do this for arm6hf, arm7, arm8 and ri...
by Gavinmc42
Sat Dec 14, 2019 8:12 am
Forum: Camera board
Topic: Is a 30-pin camera compatible with Raspberry Pi Zero W?
Replies: 5
Views: 327

Re: Is a 30-pin camera compatible with Raspberry Pi Zero W?

That number of pins and 2Mp probably means it is a parallel output camera. In theory there is a parallel camera interface mode, but undocumented. Back when the Pi SoC was first made parallel camera chip were common. Google Arducam for more info. Basically you need to setup up genclk0 to the camera s...
by Gavinmc42
Sat Dec 14, 2019 8:02 am
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3028

Re: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!

Do something. Having a project is better for learning than just tuts and coding. Plenty of projects in the Pi mags etc. Eben is supposed to have a book for game coding soon. That's something I have not done before. This PI4 B4 makes a pretty good Desktop. Python is good to start with but in the Linu...
by Gavinmc42
Sat Dec 14, 2019 7:42 am
Forum: Beginners
Topic: What kind of monitor can I use?
Replies: 8
Views: 348

Re: What kind of monitor can I use?

USB DisplayLink 2.0 to VGA used to also be an option though that seems to be broken under Buster.
Buster or USB driver issue?
How fast would that be on USB3?
Another 2 screens?
USB3 to LVDS LCD?
With 5 or 6 SPI screems?
That's a lot of displays.

Go to advanced search