Search results

  1. P

    First information for new Pyra owners (FAQ)

    @kaprikawn In test program above, you forgot to initialize SDL. What do you (or anyone with a Pyra) get if you run this: #include <SDL2/SDL.h> #include <SDL2/SDL_opengles2.h> int main( int argc, char **argv ) { SDL_Init(SDL_INIT_VIDEO); SDL_GL_SetAttribute( SDL_GL_CONTEXT_PROFILE_MASK...
  2. P

    First information for new Pyra owners (FAQ)

    No, it's the result of your program asking for desktop OpenGL 2.0. You need to readd SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES); to get SDL2 to create an ES context. It's also important to link to the right GL implementation. If you accidentally link to MESA...
  3. P

    The commercial game Halloween (FPS) for Linux is now the open source project

    Don't bother with IN_ReadKeyboard, that function is only used in the Mac version. I think the problem is di_IsKeyActivated, as is rejects key ids above 256, but SDL's keysyms go above 300. Now, how to fix it without breaking Windows and Mac... When it comes to the Pandora, I think CPU speed is...
  4. P

    Preparing for a Prototype

    The 1TB cards are full size.
  5. P

    Wrapping everything up!

    Both companies are in the Thessaloniki Industrial Area.
  6. P

    Does the PALMAS support any quickcharge standards?

    It's not supported. Quick Charge is Qualcomm's tech, only available in Qualcomm's chips, while the TWL6037 (PALMAS) and bq24297 are made by TI. VOOC is not supported for the same reason (OPPO's tech). By the way, in the Pyra, the PALMAS is not involved in charging. We have the bq24297 for that.
  7. P

    External indicator LED for Pyra

    Yes. "Breathe" is also an option.
  8. P

    Pyra Learning OpenGL ES 2.0 for Pyra

    Did somebody say "debugging"? It was quite circuitous, but I did find the problem. tl;dr: As an optimization, glm v0.9.9.0 no longer default initializes vectors and matrices, i.e. glm::vec3() now has undefined value instead of zero. As expected, this "improvement" broke plenty of projects...
  9. P

    Gnuplot question

    Column zero contains the line number in gnuplot. The documentation calls it a "pseudocolumn." So, something like xtic(stringcolumn(0)) is a start. It's a bit tricky, because if the type of xtic's argument is numeric, it gets interpreted as a column number, and if that fails, xtic does nothing...
  10. P

    Stop the sirring noise!

    Yep. Why add a component if you don't have to? The exisiting solution needs no additional capacitor. Good question for @hns. Do all five output caps need replacement? Does the input cap join the ensemble? Interesting, we don't seem to fall into any of the cases listed in section 8.3.21.2...
  11. P

    Getting closer...

    I wrote the above post based on the schematics. By "charger chip" I meant the bq24297, which really only has one 5V input/output. There was talk of looking for a chip with two 5V inputs, but I don't think anything concrete was ever mentioned, and it just fizzled out. And there's no need, really...
  12. P

    Stop the sirring noise!

    You might be interested in the Pyra schematics once your exam is behind you... it has the part number for every major component. The wonky chip in question is the tps2505. If I'm reading figure 14 in the datasheet correctly, it shows ripple at around 13kHz, so it's normal. Pulsed frequency mode...
  13. P

    Getting closer...

    I've not studied the startup behavior, but it's still very odd. Was this area revamped since the schematics were published?
  14. P

    Getting closer...

    Is this sarcasm? That's not how it works. The charger chip has only one USB port, so we have a switch chip in the Pyra that senses which USB socket (debug or OTG) has a power source plugged in, and routes that to the charger chip. Meanwhile, the other socket is electrically isolated. (I mean the...
  15. P

    Pyra Learning OpenGL ES 2.0 for Pyra

    My impression is that it's good practice to make each CMakeLists.txt self contained, and that means the one in src has to have the findpkg stuff. So your outer CMakeLists.txt would just read "add_subdirectory(src)". Yeah, don't worry about it for now :)
  16. P

    Pyra Learning OpenGL ES 2.0 for Pyra

    What was the problem? Does the following not work for you? git clone https://github.com/kaprikawn/pyragles.git cd pyragles git checkout v0.1.1 mkdir build cd build cmake ../src make -j4 ./a.out #yes, it's in the current (build) directory This has the advantage of keeping your source directory...
  17. P

    Finalizing the PCBs

    It does? How long does it take to fill up? Anyway, people should mentally prepare for a four-hour 0% -> 100% charge time for the Pyra, unless HNS/ED has a surprise for us about that. The logic is in the Pyra's charger chip, and yes, it produces a dynamically varying load. If I stop being lazy...
  18. P

    Finalizing the PCBs

    The Pyra aims for USB Battery Charging 1.2 compliance, which is very explicit in that "Portable Devices" are not allowed to draw more than 1.5A. To get more current into the Pyra, you'd have to mod a resistor on the main board.
  19. P

    Finalizing the PCBs

    It's a bit more complicated. The mux chip (txs02612) is not just a set of on-off switches; for example, it's also capable of voltage shifting. Without power, it can't drive its outputs, so it's always powered when the Pyra is on. The storage option is chosen by the logic level at its SEL pin...
  20. P

    H.265 / HEVC hardware decoding

    I would consider that software decoding as well, but more importantly, I think you're seriously overestimating the DSP's performance. David Schleef's theora decoder didn't turn out faster than the ARM version. And the amount of effort needed by @M-HT to get his scaler up to speed doesn't inspire...
Back
Top