Re: Qt with OpenGL ES 1.1 on Maemo / N900
On Sep 2, 2010, at 4:13 PM, ext Thomas Perl wrote: Hello! According to the OpenGL ES Wiki page[1], Qt on Maemo only supports OpenGL ES 2.x. Is this really true? I've added the following two lines to my .pro file, and my application compiles, links and runs happily. However, the window (a QGLWidget) will stay black - nothing is drawn on the screen. DEFINES += QT_NO_OPENGL_ES_2 QT_OPENGL_ES_1 LIBS += -lGLES_CM Now my questions: 1.) Is it possible to use QGLWidget with OpenGL ES 1.1 on the N900? 2.) Is there a minimal example using QGLWidget + OpenGL ES 1.1? By default in device there is only OpenGL2 libraries, there are extra packages libgles1-sgx-img and libgles-sgx-dev containing OpenGL-ES1 . The implementation is based emulating OpenGL-ES1 fixed function pipeline by special shader code loaded. That may cause problems, because Qt uses by default GLES2. It may happen that if you try run GLES1 functions under QGlwidget, ir tuns happily but does not draw anything if GLES1 emulation is not initialized and shader codes loaded. I don't know is it possible to load emulation ( initialize GLES1) without doing some harm for other Qt GL stuff. Kate The same code works fine when compiled with Qt under Ubuntu on a laptop, so the code works and does draw something ;) I'm using the experimental Qt 4.7.x packages from Extras-Devel in Scratchbox and on the device. Any help appreciated :) Thanks! Thomas [1] http://wiki.maemo.org/OpenGL-ES ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
N900 AES and SHA1/MD5 hw acceleration drivers
Hi, Some might already know that Nokia has recently released a driver for AES and SHA1+MD5 hardware acceleration on the linux-crypto mailing list, however these drivers where based against 2.6.35 and needed the kernel to be rebuild in order to use them, because the platform device driver was to be build in the kernel. I have modified the driver in order to compile with the stock Nokia kernel on the N900 and without requiring the kernel to be changed, they do load... However the omap-aes driver has problems if used in 256-Bit Cbc-Essiv mode and if used in 128-Bit mode it causes the N900 to not wake up from powersaving. The omap-sha1-md5 driver seems to be so far fine, but the digest size in /proc/crypto looks somehow suspicious. It would be very helpful, if someone could bug test the drivers as well, since I don't have much experience with kernel modules. You will need to update NOLO, since the M-Shield the N900 has, needs to be configured differently, please make sure your N900 has hardware revision 2101 at least. I attached the NOLO update and the hw crypto modules, the source and the patches are also included. Cryptsetup can be found in extra-devel, the required dm-crypt and hash modules are also attached. Tobias Edit: Since the files are to big for the mailing list, you can find them here: http://www.mediafire.com/?cc1vbsnwnho31vb ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
[Fremantle] Compositing is disabled in fullscreen
I know that compositing is disabled in fullscreen, as some composited widget (for example the fullscreen button in hildon-extras) are shown with a black background instead of a semi-transparent one. But I noticed one thing: if a hildon-banner appears in fullscreen when one of such widgets is on the screen, the window manager turns compositing on (the translucid background of the other widget is shown), just to turn it off when the banner disappears. Is there a way to trick the window manager to act the same for arbitrary widgets as for hildon-banners? -- Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Qt with OpenGL ES 1.1 on Maemo / N900
Hi! 2010/9/3 kate.alh...@nokia.com: By default in device there is only OpenGL2 libraries, there are extra packages libgles1-sgx-img and libgles-sgx-dev containing OpenGL-ES1 . The implementation is based emulating OpenGL-ES1 fixed function pipeline by special shader code loaded. That may cause problems, because Qt uses by default GLES2. It may happen that if you try run GLES1 functions under QGlwidget, ir tuns happily but does not draw anything if GLES1 emulation is not initialized and shader codes loaded. I don't know is it possible to load emulation ( initialize GLES1) without doing some harm for other Qt GL stuff. Thanks for the clarification. I'm going to port my code to QGraphicsView then and use that to gain accelerated GLES2 graphics (with QGLWidget), so I don't have to deal with shader programs directly :) Greetings, Thomas ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N900 AES and SHA1/MD5 hw acceleration drivers
Am Freitag, den 03.09.2010, 13:44 +0200 schrieb Tobias Karnat: Edit: Since the files are to big for the mailing list, you can find them here: http://www.mediafire.com/?cc1vbsnwnho31vb If this doesn't work, use the following link as an alternative: http://rapidshare.com/files/416924813/n900-crypto.tar.gz Tobias ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Using N900 accelerometer with 8g
Hello, as far as I can read from wiki the accelerometer should be usable in a 2g and 8g mode. Does anybody know how to switch the modes?? Standard mode is 2g I think. Thanks a lot D. Schmicker ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers