1. bmbtest
  2. nvidia-installer 0.0.8
  3. --
  4. 2017-01-19 09:20
  5. --
  6. Upgrading Bmb-free system:
  7. ```
  8. ┌──[just]─[alexatp]:~$
  9. └─> sudo pacman -Syyuu
  10. :: Synchronizing package databases...
  11. antergos-staging 2.7 KiB 449K/s 00:00 [---------------------------------------] 100%
  12. antergos 139.5 KiB 1192K/s 00:00 [---------------------------------------] 100%
  13. core 123.4 KiB 1372K/s 00:00 [---------------------------------------] 100%
  14. extra 1724.7 KiB 2.87M/s 00:01 [---------------------------------------] 100%
  15. community 3.7 MiB 2.89M/s 00:01 [---------------------------------------] 100%
  16. multilib 186.2 KiB 3.03M/s 00:00 [---------------------------------------] 100%
  17. :: Starting full system upgrade...
  18. warning: webkit2gtk: ignoring package upgrade (2.14.2-2 => 2.14.3-1)
  19. resolving dependencies...
  20. looking for conflicting packages...
  21. Package (21) Old Version New Version Net Change Download Size
  22. community/clementine 1.3.1-5 1.3.1-6 0.02 MiB 5.09 MiB
  23. extra/imagemagick 6.9.7.3-1 6.9.7.4-1 0.01 MiB 2.19 MiB
  24. extra/jsoncpp 1.7.7-1 1.8.0-1 0.43 MiB 0.15 MiB
  25. multilib/lib32-libpsl 0.16.1-3 0.17.0-1 0.00 MiB 0.04 MiB
  26. multilib/lib32-libpulse 9.0-2 10.0-1 0.01 MiB 0.26 MiB
  27. extra/libcups 2.2.1-1 2.2.2-1 0.00 MiB 0.30 MiB
  28. extra/libpulse 9.0-1 10.0-1 0.01 MiB 0.35 MiB
  29. core/libtasn1 4.9-2 4.10-1 0.00 MiB 0.11 MiB
  30. extra/libxkbcommon 0.7.0-1 0.7.1-1 0.00 MiB 0.23 MiB
  31. extra/libxkbcommon-x11 0.7.0-1 0.7.1-1 0.00 MiB 0.02 MiB
  32. core/nfs-utils 1.3.4-1 2.1.1-1 0.08 MiB 0.26 MiB
  33. extra/noto-fonts 20161221-1 20170112-1 2.63 MiB 6.04 MiB
  34. antergos/pepper-flash 1:24.0.0.186-1 1:24.0.0.194-1 0.00 MiB 7.34 MiB
  35. extra/poppler 0.50.0-1 0.51.0-1 0.00 MiB 0.99 MiB
  36. extra/poppler-qt5 0.50.0-1 0.51.0-1 0.01 MiB 0.15 MiB
  37. extra/protobuf 3.0.2-3 3.1.0-1 0.19 MiB 1.31 MiB
  38. extra/pulseaudio 9.0-1 10.0-1 0.30 MiB 1.05 MiB
  39. extra/pulseaudio-bluetooth 9.0-1 10.0-1 0.00 MiB 0.05 MiB
  40. extra/pulseaudio-gconf 9.0-1 10.0-1 0.00 MiB 0.01 MiB
  41. extra/webkitgtk 2.4.11-3 2.4.11-4 0.00 MiB 9.57 MiB
  42. extra/xorg-mkfontdir 1.0.7-5 1.0.7-7 0.00 MiB 0.01 MiB
  43. Total Download Size: 35.52 MiB
  44. Total Installed Size: 136.93 MiB
  45. Net Upgrade Size: 3.70 MiB
  46. :: Proceed with installation? [Y/n]
  47. :: Retrieving packages...
  48. pepper-flash-1:24.0.0.194-1-x86_64 7.3 MiB 2.01M/s 00:04 [---------------------------------------] 20%
  49. libtasn1-4.10-1-x86_64 7.5 MiB 1954K/s 00:04 [---------------------------------------] 20%
  50. nfs-utils-2.1.1-1-x86_64 7.7 MiB 1920K/s 00:04 [---------------------------------------] 21%
  51. libpulse-10.0-1-x86_64 8.1 MiB 1934K/s 00:04 [---------------------------------------] 22%
  52. protobuf-3.1.0-1-x86_64 9.4 MiB 1931K/s 00:05 [---------------------------------------] 26%
  53. imagemagick-6.9.7.4-1-x86_64 11.6 MiB 2035K/s 00:06 [---------------------------------------] 32%
  54. jsoncpp-1.8.0-1-x86_64 11.7 MiB 2019K/s 00:06 [---------------------------------------] 32%
  55. libcups-2.2.2-1-x86_64 12.0 MiB 2024K/s 00:06 [---------------------------------------] 33%
  56. libxkbcommon-0.7.1-1-x86_64 12.3 MiB 1968K/s 00:06 [---------------------------------------] 34%
  57. libxkbcommon-x11-0.7.1-1-x86_64 12.3 MiB 1963K/s 00:06 [---------------------------------------] 34%
  58. noto-fonts-20170112-1-any 18.3 MiB 2.19M/s 00:08 [---------------------------------------] 51%
  59. poppler-0.51.0-1-x86_64 19.3 MiB 2.21M/s 00:09 [---------------------------------------] 54%
  60. poppler-qt5-0.51.0-1-x86_64 19.4 MiB 2.21M/s 00:09 [---------------------------------------] 54%
  61. pulseaudio-10.0-1-x86_64 20.5 MiB 2.22M/s 00:09 [---------------------------------------] 57%
  62. pulseaudio-bluetooth-10.0-1-x86_64 20.5 MiB 2.22M/s 00:09 [---------------------------------------] 57%
  63. pulseaudio-gconf-10.0-1-x86_64 20.6 MiB 2.21M/s 00:09 [---------------------------------------] 57%
  64. webkitgtk-2.4.11-4-x86_64 30.1 MiB 2.35M/s 00:13 [---------------------------------------] 84%
  65. xorg-mkfontdir-1.0.7-7-any 30.1 MiB 2.34M/s 00:13 [---------------------------------------] 84%
  66. clementine-1.3.1-6-x86_64 35.2 MiB 2.39M/s 00:15 [---------------------------------------] 99%
  67. lib32-libpsl-0.17.0-1-x86_64 35.3 MiB 2.39M/s 00:15 [---------------------------------------] 99%
  68. lib32-libpulse-10.0-1-x86_64 35.5 MiB 2.39M/s 00:15 [---------------------------------------] 100%
  69. (21/21) checking keys in keyring [---------------------------------------] 100%
  70. (21/21) checking package integrity [---------------------------------------] 100%
  71. (21/21) loading package files [---------------------------------------] 100%
  72. (21/21) checking for file conflicts [---------------------------------------] 100%
  73. (21/21) checking available disk space [---------------------------------------] 100%
  74. :: Processing package changes...
  75. ( 1/21) upgrading libpulse [---------------------------------------] 100%
  76. ( 2/21) upgrading protobuf [---------------------------------------] 100%
  77. ( 3/21) upgrading libtasn1 [---------------------------------------] 100%
  78. ( 4/21) upgrading clementine [---------------------------------------] 100%
  79. ( 5/21) upgrading imagemagick [---------------------------------------] 100%
  80. ( 6/21) upgrading jsoncpp [---------------------------------------] 100%
  81. New optional dependencies for jsoncpp
  82. jsoncpp-doc: documentation
  83. ( 7/21) upgrading lib32-libpsl [---------------------------------------] 100%
  84. ( 8/21) upgrading lib32-libpulse [---------------------------------------] 100%
  85. ( 9/21) upgrading libcups [---------------------------------------] 100%
  86. (10/21) upgrading libxkbcommon [---------------------------------------] 100%
  87. (11/21) upgrading libxkbcommon-x11 [---------------------------------------] 100%
  88. (12/21) upgrading nfs-utils [---------------------------------------] 100%
  89. ==> Configuration file has been changed again.
  90. ==> All the daemon configurations now go through
  91. ==> one file, /etc/nfs.conf. See nfs.conf(5).
  92. (13/21) upgrading noto-fonts [---------------------------------------] 100%
  93. (14/21) upgrading pepper-flash [---------------------------------------] 100%
  94. (15/21) upgrading poppler [---------------------------------------] 100%
  95. (16/21) upgrading poppler-qt5 [---------------------------------------] 100%
  96. (17/21) upgrading pulseaudio [---------------------------------------] 100%
  97. (18/21) upgrading pulseaudio-bluetooth [---------------------------------------] 100%
  98. (19/21) upgrading pulseaudio-gconf [---------------------------------------] 100%
  99. (20/21) upgrading webkitgtk [---------------------------------------] 100%
  100. > WARNING: WebKitGTK+ 2.4 is known to have many security vulnerabilities that
  101. will NOT be fixed. Avoid browsing with it.
  102. (21/21) upgrading xorg-mkfontdir [---------------------------------------] 100%
  103. :: Running post-transaction hooks...
  104. (1/6) Updating fontconfig cache...
  105. (2/6) Updating icon theme caches...
  106. (3/6) Updating 32-bit fontconfig cache...
  107. (4/6) Updating the info directory file...
  108. (5/6) Updating the desktop file MIME type cache...
  109. (6/6) Updating X fontdir indices...
  110. ┌──[just]─[alexatp]:~$
  111. └─>
  112. ```
  113. Backing up Bmb-free system, in preparation for tests:
  114. ```
  115. ┌──[just]─[alexrse]:~$
  116. └─> sudo ionice fsarchiver savefs -v -j8 -z7 /1st/bak/alexboss-20170119-1000-sda7only-atp-antetest171-bmbtest-rdy4test-updmore /dev/sda7 && sync
  117. Analysing filesystem on /dev/sda7...
  118. ...
  119. -[00][ 99%][DIR ] /srv/ftp
  120. -[00][100%][DIR ] /srv/http
  121. Statistics for filesystem 0
  122. * files successfully processed:....regfiles=234995, directories=15075, symlinks=42074, hardlinks=2507, specials=4
  123. * files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
  124. ┌──[just]─[alexrse]:~$
  125. └─>
  126. ```
  127. Installing nvidia-installer-0.0.8-1:
  128. ```
  129. ──[just]─[alexatp]:~$
  130. └─> sudo pacman -Syyuu nvidia-installer
  131. :: Synchronizing package databases...
  132. antergos-staging 2.7 KiB 385K/s 00:00 [--------------] 100%
  133. antergos 139.5 KiB 2.13M/s 00:00 [--------------] 100%
  134. core 123.4 KiB 744K/s 00:00 [--------------] 100%
  135. extra 1724.7 KiB 3.20M/s 00:01 [--------------] 100%
  136. community 3.7 MiB 2.78M/s 00:01 [--------------] 100%
  137. multilib 186.2 KiB 2.71M/s 00:00 [--------------] 100%
  138. :: Starting full system upgrade...
  139. warning: webkit2gtk: ignoring package upgrade (2.14.2-2 => 2.14.3-1)
  140. resolving dependencies...
  141. looking for conflicting packages...
  142. warning: insufficient columns available for table display
  143. Packages (1) nvidia-installer-0.0.8-1
  144. Total Download Size: 0.01 MiB
  145. Total Installed Size: 0.04 MiB
  146. :: Proceed with installation? [Y/n] Y
  147. :: Retrieving packages...
  148. nvidia-installer-0.... 7.3 KiB 2.38M/s 00:00 [--------------] 100%
  149. (1/1) checking keys in keyring [--------------] 100%
  150. (1/1) checking package integrity [--------------] 100%
  151. (1/1) loading package files [--------------] 100%
  152. (1/1) checking for file conflicts [--------------] 100%
  153. (1/1) checking available disk space [--------------] 100%
  154. :: Processing package changes...
  155. (1/1) installing nvidia-installer [--------------] 100%
  156. ┌──[just]─[alexatp]:~$
  157. └─>
  158. ```
  159. What Bmb pkgs nvidia-installer will install?
  160. ```
  161. ┌──[just]─[alexatp]:~$
  162. └─> sudo nvidia-installer --test --bumblebee
  163. 2017-01-19 09:52:09 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
  164. 2017-01-19 09:52:09 [INFO]: Running the installer in testing mode...
  165. 2017-01-19 09:52:09 [INFO]: Installing bumblebee driver...
  166. 2017-01-19 09:52:09 [INFO]: Removing conflicting packages...
  167. 2017-01-19 09:52:09 [INFO]: pacman -Rs --noconfirm --noprogressbar --nodeps --nodeps xf86-video-nouveau
  168. 2017-01-19 09:52:09 [INFO]: Downloading and installing driver packages, please wait...
  169. 2017-01-19 09:52:09 [INFO]: pacman -Sqy --noconfirm --noprogressbar bumblebee mesa xf86-video-intel nvidia virtualgl nvidia-settings bbswitch lib32-nvidia-utils lib32-virtualgl lib32-mesa-libgl
  170. 2017-01-19 09:52:09 [INFO]: Adding user just to bumblebee group...
  171. 2017-01-19 09:52:09 [INFO]: gpasswd -a just bumblebee
  172. 2017-01-19 09:52:09 [INFO]: Adding user just to video group...
  173. 2017-01-19 09:52:09 [INFO]: gpasswd -a just video
  174. 2017-01-19 09:52:09 [INFO]: Installation finished. Nothing has been modified as testing mode was ON.
  175. ┌──[just]─[alexatp]:~$
  176. └─>
  177. ```
  178. Is any of them already present in the system?
  179. ```
  180. ┌──[just]─[alexatp]:~$
  181. └─> pacman -Q bumblebee mesa xf86-video-intel nvidia virtualgl nvidia-settings bbswitch lib32-nvidia-utils lib32-virtualgl lib32-mesa-libgl
  182. error: package 'bumblebee' was not found
  183. mesa 13.0.3-1 <--OK, by default
  184. xf86-video-intel 1:2.99.917+747+g028c946d-1 <--OK, by default
  185. error: package 'nvidia' was not found
  186. error: package 'virtualgl' was not found
  187. error: package 'nvidia-settings' was not found
  188. error: package 'bbswitch' was not found
  189. error: package 'lib32-nvidia-utils' was not found
  190. error: package 'lib32-virtualgl' was not found
  191. lib32-mesa-libgl 13.0.3-1 <--OK, for Steam
  192. ┌──[just]─[alexatp]:~$
  193. └─>
  194. ```
  195. Are there my packages already installed?
  196. ```
  197. ┌──[just]─[alexatp]:~$
  198. └─> pacman -Q bbswitch bumblebee mesa nvidia nvidia-settings lib32-mesa-libgl lib32-nvidia-utils lib32-virtualgl xf86-video-intel
  199. error: package 'bbswitch' was not found
  200. error: package 'bumblebee' was not found
  201. mesa 13.0.3-1 <--OK, by default
  202. error: package 'nvidia' was not found
  203. error: package 'nvidia-settings' was not found
  204. lib32-mesa-libgl 13.0.3-1 <--OK, for Steam
  205. error: package 'lib32-nvidia-utils' was not found
  206. error: package 'lib32-virtualgl' was not found
  207. xf86-video-intel 1:2.99.917+747+g028c946d-1 <--OK, by default
  208. ┌──[just]─[alexatp]:~$
  209. └─>
  210. ```
  211. 2017-01-19 10:00
  212. --
  213. The system is completely Bmb-free for now. Ready for test.
  214. Installing Bmb:
  215. ```
  216. ┌──[just]─[alexatp]:~$
  217. └─> sudo nvidia-installer --bumblebee
  218. 2017-01-19 10:01:39 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
  219. 2017-01-19 10:01:39 [INFO]: Installing bumblebee driver...
  220. 2017-01-19 10:01:39 [INFO]: Removing conflicting packages...
  221. 2017-01-19 10:01:39 [INFO]: Downloading and installing driver packages, please wait...
  222. 2017-01-19 10:02:24 [INFO]: Adding user just to bumblebee group...
  223. 2017-01-19 10:02:24 [INFO]: gpasswd -a just bumblebee
  224. 2017-01-19 10:02:24 [INFO]: Adding user just to video group...
  225. 2017-01-19 10:02:24 [INFO]: gpasswd -a just video
  226. 2017-01-19 10:02:24 [INFO]: Enabling bumblebeed.service service...
  227. 2017-01-19 10:02:24 [INFO]: systemctl enable bumblebeed.service
  228. 2017-01-19 10:02:24 [INFO]: Patching /usr/share/applications/nvidia-settings.desktop...
  229. 2017-01-19 10:02:24 [INFO]: Installation finished. You need to reboot now!
  230. ┌──[just]─[alexatp]:~$
  231. └─>
  232. ```
  233. The most clean, full, successfull installation. Even nvidia-settings.desktop apparently is patched without errors now.
  234. Cheking nvidia-settings.desktop for correct Exec= command:
  235. ```
  236. ┌──[just]─[alexatp]:~$
  237. └─> sudo cat /usr/share/applications/nvidia-settings.desktop | grep Exec=
  238. Exec=optirun -b none /usr/bin/nvidia-settings -c :8
  239. ┌──[just]─[alexatp]:~$
  240. └─>
  241. ```
  242. OK, nvidia-settings.desktop has the correct Exec= command.
  243. Reboot.
  244. High-level, simple Bmb tests.
  245. 1. NVIDIA X Server Settings
  246. Running **NVIDIA X Server Settings** from Kde menu. It should start without errors.
  247. Yes, it starts without errors and displays Nvidia configuration window. It means that Bmb is fully functional. Other tests are redundant, but I still will run them.
  248. 2. 1. What pkgs are installed?
  249. Are all Bmb pkgs installed? Those listed in the Bumblebee article on Antergos Wiki?
  250. ```
  251. ┌──[just]─[alexatp]:~$
  252. └─> pacman -Q bbswitch bumblebee mesa nvidia nvidia-settings lib32-mesa-libgl lib32-nvidia-utils lib32-virtualgl xf86-video-intel
  253. bbswitch 0.8-55
  254. bumblebee 3.2.1-12
  255. mesa 13.0.3-1
  256. nvidia 375.26-1
  257. nvidia-settings 375.26-1
  258. lib32-mesa-libgl 13.0.3-1
  259. lib32-nvidia-utils 375.26-2
  260. lib32-virtualgl 2.5.1-1
  261. xf86-video-intel 1:2.99.917+747+g028c946d-1
  262. ┌──[just]─[alexatp]:~$
  263. └─>
  264. ```
  265. Yes, everything needed is present. Good.
  266. 3. Has nouveau been removed?
  267. ```
  268. ┌──[just]─[alexatp]:~$
  269. └─> pacman -Q xf86-video-nouveau
  270. error: package 'xf86-video-nouveau' was not found
  271. ┌──[just]─[alexatp]:~$
  272. └─>
  273. ```
  274. Nouveau is removed. Very good.
  275. 4. What are my groups?
  276. ```
  277. ┌──[just]─[alexatp]:~$
  278. └─> whoami
  279. just
  280. ┌──[just]─[alexatp]:~$
  281. └─> groups $USER
  282. wheel video autologin bumblebee users
  283. ┌──[just]─[alexatp]:~$
  284. └─>
  285. ```
  286. I'm in bumblebee and video now. Good.
  287. 5. What is bumblebeed status?
  288. ```
  289. ┌──[just]─[alexatp]:~$
  290. └─> systemctl status bumblebeed
  291. ● bumblebeed.service - Bumblebee C Daemon
  292. Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
  293. Active: active (running) since Thu 2017-01-19 10:08:00 MSK; 10min ago
  294. Main PID: 467 (bumblebeed)
  295. Tasks: 1 (limit: 4915)
  296. CGroup: /system.slice/bumblebeed.service
  297. └─467 /usr/bin/bumblebeed
  298. Jan 19 10:08:00 alexatp.net systemd[1]: Started Bumblebee C Daemon.
  299. Jan 19 10:08:04 alexatp.net bumblebeed[467]: [ 18.964682] [INFO]/usr/bin/bumblebeed 3.2.1 started
  300. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383709] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) i
  301. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383724] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) i
  302. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383732] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socke
  303. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383737] [WARN][XORG] (WW) Warning, couldn't open module mouse
  304. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383746] [WARN][XORG] (WW) NVIDIA(0): Unable to get display devic
  305. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383752] [WARN][XORG] (WW) Warning, couldn't open module mouse
  306. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383759] [ERROR][XORG] (EE) PreInit returned 2 for "<default poin
  307. Jan 19 10:10:16 alexatp.net bumblebeed[467]: [ 151.383764] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyb
  308. ┌──[just]─[alexatp]:~$
  309. └─>
  310. ```
  311. The bumblebee service is:
  312. - loaded
  313. - enabled
  314. - active
  315. - running
  316. Good.
  317. 6. What is optirun status?
  318. Nvidia must be OFF on first optirun's run in the session:
  319. ```
  320. ┌──[just]─[alexatp]:~$
  321. └─> optirun --status
  322. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  323. ┌──[just]─[alexatp]:~$
  324. └─>
  325. ```
  326. Nvidia is OFF. Good.
  327. 7. Graphics acceleration
  328. 7.a Running on Intel, standard FPS, no accel
  329. ```
  330. ┌──[just]─[alexatp]:~$
  331. └─> glxspheres64
  332. Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
  333. Visual ID of window: 0xa7
  334. Context is Direct
  335. OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile
  336. 60.596945 frames/sec - 67.626191 Mpixels/sec
  337. 59.792232 frames/sec - 66.728131 Mpixels/sec
  338. 59.776687 frames/sec - 66.710783 Mpixels/sec
  339. 59.818532 frames/sec - 66.757482 Mpixels/sec
  340. 59.786692 frames/sec - 66.721948 Mpixels/sec
  341. 59.791671 frames/sec - 66.727505 Mpixels/sec
  342. ^C
  343. ┌──[just]─[alexatp]:~$
  344. └─>
  345. ```
  346. 7.b Running on Nvidia, higher FPS, accelerated
  347. ```
  348. ┌──[just]─[alexatp]:~$
  349. └─> optirun -c jpeg glxspheres64
  350. Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
  351. Visual ID of window: 0x20
  352. Context is Direct
  353. OpenGL Renderer: GeForce GT 555M/PCIe/SSE2
  354. 204.833542 frames/sec - 228.594233 Mpixels/sec
  355. 198.207884 frames/sec - 221.199999 Mpixels/sec
  356. 204.338402 frames/sec - 228.041657 Mpixels/sec
  357. 200.902143 frames/sec - 224.206791 Mpixels/sec
  358. 201.972697 frames/sec - 225.401529 Mpixels/sec
  359. 202.483779 frames/sec - 225.971898 Mpixels/sec
  360. 202.727638 frames/sec - 226.244044 Mpixels/sec
  361. ^C[ 1059.817046] [WARN]Received Interrupt signal.
  362. ┌──[just]─[alexatp]:~$
  363. └─>
  364. ```
  365. Acceleration is about 225 / 67 = 3.4x. Good.
  366. All high-level, simple tests are successfully passed. Good.
  367. Low-level, rigorous Bmb tests
  368. 1. Automatic power saving feature (automatic bbswitch)
  369. Nvidia must be OFF after multiple optiruns. Is it OFF after the 3rd one?
  370. ```
  371. ┌──[just]─[alexatp]:~$
  372. └─> optirun --status
  373. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  374. ┌──[just]─[alexatp]:~$
  375. └─> optirun pwd
  376. /home/just
  377. ┌──[just]─[alexatp]:~$
  378. └─> optirun --status
  379. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  380. ┌──[just]─[alexatp]:~$
  381. └─>
  382. ```
  383. Yes, it's OFF. Good.
  384. 2. Manual bbswitch tweaking: forcing Nvidia ON
  385. ```
  386. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  387. └─> optirun --status
  388. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  389. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  390. └─> sudo cat /proc/acpi/bbswitch
  391. 0000:01:00.0 OFF
  392. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  393. └─>
  394. ```
  395. Low-level Nvidia interrogation returns the same result as the high-level optirun: Nvidia is OFF. Perfect.
  396. Forcing Nvidia ON by hand. There's no high-level analog for the command:
  397. ```
  398. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  399. └─> optirun --status
  400. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  401. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  402. └─> sudo tee /proc/acpi/bbswitch <<<ON
  403. ON
  404. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  405. └─> optirun --status
  406. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is on.
  407. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  408. └─> sudo cat /proc/acpi/bbswitch
  409. 0000:01:00.0 ON
  410. ┌──[just]─[alexatp]:/1st/tmp/bmbtest$
  411. └─>
  412. ```
  413. Nvidia is forced ON and remains in that state. Good.
  414. 3. Manual bbswitch tweaking: forcing Nvidia OFF
  415. ```
  416. ┌──[just]─[alexatp]:~$
  417. └─> sudo tee /proc/acpi/bbswitch <<<ON
  418. ON
  419. ┌──[just]─[alexatp]:~$
  420. └─> optirun --status
  421. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is on.
  422. ┌──[just]─[alexatp]:~$
  423. └─> sudo cat /proc/acpi/bbswitch
  424. 0000:01:00.0 ON
  425. ┌──[just]─[alexatp]:~$
  426. └─> sudo tee /proc/acpi/bbswitch <<<OFF
  427. OFF
  428. ┌──[just]─[alexatp]:~$
  429. └─> sudo cat /proc/acpi/bbswitch
  430. 0000:01:00.0 OFF
  431. ┌──[just]─[alexatp]:~$
  432. └─> optirun --status
  433. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  434. ┌──[just]─[alexatp]:~$
  435. └─>
  436. ```
  437. Nvidia is forced from ON to OFF by low-level, manual tweak. Both low- and high-level interrogations return OFF. Good.
  438. 4. Nvidia modules unload
  439. When optirun turns Nvidia ON, it loads three modules in the memory:
  440. - nvidia_drm
  441. - nvidia_modeset
  442. - nvidia
  443. When optirun exits, it must automatically unload them. So a manual attempt to unload them must fail. Is that true?
  444. ```
  445. ┌──[just]─[alexatp]:~$
  446. └─> optirun --status
  447. Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
  448. ┌──[just]─[alexatp]:~$
  449. └─> sudo rmmod nvidia_drm nvidia_modeset nvidia
  450. rmmod: ERROR: Module nvidia_drm is not currently loaded
  451. rmmod: ERROR: Module nvidia_modeset is not currently loaded
  452. rmmod: ERROR: Module nvidia is not currently loaded
  453. ┌──[just]─[alexatp]:~$
  454. └─>
  455. ```
  456. Yes, it's true. Nvidia is turned OFF, all its modules are unloaded. Good.
  457. All low-level, rigorous tests are successfully passed. Good.
  458. All tests are finished.
  459. Nvidia-installer-0.0.8 has passed all tests and checks, without any exclusion. For me, it is ready to be pushed into Production.
  460. Regards

Antergos nvidia-installer 0.0.8 full report.

All tests and checks are successfully passed.