Go to advanced search

by aksommerville
Sat Jul 05, 2014 4:48 pm
Forum: Graphics programming
Topic: MMAL-based image viewer
Replies: 6
Views: 2894

Re: MMAL-based image viewer

I don't run an X server on my Pi, so I'm not going to investigate those glitches. I assume that the X server and image decoder are fighting over resources somewhere. I have seen that ECORRUPT error, too. When I save a JPEG in GIMP with its "progressive" setting, it happens every time. The software d...
by aksommerville
Fri Jul 04, 2014 8:23 pm
Forum: Graphics programming
Topic: MMAL-based image viewer
Replies: 6
Views: 2894

Re: MMAL-based image viewer

Looks like those keyboard problems were due to not fully resetting termios. A small change to show_control.c, and I think it's fixed. (I don't have an X server on my Pi, so I haven't actually confirmed it). Incidentally, this also fixes similar keyboard problems if program were to abort unexpectedly...
by aksommerville
Thu Jul 03, 2014 8:00 pm
Forum: Graphics programming
Topic: MMAL-based image viewer
Replies: 6
Views: 2894

Re: MMAL-based image viewer

I threw some obstacles in there, just to mess with your head. :) There are two different ways the keyboard might be accessed: evdev or stdin. I've never seen the behavior you describe, but it sounds more stdinny than evdevvy. Try uncommenting show_main.c:133, this will confirm that evdev connected t...
by aksommerville
Thu Jul 03, 2014 4:41 pm
Forum: Français
Topic: un projet , un probleme
Replies: 4
Views: 810

Re: un projet , un probleme

Regardez /etc/rc.local. Ca marche a demarrage.
by aksommerville
Thu Jul 03, 2014 1:55 pm
Forum: Graphics programming
Topic: MMAL-based image viewer
Replies: 6
Views: 2894

MMAL-based image viewer

Here's a still image viewer using MMAL for decode and display.
It also has software decoders for a few formats.
Maybe helpful if you're trying to sort out MMAL...
by aksommerville
Fri Feb 07, 2014 9:43 pm
Forum: General discussion
Topic: keyboard
Replies: 4
Views: 747

Re: keyboard

If the key you expect to be @ is outputting ", odds are you've got a UK layout when you wanted US.
The relevant file here is /etc/default/keyboard. Look in there for "XKBLAYOUT".
by aksommerville
Tue Feb 04, 2014 8:34 pm
Forum: Graphics programming
Topic: GLES2: glPixelStorei parameters for glTexSubImage2D()
Replies: 5
Views: 2642

Re: GLES2: glPixelStorei parameters for glTexSubImage2D()

Best workaround I know for this, is to call glTexSubImage2D() once for each row that you're copying in.
by aksommerville
Thu Dec 12, 2013 4:26 pm
Forum: C/C++
Topic: C++ game programming (beginner)
Replies: 2
Views: 2283

Re: C++ game programming (beginner)

The demos included at /opt/vc/src should get you rolling with the Broadcom-specific stuff. I've written some little libraries for game-oriented I/O: https://sourceforge.net/projects/aksraspilibs/files/ Feel free to contact me directly if you need any help; I'd love to see more Pi-native game develop...
by aksommerville
Fri Dec 06, 2013 6:01 pm
Forum: Gaming
Topic: STICKY: GAMES LIST: Games That Work On The Pi
Replies: 316
Views: 692938

Re: GAMES LIST: Games That Work On The Pi

Tag Team Adventure Quest:
http://store.raspberrypi.com/projects/ttaq
Exclusively for the Pi.
If you have 4 joysticks and 3 friends, it's tons of fun.
by aksommerville
Tue Nov 12, 2013 7:54 pm
Forum: C/C++
Topic: How to compile C++ on Raspberry Pi
Replies: 10
Views: 58388

Re: How to compile C++ on Raspberry Pi

What have you tried so far, and what happened?
Normally, it's just 'make' to compile C or C++ programs.
by aksommerville
Sun Nov 10, 2013 2:29 pm
Forum: C/C++
Topic: Handy game libraries for Pi (C+Python)
Replies: 0
Views: 638

Handy game libraries for Pi (C+Python)

A few libraries I've been working on for audio, video and input. Only the video library "pig" is Pi-specific, mostly these should work on any Linux system. I'm finding that with OpenGL ES, it's perfectly feasible to write smooth SNES-style video games. Which is pretty cool. https://sourceforge.net/p...

Go to advanced search