[Desktop-packages] [Bug 1543952] Re: Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever try hardware acceleration

2016-04-27 Thread Daniel van Vugt
Accidentally found a workaround!

You can set environment GBM_ALWAYS_SOFTWARE=1 for Mir servers and
clients, and they will then successfully render in software using
LLVMpipe.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1543952

Title:
  Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever
  try hardware acceleration

Status in Mir:
  New
Status in mesa package in Ubuntu:
  New

Bug description:
  Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever
  try hardware acceleration.

  See: http://mesa3d.org/envvars.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1543952/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1543952] Re: Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever try hardware acceleration

2016-04-27 Thread Daniel van Vugt
A quick grep seems to suggest it's the responsibility of each EGL
platform to re-implement the environment check:

$ grep -r LIBGL_ALWAYS_SOFT src
src/glx/glxext.c:   glx_accel = (getenv("LIBGL_ALWAYS_SOFTWARE") == NULL);
src/glx/apple/apple_visual.c:   else if (getenv("LIBGL_ALWAYS_SOFTWARE") != 
NULL) {
src/egl/drivers/dri2/platform_wayland.c:   int hw_accel = 
(getenv("LIBGL_ALWAYS_SOFTWARE") == NULL);
src/egl/drivers/dri2/platform_x11.c:   int x11_dri2_accel = 
(getenv("LIBGL_ALWAYS_SOFTWARE") == NULL);

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1543952

Title:
  Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever
  try hardware acceleration

Status in Mir:
  New
Status in mesa package in Ubuntu:
  New

Bug description:
  Mir binaries ignore Mesa setting LIBGL_ALWAYS_SOFTWARE=1 and only ever
  try hardware acceleration.

  See: http://mesa3d.org/envvars.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1543952/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp