<div dir="ltr">I have tried your suggestion about downgrading the mesa utils on the server. I still cannot get any video if the lxc is 14.04.<div>If the lxc is 16.04. I do not get mouse and keyboard. Downgrading glx makes no difference. Any ideas how I can get video in 14.04 or mouse/keyboard on 16.04. </div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 23, 2016 at 1:32 AM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Apr 23, 2016 at 1:33 AM, Oz Dror <<a href="mailto:odror7@gmail.com">odror7@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> Prior to the Ubuntu upgrade from 15.10 to 16.04 I was able to have an lxc<br>
> container running ubuntu 14.04 sharing the NVIDIA graphics uring cuda.<br>
><br>
> After the 16.04 I am not able to start the graphics on the 14.04<br>
<br>
</span>not sure about nvidia and lxc, but my guess is cuda uses opengl. And<br>
from my experience with 16.04 and xrdp (with ubuntu's X + xorgxrdp<br>
driver), glxgears from mesa-utils (or any other programs that use<br>
opengl, for that matter) would segfault. The best workaround I can<br>
find was to downgrade all mesa-related stuff to 15.10 version<br>
<br>
# cat /etc/apt/sources.list.d/wily.list<br>
deb <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> wily main universe<br>
deb <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> wily-updates main universe<br>
<br>
# cat /etc/apt/preferences.d/pin-mesa-wily<br>
Package: mesa-utils<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: libgl1-mesa-glx<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: libglapi-mesa<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: libegl1-mesa<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: libgl1-mesa-dri<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: libwayland-egl1-mesa<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
Package: mesa-vdpau-drivers<br>
Pin: release a=wily<br>
Pin-Priority: 1000<br>
<br>
<br>
apt-get, apt-get dist-upgrade. The mesa-related packages will be<br>
downgraded, and opengl works again in my case.<br>
<br>
You might want to test the above workaround first, and if it works,<br>
file a bug with ubuntu's mesa package on 16.04 (since it's not<br>
lxc-specific)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Fajar<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></font></span></blockquote></div><br></div>