$ sudo update-alternatives --config vim
There are 2 choices for the alternative vim (providing /usr/bin/vim).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/nvim 30 auto mode
* 1 /usr/bin/nvim 30 manual mode
2 /usr/bin/vim.basic 30 manual mode
Press <enter> to keep the current choice[*], or type selection number:
$ sudo update-alternatives --config vi
There are 2 choices for the alternative vi (providing /usr/bin/vi).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/nvim 30 auto mode
* 1 /usr/bin/nvim 30 manual mode
2 /usr/bin/vim.basic 30 manual mode
Press <enter> to keep the current choice[*], or type selection number:
General setup --->
Preemption Model (Preemptible Kernel --->
(X) Preemptible Kernel (Low-Latency Desktop)
Processor type and features --->
Processor family (Generic-x86-64) --->
(X) Core 2/newer Xeon
[*] Multi-core scheduler support
[ ] CPU core priorities scheduler support
Power management and ACPI options --->
CPU Frequency scaling --->
[ ] CPU Frequency scaling
[*] ACPI (Advanced Configuration and Power Interface) Support --->
< > Processor
CPU Idle --->
[ ] CPU idle PM support
Memory Management options --->
[ ] Transparent Hugepage Support
[ ] Allow for memory compaction
[ ] Page migration
[ ] Contiguous Memory Allocator
[*] Xenomai/cobalt (NEW) --->
Drivers --->
RTnet --->
<M> RTnet, TCP/IP socket interface
Drivers --->
Real-time IPC drivers --->
<M> RTIPC protocol family
[*] XDDP cross-domain datagram protocol (NEW)
[*] IDDP intra-domain datagram protocol (NEW)
(32) Number of IDDP communication ports (NEW)
[*] Buffer protocol (NEW)
(32) Number of BUFP communication ports (NEW)
$ docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --runtime nvidia -e NVIDIA_DRIVER_CAPABILITIES=all -e NVIDIA_VISIBLE_DEVICES=all ubuntu
root@92913cdca2a1:/# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Segment id in failed request: 0x2e00005
Serial number of failed request: 54
Current serial number in output stream: 55
8 responses