netbook-launcher does not support 2D only

Bug #320796 reported by draft
14
Affects Status Importance Assigned to Milestone
Ubuntu Netbook Remix Launcher
Won't Fix
High
Neil J. Patel
netbook-launcher (Ubuntu)
Fix Released
Undecided
Neil J. Patel

Bug Description

UNR has some nice 3D effects. However, UNR's target is to run on small and mobile devices with limited battery power. Currently, the Intel graphic cards draw more power in 3D than 2D (http://www.lesswatts.org/projects/powertop/known.php). Thus, it would be nice to have UNR working with 2D only as well with some nice icon effects.

Tags: ubuntu-unr
Revision history for this message
Bill Filler (bfiller) wrote :

We have plans to do the following which may help address this issue:
make launcher auto-detect GL capabilities of system it is running on, and use minimal set in VM/Limited environments. This could possibly be enhanced to use a gconf key to trigger running with minimal 3D effects.

Changed in netbook-remix-launcher:
assignee: nobody → njpatel
importance: Undecided → High
milestone: none → 1.2.0
status: New → Confirmed
Changed in netbook-launcher:
assignee: nobody → njpatel
status: New → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

This info may be useful from bug 271798:
To find out the status of software versus hardware rendering, I usually do a:
glxinfo |grep direct
If "direct rendering: No" then you're using software rendering...

Revision history for this message
draft (ridershome) wrote :

Great. This would help a lot! It was reported that disabling 3D can save power with an acer aspire one netbook. (http://www.aspireoneuser.com/forum/viewtopic.php?f=28&t=7821&start=20)

From the forum:
"Disabling 3D saves 0.6W. Added option "NoDRI" in xorg.conf (powertop 8.9W -> 8.3W). This causes some artifacts on Netbook launcher and makes it unresponsible."

Revision history for this message
Neil J. Patel (njpatel) wrote :

To be absolutely clear:

We're not making a 2D version of the launcher, that would require a completely new front-end in Gtk. What we are hoping to do is to determine the current 3D acceleration capabilities, and throttle the animations to match. This would mean that, if the launcher could determine it is running on software rendering, then it would switch off animations.

In addition to automatically checking if we're on software rendering, there will be an option in gconf to force this behaviour for those that want/need it.

Revision history for this message
draft (ridershome) wrote :

OK, I'm not a Gtk pro and I don't know the implementation details about UNR, but isn't the animation the only thing that needs 3D in the current version? If this animation could be something easier for those netbooks with software 3D, such as changing background or similar, that would help and I think this would not require to rewrite the launcher front-end.

Revision history for this message
Neil J. Patel (njpatel) wrote :

Right, that is what is being proposed. However, that doesn't meant hat it will be as quick as Gtk because everytime the gl 'scene' changes, the software has to recompute what to display. However, I am hopeful that by cutting out the animations and therefore decreasing the amount of scene changes, we'll get a bump in performance.

Revision history for this message
Neil J. Patel (njpatel) wrote :

If glxinfo | grep "direct rendering" returns "No", or if /apps/netbook-launcher/force_low_graphics is set to TRUE in gconf then the "low graphics mode" of the launcher will be enabled.

When in this mode:
  - No animations are run (everything is
  - Motion events are disabled (no hover effects)

This increases the performance of the launcher when there is no hardware acceleration for 3D, or if your using fast-user-switching. However, as I mentioned before, this is not a magic fix for 2d support. It's still slow and will be until Mesa is updated to make software rendering quicker on Linux.

Changed in netbook-remix-launcher:
status: Confirmed → Fix Committed
Changed in netbook-launcher:
status: Confirmed → Fix Committed
Neil J. Patel (njpatel)
Changed in netbook-launcher:
status: Fix Committed → Fix Released
Revision history for this message
Paul Larson (pwlars) wrote :

This bug has been moved to Ubuntu distribution

Changed in netbook-remix-launcher:
status: Fix Committed → Won't Fix
tags: added: ubuntu-unr
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.