Поэтому буду очень рад, если кто нибудь тоже попробует и отпишется на форуме. Пока только для ubuntu 14.04, но если будет все хорошо - сделаю для других релизов.
Ubuntu 14.04.2 LTS x64 Gnome ядро 3.16.0-43 wine 1.7 (не конфликтует с зависимостью opencl драйвера нвидии при реп-ии neon1ks)После установки, но перед перезагрузкой ноутбука если не сделать ниже команды получаю висяк системы (почему то при офф.реп-рии юбунты ... выход-рубильник off) думаю это связанно с тем что активен нуво :
sudo apt-get install --reinstall bbswitch-dkms
sudo /etc/init.d/bumblebeed restart... перезагрузка ...
Альтернативная проверка :
lspci -k| grep -EA2 'VGA|3D'00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: CLEVO/KAPOK Computer Device 5105
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 670MX] (rev ff)
glxinfo | grep OpenGL | head -3OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
optirun glxinfo | grep OpenGL | head -3OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 670MX/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 346.72
optirun glxinfo|grep renderdirect rendering: Yes
OpenGL renderer string: GeForce GTX 670MX/PCIe/SSE2
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
Таким образом, мы убедились, что программа запущенная с помощью команды optirun будет использовать проприетарный драйвер NVIDIA, а по умолчанию - intel.
Еще думаю стоит сразу прописать к команде установки пакет
mesa-utils или установить его позже
тест glxgears:
~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.354 FPS
299 frames in 5.0 seconds = 59.680 FPS
299 frames in 5.0 seconds = 59.679 FPS
299 frames in 5.0 seconds = 59.680 FPS
299 frames in 5.0 seconds = 59.681 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 4633 requests (4633 known processed) with 0 events remaining.
~$ optirun glxgears
11560 frames in 5.0 seconds = 2311.851 FPS
11626 frames in 5.0 seconds = 2325.185 FPS
11400 frames in 5.0 seconds = 2279.843 FPS
11689 frames in 5.0 seconds = 2337.690 FPS
11640 frames in 5.0 seconds = 2327.869 FPS
[VGL] ERROR: in readback--
[VGL] 256: Window has been deleted by window manager
~$ primusrun glxgears
292 frames in 5.0 seconds = 58.305 FPS
299 frames in 5.0 seconds = 59.679 FPS
299 frames in 5.0 seconds = 59.679 FPS
299 frames in 5.0 seconds = 59.681 FPS
299 frames in 5.0 seconds = 59.680 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 37 requests (37 known processed) with 0 events remaining.
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
~$ vblank_mode=0 primusrun glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
14716 frames in 5.0 seconds = 2943.165 FPS
15748 frames in 5.0 seconds = 3149.523 FPS
15749 frames in 5.0 seconds = 3149.640 FPS
15744 frames in 5.0 seconds = 3148.699 FPS
15770 frames in 5.0 seconds = 3153.897 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 37 requests (37 known processed) with 0 events remaining.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 154 (DRI2)
Minor opcode of failed request: 8 (DRI2SwapBuffers )
Resource id in failed request: 0x2a00002
Serial number of failed request: 158664
Current serial number in output stream: 158665
~$ vblank_mode=0 PRIMUS_SYNC=1 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
31118 frames in 5.0 seconds = 6223.592 FPS
31579 frames in 5.0 seconds = 6315.657 FPS
31544 frames in 5.0 seconds = 6308.721 FPS
31591 frames in 5.0 seconds = 6318.111 FPS
31620 frames in 5.0 seconds = 6323.990 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 320256 requests (320256 known processed) with 0 events remaining.
Unigine Heaven 4.0 (настройки basic) :
optirun -b primus Benchmark results:
Time: 260.586
Frames: 12059
FPS: 46.2765
Min FPS: 10.6118
Max FPS: 72.6891
Score: 1165.71
optirun -b virtualglBenchmark results:
Time: 260.617
Frames: 8855
FPS: 33.977
Min FPS: 16.9964
Max FPS: 54.1652
Score: 855.881
primusrun Benchmark results:
Time: 260.575
Frames: 12091
FPS: 46.4012
Min FPS: 19.456
Max FPS: 72.2897
Score: 1168.85
vblank_mode=0 PRIMUS_SYNC=1 optirun -b primusBenchmark results:
Time: 260.581
Frames: 12414
FPS: 47.6397
Min FPS: 19.2144
Max FPS: 87.3828
Score: 1200.04
В целом - работает. Конф-ные файлы не трогал. Дополнительно пакет virtualGL в реп-и neon1ks для проброски в вайн картинки . Вывод без тиринга

.