Go to advanced search

by Narishma
Sun Oct 14, 2012 7:14 pm
Forum: Français
Topic: Création d'un répertoire
Replies: 5
Views: 4242

Re: Création d'un répertoire

Bonsoir, Je suis confronté à un dilemne... Je travail en ssh . Mon soucis c'est ça : pi@raspberry /media/PENDRIVE $ mkdir /test mkdir : cannot create directory '/test' : permission denied Je me place dans mon périphérique de stockage puis ensuite j'utlise la commande 'mkdir' pour créer le repertoir...
by Narishma
Sun Oct 14, 2012 6:43 pm
Forum: General programming discussion
Topic: Problems getting OpenGLES working
Replies: 6
Views: 1779

Re: Problems getting OpenGLES working

I'm about to start to look at 3D on the Pi. I have some existing openGL applications that I would like to port tot he Pi so I'm interested in seeing your "first steps in openGLES" code if that is possible ? PeterO If you are using Raspbian, there's example code for using OpenGL ES, OpenVG, OpenMAX ...
by Narishma
Tue Oct 09, 2012 4:37 am
Forum: C/C++
Topic: C++ Compilero
Replies: 4
Views: 1786

Re: C++ Compilero

121343pi wrote:Which one will run fastest on the Pi?
clang is faster at compiling and has better error reporting but GCC generally produces faster code and is better supported on the Pi.
by Narishma
Mon Oct 08, 2012 9:11 am
Forum: C/C++
Topic: C++ Compilero
Replies: 4
Views: 1786

Re: C++ Compilero

121343pi wrote:Hi
What is the easiest C++ compiler for Raspberry PI?
Thanks
What do you mean by "easiest"? They pretty much all work the same way.
by Narishma
Fri Oct 05, 2012 12:12 pm
Forum: C/C++
Topic: Recommeded C++ dev environment ?
Replies: 108
Views: 81557

Re: Recommeded C++ dev environment ?

fjb wrote:If you want development efficiency then and IDE is a good idea as you can also configure the tools involved. If you've been programming as long as I have then an IDE saves time :)
It's just a matter of personal preference.
by Narishma
Thu Oct 04, 2012 7:51 pm
Forum: C/C++
Topic: Profiling on the Pi?
Replies: 14
Views: 9299

Re: Profiling on the Pi?

Have you tried OProfile?
by Narishma
Mon Oct 01, 2012 6:03 pm
Forum: General programming discussion
Topic: C code to extract BCM serial number
Replies: 5
Views: 9170

Re: C code to extract BCM serial number

Sure, I could -- I just wondered what register this serial number is stored in. It would be simpler / more ideal to just read that to get the number. I don't think you can do that (read a hardware register) on Linux, unless you write a kernel module that reads the register and exposes it to userspa...
by Narishma
Mon Oct 01, 2012 5:17 pm
Forum: OpenGLES
Topic: Blender error
Replies: 2
Views: 1665

Re: Blender error

More likely, it requires OpenGL while the Pi only supports OpenGL ES.
by Narishma
Mon Oct 01, 2012 5:09 pm
Forum: General programming discussion
Topic: C code to extract BCM serial number
Replies: 5
Views: 9170

Re: C code to extract BCM serial number

Is there a reason you can't just parse it in your C code instead of calling an external script? Something like: #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char **argv) { FILE *f = fopen("/proc/cpuinfo", "r"); if (!f) { return 1; } char line[256]; int serial; while ...
by Narishma
Wed Sep 26, 2012 7:29 pm
Forum: Français
Topic: Xorg: quelle résolution max pour quelle performance?
Replies: 3
Views: 1908

Re: Xorg: quelle résolution max pour quelle performance?

Alors là j'apprends quelque chose... Et du coup, tu a l'impression d'un affichage minitel ou "cela va encore"? L'interface n'est pas très fluide en général mais c'est fonctionnel. Ca vient du fait que xorg utilise le pilote framebuffer générique. Il n'y a pas encore de pilote xorg pour le GPU du Pi...
by Narishma
Sun Sep 23, 2012 12:45 pm
Forum: General discussion
Topic: Web Browsers
Replies: 24
Views: 6371

Re: Web Browsers

That's not exactly correct.
Most media players do work on the Pi, but only a few (omxplayer and xbmc) are hardware-accelerated.
The other ones are too slow to be of much use.
by Narishma
Sun Sep 23, 2012 11:52 am
Forum: General programming discussion
Topic: Java Project on Raspberry Pi
Replies: 5
Views: 2015

Re: Java Project on Raspberry Pi

As far as I know, VLC isn't hardware-accelerated on the Pi, so it's pretty useless for video playback or encoding.
by Narishma
Thu Sep 20, 2012 3:57 pm
Forum: Gaming
Topic: SNES with audio, anyone?
Replies: 7
Views: 3870

Re: SNES with audio, anyone?

Out of interest have you tried both modes in bsnes? "Accuracy uses a pixel-based renderer, which is required to properly emulates effects such as the plane shadow from Air Strike Patrol. However, it is almost twice as slow as the compatibility profile. Compatibility uses a scanline-based renderer, ...
by Narishma
Thu Sep 20, 2012 7:50 am
Forum: General discussion
Topic: Web Browsers
Replies: 24
Views: 6371

Re: Web Browsers

piglet wrote:Chromium runs OK. There's not enough memory or grunt to run Firefox as far as I know. I've not seen anyone mentioning having got it running.
I find that hard to believe since Firefox uses less memory than Chrome in my experience, as well as all the benchmarks I've seen online.
by Narishma
Sat Sep 15, 2012 5:57 pm
Forum: Bare metal, Assembly language
Topic: ARM Assembly: ldr versus mov
Replies: 10
Views: 28448

Re: ARM Assembly: ldr versus mov

So, if the assembler will generate the optimal instruction(s) for ldr, is there a reason to bother with the other ones (mov, mvn)?
by Narishma
Sat Sep 08, 2012 8:02 pm
Forum: Beginners
Topic: Flash video
Replies: 1
Views: 1177

Re: Flash video

You answered your own question. FLV is just a container format. It usually contains H263 or H264 encoded video and MP3 or AAC encoded audio.
by Narishma
Sat Aug 25, 2012 10:18 pm
Forum: C/C++
Topic: GPU Processing API
Replies: 124
Views: 50592

Re: GPU Processing API

So, you didn't actually answer his question. None of those SoCs you listed have GPUs with open specs.
by Narishma
Sat Aug 18, 2012 8:43 pm
Forum: Off topic discussion
Topic: Baldur's Gate Enhanced Edition
Replies: 8
Views: 2667

Re: Baldur's Gate Enhanced Edition

RaTTuS wrote:ooh Baulders gate ... I nearly played that as much as original Diablo ........
Baldur, not Baulder.
by Narishma
Sun Aug 12, 2012 12:52 am
Forum: C/C++
Topic: SDL hardware acceleration
Replies: 16
Views: 9132

Re: SDL hardware acceleration

What functions do you think should be accelerated?
I was under the impression that SDL does it's things purely in software and isn't accelerated on any platform.
by Narishma
Tue Aug 07, 2012 12:12 am
Forum: General programming discussion
Topic: quick question: extracting file from memory stick
Replies: 10
Views: 2422

Re: quick question: extracting file from memory stick

cd is known, but cd / (meant to list the available directories?) isnt "cd" doesn't list anything, it just takes you to whatever directory you tell it. If you don't give it any directory, it takes you to your home directory. "ls" is used for listing files. If you don't give it any options, it lists ...
by Narishma
Tue Aug 07, 2012 12:06 am
Forum: General programming discussion
Topic: RaspberryPI and the MK802
Replies: 4
Views: 31847

Re: RaspberryPI and the MK802

I think this is in the wrong forum.
by Narishma
Sun Jul 29, 2012 6:41 am
Forum: Python
Topic: Could someone run through this code with me?
Replies: 23
Views: 3351

Re: Could someone run through this code with me?

Right.
by Narishma
Sun Jul 29, 2012 2:56 am
Forum: Python
Topic: Could someone run through this code with me?
Replies: 23
Views: 3351

Re: Could someone run through this code with me?

But where are the coordinates for the black window? Because there is only 4 coordinates in the variable "windows". I find it hard to see where the window with the square bracket coordinates are defined because there are only 4, and there is 5 in the Windows for-loop. Each time it goes through the l...
by Narishma
Sat Jul 28, 2012 12:00 am
Forum: General programming discussion
Topic: fixed-point mp3 encoder
Replies: 6
Views: 3517

Re: fixed-point mp3 encoder

toots wrote:This is a library implementing fixed-point mp3 encoding. It is damn fast on the raspberry pi, even when compiled with soft floats.
Well, since it uses fixed-point arithmetic, float settings won't have any effect on it's performance.

Go to advanced search