[Pkg-ltsp-devel] Bug#767764: ldm: setting LDM_DIRECTX=True crashes gnome, gnome-classic, cinnamon, cinnamon-2d

Vagrant Cascadian vagrant at debian.org
Sun Dec 7 21:51:30 UTC 2014


On 2014-11-30, Holger Sander wrote:
> I found that the Error is a glx-mesa error.
>
> export LIBGL_ALWAYS_INDIRECT=yes # declaring the varriable is importen! 
> yes or no doesn't metter!
>
> then totem, glxinfo, glxgears fail. Unsetting the varriable with
>
> unset LIB_ALWAYS_INDIRECT
>
> and everything works fine. xorg.log says: aiglx enabled, but it doesn't 
> work. GLX over network doesn't work (testet with nouveau, mesa, server 
> amd64, client i586 and amd64).

Ok, assuming your LTSP environment is /opt/ltsp/i386, looks like you're
being impacted by /opt/ltsp/i386/usr/share/ldm/rc.d/X51-opengl:

  # Force indirect rendering when using LDM_DIRECTX so we have some working GL by default
  
  if boolean_is_true "$LDM_DIRECTX" && ! boolean_is_true "$LTSP_FATCLIENT"; then
      CLIENT_ENV="$CLIENT_ENV LIBGL_ALWAYS_INDIRECT=true"
  fi

You should be able to work around it by creating an empty file in
/opt/ltsp/i386/etc/ldm/rc.d/X51-opengl:

  mkdir -p /opt/ltsp/i386/etc/ldm/rc.d/
  touch /opt/ltsp/i386/etc/ldm/rc.d/X51-opengl


You might also be adversely impacted by
/opt/ltsp/i386/usr/share/ltsp/init-ltsp.d/50-opengl:

  if boolean_is_true "$LDM_DIRECTX" && ! boolean_is_true "$LTSP_FATCLIENT"; then
      # Work around LP bug #1072711
      rm -f /usr/lib/i386-linux-gnu/dri/nouveau_vieux_dri.so
  fi

There isnt a simple way of working around that, short of removing the
file, but it might get reinstalled on package updates.


I'll try to get those changed upstream so that you can more easily
disable such hacks.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20141207/c97ea02a/attachment.sig>


More information about the Pkg-ltsp-devel mailing list