Jump to content

Joel Bodenmann

Administrators
  • Posts

    2,620
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Joel Bodenmann

  1. Thank you for bringing this to our attention. We'll fix it ASAP.
  2. Are you able to supply a patch (diff)?
  3. Thank you for bringing this to our attention! As you mentioned yourself there is the need to clean the widget initialization structure prior to using it. We have updated the example code in the wiki.
  4. That sounds like a content-size / timeout related issue. I'll dive into this ASAP.
  5. If I understand you correctly the return value of the ioctl() function call is different from your observation. Could you check the value of fb-fix.line-length before passing it to the ioctl() function? Also, I am bit surprised that you mentioned multiple calls to the framebuffer driver initialization. I don't have all the code in my mind but that seems a bit fishy - are you using two displays?
  6. Sorry for the late reply - not sure how this didn't show up in my notifications list. That's certainly possible. We have several customers who use µGFX for overlays / OSDs. I'd recomment that µGFX provides its own video output that you then mix together / on-top of the video using gstreamer.
  7. I'm having serious trouble reproducing this - could someone else give it a try?
  8. Hello and welcome to the µGFX community! I'd have to check the code to be sure but if I remember correctly the vfnprintg() implementation doesn't support leading zeros at the moment. If that's the case we'd be more than happy if you decide to add support for that.
  9. Did you try to debug to figure out where the segmentation fault origins from? It will most likely be due to an issue in the GOS abstraction as everything else is high-level code that builds on top of that.
  10. I'll have to look at this when I got a bit more time to understand this properly. However, unless you're in a serious memory shortage I'd recommend you not to destroy & re-create the widgets. Instead, just use gwinShow() and gwinHide() (alternatively gwinSetVisible()) to make the appropriate widget become visible.
  11. Thank you for sharing this - much appreciated!
  12. We've tracked the problem down to a source-IP based load-balancing issue. It should be fixed now.
  13. If you just want to change the colors you can use widget styles: https://wiki.ugfx.io/index.php/Widgets#Widget_Style Alternative you can write a custom rendering function for the widget: https://wiki.ugfx.io/index.php/Creating_a_custom_rendering_routine Or even write your own widget that does exactly what you want: https://wiki.ugfx.io/index.php/Creating_a_widget
  14. The error is indicating that the compiler cannot find the GDISP driver's configuration file which is located in the driver's directory. I'm not an Eclipse expert but most likely you forgot to include the GDISP driver directory in your compiler/linker include path: https://wiki.ugfx.io/index.php/Using_Eclipse#Adding_driver_resources Maybe @cpu20 can help.
  15. To get the system itself working it's strongly recommended to disable all modules (including the GDISP module). You have the RAW32 subsystem enabled. You might want to have a look at the corresponding documentation: https://wiki.ugfx.io/index.php/BareMetal
  16. The first error is because you enabled the GDISP module but you haven't added any GDISP driver. To get started simply disable the GDISP module (and any other module!) in the µGFX configuration file (gfxconf.h). The other errors are most likely indicating that you haven't enabled a GOS port. You need to specify the underlying system you're using in the configuration file.
  17. Your content has nothing to do with this forum topic. Please don't spam existing topics.
  18. There's currently no built-in driver for the GT911 touch controller. You'll have to write a GINPUT driver for it. Have a look at the interface documentation and the various existing driver implementations.
  19. Alternatively, you can use the forum search and find this:
  20. I'd like to add some info: This is not a hardware problem but how your uGFX board file(s) are configured. That's the reason why you're getting better performance with a different solution. The LTDC stuff allow for a lot of different configurations - You have to go through everything and figure out what the right ones for your hardware are. Especially check on DMA2D. Also don't forget to set your CPU and compiler in the uGFX configuration file.
  21. There's currently no high-level API for that. I think you'll just have to extend the existing list widget to provide that functionality.
  22. There are plenty of board files available in the /boards directory. You'll also find plenty of examples by google. Furthermore, every driver has a board file template in the driver's directory.
  23. Hi, You can look up all the possible hardware acceleration of the GDISP module in the driver interface documentation. Other places that support hardware acceleration are for example the GAUDIO module that can leverage an external codec. Yes, the Linux framebuffer is supported: https://wiki.ugfx.io/index.php/Linux#Framebuffer
  24. Hi, Making ready-to-run projects is very difficult as it depends completely on the underlying hardware. If you're using some sort of development board/kit you should get a project for that and then just add µGFX as described in the detailed step-by-step guide for Keil in the documentation. µGFX is completely platform/hardware agnostic which means that it will run on almost anything. The normal workflow is that you get your stuff running without µGFX (eg. taking a sample project that comes with the development board/kit that you use) and then you'll add µGFX to it.
×
×
  • Create New...