Monday 2 May 2016

Bumblebee on a Lenovo T440p [NVidia GT 730M] with XUbuntu/Ubuntu 16.04 LTS

I have to say that Lenovo really makes some damn fine-looking equipment, but it's mostly rubbish when it comes to their Linux Certification. That stuff isn't worth a dime. Then there's Optimus, which is rubbish as well.

You're probably here because XUbuntu 14.10 worked with bumblebee out of the box, but 16.04 LTS does not.

The T440p has an in-built NVidia GT 730M, running on Optimus through an Intel HD 4600. It's a beast of a laptop, but getting bumblebee going is rather a pain. This guide may very well work for laptops other than Lenovo-branded slabs, but I've only tested it on my T440p so your mileage may vary.

So, first things first...

1. Install a fresh copy of XUbuntu 16.04 LTS


Tada!

2. Update Package Lists


Got to make sure we can pull packages.

entropy@symplex:~$ sudo apt-get update
Get:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB]
Get:3 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease [82.2 kB]
Get:4 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB]
Get:6 http://au.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu xenial/main Translation-en_AU [420 kB]
Get:8 http://au.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:9 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Get:10 http://au.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Get:11 http://au.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B]
Get:12 http://au.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:13 http://au.archive.ubuntu.com/ubuntu xenial/restricted Translation-en_AU [2,012 B]
Get:14 http://au.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]
Get:15 http://au.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Get:16 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [27.7 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [27.7 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [9,264 B]
Get:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [188 B]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [64 B]
Get:22 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [158 B]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [4,628 B]
Get:24 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [4,620 B]
Get:25 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,756 B]
Get:26 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [190 B]
Get:27 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [64 B]
Get:28 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [159 B]
Get:29 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]
Get:30 http://au.archive.ubuntu.com/ubuntu xenial/universe Translation-en_AU [3,039 kB]
Get:31 http://au.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
Get:32 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]
Get:33 http://au.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]
Get:34 http://au.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:35 http://au.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:36 http://au.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en_AU [67.7 kB]
Get:37 http://au.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:38 http://au.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]
Get:39 http://au.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Get:40 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [36.9 kB]
Get:41 http://au.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [36.8 kB]
Get:42 http://au.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [14.0 kB]
Get:43 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [5,487 B]
Get:44 http://au.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [4,408 B]
Get:45 http://au.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [64 B]
Get:46 http://au.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [64 B]
Get:47 http://au.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [64 B]
Get:48 http://au.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:49 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [9,012 B]
Get:50 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [9,012 B]
Get:51 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [5,980 B]
Get:52 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [157 B]
Get:53 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [64 B]
Get:54 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [64 B]
Get:55 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [64 B]
Get:56 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [158 B]
Get:57 http://au.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [28 B]
Get:58 http://au.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [28 B]
Get:59 http://au.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [28 B]
Get:60 http://au.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages [28 B]
Get:61 http://au.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages [28 B]
Get:62 http://au.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en [28 B]
Get:63 http://au.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [28 B]
Get:64 http://au.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [28 B]
Get:65 http://au.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [28 B]
Get:66 http://au.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages [28 B]
Get:67 http://au.archive.ubuntu.com/ubuntu xenial-backports/multiverse i386 Packages [28 B]
Get:68 http://au.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en [28 B]
Fetched 39.3 MB in 45s (870 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
entropy@symplex:~$


3. Remove nouveau


I never liked nouveau. It always had sub-standard performance. While I love open-source drivers, the fact that NVidia's drivers always do better in terms of compatibility and frame-rate is reason enough to get rid of that sucka! I just want to play games ...

entropy@symplex:~$ sudo apt-get remove xserver-xorg-video-nouveau
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  xserver-xorg-video-all xserver-xorg-video-nouveau
0 to upgrade, 0 to newly install, 2 to remove and 0 not to upgrade.
After this operation, 322 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 154514 files and directories currently installed.)
Removing xserver-xorg-video-all (1:7.7+13ubuntu3) ...
Removing xserver-xorg-video-nouveau (1:1.0.12-1build2) ...
Processing triggers for man-db (2.7.5-1) ...
entropy@symplex:~$


4. Install bumblebee, primus and NVidia Drivers


You'll notice that our command includes everything in order. By default, installing bumblebee-nvidia will install the crappy old 304.x drivers. We don't want this. This is why we're specifying 361.x in the same apt-get line. 361.x drivers are recognised as a substitute for the 304.x ones, and apt-get will not install the old ones if we explicitly tell it we want the new ones as a substitute.

entropy@symplex:~$ sudo apt-get install bumblebee-nvidia nvidia-361
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  bbswitch-dkms build-essential bumblebee dkms dpkg-dev fakeroot g++ g++-5 gcc-5-base:i386 gcc-6-base:i386 lib32gcc1 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libbsd0:i386 libc6:i386 libc6-i386 libcuda1-361 libdrm-amdgpu1:i386
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libfakeroot libffi6:i386 libgcc1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libjansson4 libllvm3.8:i386 libpciaccess0:i386
  libstdc++-5-dev libstdc++6:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386
  libxext6:i386 libxfixes3:i386 libxnvctrl0 libxshmfence1:i386 libxxf86vm1:i386 nvidia-opencl-icd-361 nvidia-prime nvidia-settings ocl-icd-libopencl1 pkg-config primus primus-libs primus-libs:i386 primus-libs-ia32:i386 screen-resolution-extra socat zlib1g:i386
Suggested packages:
  debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg glibc-doc:i386 locales:i386 libstdc++-5-doc
The following NEW packages will be installed:
  bbswitch-dkms build-essential bumblebee bumblebee-nvidia dkms dpkg-dev fakeroot g++ g++-5 gcc-5-base:i386 gcc-6-base:i386 lib32gcc1 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libbsd0:i386 libc6:i386 libc6-i386 libcuda1-361
  libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libfakeroot libffi6:i386 libgcc1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libjansson4 libllvm3.8:i386
  libpciaccess0:i386 libstdc++-5-dev libstdc++6:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
  libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxnvctrl0 libxshmfence1:i386 libxxf86vm1:i386 nvidia-361 nvidia-opencl-icd-361 nvidia-prime nvidia-settings ocl-icd-libopencl1 pkg-config primus primus-libs primus-libs:i386 primus-libs-ia32:i386
  screen-resolution-extra socat zlib1g:i386
0 to upgrade, 70 to newly install, 0 to remove and 0 not to upgrade.
Need to get 121 MB of archives.
After this operation, 609 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://au.archive.ubuntu.com/ubuntu xenial/main i386 gcc-6-base i386 6.0.1-0ubuntu1 [14.3 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libgcc1 i386 1:6.0.1-0ubuntu1 [46.8 kB]
Get:3 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libc6 i386 2.23-0ubuntu3 [2,270 kB]
Get:4 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxau6 i386 1:1.0.8-1 [8,352 B]
Get:5 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxdmcp6 i386 1:1.1.2-1.1 [11.4 kB]
Get:6 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb1 i386 1.11.1-1ubuntu1 [44.1 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libx11-6 i386 2:1.6.3-1ubuntu2 [592 kB]
Get:8 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxext6 i386 2:1.3.3-1 [31.6 kB]
Get:9 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxdamage1 i386 1:1.1.4-2 [6,812 B]
Get:10 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxfixes3 i386 1:5.0.1-2 [11.4 kB]
Get:11 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxshmfence1 i386 1.2-1 [5,164 B]
Get:12 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxxf86vm1 i386 1:1.1.4-1 [11.3 kB]
Get:13 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libstdc++-5-dev amd64 5.3.1-14ubuntu2 [1,427 kB]
Get:14 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 g++-5 amd64 5.3.1-14ubuntu2 [8,433 kB]
Get:15 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
Get:16 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 dpkg-dev all 1.18.4ubuntu1 [584 kB]
Get:17 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
Get:18 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 dkms all 2.2.0.3-2ubuntu11 [67.4 kB]
Get:19 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 bbswitch-dkms amd64 0.8-3ubuntu1 [11.6 kB]
Get:20 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 bumblebee amd64 3.2.1-10 [47.3 kB]
Get:21 http://au.archive.ubuntu.com/ubuntu xenial/main i386 gcc-5-base i386 5.3.1-14ubuntu2 [16.8 kB]
Get:22 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libstdc++6 i386 5.3.1-14ubuntu2 [417 kB]
Get:23 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libtxc-dxtn-s2tc0 i386 0~git20131104-1.1 [48.1 kB]
Get:24 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libtinfo5 i386 6.0+20160213-1ubuntu1 [77.4 kB]
Get:25 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libudev1 i386 229-4ubuntu4 [62.1 kB]
Get:26 http://au.archive.ubuntu.com/ubuntu xenial/main i386 zlib1g i386 1:1.2.8.dfsg-2ubuntu4 [52.2 kB]
Get:27 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libbsd0 i386 0.8.2-1 [45.2 kB]
Get:28 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libexpat1 i386 2.1.0-7 [74.3 kB]
Get:29 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libffi6 i386 3.2.1-4 [17.0 kB]
Get:30 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libdrm2 i386 2.4.67-1 [30.8 kB]
Get:31 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libedit2 i386 3.1-20150325-1ubuntu2 [80.9 kB]
Get:32 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libelf1 i386 0.165-3ubuntu1 [48.7 kB]
Get:33 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
Get:34 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
Get:35 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:36 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:37 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:38 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libc6-i386 amd64 2.23-0ubuntu3 [2,335 kB]
Get:39 http://au.archive.ubuntu.com/ubuntu xenial/restricted amd64 libcuda1-361 amd64 361.42-0ubuntu2 [8,878 kB]
Get:40 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libdrm-amdgpu1 i386 2.4.67-1 [19.5 kB]
Get:41 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libpciaccess0 i386 0.13.4-1 [20.3 kB]
Get:42 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libdrm-intel1 i386 2.4.67-1 [59.7 kB]
Get:43 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libdrm-nouveau2 i386 2.4.67-1 [18.2 kB]
Get:44 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libdrm-radeon1 i386 2.4.67-1 [23.1 kB]
Get:45 http://au.archive.ubuntu.com/ubuntu xenial-updates/main i386 libllvm3.8 i386 1:3.8-2ubuntu3 [11.5 MB]
Get:46 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libgl1-mesa-dri i386 11.2.0-1ubuntu2 [4,950 kB]
Get:47 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libglapi-mesa i386 11.2.0-1ubuntu2 [23.2 kB]
Get:48 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libx11-xcb1 i386 2:1.6.3-1ubuntu2 [8,944 B]
Get:49 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-dri2-0 i386 1.11.1-1ubuntu1 [7,292 B]
Get:50 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-dri3-0 i386 1.11.1-1ubuntu1 [5,392 B]
Get:51 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-glx0 i386 1.11.1-1ubuntu1 [22.3 kB]
Get:52 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-present0 i386 1.11.1-1ubuntu1 [5,396 B]
Get:53 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-sync1 i386 1.11.1-1ubuntu1 [8,702 B]
Get:54 http://au.archive.ubuntu.com/ubuntu xenial/main i386 libgl1-mesa-glx i386 11.2.0-1ubuntu2 [134 kB]
Get:55 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libjansson4 amd64 2.7-3 [26.9 kB]
Get:56 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 libxnvctrl0 amd64 361.42-0ubuntu1 [11.2 kB]
Get:57 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 lib32gcc1 amd64 1:6.0.1-0ubuntu1 [46.6 kB]
Get:58 http://au.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-361 amd64 361.42-0ubuntu2 [67.6 MB]
Get:59 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 ocl-icd-libopencl1 amd64 2.2.8-1 [29.7 kB]
Get:60 http://au.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-opencl-icd-361 amd64 361.42-0ubuntu2 [9,011 kB]
Get:61 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-prime amd64 0.8.2 [11.1 kB]
Get:62 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
Get:63 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 screen-resolution-extra all 0.17.1 [11.4 kB]
Get:64 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-settings amd64 361.42-0ubuntu1 [855 kB]
Get:65 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 bumblebee-nvidia amd64 3.2.1-10 [3,212 B]
Get:66 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]
Get:67 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 primus-libs amd64 0~20150328-1 [49.3 kB]
Get:68 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 primus amd64 0~20150328-1 [9,796 B]
Get:69 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 primus-libs i386 0~20150328-1 [54.7 kB]
Get:70 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 primus-libs-ia32 i386 0~20150328-1 [2,240 B]
Fetched 121 MB in 2min 3s (980 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package gcc-6-base:i386.
(Reading database ... 154503 files and directories currently installed.)
Preparing to unpack .../gcc-6-base_6.0.1-0ubuntu1_i386.deb ...
Unpacking gcc-6-base:i386 (6.0.1-0ubuntu1) ...
Selecting previously unselected package libgcc1:i386.
Preparing to unpack .../libgcc1_1%3a6.0.1-0ubuntu1_i386.deb ...
Unpacking libgcc1:i386 (1:6.0.1-0ubuntu1) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../libc6_2.23-0ubuntu3_i386.deb ...
Unpacking libc6:i386 (2.23-0ubuntu3) ...
Selecting previously unselected package libxau6:i386.
Preparing to unpack .../libxau6_1%3a1.0.8-1_i386.deb ...
Unpacking libxau6:i386 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:i386.
Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_i386.deb ...
Unpacking libxdmcp6:i386 (1:1.1.2-1.1) ...
Selecting previously unselected package libxcb1:i386.
Preparing to unpack .../libxcb1_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb1:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-6:i386.
Preparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2_i386.deb ...
Unpacking libx11-6:i386 (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxext6:i386.
Preparing to unpack .../libxext6_2%3a1.3.3-1_i386.deb ...
Unpacking libxext6:i386 (2:1.3.3-1) ...
Selecting previously unselected package libxdamage1:i386.
Preparing to unpack .../libxdamage1_1%3a1.1.4-2_i386.deb ...
Unpacking libxdamage1:i386 (1:1.1.4-2) ...
Selecting previously unselected package libxfixes3:i386.
Preparing to unpack .../libxfixes3_1%3a5.0.1-2_i386.deb ...
Unpacking libxfixes3:i386 (1:5.0.1-2) ...
Selecting previously unselected package libxshmfence1:i386.
Preparing to unpack .../libxshmfence1_1.2-1_i386.deb ...
Unpacking libxshmfence1:i386 (1.2-1) ...
Selecting previously unselected package libxxf86vm1:i386.
Preparing to unpack .../libxxf86vm1_1%3a1.1.4-1_i386.deb ...
Unpacking libxxf86vm1:i386 (1:1.1.4-1) ...
Selecting previously unselected package libstdc++-5-dev:amd64.
Preparing to unpack .../libstdc++-5-dev_5.3.1-14ubuntu2_amd64.deb ...
Unpacking libstdc++-5-dev:amd64 (5.3.1-14ubuntu2) ...
Selecting previously unselected package g++-5.
Preparing to unpack .../g++-5_5.3.1-14ubuntu2_amd64.deb ...
Unpacking g++-5 (5.3.1-14ubuntu2) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking g++ (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.18.4ubuntu1_all.deb ...
Unpacking dpkg-dev (1.18.4ubuntu1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
Unpacking build-essential (12.1ubuntu2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-2ubuntu11_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11) ...
Selecting previously unselected package bbswitch-dkms.
Preparing to unpack .../bbswitch-dkms_0.8-3ubuntu1_amd64.deb ...
Unpacking bbswitch-dkms (0.8-3ubuntu1) ...
Selecting previously unselected package bumblebee.
Preparing to unpack .../bumblebee_3.2.1-10_amd64.deb ...
Unpacking bumblebee (3.2.1-10) ...
Selecting previously unselected package gcc-5-base:i386.
Preparing to unpack .../gcc-5-base_5.3.1-14ubuntu2_i386.deb ...
Unpacking gcc-5-base:i386 (5.3.1-14ubuntu2) ...
Selecting previously unselected package libstdc++6:i386.
Preparing to unpack .../libstdc++6_5.3.1-14ubuntu2_i386.deb ...
Unpacking libstdc++6:i386 (5.3.1-14ubuntu2) ...
Selecting previously unselected package libtxc-dxtn-s2tc0:i386.
Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_i386.deb ...
Unpacking libtxc-dxtn-s2tc0:i386 (0~git20131104-1.1) ...
Selecting previously unselected package libtinfo5:i386.
Preparing to unpack .../libtinfo5_6.0+20160213-1ubuntu1_i386.deb ...
Unpacking libtinfo5:i386 (6.0+20160213-1ubuntu1) ...
Selecting previously unselected package libudev1:i386.
Preparing to unpack .../libudev1_229-4ubuntu4_i386.deb ...
Unpacking libudev1:i386 (229-4ubuntu4) ...
Selecting previously unselected package zlib1g:i386.
Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-2ubuntu4_i386.deb ...
Unpacking zlib1g:i386 (1:1.2.8.dfsg-2ubuntu4) ...
Selecting previously unselected package libbsd0:i386.
Preparing to unpack .../libbsd0_0.8.2-1_i386.deb ...
Unpacking libbsd0:i386 (0.8.2-1) ...
Selecting previously unselected package libexpat1:i386.
Preparing to unpack .../libexpat1_2.1.0-7_i386.deb ...
Unpacking libexpat1:i386 (2.1.0-7) ...
Selecting previously unselected package libffi6:i386.
Preparing to unpack .../libffi6_3.2.1-4_i386.deb ...
Unpacking libffi6:i386 (3.2.1-4) ...
Selecting previously unselected package libdrm2:i386.
Preparing to unpack .../libdrm2_2.4.67-1_i386.deb ...
Unpacking libdrm2:i386 (2.4.67-1) ...
Selecting previously unselected package libedit2:i386.
Preparing to unpack .../libedit2_3.1-20150325-1ubuntu2_i386.deb ...
Unpacking libedit2:i386 (3.1-20150325-1ubuntu2) ...
Selecting previously unselected package libelf1:i386.
Preparing to unpack .../libelf1_0.165-3ubuntu1_i386.deb ...
Unpacking libelf1:i386 (0.165-3ubuntu1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.20.2-1ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../libc6-i386_2.23-0ubuntu3_amd64.deb ...
Unpacking libc6-i386 (2.23-0ubuntu3) ...
Replaced by files in installed package libc6:i386 (2.23-0ubuntu3) ...
Selecting previously unselected package libcuda1-361.
Preparing to unpack .../libcuda1-361_361.42-0ubuntu2_amd64.deb ...
Unpacking libcuda1-361 (361.42-0ubuntu2) ...
Selecting previously unselected package libdrm-amdgpu1:i386.
Preparing to unpack .../libdrm-amdgpu1_2.4.67-1_i386.deb ...
Unpacking libdrm-amdgpu1:i386 (2.4.67-1) ...
Selecting previously unselected package libpciaccess0:i386.
Preparing to unpack .../libpciaccess0_0.13.4-1_i386.deb ...
Unpacking libpciaccess0:i386 (0.13.4-1) ...
Selecting previously unselected package libdrm-intel1:i386.
Preparing to unpack .../libdrm-intel1_2.4.67-1_i386.deb ...
Unpacking libdrm-intel1:i386 (2.4.67-1) ...
Selecting previously unselected package libdrm-nouveau2:i386.
Preparing to unpack .../libdrm-nouveau2_2.4.67-1_i386.deb ...
Unpacking libdrm-nouveau2:i386 (2.4.67-1) ...
Selecting previously unselected package libdrm-radeon1:i386.
Preparing to unpack .../libdrm-radeon1_2.4.67-1_i386.deb ...
Unpacking libdrm-radeon1:i386 (2.4.67-1) ...
Selecting previously unselected package libllvm3.8:i386.
Preparing to unpack .../libllvm3.8_1%3a3.8-2ubuntu3_i386.deb ...
Unpacking libllvm3.8:i386 (1:3.8-2ubuntu3) ...
Selecting previously unselected package libgl1-mesa-dri:i386.
Preparing to unpack .../libgl1-mesa-dri_11.2.0-1ubuntu2_i386.deb ...
Unpacking libgl1-mesa-dri:i386 (11.2.0-1ubuntu2) ...
Selecting previously unselected package libglapi-mesa:i386.
Preparing to unpack .../libglapi-mesa_11.2.0-1ubuntu2_i386.deb ...
Unpacking libglapi-mesa:i386 (11.2.0-1ubuntu2) ...
Selecting previously unselected package libx11-xcb1:i386.
Preparing to unpack .../libx11-xcb1_2%3a1.6.3-1ubuntu2_i386.deb ...
Unpacking libx11-xcb1:i386 (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxcb-dri2-0:i386.
Preparing to unpack .../libxcb-dri2-0_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb-dri2-0:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libxcb-dri3-0:i386.
Preparing to unpack .../libxcb-dri3-0_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb-dri3-0:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libxcb-glx0:i386.
Preparing to unpack .../libxcb-glx0_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb-glx0:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libxcb-present0:i386.
Preparing to unpack .../libxcb-present0_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb-present0:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libxcb-sync1:i386.
Preparing to unpack .../libxcb-sync1_1.11.1-1ubuntu1_i386.deb ...
Unpacking libxcb-sync1:i386 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libgl1-mesa-glx:i386.
Preparing to unpack .../libgl1-mesa-glx_11.2.0-1ubuntu2_i386.deb ...
Unpacking libgl1-mesa-glx:i386 (11.2.0-1ubuntu2) ...
Selecting previously unselected package libjansson4:amd64.
Preparing to unpack .../libjansson4_2.7-3_amd64.deb ...
Unpacking libjansson4:amd64 (2.7-3) ...
Selecting previously unselected package libxnvctrl0.
Preparing to unpack .../libxnvctrl0_361.42-0ubuntu1_amd64.deb ...
Unpacking libxnvctrl0 (361.42-0ubuntu1) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../lib32gcc1_1%3a6.0.1-0ubuntu1_amd64.deb ...
Unpacking lib32gcc1 (1:6.0.1-0ubuntu1) ...
Selecting previously unselected package nvidia-361.
Preparing to unpack .../nvidia-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-361 (361.42-0ubuntu2) ...
Selecting previously unselected package ocl-icd-libopencl1:amd64.
Preparing to unpack .../ocl-icd-libopencl1_2.2.8-1_amd64.deb ...
Unpacking ocl-icd-libopencl1:amd64 (2.2.8-1) ...
Selecting previously unselected package nvidia-opencl-icd-361.
Preparing to unpack .../nvidia-opencl-icd-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu1) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../screen-resolution-extra_0.17.1_all.deb ...
Unpacking screen-resolution-extra (0.17.1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_361.42-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (361.42-0ubuntu1) ...
Selecting previously unselected package bumblebee-nvidia.
Preparing to unpack .../bumblebee-nvidia_3.2.1-10_amd64.deb ...
Unpacking bumblebee-nvidia (3.2.1-10) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...
Unpacking socat (1.7.3.1-1) ...
Selecting previously unselected package primus-libs:amd64.
Preparing to unpack .../primus-libs_0~20150328-1_amd64.deb ...
Unpacking primus-libs:amd64 (0~20150328-1) ...
Selecting previously unselected package primus.
Preparing to unpack .../primus_0~20150328-1_amd64.deb ...
Unpacking primus (0~20150328-1) ...
Selecting previously unselected package primus-libs:i386.
Preparing to unpack .../primus-libs_0~20150328-1_i386.deb ...
Unpacking primus-libs:i386 (0~20150328-1) ...
Selecting previously unselected package primus-libs-ia32:i386.
Preparing to unpack .../primus-libs-ia32_0~20150328-1_i386.deb ...
Unpacking primus-libs-ia32:i386 (0~20150328-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for doc-base (0.10.7) ...
Processing 31 changed doc-base files, 2 added doc-base files...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up gcc-6-base:i386 (6.0.1-0ubuntu1) ...
Setting up libstdc++-5-dev:amd64 (5.3.1-14ubuntu2) ...
Setting up g++-5 (5.3.1-14ubuntu2) ...
Setting up g++ (4:5.3.1-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up dpkg-dev (1.18.4ubuntu1) ...
Setting up build-essential (12.1ubuntu2) ...
Setting up dkms (2.2.0.3-2ubuntu11) ...
Setting up bbswitch-dkms (0.8-3ubuntu1) ...
Loading new bbswitch-0.8 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-21-generic
Building initial module for 4.4.0-21-generic
Done.

bbswitch:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

depmod.............

DKMS: install completed.
Setting up bumblebee (3.2.1-10) ...
Adding members from group(s) 'adm sudo admin' to 'bumblebee':
entropy syslog
Adding user entropy to group bumblebee
Adding user syslog to group bumblebee
Selecting 02:00:0 as discrete nvidia card. If this is incorrect,
edit the BusID line in /etc/bumblebee/xorg.conf.nouveau .
Setting up gcc-5-base:i386 (5.3.1-14ubuntu2) ...
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libc6-i386 (2.23-0ubuntu3) ...
Setting up libcuda1-361 (361.42-0ubuntu2) ...
Setting up libjansson4:amd64 (2.7-3) ...
Setting up libxnvctrl0 (361.42-0ubuntu1) ...
Setting up lib32gcc1 (1:6.0.1-0ubuntu1) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
update-alternatives: using /usr/lib/nvidia-361/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-361/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-361/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-361/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-361/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 129) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-361-361.42 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-21-generic
Building for architecture x86_64
Building initial module for 4.4.0-21-generic
Done.

nvidia_361:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

nvidia_361_modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

nvidia_361_uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up ocl-icd-libopencl1:amd64 (2.2.8-1) ...
Setting up nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Setting up nvidia-prime (0.8.2) ...
Setting up pkg-config (0.29.1-0ubuntu1) ...
Setting up screen-resolution-extra (0.17.1) ...
Setting up nvidia-settings (361.42-0ubuntu1) ...
Setting up socat (1.7.3.1-1) ...
Setting up primus-libs:amd64 (0~20150328-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic
Setting up primus (0~20150328-1) ...
Setting up bumblebee-nvidia (3.2.1-10) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
Selecting 02:00:0 as discrete nvidia card. If this is incorrect,
edit the BusID line in /etc/bumblebee/xorg.conf.nvidia
rmmod: ERROR: Module nouveau is in use
Setting up libc6:i386 (2.23-0ubuntu3) ...
Setting up libxau6:i386 (1:1.0.8-1) ...
Setting up libxdmcp6:i386 (1:1.1.2-1.1) ...
Setting up libxcb1:i386 (1.11.1-1ubuntu1) ...
Setting up libx11-6:i386 (2:1.6.3-1ubuntu2) ...
Setting up libxext6:i386 (2:1.3.3-1) ...
Setting up libxdamage1:i386 (1:1.1.4-2) ...
Setting up libxfixes3:i386 (1:5.0.1-2) ...
Setting up libxshmfence1:i386 (1.2-1) ...
Setting up libxxf86vm1:i386 (1:1.1.4-1) ...
Setting up libtinfo5:i386 (6.0+20160213-1ubuntu1) ...
Setting up zlib1g:i386 (1:1.2.8.dfsg-2ubuntu4) ...
Setting up libbsd0:i386 (0.8.2-1) ...
Setting up libexpat1:i386 (2.1.0-7) ...
Setting up libffi6:i386 (3.2.1-4) ...
Setting up libdrm2:i386 (2.4.67-1) ...
Setting up libedit2:i386 (3.1-20150325-1ubuntu2) ...
Setting up libelf1:i386 (0.165-3ubuntu1) ...
Setting up libdrm-amdgpu1:i386 (2.4.67-1) ...
Setting up libpciaccess0:i386 (0.13.4-1) ...
Setting up libdrm-intel1:i386 (2.4.67-1) ...
Setting up libdrm-nouveau2:i386 (2.4.67-1) ...
Setting up libdrm-radeon1:i386 (2.4.67-1) ...
Setting up libglapi-mesa:i386 (11.2.0-1ubuntu2) ...
Setting up libx11-xcb1:i386 (2:1.6.3-1ubuntu2) ...
Setting up libxcb-dri2-0:i386 (1.11.1-1ubuntu1) ...
Setting up libxcb-dri3-0:i386 (1.11.1-1ubuntu1) ...
Setting up libxcb-glx0:i386 (1.11.1-1ubuntu1) ...
Setting up libxcb-present0:i386 (1.11.1-1ubuntu1) ...
Setting up libxcb-sync1:i386 (1.11.1-1ubuntu1) ...
Setting up libgcc1:i386 (1:6.0.1-0ubuntu1) ...
Setting up libstdc++6:i386 (5.3.1-14ubuntu2) ...
Setting up libtxc-dxtn-s2tc0:i386 (0~git20131104-1.1) ...
update-alternatives: using /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/i386-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-i386-linux-gnu) in auto mode
Setting up libudev1:i386 (229-4ubuntu4) ...
Setting up libllvm3.8:i386 (1:3.8-2ubuntu3) ...
Setting up libgl1-mesa-dri:i386 (11.2.0-1ubuntu2) ...
Setting up libgl1-mesa-glx:i386 (11.2.0-1ubuntu2) ...
Setting up primus-libs:i386 (0~20150328-1) ...
Setting up primus-libs-ia32:i386 (0~20150328-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
entropy@symplex:~$


5. Blacklist NVidia Drivers


Do not reboot until you have done this. Rebooting after installing drivers but before blacklisting them will result in a black-screen and you'll have to enter through recovery mode to blacklist them. In fact, don't reboot unless it explicitly says to.

Add these lines:
blacklist nvidia-361
blacklist nvidia-361-updates
blacklist nvidia-experimental-361

To your /etc/modprobe.d/bumblebee.conf. I like to put it at the end of the file so that it's the same as the rest of the file because I'm crazy:

entropy@symplex:~$ tail /etc/modprobe.d/bumblebee.conf
# 355
blacklist nvidia-355
blacklist nvidia-355-updates
blacklist nvidia-experimental-355
# 361
blacklist nvidia-361
blacklist nvidia-361-updates
blacklist nvidia-experimental-361
# Workaround to make sure nvidia-uvm is removed as well
remove nvidia rmmod nvidia-uvm nvidia
entropy@symplex:~$


6. Update bumblebee Config to Point to 361.x Drivers


This appears to actually be a bug in Ubuntu. By default bumblebee-nvidia installs a config file that points to nvidia-current, but that directory is empty, and not because we chose 361.x as opposed to the default version that the package lists (304.x) as a dependency,  even that does not link itself to nvidia-current. We're going to point ours to 361.x. Change the following fields to the following values in /etc/bumblebee/bumblebee.conf:

...
[bumblebeed]
...
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
...

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia_361
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-361:/usr/lib32/nvidia-361  
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-361/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

...


7. Select Mesa as your GL Provider


Update your alternatives to point all GL providers to mesa. We actually want mesa, because this will indeed be your provider. By default, all of your GL will run on the Intel card, and this will run through mesa. Only through optirun/primusrun will things be handled by the NVidia GL implementation.

entropy@symplex:~$ sudo update-alternatives --config i386-linux-gnu_gl_conf
There are 3 choices for the alternative i386-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/i386-linux-gnu_GL.conf).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/nvidia-361/alt_ld.so.conf         8604      auto mode
  1            /usr/lib/i386-linux-gnu/mesa/ld.so.conf    500       manual mode
  2            /usr/lib/nvidia-361-prime/alt_ld.so.conf   8603      manual mode
  3            /usr/lib/nvidia-361/alt_ld.so.conf         8604      manual mode

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode
entropy@symplex:~$ sudo update-alternatives --config x86_64-linux-gnu_egl_conf
There are 3 choices for the alternative x86_64-linux-gnu_egl_conf (providing /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf).

  Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /usr/lib/nvidia-361/ld.so.conf                  8604      auto mode
  1            /usr/lib/nvidia-361-prime/ld.so.conf            8603      manual mode
  2            /usr/lib/nvidia-361/ld.so.conf                  8604      manual mode
  3            /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf   500       manual mode

Press <enter> to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in manual mode
entropy@symplex:~$ sudo update-alternatives --config x86_64-linux-gnu_gl_conf
There are 3 choices for the alternative x86_64-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf).

  Selection    Path                                       Priority   Status
------------------------------------------------------------
  0            /usr/lib/nvidia-361/ld.so.conf              8604      auto mode
  1            /usr/lib/nvidia-361-prime/ld.so.conf        8603      manual mode
  2            /usr/lib/nvidia-361/ld.so.conf              8604      manual mode
* 3            /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf   500       manual mode

Press <enter> to keep the current choice[*], or type selection number: 3
entropy@symplex:~$


8. Reboot


This is important!

entropy@symplex:~$ sudo reboot


9. Disable gpu-manager


The ubuntu-drivers-common package installs this thing called gpu-manager. It's started by /etc/init/gpu-manager.conf, which is run by upstart, but what it does is actually creates a new /etc/X11/xorg.conf every time you shut-down/reboot your laptop. We need to disable it, because the xorg.conf it creates will break our setup. Add nogpumanager to your /etc/default/grub file.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="nogpumanager"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Now update your grub menu.

entropy@symplex:~$ sudo update-grub


10. Re-build the bbswitch and nvidia modules.


Now that all of the LD paths are refreshed after a reboot, we can re-build the modules. Something goes wrong during the install that requires this. I presume it's to do with ldconfig not finding the right paths. Also, do not reboot again until this step is complete. Doing so will result in a black screen.

entropy@symplex:~$ sudo dpkg-reconfigure bbswitch-dkms

-------- Uninstall Beginning --------
Module:  bbswitch
Version: 0.8
Kernel:  4.4.0-21-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

bbswitch.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod........

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.8
completely from the DKMS tree.
------------------------------
Done.
Loading new bbswitch-0.8 DKMS files...
Building only for 4.4.0-21-generic
Building initial module for 4.4.0-21-generic
Done.

bbswitch:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

depmod....

DKMS: install completed.
entropy@symplex:~$ sudo dpkg-reconfigure nvidia-361
Stopping nvidia-persistenced
nvidia-persistenced: no process found
Done.
Removing all DKMS Modules
Done.
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-361-361.42 DKMS files...
Building only for 4.4.0-21-generic
Building for architecture x86_64
Building initial module for 4.4.0-21-generic
Done.

nvidia_361:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

nvidia_361_modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

nvidia_361_uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/

depmod....

DKMS: install completed.
entropy@symplex:~$

Okay. Now you may ...


11. Reboot


Yes, again. Yes, you have to.

entropy@symplex:~$ sudo reboot


12. Test it


glxinfo will tell you if the provider of your GL is the NVidia proprietary driver, and glxgears will test rendering through that provider.

entropy@symplex:~$ optirun glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_fbconfig_float, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_stereo_tree, GLX_EXT_swap_control,
    GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_NV_copy_image,
    GLX_NV_delay_before_swap, GLX_NV_float_buffer,
    GLX_NV_multisample_coverage, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_SGI_video_sync
client glx vendor string: primus
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 730M/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 361.42
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_1_compatibility,
    GL_ARB_ES3_2_compatibility, GL_ARB_ES3_compatibility,
    GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture,
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage,
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control,
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage,
    GL_ARB_compute_shader, GL_ARB_compute_variable_group_size,
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance,
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_depth_texture, GL_ARB_derivative_control,
    GL_ARB_direct_state_access, GL_ARB_draw_buffers,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_geometry_shader4, GL_ARB_get_program_binary,
    GL_ARB_get_texture_sub_image, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64,
    GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel,
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata,
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex,
    GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior,
    GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture,
    GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_clock,
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
    GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
    GL_ARB_shader_objects, GL_ARB_shader_precision,
    GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine,
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_include, GL_ARB_shading_language_packing,
    GL_ARB_shadow, GL_ARB_sparse_buffer, GL_ARB_sparse_texture,
    GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader,
    GL_ARB_texture_barrier, GL_ARB_texture_border_clamp,
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32,
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression,
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_stencil8, GL_ARB_texture_storage,
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle,
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit,
    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_viewport_array, GL_ARB_window_pos, GL_ATI_draw_buffers,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once,
    GL_EXTX_framebuffer_mixed_formats, GL_EXT_Cg_shader, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
    GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
    GL_EXT_import_sync_object, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_polygon_offset_clamp, GL_EXT_provoking_vertex,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color,
    GL_EXT_shader_image_load_store, GL_EXT_shader_integer_mix,
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
    GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_buffer_object,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_latc,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB,
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent,
    GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query,
    GL_EXT_transform_feedback2, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_EXT_vertex_attrib_64bit, GL_EXT_x11_sync_object, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_KHR_blend_equation_advanced,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness,
    GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
    GL_NVX_nvenc_interop, GL_NV_ES1_1_compatibility,
    GL_NV_ES3_1_compatibility, GL_NV_bindless_multi_draw_indirect,
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
    GL_NV_blend_equation_advanced, GL_NV_blend_square, GL_NV_command_list,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_depth_buffer_float,
    GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_explicit_multisample,
    GL_NV_fence, GL_NV_float_buffer, GL_NV_fog_distance,
    GL_NV_fragment_program, GL_NV_fragment_program2,
    GL_NV_fragment_program_option, GL_NV_framebuffer_multisample_coverage,
    GL_NV_geometry_shader4, GL_NV_gpu_program4, GL_NV_gpu_program4_1,
    GL_NV_gpu_program5, GL_NV_gpu_program5_mem_extended,
    GL_NV_gpu_program_fp64, GL_NV_gpu_shader5, GL_NV_half_float,
    GL_NV_internalformat_sample_query, GL_NV_light_max_exponent,
    GL_NV_multisample_coverage, GL_NV_multisample_filter_hint,
    GL_NV_occlusion_query, GL_NV_packed_depth_stencil,
    GL_NV_parameter_buffer_object, GL_NV_parameter_buffer_object2,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_primitive_restart, GL_NV_register_combiners,
    GL_NV_register_combiners2, GL_NV_shader_atomic_counters,
    GL_NV_shader_atomic_float, GL_NV_shader_atomic_int64,
    GL_NV_shader_buffer_load, GL_NV_shader_storage_buffer_object,
    GL_NV_shader_thread_group, GL_NV_shader_thread_shuffle,
    GL_NV_texgen_reflection, GL_NV_texture_barrier,
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
    GL_NV_texture_multisample, GL_NV_texture_rectangle, GL_NV_texture_shader,
    GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_transform_feedback,
    GL_NV_transform_feedback2, GL_NV_uniform_buffer_unified_memory,
    GL_NV_vdpau_interop, GL_NV_vertex_array_range, GL_NV_vertex_array_range2,
    GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory,
    GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_NV_vertex_program2,
    GL_NV_vertex_program2_option, GL_NV_vertex_program3, GL_S3_s3tc,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_shadow, GL_SUN_slice_accum

OpenGL version string: 4.5.0 NVIDIA 361.42
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_1_compatibility,
    GL_ARB_ES3_2_compatibility, GL_ARB_ES3_compatibility,
    GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture,
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage,
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control,
    GL_ARB_color_buffer_float, GL_ARB_compatibility,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image,
    GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control,
    GL_ARB_direct_state_access, GL_ARB_draw_buffers,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_geometry_shader4, GL_ARB_get_program_binary,
    GL_ARB_get_texture_sub_image, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64,
    GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel,
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata,
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex,
    GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior,
    GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture,
    GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_clock,
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
    GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
    GL_ARB_shader_objects, GL_ARB_shader_precision,
    GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine,
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_include, GL_ARB_shading_language_packing,
    GL_ARB_shadow, GL_ARB_sparse_buffer, GL_ARB_sparse_texture,
    GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader,
    GL_ARB_texture_barrier, GL_ARB_texture_border_clamp,
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32,
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression,
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_stencil8, GL_ARB_texture_storage,
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle,
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit,
    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_viewport_array, GL_ARB_window_pos, GL_ATI_draw_buffers,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once,
    GL_EXTX_framebuffer_mixed_formats, GL_EXT_Cg_shader, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
    GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
    GL_EXT_import_sync_object, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_polygon_offset_clamp, GL_EXT_provoking_vertex,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color,
    GL_EXT_shader_image_load_store, GL_EXT_shader_integer_mix,
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
    GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_buffer_object,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_latc,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB,
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent,
    GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query,
    GL_EXT_transform_feedback2, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_EXT_vertex_attrib_64bit, GL_EXT_x11_sync_object, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_KHR_blend_equation_advanced,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness,
    GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
    GL_NVX_nvenc_interop, GL_NV_ES1_1_compatibility,
    GL_NV_ES3_1_compatibility, GL_NV_bindless_multi_draw_indirect,
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
    GL_NV_blend_equation_advanced, GL_NV_blend_square, GL_NV_command_list,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_depth_buffer_float,
    GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_explicit_multisample,
    GL_NV_fence, GL_NV_float_buffer, GL_NV_fog_distance,
    GL_NV_fragment_program, GL_NV_fragment_program2,
    GL_NV_fragment_program_option, GL_NV_framebuffer_multisample_coverage,
    GL_NV_geometry_shader4, GL_NV_gpu_program4, GL_NV_gpu_program4_1,
    GL_NV_gpu_program5, GL_NV_gpu_program5_mem_extended,
    GL_NV_gpu_program_fp64, GL_NV_gpu_shader5, GL_NV_half_float,
    GL_NV_internalformat_sample_query, GL_NV_light_max_exponent,
    GL_NV_multisample_coverage, GL_NV_multisample_filter_hint,
    GL_NV_occlusion_query, GL_NV_packed_depth_stencil,
    GL_NV_parameter_buffer_object, GL_NV_parameter_buffer_object2,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_primitive_restart, GL_NV_register_combiners,
    GL_NV_register_combiners2, GL_NV_shader_atomic_counters,
    GL_NV_shader_atomic_float, GL_NV_shader_atomic_int64,
    GL_NV_shader_buffer_load, GL_NV_shader_storage_buffer_object,
    GL_NV_shader_thread_group, GL_NV_shader_thread_shuffle,
    GL_NV_texgen_reflection, GL_NV_texture_barrier,
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
    GL_NV_texture_multisample, GL_NV_texture_rectangle, GL_NV_texture_shader,
    GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_transform_feedback,
    GL_NV_transform_feedback2, GL_NV_uniform_buffer_unified_memory,
    GL_NV_vdpau_interop, GL_NV_vertex_array_range, GL_NV_vertex_array_range2,
    GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory,
    GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_NV_vertex_program2,
    GL_NV_vertex_program2_option, GL_NV_vertex_program3, GL_S3_s3tc,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_shadow, GL_SUN_slice_accum

40 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x020 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x021 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b2 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b3 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b4 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0b5 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0b6 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b8 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x0b9 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ba 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 None
0x0bb 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0bc 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0bd 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0be 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0bf 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c0 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c2 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c3 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0c4 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0c5 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0c6 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c7 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0c8 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c9 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ca 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0cb 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x0cc 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0cd 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 None
0x0ce 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0cf 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0d0 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0d1 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0d2 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0d3 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0d4 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0d5 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x070 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

311 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x105 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x106 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x107 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x108 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x109 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x10a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x10b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x10c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x10d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x10e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x10f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x110 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x111 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x112 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x113 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x114 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x115 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x116 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x117 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x118 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x119 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x11a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x11b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x11c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x11d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x11e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x11f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x120 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x121 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x122 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x123 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x124 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x125 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x126 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x127 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x128 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x129 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x12a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x12b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x12c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x12d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x12e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x12f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x130 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x131 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x132 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x133 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x134 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x135 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x136 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x137 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x138 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x139 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x13a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x13b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x13c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x13d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x13e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x13f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x140 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x141 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x142 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x143 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x144 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x145 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x146 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x147 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x148 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x149 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x14a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x14b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x14c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x14d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x14e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x14f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x150 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x151 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x152 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x153 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x154 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x155 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x156 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x157 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x158 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x159 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x15a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x15b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x15c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x15d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x15e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x15f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x160 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x161 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x162 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x163 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x164 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x165 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x166 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x167 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x168 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x169 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x16a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x16b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x16c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x16d 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x16e 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x16f 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x170 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x171 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x172 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x173 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x174 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x175 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x176 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x177 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x178 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x179 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17a 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17b 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17c 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x17f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x180 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x181 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x182 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x183 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x184 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x185 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x186 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x187 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x188 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x189 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x18a 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x18b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x18c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x18d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x18e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x18f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x190 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x191 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x192 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x193 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x194 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x195 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x196 24 dc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x197 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x198 24 dc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x199 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x19a 24 dc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x19b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x19c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x19d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x19e 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x19f 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  0 0 None
0x1a0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  0 0 None
0x1a1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x1a2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x1a3 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  0 0 None
0x1a4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  0 0 None
0x1a5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1a6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x1a7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1a8 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4  0  0 16 16 16 16  0 0 None
0x1a9 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x1aa 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x1ab 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x1ac 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x1ad 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x1ae 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  2 1 Ncon
0x1af 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x1b0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  4 1 Ncon
0x1b1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x1b2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x1b3 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x1b4 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x1b5 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x1b6 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  2 1 Ncon
0x1b7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x1b8 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  4 1 Ncon
0x1b9 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1ba 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1bb 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1bc 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1bd 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1be 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1bf 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1c0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1c1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1c2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1c3 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1c4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1c5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1c6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1c7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1c8 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1c9 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1ca 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1cb 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1cc 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1cd 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1ce 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1cf 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1d0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16  8 1 Ncon
0x1d1 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1d2 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1d3 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1d4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 16 1 Ncon
0x1d5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1d6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1d7 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1d8 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1d9 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1da 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1db 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1dc 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16  8 1 Ncon
0x1dd 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1de 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1df 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1e0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 16 1 Ncon
0x1e1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x1e2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x1e3 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x1e4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  0 16 16 16 16 32 1 Ncon
0x1e5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x1e6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x1e7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x1e8 24 tc  0  32  0 r  . .   8  8  8  8 .  .  4 24  8 16 16 16 16 32 1 Ncon
0x1e9  0 sg  0  16  0 r  y .   5  6  5  0 .  .  4 16  0 16 16 16 16  0 0 None
0x1ea  0 sg  0  16  0 r  . .   5  6  5  0 .  .  4 16  0 16 16 16 16  0 0 None
0x1eb  0 sg  0  16  0 r  y .   5  6  5  0 .  .  4 24  0 16 16 16 16  0 0 None
0x1ec  0 sg  0  16  0 r  . .   5  6  5  0 .  .  4 24  0 16 16 16 16  0 0 None
0x1ed  0 sg  0  16  0 r  y .   5  6  5  0 .  .  4 24  8 16 16 16 16  0 0 None
0x1ee  0 sg  0  16  0 r  . .   5  6  5  0 .  .  4 24  8 16 16 16 16  0 0 None
0x1ef  0 sg  0  16  0 r  y .   5  6  5  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f0  0 sg  0  16  0 r  . .   5  6  5  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f1  0 sg  0   0  0 r  . .   0  0  0  0 .  .  4 16  0 16 16 16 16  0 0 None
0x1f2  0 sg  0   0  0 r  . .   0  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x1f3  0 sg  0   0  0 r  . .   0  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x1f4  0 sg  0  32  0 r  . .  16 16  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f5  0 sg  0  32  0    . .  16 16  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f6  0 sg  0  32  0 r  y .  16 16  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f7  0 sg  0  32  0    y .  16 16  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f8  0 sg  0  32  0 r  . .  32  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1f9  0 sg  0  32  0    . .  32  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1fa  0 sg  0  32  0 r  y .  32  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1fb  0 sg  0  32  0    y .  32  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x1fc  0 sg  0  64  0 r  . .  16 16 16 16 .  .  4  0  0 16 16 16 16  0 0 None
0x1fd  0 sg  0  64  0    . .  16 16 16 16 .  .  4  0  0 16 16 16 16  0 0 None
0x1fe  0 sg  0  64  0 r  y .  16 16 16 16 .  .  4  0  0 16 16 16 16  0 0 None
0x1ff  0 sg  0  64  0    y .  16 16 16 16 .  .  4  0  0 16 16 16 16  0 0 None
0x200  0 sg  0 128  0 r  . .  32 32 32 32 .  .  4  0  0 16 16 16 16  0 0 None
0x201  0 sg  0 128  0    . .  32 32 32 32 .  .  4  0  0 16 16 16 16  0 0 None
0x202  0 sg  0 128  0 r  y .  32 32 32 32 .  .  4  0  0 16 16 16 16  0 0 None
0x203  0 sg  0 128  0    y .  32 32 32 32 .  .  4  0  0 16 16 16 16  0 0 None
0x204  0 sg  0  32  0 r  . .  16 16  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x205  0 sg  0  32  0    . .  16 16  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x206  0 sg  0  32  0 r  y .  16 16  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x207  0 sg  0  32  0    y .  16 16  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x208  0 sg  0  32  0 r  . .  16 16  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x209  0 sg  0  32  0    . .  16 16  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x20a  0 sg  0  32  0 r  y .  16 16  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x20b  0 sg  0  32  0    y .  16 16  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x20c  0 sg  0  32  0 r  . .  32  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x20d  0 sg  0  32  0    . .  32  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x20e  0 sg  0  32  0 r  y .  32  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x20f  0 sg  0  32  0    y .  32  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x210  0 sg  0  32  0 r  . .  32  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x211  0 sg  0  32  0    . .  32  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x212  0 sg  0  32  0 r  y .  32  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x213  0 sg  0  32  0    y .  32  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x214  0 sg  0  64  0 r  . .  16 16 16 16 .  .  4 24  0 16 16 16 16  0 0 None
0x215  0 sg  0  64  0    . .  16 16 16 16 .  .  4 24  0 16 16 16 16  0 0 None
0x216  0 sg  0  64  0 r  y .  16 16 16 16 .  .  4 24  0 16 16 16 16  0 0 None
0x217  0 sg  0  64  0    y .  16 16 16 16 .  .  4 24  0 16 16 16 16  0 0 None
0x218  0 sg  0  64  0 r  . .  16 16 16 16 .  .  4 24  8 16 16 16 16  0 0 None
0x219  0 sg  0  64  0    . .  16 16 16 16 .  .  4 24  8 16 16 16 16  0 0 None
0x21a  0 sg  0  64  0 r  y .  16 16 16 16 .  .  4 24  8 16 16 16 16  0 0 None
0x21b  0 sg  0  64  0    y .  16 16 16 16 .  .  4 24  8 16 16 16 16  0 0 None
0x21c  0 sg  0 128  0 r  . .  32 32 32 32 .  .  4 24  0 16 16 16 16  0 0 None
0x21d  0 sg  0 128  0    . .  32 32 32 32 .  .  4 24  0 16 16 16 16  0 0 None
0x21e  0 sg  0 128  0 r  y .  32 32 32 32 .  .  4 24  0 16 16 16 16  0 0 None
0x21f  0 sg  0 128  0    y .  32 32 32 32 .  .  4 24  0 16 16 16 16  0 0 None
0x220  0 sg  0 128  0 r  . .  32 32 32 32 .  .  4 24  8 16 16 16 16  0 0 None
0x221  0 sg  0 128  0    . .  32 32 32 32 .  .  4 24  8 16 16 16 16  0 0 None
0x222  0 sg  0 128  0 r  y .  32 32 32 32 .  .  4 24  8 16 16 16 16  0 0 None
0x223  0 sg  0 128  0    y .  32 32 32 32 .  .  4 24  8 16 16 16 16  0 0 None
0x224  0 sg  0  16  0 r  . .  16  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x225  0 sg  0  16  0    . .  16  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x226  0 sg  0  16  0 r  y .  16  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x227  0 sg  0  16  0    y .  16  0  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x228  0 sg  0  64  0 r  . .  32 32  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x229  0 sg  0  64  0    . .  32 32  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x22a  0 sg  0  64  0 r  y .  32 32  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x22b  0 sg  0  64  0    y .  32 32  0  0 .  .  4  0  0 16 16 16 16  0 0 None
0x22c  0 sg  0  16  0 r  . .  16  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x22d  0 sg  0  16  0    . .  16  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x22e  0 sg  0  16  0 r  y .  16  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x22f  0 sg  0  16  0    y .  16  0  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x230  0 sg  0  16  0 r  . .  16  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x231  0 sg  0  16  0    . .  16  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x232  0 sg  0  16  0 r  y .  16  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x233  0 sg  0  16  0    y .  16  0  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x234  0 sg  0  64  0 r  . .  32 32  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x235  0 sg  0  64  0    . .  32 32  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x236  0 sg  0  64  0 r  y .  32 32  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x237  0 sg  0  64  0    y .  32 32  0  0 .  .  4 24  0 16 16 16 16  0 0 None
0x238  0 sg  0  64  0 r  . .  32 32  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x239  0 sg  0  64  0    . .  32 32  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x23a  0 sg  0  64  0 r  y .  32 32  0  0 .  .  4 24  8 16 16 16 16  0 0 None
0x23b  0 sg  0  64  0    y .  32 32  0  0 .  .  4 24  8 16 16 16 16  0 0 None

entropy@symplex:~$ primusrun glxgears
281 frames in 5.0 seconds = 56.154 FPS
301 frames in 5.0 seconds = 60.004 FPS
301 frames in 5.0 seconds = 60.008 FPS
301 frames in 5.0 seconds = 60.006 FPS

Works!

You're welcome.


Note:  Black Screen, Xorg not Starting.


If the next time you reboot you get a black screen, or Xorg doesn't start and drops you shell, or the screen is flickering between the console and a black screen, then chances are the gpu-manager has created an /etc/X11/xorg.conf. Just enter the recovery mode in the GRUB menu, and delete (rm) the file.