You are not logged in.

#1 2013-10-22 15:48:54

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

OpenGL ES compatible desktop environments?

I have a Beagleboard XM, an ARM platform with an SGX GPU that only supports OpenGL ES.  Beagleboard's CPU isn't too shabby, but it immensely struggles with anything graphical.  I've tried LXDE since that is very easy on system resources, but it has no GPU acceleration, making all programs run terribly slow.  So what I'm wondering is, are there any DEs out there with OpenGL ES support, and would getting one of these DEs help with the performance issue (assuming I don't do any big special effects)?  I heard Mutter (for GNOME 3) might but I can't seem to get a definite answer on that.

Offline

#2 2013-10-22 16:03:31

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: OpenGL ES compatible desktop environments?

schmidtbag wrote:

I've tried LXDE since that is very easy on system resources, but it has no GPU acceleration, making all programs run terribly slow.

I don't think anything runs faster than Openbox (or similar). Trying to find a graphical environment that needs higher hardware requirements (OpenGL / Accelerated graphics) seems counter intuitive to me.

What do you mean by "all programs run terribly slow"?

Offline

#3 2013-10-22 16:21:09

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

drcouzelis wrote:
schmidtbag wrote:

I've tried LXDE since that is very easy on system resources, but it has no GPU acceleration, making all programs run terribly slow.

I don't think anything runs faster than Openbox (or similar). Trying to find a graphical environment that needs higher hardware requirements (OpenGL / Accelerated graphics) seems counter intuitive to me.

What do you mean by "all programs run terribly slow"?

Not necessarily - benchmarks have proven that some DEs with GPU accelerated compositing can perform slightly better than non-composited DEs (such as LXDE or XFCE without compiz).  This is because non-composited DEs depend on the CPU to draw the screen, even if you have GPU drivers with openGL 2D and 3D support.  The problem is X is taking up all the CPU cycles, so even if I use something heavier like GNOME 3 with GPU acceleration, CPU cycles won't be wasted on X.

To answer your question, programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

Last edited by schmidtbag (2013-10-22 16:22:46)

Offline

#4 2013-10-22 16:30:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: OpenGL ES compatible desktop environments?

schmidtbag wrote:

To answer your question, programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

If you want to fix your actual problem, then you may want to let everyone know about your hardware, drivers, and how things are setup. It seems that you're trying fix symptoms and not working on the problem itself.

Offline

#5 2013-10-22 16:38:08

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

skottish wrote:
schmidtbag wrote:

To answer your question, programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

If you want to fix your actual problem, then you may want to let everyone know about your hardware, drivers, and how things are setup. It seems that you're trying fix symptoms and not working on the problem itself.

I mentioned I have a Beagleboard-xM with an SGX GPU and I can only use openGL ES and I need a desktop environment compatible with OGLES.  Based on that information, it is pretty safe to assume the platform is not x86 (it's ARM).  That's all that's necessary to know.  Specifying anything else is completely irrelevant, and I'm willing to start a fresh new install.  The problem at hand is I'm not aware of any DEs (except maybe GNOME 3) that can utilize OGLES, so my way of working on the problem is to know which DE is proven to work with OGLES.  Setting up beagleboard is a somewhat tedious process and I really don't feel like wasting time with trial and error.

Offline

#6 2013-10-22 16:38:26

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: OpenGL ES compatible desktop environments?

schmidtbag wrote:

programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

So... You need a web browser and a video player with OpenGL support then?

I'm still skeptical that changing the window manager will make that much of a difference. smile

Offline

#7 2013-10-22 16:42:09

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

drcouzelis wrote:
schmidtbag wrote:

programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

So... You need a web browser and a video player with OpenGL support then?

I'm still skeptical that changing the window manager will make that much of a difference. smile


No, I need a way for X to draw the display without the CPU doing all of the work.  The platform has a GPU, it's NOT openGL, but openGL ES.  That limits what I can use in terms of a desktop environment.  I could have a video player (or a web browser for that matter) OGLES compatible, but it will still run slow because X isn't GPU accelerated.  By using a composited DE that is OGLES compatible, that should eliminate this issue.

Last edited by schmidtbag (2013-10-22 16:42:33)

Offline

#8 2013-10-22 16:53:58

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: OpenGL ES compatible desktop environments?

Good luck with it! smile

My coworker has a Beaglebone Black which is apparently similar hardware. He said yeah, the graphics are just slow. sad

Offline

#9 2013-10-22 16:57:16

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: OpenGL ES compatible desktop environments?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#10 2013-10-22 16:58:08

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: OpenGL ES compatible desktop environments?

schmidtbag wrote:
skottish wrote:
schmidtbag wrote:

To answer your question, programs really only run slow when they're refreshing the majority of the screen, such as scrolling the page in a web browser, or watching a video.  If I run any CLI based programs, they perform great.

If you want to fix your actual problem, then you may want to let everyone know about your hardware, drivers, and how things are setup. It seems that you're trying fix symptoms and not working on the problem itself.

I mentioned I have a Beagleboard-xM with an SGX GPU and I can only use openGL ES and I need a desktop environment compatible with OGLES.  Based on that information, it is pretty safe to assume the platform is not x86 (it's ARM).  That's all that's necessary to know.  Specifying anything else is completely irrelevant, and I'm willing to start a fresh new install.  The problem at hand is I'm not aware of any DEs (except maybe GNOME 3) that can utilize OGLES, so my way of working on the problem is to know which DE is proven to work with OGLES.  Setting up beagleboard is a somewhat tedious process and I really don't feel like wasting time with trial and error.

Understood. I setup a netbook with an Intel 1.2GHz processor with poulsbo (GMA-500) using the xf86-video-modesetting driver and scrolling isn't an issue under XFCE. There is no hardware acceleration at all. That's why I posted what I did.

Offline

#11 2013-10-22 17:09:50

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?


Hmm I wasn't aware there was a GLES alternative to kwin, I may have to check that out.


@skottish
I get the impression x86 is overall a lot more "prepared" to handle video commands than ARM.  The additional hardware instructions and the extra 200MHz ought to be enough to go from annoyingly slow to "slow but very usable" (I highly doubt you have a smooth experience, but still good enough to not feel a need to complain).

@drcouzelis
Yes, the beaglebone black does have very similar hardware.  The graphics are fine, the problem is linux largely revolves around openGL but not OGLES.

Offline

#12 2013-10-26 04:03:07

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

So I have managed to confirm that GNOME 3 does support OGLES.  However, unfortunately, beagleboard doesn't actually create a display when it boots up.  GNOME starts and it shows up on my monitor, but it goes to fallback mode because it can't find display :0.  The SGX drivers are proven working.  Anybody know a way around this?  If I can just get it to identify the screen then I'm sure everything will work fine.

Honestly, I don't even understand how gnome works at all if there isn't a display :0


I'm sure KDE will suffer the same issue.

Last edited by schmidtbag (2013-10-26 04:04:29)

Offline

#13 2013-10-26 07:19:55

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: OpenGL ES compatible desktop environments?

i3?


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#14 2013-10-26 21:38:04

fjvinal
Member
From: Madrid
Registered: 2012-06-23
Posts: 45

Re: OpenGL ES compatible desktop environments?

KDE works fine with OpenGL ES.
A script must be included in .kde4/env with the next content

#!/bin/bash
KDEWM=kwin_gles

Offline

#15 2013-10-27 00:48:25

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

fjvinal wrote:

KDE works fine with OpenGL ES.
A script must be included in .kde4/env with the next content

#!/bin/bash
KDEWM=kwin_gles

Do you know for sure if this works on Beagleboard?  Because GNOME 3 and compiz with XFCE have already failed due to that display :0 issue.

Offline

#16 2014-01-14 21:15:06

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: OpenGL ES compatible desktop environments?

Just my 2¢: even if you're using an OpenGL (ES) compositor, most programs that use a standard widget toolkit (Qt/GTK) still draw into their window buffers using the CPU most of the time.  I'm not sure, maybe some 2D drawing ops are/can be GPU-accelerated (an NVIDIA driver update sped up Murrine gradients for me, for example), but AFAIK a lot of 2D drawing is still CPU-bound, whether it's directly to the screen or to an offscreen compositing buffer.

Offline

#17 2014-01-14 21:19:29

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: OpenGL ES compatible desktop environments?

MrCode wrote:

Just my 2¢: even if you're using an OpenGL (ES) compositor, most programs that use a standard widget toolkit (Qt/GTK) still draw into their window buffers using the CPU most of the time.  I'm not sure, maybe some 2D drawing ops are/can be GPU-accelerated (an NVIDIA driver update sped up Murrine gradients for me, for example), but AFAIK a lot of 2D drawing is still CPU-bound, whether it's directly to the screen or to an offscreen compositing buffer.

I figured that was the case, and I was expecting as such.  However, I figured the X process would take less of a hit on the CPU.  On ARM platforms, sometimes just dragging a window around can eat up as much as 30% CPU.  It's a bit difficult to know whether or not the X process is actually less CPU intensive with proper GPU drivers along with a properly rendered display.

Last edited by schmidtbag (2014-01-14 21:20:06)

Offline

#18 2014-09-22 01:03:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: OpenGL ES compatible desktop environments?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#19 2014-09-22 01:04:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,794

Re: OpenGL ES compatible desktop environments?

dukzcry wrote:

Null

We regard blanking posts as rude.  It was also your only post and was months old.
That, and the message in your signature, gives me the idea you are not planning on being an active member of our community.  Regardless, I'll keep your account active, but please consider this to be a warning.

Our policy


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

Board footer

Powered by FluxBB