Poll

Which Graphics subsystem for raspberry pi?

Keep OpenGL
Use OpenVG
Use native dispmanx

Author Topic: Raspberry PI Development Poll: Graphics Subsystem  (Read 6247 times)

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Raspberry PI Development Poll: Graphics Subsystem
« on: August 27, 2012, 07:31:44 »
Hi,
this is a series of polls, I will use to determine certain choices for raspberry pi porting.
I only use the poll only as recommendation.

So here is my first question, what Graphics subsystem should I use.
So far, I used a simple OpenGL system, which might be used later to get a 3D GUI.
I chose it because it seems it would be ideal for software decoding using shaders,
 but  giving the current implementation the reason why I choose it do not exist.
In the moment, it is relatively slow and unaccelerated, so next steps for it require to make it accelerated.

The good thing about the pi is that several graphics layer exists and I can choose a different OSD rendering system then for video decoding.

So there exist two other options:
1) Dispmanx the native rendering system of the chip. It is capable of doing exactly the same amount of hardware accelaration, that the mediamvp did. So handling surfaces, but no accelarated drawing.
2) OpenVG, a very nice interface for handling vector accelerated drawing of lines and surfaces. Advantage, it is possible to run it on a higher resolution then the window system.
Making a HD OSD at different resolutions possible, without the need to implement for every resolution a new interface.

So I await your comments.

Marten

Offline odin4242

  • Full Member
  • ***
  • Posts: 31
    • MSN Messenger - passport@till-groos.de
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #1 on: August 27, 2012, 12:33:29 »
Hi Marten,

maybe i recall it wrong, but haven't you said once, that you had some type of skin able GUI ready?
So is there a urgent need to change something in the handling for the GUI?

Till
M3N78-VM | 64GB SSD + 2TB WD Green | NetCeiver 2xDVB-S2-Dual 1xDVB-S Dual | SoftHDDevice
LG 37" Full-HD per HDMI
MediaMVPs | WinVDRStreamer | SMT 7020s | Raspberry Pi
easyVDR 1.0

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #2 on: August 27, 2012, 13:22:00 »
Quote
Hi Marten,

maybe i recall it wrong, but haven't you said once, that you had some type of skin able GUI ready?
So is there a urgent need to change something in the handling for the GUI?

Till
This was for my attempt on the bluray player in java...
Here the old gui is still there...

My question is more related to a design decision, which framework is used to draw the old. But based on the capabilities of the  framework limitation in future changes in GUI   are determined.

Marten

Offline JTe

  • Full Member
  • ***
  • Posts: 81
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #3 on: August 28, 2012, 08:25:00 »
Hi Marten,

I guess the OpenVG could be the best bet as we do not really need the 3d effects of OpenGL. And would the vector accelerated drawing of OpenVG also enhance drawing of subtitles, as currently they are not drawn very fast...?

So said I voted for OpenVG...

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #4 on: August 28, 2012, 08:28:41 »
Quote
And would the vector accelerated drawing of OpenVG also enhance drawing of subtitles, as currently they are not drawn very fast...?
Most subtitles are bitmaps. (Teletext not but I do not know about ttf font for teletext).
I do not know about text subtitles in dvb at least they are not supported by vomp I think.

Marten

Offline davep

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #5 on: August 28, 2012, 11:50:48 »
I don't know anything about the pros and cons of the different graphics subsystems, but it seems that the ability to create a standard OSD irrespective of the media being displayed would be important. In the future I would hope to be able to show standard DVB, iPlayer 'HD' content (720p mp4) and full broadcast HD, and have the same OSD for all of them.

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #6 on: August 28, 2012, 14:19:16 »
Quote
I don't know anything about the pros and cons of the different graphics subsystems, but it seems that the ability to create a standard OSD irrespective of the media being displayed would be important. In the future I would hope to be able to show standard DVB, iPlayer 'HD' content (720p mp4) and full broadcast HD, and have the same OSD for all of them.
This will be possible for all attempts the OSD is completely independent.
But I do not know about iplayer, I think it is a uk thing.

Marten

Offline davep

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #7 on: August 28, 2012, 17:57:44 »
Yes iPlayer is an IP TV service provided by the BBC, available only to UK IP addresses. Programmes can be downloaded using a tool such as 'get_iplayer' which stores HD content as mp4 files.

Offline stu-e

  • Full Member
  • ***
  • Posts: 71
    • View Profile
Re: Raspberry PI Development Poll: Graphics Subsystem
« Reply #8 on: August 29, 2012, 09:49:26 »
Says here dispmanx is being deprecated in favour of OpenWF.
http://elinux.org/RPi_VideoCore_APIs