hi,
I have the following problem:
when pressing "menu" with my Raspberry pi Lirc, VDR crashes:
Mar 31 13:51:09 vdrfe vdr: [2456] rpihddevice: [OpenVG] cannot allocate pixmap of 2804px x 781px, clipped to 2048px x 781px! Mar 31 13:51:09 vdrfe vdr: [2469] rpihddevice: [EGL] failed to create pixel buffer surface: bad alloc! Mar 31 13:51:09 vdrfe vdr: [2456] rpihddevice: [OpenVG] failed to create pixmap! (allocation failed)
setup: - vdr 2.2.0 - raspberry pi current git - skinnopacity 1.1.3 + the second version of skinnopacity remotetimers patch - remotetimers v 1.0.1
I have set gpu_mem to 256M
With rpihddevice from git Mar 8th, no crashes, but I could not use accelerated OSD (the subtitles did not work).
I pulled the repository again about a week ago, and got accelerated osd working. Yesterday the problem I described started, and I re-pulled the git, because it seemed there was a fix. Not working.
When not using accelerated OSD, it works fine, but rendering subtitles takes so long that there is hardly time to read them.
Any suggestions? Should I insert more debug info? (what and how?)
yours, Jouni
Hi
when pressing "menu" with my Raspberry pi Lirc, VDR crashes:
Mar 31 13:51:09 vdrfe vdr: [2456] rpihddevice: [OpenVG] cannot allocate pixmap of 2804px x 781px, clipped to 2048px x 781px! Mar 31 13:51:09 vdrfe vdr: [2469] rpihddevice: [EGL] failed to create pixel buffer surface: bad alloc! Mar 31 13:51:09 vdrfe vdr: [2456] rpihddevice: [OpenVG] failed to create pixmap! (allocation failed)
setup:
- vdr 2.2.0
- raspberry pi current git
- skinnopacity 1.1.3 + the second version of skinnopacity remotetimers patch
- remotetimers v 1.0.1
I have set gpu_mem to 256M
There was a bug in git which is now fixed. Sorry for the inconvenience!
But in general, this could happen if there's not enough GPU memory available, so the skin should check for a valid pixmap. For the next developer version of vdr, It also needs to query the maximal possible dimension prior creation, otherwise rpihddevice will then just return NULL if an oversized pixmap is requested.
Regards, Thomas
hi,
01.04.2015, 22:47, Thomas Reufer kirjoitti:
There was a bug in git which is now fixed. Sorry for the inconvenience! But in general, this could happen if there's not enough GPU memory available, so the skin should check for a valid pixmap. For the next developer version of vdr, It also needs to query the maximal possible dimension prior creation, otherwise rpihddevice will then just return NULL if an oversized pixmap is requested. Regards, Thomas
Now the accelerated OSD seems to work. Thank you for your work!
I am astonished about this small computer and the capabilities.
yours, Jouni