I've built at least 50 machines trying various configs trying to make it work without success.
Here's a transcript of the final try to configure a machine to make it work.
Is there anybody who has made GPU acceleration work - if yes, could you please provide the steps required to configure a machine to make it work.
thanks
ubuntu@ip-172-31-52-56:~$ history
1 sudo apt update
2 wget
http://buildresources.logomindblow.com.s3-website-eu-west-1.amazonaws.com/serversetup/NVIDIA-Linux-x86_64-418.67.run 3 suod su
4 sudo su
5 sudo apt install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libgcc1 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils libdbusmenu-gtk3-4 libindicator3-7
6 cat << EOF | sudo tee --append /etc/modprobe.d/blacklist.conf
7 blacklist vga16fb
8 blacklist nouveau
9 blacklist rivafb
10 blacklist nvidiafb
11 blacklist rivatv
12 EOF
13 sudo apt install build-essential
14 sudo apt-get upgrade -y linux-aws
15 cat << EOF | sudo tee --append /etc/modprobe.d/blacklist.conf
16 blacklist vga16fb
17 blacklist nouveau
18 blacklist rivafb
19 blacklist nvidiafb
20 blacklist rivatv
21 EOF
22 sudo apt install xorg
23 sudo apt install --no-install-recommends xorg
24 history
25 sudo vi /etc/default/grub
26 sudo update-grub
27 history
28 sudo su
ubuntu@ip-172-31-52-56:~$ sudo su
root@ip-172-31-52-56:/home/ubuntu# ls
NVIDIA-Linux-x86_64-418.67.run
root@ip-172-31-52-56:/home/ubuntu# sh ./NVIDIA-Linux-x86_64-418.67.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 418.67..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
root@ip-172-31-52-56:/home/ubuntu# exit
ubuntu@ip-172-31-52-56:~$ sudo reboot
ubuntu@ip-172-31-52-56:~$ google-chrome-stable --headless --use-gl=egl
[0608/043633.497961:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/043633.498006:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/043633.498023:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/043633.498033:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/043633.498041:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Error) eglInitialize: eglInitialize
[0608/043633.498047:ERROR:gl_surface_egl.cc(965)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[0608/043633.498067:ERROR:gl_initializer_x11.cc(154)] GLSurfaceEGL::InitializeOneOff failed.
[0608/043633.499642:ERROR:viz_main_impl.cc(170)] Exiting GPU process due to errors during initialization
[0608/043633.502713:WARNING:gpu_process_host.cc(1205)] The GPU process has crashed 1 time(s)
[0608/043633.547818:WARNING:gpu_process_host.cc(982)] Reinitialized the GPU process after a crash. The reported initialization time was 15 ms
[0608/043633.556691:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[0608/043633.564941:ERROR:browser_process_sub_thread.cc(221)] Waited 3 ms for network service
ubuntu@ip-172-31-52-56:~$ google-chrome-stable --headless --use-gl=egl^C
u
ubuntu@ip-172-31-52-56:~$ sudo dpkg -i google-chrome-unstable_current_amd64.deb
Selecting previously unselected package google-chrome-unstable.
(Reading database ... 106714 files and directories currently installed.)
Preparing to unpack google-chrome-unstable_current_amd64.deb ...
Unpacking google-chrome-unstable (76.0.3809.12-1) ...
Setting up google-chrome-unstable (76.0.3809.12-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
ubuntu@ip-172-31-52-56:~$ google-chrome-unstable --headless --use-gl=egl
[0608/044028.394642:ERROR:browser_process_sub_thread.cc(203)] Waited 1 ms for network service
ubuntu@ip-172-31-52-56:~$ google-chrome-unstable --headless --use-gl=egl
[0608/044030.544986:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/044030.545098:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/044030.545112:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/044030.545121:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: xcb_connect failed
[0608/044030.545128:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Error) eglInitialize: eglInitialize
[0608/044030.545133:ERROR:gl_surface_egl.cc(965)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[0608/044030.545152:ERROR:gl_initializer_x11.cc(154)] GLSurfaceEGL::InitializeOneOff failed.
[0608/044030.546820:ERROR:viz_main_impl.cc(170)] Exiting GPU process due to errors during initialization
[0608/044030.550040:WARNING:gpu_process_host.cc(1186)] The GPU process has crashed 1 time(s)
[0608/044030.596333:WARNING:gpu_process_host.cc(962)] Reinitialized the GPU process after a crash. The reported initialization time was 16 ms
[0608/044030.604733:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[0608/044030.614211:ERROR:browser_process_sub_thread.cc(203)] Waited 3 ms for network service
ubuntu@ip-172-31-52-56:~$