Go to advanced search

by JF002
Thu Jan 24, 2013 6:21 pm
Forum: Python
Topic: Ctypes, doesn't load the good lib
Replies: 2
Views: 1011

Ctypes, doesn't load the good lib

Hi! In order to use OpenGL ES with Python using Ctypes, I try to load /opt/vc/lib/libGLESv2.so. This code works fine, it prints the GL_VERSION string. from ctypes import * gles = CDLL("libGLESv2.so.2") string = ptr(0x1f02) #GL_VERSION print(str(string)) However, I don't understand why: print(find_li...
by JF002
Tue Jan 22, 2013 6:12 pm
Forum: Networking and servers
Topic: (Raid of) USB flash drives as storage
Replies: 1
Views: 1900

(Raid of) USB flash drives as storage

Hi! I'm using a RasperryPi as a personnal server (web server, owncloud, opendTTD server,...). This is for personnal use, I don't expect to have thousands of visitors on my server for now. Currently, the only storage I have is the 8GB SD card I use for the system. I was wondering which solution I sho...
by JF002
Sun Jan 20, 2013 2:00 pm
Forum: Media centres
Topic: SqueezePlug Version 6 available
Replies: 541
Views: 108544

Re: SqueezePlug Version 6 available

Hi! I've just installed SqueezePlug 6 and... Wow! I didn't know such a thing existed in linux! It nearly fits my needs (play audio files from local, network, streams,...). Only one thing is missing : a local GUI! I would like to install the Raspberry with a touchscreen in my kitchen, and be able to ...
by JF002
Sun Jan 13, 2013 3:47 pm
Forum: Graphics programming
Topic: GUI and GPU acceleration, what's missing
Replies: 5
Views: 9759

GUI and GPU acceleration, what's missing

Hello! I'm searching for information and understanding for many weeks, with no luck... In theory, the GPU or the raspberrypi is very powerful. In practice, it seems there is no support for the GPU in softwares and libraries, appart from OMXPlayer and Quake, for example. I have little knowledge in 3D...
by JF002
Fri Jan 11, 2013 5:52 pm
Forum: OpenGLES
Topic: Python Kivy graphics library for OpenGLES 2 working
Replies: 15
Views: 17675

Re: Python Kivy graphics library for OpenGLES 2 working

I tried to install/build/cross-compile/... QT5 (which seems to provide what I need) with no results :( And I still don't know if GPU acceleration works with QT5 on the Rpi. Perhaps I should investigate a little more... When I found Kivy, I tought it could be what I need, but lighter than QT. And sin...
by JF002
Fri Jan 11, 2013 4:00 pm
Forum: OpenGLES
Topic: Python Kivy graphics library for OpenGLES 2 working
Replies: 15
Views: 17675

Re: Python Kivy graphics library for OpenGLES 2 working

Is Pi3D related to Kivy?
I'll have a look anyway!

Basically, I'm searching for a UI framework that would allow me to create "modern" (adapted to mobile/touchscreen world) and fast, fluid GUI.
So any suggestion is welcome!
by JF002
Thu Jan 10, 2013 8:13 pm
Forum: OpenGLES
Topic: Python Kivy graphics library for OpenGLES 2 working
Replies: 15
Views: 17675

Re: Python Kivy graphics library for OpenGLES 2 working

If I understand correctly, Kivy is based on pygame which is based on SDL. I made some test with SDL, and I onmy manage to create a SWSURFACE, not a HWSURFACE or DOUBLEBUFFER. I'm totally confused about GPU acceleration, OpenGL, OpenGL ES,... support on RaspberryPi... It seems that Raspi should suppo...
by JF002
Wed Jan 09, 2013 10:32 pm
Forum: OpenGLES
Topic: Python Kivy graphics library for OpenGLES 2 working
Replies: 15
Views: 17675

Re: Python Kivy graphics library for OpenGLES 2 working

Hi! I discovered Kivy today and I would like to try it on my Raspi. I followed the instructions in the installation manual and your instructions. During the installation, it told me that OpenGL ES headers were found. But when running a script from X, it tell me that no GLX display is available, trie...
by JF002
Thu Jan 03, 2013 3:08 pm
Forum: General programming discussion
Topic: QT5 : Where are we?
Replies: 5
Views: 2336

Re: QT5 : Where are we?

Oh and another question... Will hardware acceleration work with QT5 and raspberrypi? Only when running Qt applications full screen on the console. Not when running under X. That's exactly what I would like to do for my project. But... How do I run my app from the console? For now, I'm using Qt4 and...
by JF002
Sat Dec 29, 2012 10:56 am
Forum: General programming discussion
Topic: QT5 : Where are we?
Replies: 5
Views: 2336

Re: QT5 : Where are we?

I installed nightly builds of QT5, but they only contain the libraries, not the developpment tools (qmake).
by JF002
Sat Dec 29, 2012 10:25 am
Forum: General programming discussion
Topic: QT5 : Where are we?
Replies: 5
Views: 2336

QT5 : Where are we?

Hi! Not a long time ago, QT5 (final version) was released. I've been waiting for this release for a long time. I installed the SDK on a Debian virtual machine to try some things. Now, the time has come to (cross-)compile my code for the RaspberryPi. I found some information about building or cross c...
by JF002
Sun Dec 09, 2012 7:02 pm
Forum: Raspbian
Topic: MAME4ALL fail to compile
Replies: 14
Views: 5124

Re: MAME4ALL fail to compile

I'm compiling mame4all right now.

I had the same error. I assume that the following command line would fix it:

Code: Select all

sudo apt-get install sdl-mixer1.2-dev
by JF002
Tue Dec 04, 2012 8:10 pm
Forum: Other projects
Topic: 10" Touch Screen for Raspi on route shortly!
Replies: 44
Views: 56226

Re: 10" Touch Screen for Raspi on route shortly!

Ok, I found an entry in /sys that seems to correspond to the ntrg driver : /sys/module/hid_ntrig/parameters There, I found all the settings that are described in the linked I posted previously. I tried to read/write them with no nearly succes... Here is how I proceed : cd /sys/module/hid_ntrig/param...
by JF002
Sun Nov 25, 2012 8:52 am
Forum: Other projects
Topic: 10" Touch Screen for Raspi on route shortly!
Replies: 44
Views: 56226

Re: 10" Touch Screen for Raspi on route shortly!

Thanks for the link to those tools, JF002. I compiled and ran but they made little difference for me. All that stuff about filtering and all was a great read, but in typical linux fashion, they say a lot but never really tell you what you're suppose to do. I guess I should RTFM eh? :roll: Yeah, I a...
by JF002
Sat Nov 24, 2012 11:32 am
Forum: Other projects
Topic: 10" Touch Screen for Raspi on route shortly!
Replies: 44
Views: 56226

Re: 10" Touch Screen for Raspi on route shortly!

Hi! As I said in another thread , I received my touchscreen and I'm experiencing the same troubles with the touch part of the screen; I'm creating an application in Qt/QML. My main problem is that I'm using a grid view. On a grid view, you can click on a cell or make it scroll up/down by dragging th...
by JF002
Thu Nov 22, 2012 7:16 pm
Forum: Other projects
Topic: 10" LCD LVDS bundle with capacitive touchscreen and ambient
Replies: 34
Views: 47146

Re: 10" LCD LVDS bundle with capacitive touchscreen and ambi

I received my 10" touchscreen from ChalkElec yesteday! At first (and second... an third) sight, it is exactly what I wanted : touchscreen, nice image quality, HDMI,... For those who are interested, I took some pictures when unboxing: http://s13.postimage.org/54mdh4j1v/IMG_4435.jpg http://s13.postima...
by JF002
Mon Oct 08, 2012 7:43 pm
Forum: Other projects
Topic: 10" Touch Screen for Raspi on route shortly!
Replies: 44
Views: 56226

Re: 10" Touch Screen for Raspi on route shortly!

I can't wait to read the results of your tests!
by JF002
Mon Oct 08, 2012 7:42 pm
Forum: Other projects
Topic: 10" LCD LVDS bundle with capacitive touchscreen and ambient
Replies: 34
Views: 47146

Re: 10" LCD LVDS bundle with capacitive touchscreen and ambi

I'm planning on buying one of these screens, so, I'm waiting for some updates from you... Too bad it arrived damaged...
by JF002
Sat Sep 22, 2012 4:53 pm
Forum: Other projects
Topic: 10" LCD LVDS bundle with capacitive touchscreen and ambient
Replies: 34
Views: 47146

Re: 10" LCD LVDS bundle with capacitive touchscreen and ambi

Thanks for these video! It's good to know that the CPU is not an issue!

Do you know what are the delays if I order one now?
by JF002
Sat Sep 22, 2012 10:13 am
Forum: Other projects
Topic: 10" LCD LVDS bundle with capacitive touchscreen and ambient
Replies: 34
Views: 47146

Re: 10" LCD LVDS bundle with capacitive touchscreen and ambi

Has anybody had the opportunity to test this display?
by JF002
Fri Sep 21, 2012 4:19 pm
Forum: Raspbian
Topic: Updating to the 2012-09-18-wheezy-raspbian image
Replies: 228
Views: 206787

Re: Updating to the 2012-09-18-wheezy-raspbian image

I've updated my firmware to the latest version, selected the Turbo mode (1000Mhz) and it's awsome!!! The whole system seems to be a lot more usable and responsive! Some weeks ago, I built XBMC and ran it but it was too slow and sluggish for me. Now, it seems to be as responsive as my main media serv...
by JF002
Tue Sep 11, 2012 7:58 pm
Forum: Media centres
Topic: omxplayer - GPU enabled video player
Replies: 171
Views: 182572

Re: omxplayer - GPU enabled video player

Hi! I'm currently trying to embed OmxPlayer into my own code. I manage to play audio file, seek, pause,... But it's not easy to understand Omxplayer code and to find what I need. It would be so much easier if I had some information from the one(s) who wrote the code. Do you know if the developper(s)...
by JF002
Mon Sep 03, 2012 7:58 pm
Forum: Python
Topic: Play sound (mp3, streams,...) using Python
Replies: 11
Views: 6677

Re: Play sound (mp3, streams,...) using Python

Perhaps you should look into how ALSA works. PyAlsaAudio works fairly well, and is light with few dependencies (but you have to install libaudio2-dev via apt-get) http://pyalsaaudio.sourceforge.net/ If you have troubles I can send you a code sample of using it, but it's straight forward. I'll have ...
by JF002
Sun Sep 02, 2012 4:15 pm
Forum: Python
Topic: Play sound (mp3, streams,...) using Python
Replies: 11
Views: 6677

Re: Play sound (mp3, streams,...) using Python

Omxplayer uses (you may have guessed) the OpenMAX API. I think there should be Wrappers available for any language , including python. ghans No, I didn't guess that... In fact, I know nothing about OpenMAX, but I'll have a look! In my opinion, communicating with another thread using stdin/stdout is...

Go to advanced search