[lxc-users] HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop
simos.lists at googlemail.com
Thu May 4 17:36:42 UTC 2017
On Thu, May 4, 2017 at 10:56 AM, T.C 吳天健 <tcwu2005 at gmail.com> wrote:
> Per my previous mail mentioned 'chrome working but not gain 3d acceleration'
> was documented and shared as
> The report is mixed with some Chinese but I believe reader can understand by
> it's English paragraph, experiment number and figures.
I get accelerated graphics and the output of chrome://gpu is identical
betweem the host and LXD Chrome:
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
(i.e. Intel GPU)
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
For my Intel GPU, I did not have to enable the LXD GPU Passthrough
(LXD 2.7 or later),
while others with NVidia had to do so. It would be great if someone
with Intel GPU could try the tutorial
and report back.
> TC Wu
> 2017-05-04 15:42 GMT+08:00 T.C 吳天健 <tcwu2005 at gmail.com>:
>> Simos , this is a excellent article.
>> I would like to give my 10 cents to make it better.
>> When I was using lxc-1.0 I found that when /dev/dri/ is not correctly
>> configured you might see chrome working but not fully gain gpu acceleration
>> (i.e. 3d). Chrome is smart and it will falls to software rendering in this
>> case and you might not notice it. To debug you can open chrome://gpu/ in
>> chrome to see details. When gpu correctly configured you will see string
>> like " WebGL: Hardware accelerated".
>> TC Wu
>> 2017-05-04 13:06 GMT+08:00 Xavier Gendre <gendre.reivax at gmail.com>:
>>> > I completed the tutorial on how to run graphics-accelerated GUI apps
>>> > in (local) LXD containers,
>>> > https://blog.simos.info/how-to-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/
>>> > Compared to the previous post, this one has sound and also shows how
>>> > to create a shortcut so that the GUI app can run in a single click,
>>> > from the Launcher.
>>> Thanks Simos for your work!
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
More information about the lxc-users