Closed mismacku closed 5 years ago
Hmm, so LXD doesn't interact with the graphics driver in any way. All it does is pass /dev/drm/ and /dev/nvidia* to the container.
I'd recommend maybe opening an issue with https://github.com/NVIDIA/libnvidia-container as that's what's used to pass the various GL libraries. Maybe your issue is caused by a missing library or something similar.
I'll open an issue there. Thanks Stephane!
Perfect, thanks!
profile
Issue description
Let me first say, thanks for all of the hard work!
I'm revisiting an issue from several years ago because I really want this to work! https://github.com/lxc/lxd/issues/3826
^^^ That issue being poor framerate with GLX apps in lxc containers. I'm getting similar framerates as I did two years ago, but I discovered that on the host the nvidia driver always shows FLIP and in lxc containers (Ubuntu 16.04 and 18.04) it shows BLIT regardless of what nvidia-settings shows (Attribute 'AllowFlipping' (test-rig:0.0): 1). I'm guessing that was the performance issue then and still is now. Any ideas? Any help is greatly appreciated.
Steps to reproduce
nvidia-settings
under OpenGL Settings, tick Enable Graphics API Visual IndicatorInformation to attach
container log:
Log:
lxc test1804 20190718161841.826 ERROR start - start.c:proc_pidfd_open:1644 - Function not implemented - Failed to send signal through pidfd