انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => سخت‌افزار => نویسنده: v.taghavi68 در 26 آبان 1392، 04:32 ب‌ظ

عنوان: کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 26 آبان 1392، 04:32 ب‌ظ
سلام دوستان
من لپ ناپ lenovo Z500 دارم که به دلیل داشتن ۲ کارت گرافیک (intel and geforce gt740M) برنامه bumblebee  رو نصب کردم برای نصبش از software center  استفاده کردم که خودش به همراه نصب bumblebee  درایور کارت گرافیک هم (nvidia-current)  با سایر ابزار های لازم مثل primus  نیز نصب کرد.البته چند باری هم از طریق خظ فرمان نصب کردم اما در هر ۲ حالت زمانی که دستور optirun glxgears یا optirun -b primus glxgears رو برای اجرای برنامه glxgears  میزنم این پیغام رو میده :
[ 1341.805569] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 1341.805598] [ERROR]Aborting because fallback start is disabled.
البته با glxgears اجرا میشه با گرافیک مجتمع اینتلم
خروجی دستور glxinfo | grep renderer همانطور که در زیر می بینید کارت گرافیک nvidia  رو نمیشناسه :
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
و خروجی دستور lspci | grep VGA این هم :
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)خروجی فایل bumblebee هم این هستش :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
خواهشا کمکم کنید چون واقعا نیازمندم که از کارت nvidia سیستمم استفاده کنم.ممنون
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 26 آبان 1392، 05:56 ب‌ظ
نقل‌قول
سلام دوستان
من لپ ناپ lenovo Z500 دارم که به دلیل داشتن ۲ کارت گرافیک (intel and geforce gt740M) برنامه bumblebee  رو نصب کردم برای نصبش از software center  استفاده کردم که خودش به همراه نصب bumblebee  درایور کارت گرافیک هم (nvidia-current)  با سایر ابزار های لازم مثل primus  نیز نصب کرد.البته چند باری هم از طریق خظ فرمان نصب کردم اما در هر ۲ حالت زمانی که دستور optirun glxgears یا optirun -b primus glxgears رو برای اجرای برنامه glxgears  میزنم این پیغام رو میده :
سلام.
مطمعنی لپتاپت گرافیک دوم nvidia داره؟ نه توی مشخصاتش (http://shop.lenovo.com/us/en/laptops/ideapad/z-series/z500-touch/#techspecs) نه توی خروجی lspci ـی که گذاشتی همچین چیزی دیده نمیشه.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 01:46 ب‌ظ
آره ساسان جون هم تو مشخصات سیستم تو دفترجه اش زده که از optimus پشتیبانی می کنه هم اینکه توی ویندوز این امکان رو دارم یکی integrated graphic intel HD 4000 و یکی هم NVidia GT740M که تو عکس زیر می بینی :
(http://vtaghavi68.persiangig.com/desktop.png)
توی ی سایت خوندم که باید دروایور nvidia-current  رو به nvidia-current-update ارتقا بدم و بعد فایل bumblebee.conf  رو ویرایش کنم و این درایور جدید رو مشخص کنم منم همین کارو کردم و الان فایل bumblebee.conf  به این شکل است :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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-current-updates
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

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

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
خروجی glxinfo | grep renderer :
Mesa DRI Intel(R) Ivybridge Mobileو خروجی lspci | grep VGA :
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

اما تو خروجی دستور sudo lshw -c display نگاه کنی کارت nvidia GT740 ام رو شناخته..!!!
*-display UNCLAIMED     
       description: 3D controller
       product: GK208M [GeForce GT 740M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128)
  *-display
       description: VGA compatible controller
       product: 3rd Gen Core processor Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:44 memory:d3000000-d33fffff memory:e0000000-efffffff ioport:4000(size=64)
و وقتی با دستور optirun -b primus glxgear برنامم رو اجرا می خوام بکنم اینو میده :
[ 1028.812911] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1028.812951] [ERROR]Could not connect to bumblebee daemon - is it running?
و با دستور primusrun glxgear :
2013/11/18 14:13:52 socat[3070] E connect(3, AF=1 "/var/run/bumblebee.socket", 27): No such file or directory
/usr/bin/primusrun: line 52: exec: glxgear: not found
اینم اطلاعات دقیق درایور نصبی با دستور dpkg -l | grep nvidia :
ii  bumblebee-nvidia                          3.2.1-1~raringppa5                     amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
rc  nvidia-304                                304.88-0ubuntu1                        amd64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-304-updates                        304.88-0ubuntu2                        amd64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-current-updates                    304.88-0ubuntu2                        amd64        Transitional package for nvidia-current-updates
rc  nvidia-settings                           304.51-0ubuntu2                        amd64        Tool for configuring the NVIDIA graphics driver
rc  nvidia-settings-304                       304.88-0ubuntu1                        amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-304-updates               304.88-0ubuntu1                        amd64        Tool for configuring the NVIDIA graphics driver
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 03:21 ب‌ظ
مشکل لود نشدن ماژول bumblebee هست.
اگر می‌تونی هربسته‌ای رو که تاحالا نصب کردی رو پاک کن و این راهنما رو به دقت انجام بده:  نصب و راه‌اندازی Bumblebee، معادل لینوکسی Nvidia Optimus (http://azadrah.net/2012/04/install-and-use-bumblebee-nvidia-optimus-linux-equivalent/)
مطعن شو فایل xorg.conf نداشته باشی.
نسخه اوبونتوت چنده؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 03:57 ب‌ظ
ساسان جان منظورت از هر بسته ای چیه؟ هر بسته ای که مربوط به bumblebee هستش رو پاک کنم یا هر بسته ای که نصب کردم رو اوبونتو؟ چون ی جایی خونده بودم که طرف تنها  موقعی که اوبونتو رو نصب کرده بلافاصله بدونه اینکه آپدیت کنه یا چیزی نصب کنه تونسته بوده bumblebee رو نصب کنه.نسخه اوبونتوم هم 13.04 هستش منتهی نسخه customiz خودم هستش که دارای تمام بسته ها و برنامه های مورد نیازم هستش که با برنامه remastersys درستش کردم..!!!
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 04:53 ب‌ظ
نقل‌قول
ساسان جان منظورت از هر بسته ای چیه؟ هر بسته ای که مربوط به bumblebee هستش رو پاک کنم یا هر بسته ای که نصب کردم رو اوبونتو؟ چون ی جایی خونده بودم که طرف تنها  موقعی که اوبونتو رو نصب کرده بلافاصله بدونه اینکه آپدیت کنه یا چیزی نصب کنه تونسته بوده bumblebee رو نصب کنه.نسخه اوبونتوم هم 13.04 هستش منتهی نسخه customiz خودم هستش که دارای تمام بسته ها و برنامه های مورد نیازم هستش که با برنامه remastersys درستش کردم..!!!
می‌تونی لینک راهنمایی که Bumblebee رو نصب کردی بم بدی؟ در ضمن چندماه بیشتر به پایان پشتیبانی ۱۳.۰۴ نمونده‌ها.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 05:20 ب‌ظ
آره میدونم باید برم رو 13.10 بعدش من از هر روشی تو اینترنت بود از جمله همین آزادراه رفتم . ولی آخرین روش یعنی روشی که در حال حاضر باهاش bumblebee رو نصب کردم اینجوری بود که اول با دستورات :
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
repositoryش رو اضافه کردم بعد از طریق software center  برنامه  Nvidia Optimus Support  رو نصب کردم که با نصبش بقیه بسته های primus , bbswitch  و حتی درایور NVidia-current  هم نصب شد هرچند که خودم به NVidia-current-update ارتقاش دادم.یک لینکی هم هست که روش نصب به همین شکل رو منتهی با درایور NVidia-325  توضیح داده ولی موقع دانلودش میرنه این درایور available نیست .اوبونتو این بابا 12.04 LTS هستش میتونه بخاظر اینکه lts  هست و هنوز پشتیبانی میشه این باشه  که تونسته این درایور رو نصب کنه یا ربطی نداره ؟لینکش این هستش :
http://forum.ubuntu.ir/index.php?topic=52367.0

عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 05:34 ب‌ظ
نقل‌قول
repositoryش رو اضافه کردم بعد از طریق software center  برنامه  Nvidia Optimus Support  رو نصب کردم که با نصبش بقیه بسته های primus , bbswitch  و حتی درایور NVidia-current  هم نصب شد هرچند که خودم به NVidia-current-update ارتقاش دادم.
هدرهای کرنل و virtualgl رو هم نصب کردی؟
sudo apt-get install linux-headers-generic virtualgl
نقل‌قول
یک لینکی هم هست که روش نصب به همین شکل رو منتهی با درایور NVidia-325  توضیح داده ولی موقع دانلودش میرنه این درایور available نیست .اوبونتو این بابا 12.04 LTS هستش میتونه بخاظر اینکه lts  هست و هنوز پشتیبانی میشه این باشه  که تونسته این درایور رو نصب کنه یا ربطی نداره ؟لینکش این هستش :
http://forum.ubuntu.ir/index.php?topic=52367.0 (http://forum.ubuntu.ir/index.php?topic=52367.0)
فعلا نگران نسخه درایور Nvidia نباش. bumblebee که راه افتاد یادت میدم درایور ۳۳۱ رو نصب کنی.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 05:49 ب‌ظ
آره هر جفتش نصبه..
این لینک زیر رو نگاه کن در همین مورده ببین چیزی دستگیرت میشه من خیلی خوب متوجه نشدم که چی کار کرده
http://askubuntu.com/questions/211998/how-to-fix-the-bumblebee-daemon-has-not-been-started-yet-or-the-socket-path-was
در ضمن من kernel 3.8 رو نصب کردم این نمیتونه مشکل ساز باشه چون اکثر کسایی که موفق شدن نصب کنند kernel 3.5  رو داشتن..!!!
بخدا بدجور درگیرت مرامت شدم.واقعا ممنونتم
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: mojtabazn در 27 آبان 1392، 06:45 ب‌ظ
سلام دوست من طبق این صفحه گفته شما باید اینطوری نصب کنید برای 12.04 و 13.04
https://wiki.ubuntu.com/Bumblebee
If on 12.04.3, replace linux-headers-generic with linux-headers-generic-lts-raring.

sudo add-apt-repository ppa:bumblebee/stable

Enable the Universe and Multiverse repositories (for bumblebee and nvidia packages respectively).
sudo apt-get update

Install Bumblebee using the default proprietary nvidia driver for 12.04 - 13.04 :
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
خط اول چون 13.04 دارید برای  شما نیست
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 06:58 ب‌ظ
نقل‌قول
آره هر جفتش نصبه..
این لینک زیر رو نگاه کن در همین مورده ببین چیزی دستگیرت میشه من خیلی خوب متوجه نشدم که چی کار کرده
http://askubuntu.com/questions/211998/how-to-fix-the-bumblebee-daemon-has-not-been-started-yet-or-the-socket-path-was
کل ماجرا ساده است. برای اجرای bumblebee ماژول مربوطه‌اش باید بر اساس header ها کرنلت build و بعد لود بشه.
نقل‌قول
در ضمن من kernel 3.8 رو نصب کردم این نمیتونه مشکل ساز باشه چون اکثر کسایی که موفق شدن نصب کنند kernel 3.5  رو داشتن..!!!
بخدا بدجور درگیرت مرامت شدم.واقعا ممنونتم
دستور زیر رو بزن و وقتی تمام شد ریست کن:
sudo apt-get install --reinstall bumblebee nvidia-currentاگر بعد ریبوت همچنان مشکل داشتی، خروجی فایل و دستورات زیر رو برام بزار:
dmesg
dpkg -l | grep '^ii' | grep nvidia
/etc/bumblebee/bumblebee.conf
sudo /usr/sbin/bumblebeed -vv --driver nvidia
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 07:00 ب‌ظ
ممنون داش مجتبی اما من همین جور که گفته هم نصب کردم. فکر می کنم .ورژن درایورم با نسخه کرنلم سازگار نیست مثلا ورژن های nvidia-325  و nvidia-331  با کرنل نسخه kernel 3.12 سازگار است و من کرنل ۳.۱۲ آپگرید کردم شاید همین مشکل ایجاد کرده
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 07:07 ب‌ظ
نقل‌قول
ممنون داش مجتبی اما من همین جور که گفته هم نصب کردم. فکر می کنم .ورژن درایورم با نسخه کرنلم سازگار نیست مثلا ورژن های nvidia-325  و nvidia-331  با کرنل نسخه kernel 3.12 سازگار است و من کرنل ۳.۱۲ آپگرید کردم شاید همین مشکل ایجاد کرده
الان کرنل چند رو داری؟ ۳.۸ یا ۳.۱۲ ؟ از هرجا کرنل رو نصب کردی، بسته‌های هدر مربوطه‌اش رو هم باید نصب کنی.
uname -a
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 07:17 ب‌ظ
بازم نشد
خروجی دستور dmesg :
s)
[    0.414811] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.414940] TCP: Hash tables configured (established 65536 bind 65536)
[    0.414956] TCP: reno registered
[    0.414968] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.414994] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.415056] NET: Registered protocol family 1
[    0.415067] pci 0000:00:02.0: Boot video device
[    2.013335] pci 0000:00:1a.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    3.610957] pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    3.611133] PCI: CLS 64 bytes, default 64
[    3.611174] Trying to unpack rootfs image as initramfs...
[    4.156487] Freeing initrd memory: 31660k freed
[    4.160663] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    4.160668] software IO TLB [mem 0xb637b000-0xba37b000] (64MB) mapped at [ffff8800b637b000-ffff8800ba37afff]
[    4.160726] Simple Boot Flag at 0x44 set to 0x1
[    4.161173] Initialise module verification
[    4.161213] audit: initializing netlink socket (disabled)
[    4.161224] type=2000 audit(1384801526.136:1): initialized
[    4.190984] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    4.192236] VFS: Disk quotas dquot_6.5.2
[    4.192270] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    4.192648] fuse init (API version 7.20)
[    4.192707] msgmni has been set to 11657
[    4.193096] Key type asymmetric registered
[    4.193100] Asymmetric key parser 'x509' registered
[    4.193142] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    4.193168] io scheduler noop registered
[    4.193170] io scheduler deadline registered (default)
[    4.193178] io scheduler cfq registered
[    4.193272] pcieport 0000:00:01.0: irq 40 for MSI/MSI-X
[    4.193401] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    4.193413] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    4.193445] intel_idle: MWAIT substates: 0x21120
[    4.193446] intel_idle: v0.4 model 0x3A
[    4.193447] intel_idle: lapic_timer_reliable_states 0xffffffff
[    4.193537] ACPI: AC Adapter [ACAD] (on-line)
[    4.193631] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input0
[    4.193636] ACPI: Power Button [PWRB]
[    4.193671] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[    4.193692] ACPI: Lid Switch [LID0]
[    4.193719] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    4.193721] ACPI: Power Button [PWRF]
[    4.193788] ACPI: Requesting acpi_cpufreq
[    4.285083] thermal LNXTHERM:00: registered as thermal_zone0
[    4.285086] ACPI: Thermal Zone [TZ00] (61 C)
[    4.285114] GHES: HEST is not enabled!
[    4.285191] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    4.330037] ACPI: Battery Slot [BAT1] (battery present)
[    4.330124] Linux agpgart interface v0.103
[    4.331144] brd: module loaded
[    4.331662] loop: module loaded
[    4.331910] libphy: Fixed MDIO Bus: probed
[    4.331957] tun: Universal TUN/TAP device driver, 1.6
[    4.331958] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    4.331990] PPP generic driver version 2.4.2
[    4.332026] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.332027] ehci-pci: EHCI PCI platform driver
[    4.332065] ehci-pci 0000:00:1a.0: setting latency timer to 64
[    4.332069] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    4.332074] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    4.332088] ehci-pci 0000:00:1a.0: debug port 2
[    4.335981] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    4.335996] ehci-pci 0000:00:1a.0: irq 16, io mem 0xd3619000
[    4.345865] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    4.345896] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.345898] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.345900] usb usb1: Product: EHCI Host Controller
[    4.345902] usb usb1: Manufacturer: Linux 3.8.0-33-generic ehci_hcd
[    4.345903] usb usb1: SerialNumber: 0000:00:1a.0
[    4.345986] hub 1-0:1.0: USB hub found
[    4.345989] hub 1-0:1.0: 2 ports detected
[    4.346072] ehci-pci 0000:00:1d.0: setting latency timer to 64
[    4.346076] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    4.346080] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    4.346092] ehci-pci 0000:00:1d.0: debug port 2
[    4.349967] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    4.349982] ehci-pci 0000:00:1d.0: irq 23, io mem 0xd3618000
[    4.361857] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    4.361869] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.361870] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.361872] usb usb2: Product: EHCI Host Controller
[    4.361874] usb usb2: Manufacturer: Linux 3.8.0-33-generic ehci_hcd
[    4.361875] usb usb2: SerialNumber: 0000:00:1d.0
[    4.361947] hub 2-0:1.0: USB hub found
[    4.361950] hub 2-0:1.0: 2 ports detected
[    4.362012] ehci-platform: EHCI generic platform driver
[    4.362017] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.362028] uhci_hcd: USB Universal Host Controller Interface driver
[    4.362067] xhci_hcd 0000:00:14.0: setting latency timer to 64
[    4.362071] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.362076] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[    4.362167] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    4.362209] xhci_hcd 0000:00:14.0: irq 41 for MSI/MSI-X
[    4.362254] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    4.362256] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.362258] usb usb3: Product: xHCI Host Controller
[    4.362259] usb usb3: Manufacturer: Linux 3.8.0-33-generic xhci_hcd
[    4.362261] usb usb3: SerialNumber: 0000:00:14.0
[    4.362314] xHCI xhci_add_endpoint called for root hub
[    4.362316] xHCI xhci_check_bandwidth called for root hub
[    4.362332] hub 3-0:1.0: USB hub found
[    4.362339] hub 3-0:1.0: 4 ports detected
[    4.362611] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.362615] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[    4.362634] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    4.362636] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.362637] usb usb4: Product: xHCI Host Controller
[    4.362639] usb usb4: Manufacturer: Linux 3.8.0-33-generic xhci_hcd
[    4.362640] usb usb4: SerialNumber: 0000:00:14.0
[    4.362690] xHCI xhci_add_endpoint called for root hub
[    4.362692] xHCI xhci_check_bandwidth called for root hub
[    4.362706] hub 4-0:1.0: USB hub found
[    4.362713] hub 4-0:1.0: 4 ports detected
[    4.363047] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:MSS3] at 0x60,0x64 irq 1,12
[    4.375653] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.375658] serio: i8042 AUX port at 0x60,0x64 irq 12
[    4.375758] mousedev: PS/2 mouse device common for all mice
[    4.375948] rtc_cmos 00:05: RTC can wake from S4
[    4.376064] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[    4.376093] rtc0: alarms up to one month, 242 bytes nvram, hpet irqs
[    4.376158] device-mapper: uevent: version 1.0.3
[    4.376207] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
[    4.376325] cpuidle: using governor ladder
[    4.376487] cpuidle: using governor menu
[    4.376491] ledtrig-cpu: registered to indicate activity on CPUs
[    4.376492] EFI Variables Facility v0.08 2004-May-17
[    4.376631] ashmem: initialized
[    4.376736] TCP: cubic registered
[    4.376805] NET: Registered protocol family 10
[    4.376950] NET: Registered protocol family 17
[    4.376957] Key type dns_resolver registered
[    4.377187] Loading module verification certificates
[    4.378112] MODSIGN: Loaded cert 'Magrathea: Glacier signing key: a8fef96353dd8a5250887ac531aa43944cf1e333'
[    4.378120] registered taskstats version 1
[    4.380171] Key type trusted registered
[    4.382204] Key type encrypted registered
[    4.384626] rtc_cmos 00:05: setting system clock to 2013-11-18 19:05:27 UTC (1384801527)
[    4.385810] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    4.385812] EDD information not available.
[    4.386971] Freeing unused kernel memory: 996k freed
[    4.387062] Write protecting the kernel read-only data: 12288k
[    4.388905] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    4.390786] Freeing unused kernel memory: 1164k freed
[    4.392963] Freeing unused kernel memory: 1076k freed
[    4.406013] udevd[130]: starting version 175
[    4.429185] [drm] Initialized drm 1.1.0 20060810
[    4.429216] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.429440] r8169 0000:02:00.0: irq 42 for MSI/MSI-X
[    4.429594] r8169 0000:02:00.0 eth0: RTL8105e at 0xffffc90000c68000, 20:1a:06:23:15:0e, XID 00c00000 IRQ 42
[    4.430815] Disabling lock debugging due to kernel taint
[    4.431476] ahci 0000:00:1f.2: version 3.0
[    4.431534] ahci 0000:00:1f.2: irq 43 for MSI/MSI-X
[    4.445784] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x6 impl SATA mode
[    4.445789] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
[    4.445794] ahci 0000:00:1f.2: setting latency timer to 64
[    4.454102] scsi0 : ahci
[    4.454163] scsi1 : ahci
[    4.454214] scsi2 : ahci
[    4.454257] scsi3 : ahci
[    4.454301] scsi4 : ahci
[    4.454340] scsi5 : ahci
[    4.454365] ata1: DUMMY
[    4.454369] ata2: SATA max UDMA/133 abar m2048@0xd3617000 port 0xd3617180 irq 43
[    4.454371] ata3: SATA max UDMA/133 abar m2048@0xd3617000 port 0xd3617200 irq 43
[    4.454372] ata4: DUMMY
[    4.454373] ata5: DUMMY
[    4.454374] ata6: DUMMY
[    4.454871] [drm] Memory usable by graphics device = 2048M
[    4.454875] i915 0000:00:02.0: setting latency timer to 64
[    4.484513] i915 0000:00:02.0: irq 44 for MSI/MSI-X
[    4.484519] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    4.484520] [drm] Driver supports precise vblank timestamp query.
[    4.484584] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    4.657440] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    4.700797] fbcon: inteldrmfb (fb0) is primary device
[    4.773315] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    4.774805] ata3.00: ATAPI: PLDS    DVD-RW DU8A5SH, NL61, max UDMA/100
[    4.775701] ata3.00: configured for UDMA/100
[    4.781303] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.787730] ata2.00: ATA-8: ST1000LM024 HN-M101MBB, 2AR20002, max UDMA/100
[    4.787733] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    4.789655] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    4.789658] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.790041] hub 1-1:1.0: USB hub found
[    4.790113] hub 1-1:1.0: 6 ports detected
[    4.794143] ata2.00: configured for UDMA/100
[    4.794351] scsi 1:0:0:0: Direct-Access     ATA      ST1000LM024 HN-M 2AR2 PQ: 0 ANSI: 5
[    4.794472] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    4.794473] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    4.794514] sd 1:0:0:0: [sda] Write Protect is off
[    4.794516] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.794517] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    4.794527] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.795448] scsi 2:0:0:0: CD-ROM            PLDS     DVD-RW DU8A5SH   NL61 PQ: 0 ANSI: 5
[    4.797753] sr0: scsi3-mmc drive: 31x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[    4.797765] cdrom: Uniform CD-ROM driver Revision: 3.20
[    4.797849] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    4.797894] sr 2:0:0:0: Attached scsi generic sg1 type 5
[    4.858808]  sda: sda1 sda2 sda4 < sda5 sda6 sda7 sda8 >
[    4.859380] sd 1:0:0:0: [sda] Attached SCSI disk
[    4.901085] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    5.033260] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    5.033263] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.033525] hub 2-1:1.0: USB hub found
[    5.033626] hub 2-1:1.0: 6 ports detected
[    5.156685] tsc: Refined TSC clocksource calibration: 2095.240 MHz
[    5.156690] Switching to clocksource tsc
[    5.200671] usb 3-4: new high-speed USB device number 2 using xhci_hcd
[    5.299750] usb 3-4: New USB device found, idVendor=174f, idProduct=146d
[    5.299751] usb 3-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    5.299752] usb 3-4: Product: Lenovo EasyCamera
[    5.299753] usb 3-4: Manufacturer: Generic
[    5.299754] usb 3-4: SerialNumber: 200901010001
[    5.376491] usb 1-1.3: new full-speed USB device number 3 using ehci-pci
[    5.448323] Console: switching to colour frame buffer device 170x48
[    5.450015] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    5.450017] i915 0000:00:02.0: registered panic notifier
[    5.450149] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    5.451667] acpi device:36: registered as cooling_device8
[    5.451755] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
[    5.451784] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:34/LNXVIDEO:00/input/input4
[    5.457633] acpi device:42: registered as cooling_device9
[    5.457733] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    5.457759] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input5
[    5.457807] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    5.472598] usb 1-1.3: New USB device found, idVendor=8087, idProduct=07da
[    5.472604] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.544243] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
[    5.636848] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0129
[    5.636855] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.636859] usb 1-1.4: Product: USB2.0-CRW
[    5.636862] usb 1-1.4: Manufacturer: Generic
[    5.636864] usb 1-1.4: SerialNumber: 20100201396000000
[    5.787994] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[    6.052490] xor: automatically using best checksumming function:
[    6.091246]    avx       : 21524.000 MB/sec
[    6.092768] device-mapper: dm-raid45: initialized v0.2594b
[    6.194700] Btrfs loaded
[    6.498475] EXT4-fs (sda8): INFO: recovery required on readonly filesystem
[    6.498478] EXT4-fs (sda8): write access will be enabled during recovery
[    7.771348] EXT4-fs (sda8): recovery complete
[    7.781098] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
[   15.126688] Adding 3905532k swap on /dev/sda7.  Priority:-1 extents:1 across:3905532k
[   15.243277] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.279943] udevd[488]: starting version 175
[   15.524069] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x15
[   15.524270] mei 0000:00:16.0: setting latency timer to 64
[   15.524332] mei 0000:00:16.0: irq 45 for MSI/MSI-X
[   15.526951] lp: driver loaded but no devices found
[   15.528293] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20121018/utaddress-251)
[   15.528300] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.528304] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20121018/utaddress-251)
[   15.528308] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20121018/utaddress-251)
[   15.528312] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.528314] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20121018/utaddress-251)
[   15.528317] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20121018/utaddress-251)
[   15.528321] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.528323] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   15.538053] cfg80211: Calling CRDA to update world regulatory domain
[   15.539954] device-mapper: multipath: version 1.5.1 loaded
[   15.542188] Intel(R) Wireless WiFi driver for Linux, in-tree:
[   15.542191] Copyright(c) 2003-2012 Intel Corporation
[   15.542459] iwlwifi 0000:03:00.0: irq 46 for MSI/MSI-X
[   15.542508] Bluetooth: Core ver 2.16
[   15.542974] NET: Registered protocol family 31
[   15.542976] Bluetooth: HCI device and connection manager initialized
[   15.542982] Bluetooth: HCI socket layer initialized
[   15.542984] Bluetooth: L2CAP socket layer initialized
[   15.542989] Bluetooth: SCO socket layer initialized
[   15.545474] usbcore: registered new interface driver btusb
[   15.561256] input: Ideapad extra buttons as /devices/platform/ideapad/input/input6
[   15.578421] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[   15.595971] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[   15.596044] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   15.596105] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   15.797859] Linux video capture interface: v2.00
[   15.802543] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (174f:146d)
[   15.807861] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/input/input10
[   15.807927] usbcore: registered new interface driver uvcvideo
[   15.807929] USB Video Class driver (1.1.1)
[   15.879204] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x15
[   15.880148] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x15
[   15.880979] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x15
[   15.881766] microcode: CPU4 sig=0x306a9, pf=0x10, revision=0x15
[   15.882604] microcode: CPU5 sig=0x306a9, pf=0x10, revision=0x15
[   15.883383] microcode: CPU6 sig=0x306a9, pf=0x10, revision=0x15
[   15.884232] microcode: CPU7 sig=0x306a9, pf=0x10, revision=0x15
[   15.885049] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[   15.890807] kvm: disabled by bios
[   15.893222] cfg80211: World regulatory domain updated:
[   15.893224] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.893226] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.893227] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   15.893228] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   15.893229] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.893230] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.912933] kvm: disabled by bios
[   15.922545] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1
[   15.934724] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   15.934726] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   15.934728] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   15.934729] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE enabled
[   15.934730] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_P2P disabled
[   15.934732] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
[   15.934827] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   15.953379] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   16.014479] type=1400 audit(1384788939.144:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=665 comm="apparmor_parser"
[   16.014487] type=1400 audit(1384788939.144:3): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=666 comm="apparmor_parser"
[   16.014568] type=1400 audit(1384788939.144:4): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=845 comm="apparmor_parser"
[   16.014777] type=1400 audit(1384788939.144:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=665 comm="apparmor_parser"
[   16.014787] type=1400 audit(1384788939.144:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=666 comm="apparmor_parser"
[   16.014925] type=1400 audit(1384788939.144:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=845 comm="apparmor_parser"
[   16.014941] type=1400 audit(1384788939.144:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=665 comm="apparmor_parser"
[   16.014952] type=1400 audit(1384788939.144:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=666 comm="apparmor_parser"
[   16.015127] type=1400 audit(1384788939.144:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=845 comm="apparmor_parser"
[   16.018025] rts5139: module is from the staging directory, the quality is unknown, you have been warned.
[   16.022442] scsi6 : SCSI emulation for RTS5139 USB card reader
[   16.022529] usbcore: registered new interface driver rts5139
[   16.023483] scsi 6:0:0:0: Direct-Access     Generic- xD/SD/M.S.       1.00 PQ: 0 ANSI: 0 CCS
[   16.024407] sd 6:0:0:0: Attached scsi generic sg2 type 0
[   16.275611] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f01)
[   16.299284] psmouse serio1: elantech: Synaptics capabilities query result 0x10, 0x15, 0x0e.
[   16.419181] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input11
[   16.829563] sd 6:0:0:0: [sdb] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
[   16.829579] sd 6:0:0:0: [sdb] Write Protect is on
[   16.829581] sd 6:0:0:0: [sdb] Mode Sense: 67 10 80 00
[   16.829592] sd 6:0:0:0: [sdb] Cache data unavailable
[   16.829593] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   16.834566] sd 6:0:0:0: [sdb] Cache data unavailable
[   16.834568] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   16.835533]  sdb: sdb1
[   16.839639] sd 6:0:0:0: [sdb] Cache data unavailable
[   16.839643] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   16.839668] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[   17.188128] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro
[   17.537021] init: failsafe main process (1104) killed by TERM signal
[   17.917578] type=1400 audit(1384788941.048:11): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1171 comm="apparmor_parser"
[   18.198888] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.198892] Bluetooth: BNEP filters: protocol multicast
[   18.198898] Bluetooth: BNEP socket layer initialized
[   18.201925] Bluetooth: RFCOMM TTY layer initialized
[   18.201935] Bluetooth: RFCOMM socket layer initialized
[   18.201937] Bluetooth: RFCOMM ver 1.11
[   18.798315] init: avahi-cups-reload main process (1350) terminated with status 1
[   19.098461] ppdev: user-space parallel port driver
[   19.691269] init: smbd main process (1110) killed by HUP signal
[   19.691289] init: smbd main process ended, respawning
[   20.245119] r8169 0000:02:00.0 eth0: link down
[   20.245147] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.245402] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.247039] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   20.254774] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   20.625679] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   20.633405] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   20.728463] bbswitch: version 0.7
[   20.728469] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   20.728471] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[   20.728557] bbswitch: detected an Optimus _DSM function
[   20.728569] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[   20.769062] init: bumblebeed main process (1430) terminated with status 1
[   20.769092] init: bumblebeed main process ended, respawning
[   20.773792] init: bumblebeed main process (1439) terminated with status 1
[   20.773809] init: bumblebeed main process ended, respawning
[   20.778001] init: bumblebeed main process (1442) terminated with status 1
[   20.778018] init: bumblebeed main process ended, respawning
[   20.782157] init: bumblebeed main process (1445) terminated with status 1
[   20.782174] init: bumblebeed main process ended, respawning
[   20.786327] init: bumblebeed main process (1448) terminated with status 1
[   20.786344] init: bumblebeed main process ended, respawning
[   20.790422] init: bumblebeed main process (1451) terminated with status 1
[   20.790441] init: bumblebeed main process ended, respawning
[   20.794721] init: bumblebeed main process (1454) terminated with status 1
[   20.794737] init: bumblebeed main process ended, respawning
[   20.799023] init: bumblebeed main process (1457) terminated with status 1
[   20.799041] init: bumblebeed main process ended, respawning
[   20.803241] init: bumblebeed main process (1460) terminated with status 1
[   20.803258] init: bumblebeed main process ended, respawning
[   20.807418] init: bumblebeed main process (1463) terminated with status 1
[   20.807435] init: bumblebeed main process ended, respawning
[   20.811715] init: bumblebeed main process (1466) terminated with status 1
[   20.811731] init: bumblebeed respawning too fast, stopped
[   20.837576] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.837829] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.242466] init: plymouth-stop pre-start process (1683) terminated with status 1
[   21.816623] wlan0: authenticate with bc:ae:c5:a6:36:5c
[   21.826694] wlan0: send auth to bc:ae:c5:a6:36:5c (try 1/3)
[   21.830023] wlan0: authenticated
[   21.831816] wlan0: associate with bc:ae:c5:a6:36:5c (try 1/3)
[   21.836801] wlan0: RX AssocResp from bc:ae:c5:a6:36:5c (capab=0x411 status=0 aid=1)
[   21.839386] wlan0: associated
[   21.839421] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.839485] cfg80211: Calling CRDA for country: GB
[   21.842063] cfg80211: Regulatory domain changed to country: GB
[   21.842065] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   21.842066] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   21.842068] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   21.842069] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   21.842069] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[   31.145729] init: bumblebeed main process (2232) terminated with status 1
[   31.145748] init: bumblebeed main process ended, respawning
[   31.149786] init: bumblebeed main process (2235) terminated with status 1
[   31.149805] init: bumblebeed main process ended, respawning
[   31.153874] init: bumblebeed main process (2238) terminated with status 1
[   31.153894] init: bumblebeed main process ended, respawning
[   31.158027] init: bumblebeed main process (2241) terminated with status 1
[   31.158047] init: bumblebeed main process ended, respawning
[   31.162168] init: bumblebeed main process (2244) terminated with status 1
[   31.162189] init: bumblebeed main process ended, respawning
[   31.166513] init: bumblebeed main process (2250) terminated with status 1
[   31.166534] init: bumblebeed main process ended, respawning
[   31.170766] init: bumblebeed main process (2260) terminated with status 1
[   31.170787] init: bumblebeed main process ended, respawning
[   31.175005] init: bumblebeed main process (2269) terminated with status 1
[   31.175031] init: bumblebeed main process ended, respawning
[   31.179249] init: bumblebeed main process (2278) terminated with status 1
[   31.179269] init: bumblebeed main process ended, respawning
[   31.183454] init: bumblebeed main process (2291) terminated with status 1
[   31.183473] init: bumblebeed main process ended, respawning
[   31.187468] init: bumblebeed main process (2295) terminated with status 1
[   31.187487] init: bumblebeed respawning too fast, stopped
[   33.518819] ISO 9660 Extensions: Microsoft Joliet Level 1
[   33.549172] ISOFS: changing to secondary root
خروجی دستور dpkg -l | grep '^ii' | grep nvidia :
ii  bumblebee-nvidia                          3.2.1-1~raringppa5                     amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-304                                304.88-0ubuntu1                        amd64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-current                            304.88-0ubuntu1                        amd64        Transitional package for nvidia-current
ii  nvidia-settings-304-updates               304.88-0ubuntu1                        amd64        Tool for configuring the NVIDIA graphics driver
خروجی ذستور /etc/bumblebee/bumblebee.conf:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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-current-updates
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

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

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia :
[  686.658801] [DEBUG]Found card: 01:00.0 (discrete)
[  686.658863] [DEBUG]Found card: 00:02.0 (integrated)
[  686.658912] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  686.659357] [INFO]Configured driver: nvidia-current-updates
[  686.659403] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[  686.659566] [DEBUG]Process /sbin/modprobe started, PID 3150.
[  686.659617] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  686.661795] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  686.661912] [DEBUG]bbswitch has been detected.
[  686.661961] [INFO]Switching method 'bbswitch' is available and will be used.
[  686.661989] [DEBUG]Active configuration:
[  686.662016] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  686.662048] [DEBUG] X display: :8
[  686.662068] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current-updates:/usr/lib32/nvidia-current-updates
[  686.662092] [DEBUG] Socket path: /var/run/bumblebee.socket
[  686.662119] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  686.662141] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  686.662170] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  686.662189] [DEBUG] ModulePath: /usr/lib/nvidia-current-updates/xorg,/usr/lib/xorg/modules
[  686.662207] [DEBUG] GID name: bumblebee
[  686.662226] [DEBUG] Power method: auto
[  686.662243] [DEBUG] Stop X on exit: 1
[  686.662262] [DEBUG] Driver: nvidia
[  686.662280] [DEBUG] Driver module: nvidia-current-updates
[  686.662298] [DEBUG] Card shutdown state: 1
[  686.662441] [DEBUG]Process /sbin/modprobe started, PID 3151.
[  686.662478] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  686.664522] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  686.664564] [ERROR]Module 'nvidia-current-updates' is not found.
اصلا ساسان این مسیری که برای bumblebee.socket زده /var/run/bumblebee.socket رو میرم این فایل تو مسیر /var/run  وجود نداره

اینم خروجی دستور uname -a :
Linux Z500-Ubuntu13 3.8.0-33-generic #48-Ubuntu SMP Wed Oct 23 09:16:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: mojtabazn در 27 آبان 1392، 07:50 ب‌ظ
این پکیج نصب هست ؟

nvidia-current-updates
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 08:11 ب‌ظ
توی اوبونتو چطور میشه گفت تنظیمات اولیه بسته نصب بشه؟ با dpkg-reconfigure ؟
این رو بزن و بعد ریست کن:
sudo dpkg-reconfigure bumblebeeاگر جواب نداد، bumblebee.conf رو به محتوی زیر به‌روز کن:
 # Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

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

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
و بعد:
sudo service bumblebeed restart
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 27 آبان 1392، 09:04 ب‌ظ
آقا بازم نشد اینم خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia
[  271.173055] [DEBUG]Found card: 01:00.0 (discrete)
[  271.173112] [DEBUG]Found card: 00:02.0 (integrated)
[  271.173164] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  271.173593] [INFO]Configured driver: nvidia
[  271.173632] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[  271.173802] [DEBUG]Process /sbin/modprobe started, PID 3001.
[  271.173893] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  271.176030] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  271.176160] [DEBUG]bbswitch has been detected.
[  271.176194] [INFO]Switching method 'bbswitch' is available and will be used.
[  271.176228] [DEBUG]Active configuration:
[  271.176250] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  271.176278] [DEBUG] X display: :8
[  271.176299] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[  271.176326] [DEBUG] Socket path: /var/run/bumblebee.socket
[  271.176348] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  271.176377] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  271.176397] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  271.176420] [DEBUG] ModulePath: /usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
[  271.176443] [DEBUG] GID name: bumblebee
[  271.176472] [DEBUG] Power method: auto
[  271.176492] [DEBUG] Stop X on exit: 1
[  271.176514] [DEBUG] Driver: nvidia
[  271.176537] [DEBUG] Driver module: nvidia-304
[  271.176563] [DEBUG] Card shutdown state: 1
[  271.176700] [DEBUG]Process /sbin/modprobe started, PID 3002.
[  271.176744] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  271.178718] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  271.178776] [ERROR]Module 'nvidia-304' is not found.
اما بعد از این رفتم دوباره nvidia-current-update  رو نصب کردم و فایل bumblebee.conf  رو به این صورت ویرایش کردم :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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-304-updates
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

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

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
و خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia :
[  656.458586] [DEBUG]Found card: 01:00.0 (discrete)
[  656.458645] [DEBUG]Found card: 00:02.0 (integrated)
[  656.458698] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  656.459142] [INFO]Configured driver: nvidia-304-updates
[  656.459182] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[  656.459348] [DEBUG]Process /sbin/modprobe started, PID 3138.
[  656.459442] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  656.460532] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  656.460650] [DEBUG]bbswitch has been detected.
[  656.460701] [INFO]Switching method 'bbswitch' is available and will be used.
[  656.460724] [DEBUG]Active configuration:
[  656.460752] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  656.460774] [DEBUG] X display: :8
[  656.460803] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304-updates:/usr/lib32/nvidia-304-updates
[  656.460829] [DEBUG] Socket path: /var/run/bumblebee.socket
[  656.460848] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  656.460870] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  656.460897] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  656.460918] [DEBUG] ModulePath: /usr/lib/nvidia-304-updates/xorg,/usr/lib/xorg/modules
[  656.460945] [DEBUG] GID name: bumblebee
[  656.460967] [DEBUG] Power method: auto
[  656.460995] [DEBUG] Stop X on exit: 1
[  656.461017] [DEBUG] Driver: nvidia
[  656.461044] [DEBUG] Driver module: nvidia-304-updates
[  656.461065] [DEBUG] Card shutdown state: 1
[  656.461213] [DEBUG]Process /sbin/modprobe started, PID 3139.
[  656.461266] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  656.462230] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  656.462245] [DEBUG]Configuration test passed.
[  656.462339] [ERROR]Daemon already running, pid 1417
که هم driver-304-update  رو شناخت و هم bumblebee.socket هم ساخته شده ولی وقتی optirun glxgear رو که میزنم این خروجی رو میده :
[  864.935261] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  864.935310] [ERROR]Aborting because fallback start is disabled.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 27 آبان 1392، 09:49 ب‌ظ
کاری که باید انجام بشه معرفی ماژول مناسب درایور nvidia به bumblebee هست تا لودش کنه.
موقتا nvidia-current-update فراموش کن. نگران درایورهای به روز نباش.
این دو دستور وارد کن:
sudo apt-get install linux-headers-$(uname -r)
sudo dpkg-reconfigure nvidia-current
خروجی دستور آخر رو به دقت بررسی کن. آخرش میگه ماژولی که build میشه اسمش چیه. (باید nvidia_current باشه)
شاید لازم بشه dpkg.log رو هم بررسی کنی.
لازمه اسم ماژول و path ها براساس ماژولی که ساخته میشه توی bumblebee.conf قرار بدی.
این کانفیگ باید به احتمال زیاد کار کنه:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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_current
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

برای محکم کاری خروجی زیر دستور زیرو رو هم بزار:
ls /usr/lib/ | grep -i nvidia
نقل‌قول
که هم driver-304-update  رو شناخت و هم bumblebee.socket هم ساخته شده ولی وقتی optirun glxgear رو که میزنم
نه نشناخته چون کانفیگت اشتباست. این قسمت رو توجه نکردی:
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 09:49 ق‌ظ
خروجی دستور اول sudo apt-get install linux-headers-$(uname -r) :
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-3.8.0-33-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 422 not upgraded.
و دستور sudo dpkg-reconfigure nvidia-current این هم هیچ خروجی نداره (بلافاصله اعلان خط فرمان میادش)
خروجی دستور ls /usr/lib/ | grep -i nvidia :
nvidia
nvidia-304
nvidia-settings-304
تو فایل bumblebee با nvidia-current زدم . به این شکل :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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_current
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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_current
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
خروجی دستور optirun glxgear اینه :
[  200.354374] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  200.354415] [ERROR]Could not connect to bumblebee daemon - is it running?
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 10:22 ق‌ظ
نقل‌قول
و دستور sudo dpkg-reconfigure nvidia-current این هم هیچ خروجی نداره (بلافاصله اعلان خط فرمان میادش)
این چطور؟
sudo dpkg-reconfigure nvidia-304
نقل‌قول
تو فایل bumblebee با nvidia-current زدم . به این شکل :
باز هم میگم کانفیگی که می‌نویسی اشتباست. تو اگر در بخش bumblebeed درایور رو روی nvidia_current بزاری پایین تر دنبال سکشن nvidia_current میگرده که همچین چیزی وجود نداره. بزارش رو nvidia باشه.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 10:39 ق‌ظ
دستور sudo dpkg-reconfigure nvidia-304 :
Removing all DKMS Modules
Done.
INFO:Enable nvidia-304
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-304-304.88 DKMS files...
Building only for 3.8.0-33-generic
Building for architecture x86_64
Building initial module for 3.8.0-33-generic
Done.

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

depmod....

DKMS: install completed.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
الان با این خروجی دقیقا من فایل bumblebee م رو چطور تنظیم کنم ممنون میشم فایل تنظیم رو برام بذاری چون من با هر چی بود تست کردم ولی جواب نگرفتم
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 10:49 ق‌ظ
اوکی حالا اسم ماژول و دایرکتوری ها رو داری. یه کانفیگ بر اساس‌شون بنویس.
من باید برم بانک. برگشتم برات میسازم.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 11:16 ق‌ظ
اینجوری ویرایشش کردم. درسته؟؟ :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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_304
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
ولی بازم نشد و خروجی optirun glxgear :
(gedit:2843): IBUS-WARNING **: The owner of /home/vahid/.config/ibus/bus is not root!
vahid@Z500-Ubuntu13:~$ optirun glxgear
[  275.883684] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  275.883738] [ERROR]Aborting because fallback start is disabled.
و اینم خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia :
[  327.277434] [DEBUG]Found card: 01:00.0 (discrete)
[  327.277463] [DEBUG]Found card: 00:02.0 (integrated)
[  327.277472] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  327.277879] [INFO]Configured driver: nvidia
[  327.277899] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[  327.278043] [DEBUG]Process /sbin/modprobe started, PID 2894.
[  327.278115] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  327.280239] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  327.280407] [DEBUG]bbswitch has been detected.
[  327.280453] [INFO]Switching method 'bbswitch' is available and will be used.
[  327.280492] [DEBUG]Active configuration:
[  327.280537] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  327.280572] [DEBUG] X display: :8
[  327.280606] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[  327.280642] [DEBUG] Socket path: /var/run/bumblebee.socket
[  327.280676] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  327.280711] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  327.280746] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  327.280781] [DEBUG] ModulePath: /usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
[  327.280818] [DEBUG] GID name: bumblebee
[  327.280853] [DEBUG] Power method: auto
[  327.280889] [DEBUG] Stop X on exit: 1
[  327.280923] [DEBUG] Driver: nvidia
[  327.280958] [DEBUG] Driver module: nvidia_304
[  327.280994] [DEBUG] Card shutdown state: 1
[  327.281161] [DEBUG]Process /sbin/modprobe started, PID 2895.
[  327.281197] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  327.283090] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  327.283137] [DEBUG]Configuration test passed.
[  327.283257] [ERROR]Daemon already running, pid 1592
ممنون میشم برگشتی برام بسازی.چک داری بگو خودم شر خر بفرستم نقدش کنه... ;D ;)
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 02:47 ب‌ظ
محتوی فایل زیر رو برام بزار:
/etc/bumblebee/xorg.conf.nvidia
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 03:13 ب‌ظ
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
اینم خروجی دستور lspci | egrep 'VGA':
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)و این خروجی دستور lspci | egrep 'VGA|3D' :
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
فقط نمیدونم بین این ۲ دستور بالا چه فرقی هست که اولی nvidia 740m  رو نمیشناسه ولی دومی میشناسه..!!
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 04:02 ب‌ظ
متوجه شدم مشکل کجاست. فقط درک نمی‌کنم چرا ابونتو اصرار داره همه چی رو پچ کنه.
از این bumblebee.conf استفاده کن:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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_current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
اگر بالایی جواب نداد این رو تست کن:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-304
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
یادت نره بعد از هربار عوض کردن کانفیگ سرویس رو ریست کنی.
نقل‌قول
فقط نمیدونم بین این ۲ دستور بالا چه فرقی هست که اولی nvidia 740m  رو نمیشناسه ولی دومی میشناسه..!!
دومی درست تره چون 740m به عنوان 3D controller شناخته میشه و نه VGA compatible controller
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 04:31 ب‌ظ
ساسان با هر ۲تاش تست کردم بازم موقع اجرا اینو میده :
[  372.759345] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  372.759399] [ERROR]Aborting because fallback start is disabled.
امکانش رو داری با teamviewer وصل شی خودت دقیقا چک کنی ؟؟
اگر داری این id منه اددم کن تا user , pass  رو بدم با team viewer وصل شی
v.taghavi_68@yahoo.com
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 05:04 ب‌ظ
دو روزه سعی می‌کنیم درایوری رو لود کنیم که اصلا از چیپ 740M پشتیبانی نمیکنه. پشتیبانی 740M از نسخه ۳۱۹ اضافه شده!
درایورهای جدیدتر از xorg edgers قابل نصبه ولی به نظرم الان بهترین زمان برای به روزرسانی به ۱۳.۱۰ باشه.
نقل‌قول
امکانش رو داری با teamviewer وصل شی خودت دقیقا چک کنی ؟؟
اگر داری این id منه اددم کن تا user , pass  رو بدم با team viewer وصل شی
v.taghavi_68@yahoo.com
نه متاسفانه حساب teamviewer ندارم. در واقع تا حالا اصلا باش کار نکردم.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 28 آبان 1392، 05:18 ب‌ظ
ساسان جان واقعا نمیدونم چه جوری باید ازت بخاظر این همه زحمتی که کشیدی و محبتی که به من داشتی تشکر کنم.من الان ۱۳.۱۰ رو گرفتم میخوام نصبش کنم فقط اگه دقیقا روش کار نصب درایور nvidia-331  رو به همراه bumblebee روی اوبونتو ۱۳.۱۰ رو توضیح بدی ممنونت میشم. در رابطه با بسته prime  که روی ۱۳.۱۰ اومده چیزی میدونی؟ روش خوبی هست یا همون bumblebee بهتره؟؟ این لینک توضیح prime هستش :
http://www.webupd8.org/2013/08/using-nvidia-graphics-drivers-with.html
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 28 آبان 1392، 05:51 ب‌ظ
نقل‌قول
ساسان جان واقعا نمیدونم چه جوری باید ازت بخاظر این همه زحمتی که کشیدی و محبتی که به من داشتی تشکر کنم.من الان ۱۳.۱۰ رو گرفتم میخوام نصبش کنم فقط اگه دقیقا روش کار نصب درایور nvidia-331  رو به همراه bumblebee روی اوبونتو ۱۳.۱۰ رو توضیح بدی ممنونت میشم. در رابطه با بسته prime  که روی ۱۳.۱۰ اومده چیزی میدونی؟ روش خوبی هست یا همون bumblebee بهتره؟؟
خواهش می‌کنم، کاری نکردم.
اتفاقا نصب آخرین درایور و bumblebee خیلی ساده است.
اول xorg edgers رو اضافه کن:
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
و بعد راهنمای نصب بامبلی از آزادراه رو برو!
با اضافه کردن xorg edgers بسته nvidia-current که یک بسته مجازی هست به آخرین درایور nvidia اشاره می‌کنه. کانفیگ پیش‌فرض bumblebee هم حالت auto detect داره پس ماژول درست رو لود می‌کنه. فقط حواست باشه اگه نصاب درایور nvidia برات xorg.conf نوشت پاکش کنی.
اگر مشکلی پیش آمد تو این همین تاپیک با هم بررسی‌ش می‌کنیم :)
نقل‌قول
در رابطه با بسته prime  که روی ۱۳.۱۰ اومده چیزی میدونی؟ روش خوبی هست یا همون bumblebee بهتره؟؟ این لینک توضیح prime هستش :
http://www.webupd8.org/2013/08/using-nvidia-graphics-drivers-with.html
Prime یه اینترفیس بهتر برای استفاده از بامبل‌بی هست. اگر بامبل‌بی راه افتاد و با optirun تونستی برنامه‌ای رو بدون مشکل ران کنی، Prime هم قابل استفاده خواهد بود.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 29 آبان 1392، 08:37 ب‌ظ
عخشم من الان روی اوبونتو ۱۳.۱۰ همونطور که گفتی اول sudo add-apt-repository ppa:xorg-edgers/ppa رو اضافه کردم بعد sudo apt-get update و بعدش عین روش سایت آزادراه رو رفتم اما الان که می بینم باز داره همون درایور nvidia-304 رو نصب می کنه (گفتی که از nvidia-319 به بعد چیپ 740M رو پشتیبانی می کنه..!!!) الان با این اوصاف بذارم نصب شه یا نه ؟ از وقتی هم که ۱۳.۱۰ رو ریختم آپدیت هایی که software updater میده رو نصب نکردم!!! چطوری nvidia-331 or nvidia-319 رو نصب کنم.راستی توی عکس زیر نگاه کن درایور Nouveu از اول خودش نصب بوده.
(http://vtaghavi68.persiangig.com/Screenshot%20from%202013-11-20%2020%3A32%3A12.png)
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 29 آبان 1392، 11:00 ب‌ظ
الان طبق روشی که بالا گفتم نصب شد ولی بعد از بالا آمدن و login  کردن صفحه سیاه میشه ..!!!
حالا باید چیکار کنم؟؟؟؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 09:24 ق‌ظ
دوستان خواهشا کمک کنید من الان با دستورات زیر bumblebee رو بهمراه nvidia-331 به مخازن اضافه کردم :
sudo add-apt-repository ppa:bumblebee/stable
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get upgrade
و بعدش درایور nvidia-current و nvidia-304 رو که قبلا نصب کرده بودم پاک کردم :
sudo apt-get remove bumblebee-nvidia nvidia-current nvidia-settings
sudo apt-get purge nvidia-304 nvidia-settings-304
و در آخر هم با دستور زیر bumblebee و nvidia-331 رو نصب کردم :
sudo apt-get install bumblebee bumblebee-nvidia primus nvidia-331 nvidia-settings-331
sudo apt-get install primus-libs-ia32:i386
و حالا که دستور optirun firefox میزنم firefox باز میشه و در ترمینال هم این رو می نویسه :
(process:3497): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
vahid@Z500-Ubuntu13:~$
این یعنی اینکه الان به درستی نصب شده و کار می کنه ؟؟؟
و این عکس  خروجی دستور optirun -b primus glxgears :
(http://vtaghavi68.persiangig.com/Screenshot%20from%202013-11-21%2008%3A59%3A00.png)
اما زمانیکه دستور optirun -b primus nvidia-settings رو میرنم تا تنظیمات کارت گرافیکم رو تغییر بدم این رو میده که در تصویر زیر می بینید :
(http://vtaghavi68.persiangig.com/Screenshot%20from%202013-11-21%2009%3A18%3A04.png)
الان برای تنظیمات کارتم چی کار باید بکنم؟؟؟؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: mojtabazn در 30 آبان 1392، 09:41 ق‌ظ
تو ویکی همچین چیزی نوشته که بعد اپدیت بایستی  این کارو انجام بدین مثال برای 319
Example update to nvidia-319 driver

E.g. to update to the latest update of 319.x driver, you need to install it through apt.

sudo apt-get install nvidia-319-updates nvidia-settings-319-updates

Then you need to edit /etc/bumblebee/bumblebee.conf and set:

KernelDriver=nvidia_319_updates

LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-319-updates

XorgModulePath=/usr/lib/nvidia-319-updates/xorg,/usr/lib/xorg/modules

By running optirun nvidia-settings (or optirun -b none nvidia-settings -c :8) you can assert you are using the installed kernel module and driver.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 10:22 ق‌ظ
خیلی جالبه وقتی تنظیمات bumblebee.conf روی nvidia-current که روی سیستمم نصب نیستش هست کار می کنه :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
اما وقتی طبق اون جیزی که تو سایت گفته می برمش روی nvidia-331 که روی سیستمم نصب هستش کار نمی کنه :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
اینم خروجی دستور روی حالتی که فابل bumblebee.conf روی حالت nvidia-current نصبه :
[ 1117.549582] [DEBUG]Found card: 01:00.0 (discrete)
[ 1117.549611] [DEBUG]Found card: 00:02.0 (integrated)
[ 1117.549619] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1117.550038] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 1117.550191] [DEBUG]Process /sbin/modprobe started, PID 2765.
[ 1117.550246] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1117.552511] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1117.552634] [DEBUG]bbswitch has been detected.
[ 1117.552687] [INFO]Switching method 'bbswitch' is available and will be used.
[ 1117.552719] [DEBUG]Active configuration:
[ 1117.552740] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1117.552767] [DEBUG] X display: :8
[ 1117.552793] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[ 1117.552825] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1117.552861] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 1117.552904] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 1117.552936] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 1117.552963] [DEBUG] ModulePath: /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
[ 1117.553007] [DEBUG] GID name: bumblebee
[ 1117.553045] [DEBUG] Power method: auto
[ 1117.553074] [DEBUG] Stop X on exit: 1
[ 1117.553097] [DEBUG] Driver: nvidia
[ 1117.553121] [DEBUG] Driver module: nvidia-current
[ 1117.553152] [DEBUG] Card shutdown state: 1
[ 1117.553313] [DEBUG]Process /sbin/modprobe started, PID 2766.
[ 1117.553364] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1117.555507] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1117.555566] [ERROR]Module 'nvidia-current' is not found.
اما در حالت دوم که روی nvidia-331 نصبه این ماٰٰژول رو میشناسه اما کار نمی کنه..!!!
اینم خروجی دستور ls /usr/lib/ | grep -i nvidia که نشون میده درایور نصبیم رو :
nvidia
nvidia-331
nvidia-settings-331
در ضمن من الان وقتی توی تنظیمات کارتم میرم با optirun -b none nvidia-settings -c :8 دیگه مثل قبل جایی برای تنظیم رزولوشن تصویر و تنظیم رنگ بندی وجود نداره..!!! برای تنظیم رنگ ها چه کار می تونم بکنم ؟؟؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 30 آبان 1392، 11:27 ق‌ظ
از اول و قدم به قدم شروع می‌کنیم:
یک - اطمینان از نصب هدرهای کرنل:
sudo apt-get install linux-headers-$(uname -r)دو - ساخت ماژول nvidia-331 بر اساس هدرهای کرنل:
sudo dpkg-reconfigure nvidia-331سه - از این bumblebee کانف استفاده کن:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
و سرویس رو ریست کن.
اگر همچنان جواب نداد خروجی‌ها زیر رو برام بزار:
dmesg
lsmod
sudo /usr/sbin/bumblebeed -vv --driver nvidia
نقل‌قول
و حالا که دستور optirun firefox میزنم firefox باز میشه و در ترمینال هم این رو می نویسه :
(process:3497): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
vahid@Z500-Ubuntu13:~$
این یعنی اینکه الان به درستی نصب شده و کار می کنه ؟؟؟
خطایی که گذاشتی به نظر باگ فایرفاکس میاد + (https://bugzilla.mozilla.org/show_bug.cgi?id=672671) درحالت معمولی اجرا میشد؟
glxgears ـی که گذاشته داره کار می‌کنه ولی فکرکنم روی nouveau باشه تا nvidia.
نقل‌قول
اما زمانیکه دستور optirun -b primus nvidia-settings رو میرنم تا تنظیمات کارت گرافیکم رو تغییر بدم این رو میده که در تصویر زیر می بینید :
درایور nvidia از optimus پشتیبانی نمیکنه، تو نمی‌تونی تنظیماتش رو با bumblbee اجرا کنی و انتظار داشته باشی کار کنه. تا پشتیبانی رسمی صبر کن.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 12:50 ب‌ظ
با همین تنظیم bumblebee که دادی :
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
الان اجرا میشن اما خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia هنوز nvidia-current  رو زده ...!!
[  599.698569] [DEBUG]Found card: 01:00.0 (discrete)
[  599.698632] [DEBUG]Found card: 00:02.0 (integrated)
[  599.698654] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  599.699092] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[  599.699268] [DEBUG]Process /sbin/modprobe started, PID 8237.
[  599.699335] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  599.700473] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  599.700594] [DEBUG]bbswitch has been detected.
[  599.700659] [INFO]Switching method 'bbswitch' is available and will be used.
[  599.700690] [DEBUG]Active configuration:
[  599.700712] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  599.700736] [DEBUG] X display: :8
[  599.700759] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[  599.700782] [DEBUG] Socket path: /var/run/bumblebee.socket
[  599.700809] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  599.700830] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  599.700857] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  599.700879] [DEBUG] ModulePath: /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
[  599.700906] [DEBUG] GID name: bumblebee
[  599.700928] [DEBUG] Power method: auto
[  599.700955] [DEBUG] Stop X on exit: 1
[  599.700977] [DEBUG] Driver: nvidia
[  599.701004] [DEBUG] Driver module: nvidia-current
[  599.701026] [DEBUG] Card shutdown state: 1
[  599.701175] [DEBUG]Process /sbin/modprobe started, PID 8238.
[  599.701232] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  599.702213] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  599.702291] [ERROR]Module 'nvidia-current' is not found.
خروجی dmesg :
[    4.150035] cpuidle: using governor ladder
[    4.150235] cpuidle: using governor menu
[    4.150244] ledtrig-cpu: registered to indicate activity on CPUs
[    4.150325] TCP: cubic registered
[    4.150410] NET: Registered protocol family 10
[    4.150577] NET: Registered protocol family 17
[    4.150585] Key type dns_resolver registered
[    4.150846] PM: Hibernation image not present or could not be loaded.
[    4.150850] Loading module verification certificates
[    4.151789] MODSIGN: Loaded cert 'Magrathea: Glacier signing key: 0d2f067ae81edbe7efb6ee2c61c63d9bdcf0659d'
[    4.151798] registered taskstats version 1
[    4.153946] Key type trusted registered
[    4.156153] Key type encrypted registered
[    4.158517] AppArmor: AppArmor sha1 policy hashing enabled
[    4.158998]   Magic number: 5:909:582
[    4.159020] pci_bus 0000:03: hash matches
[    4.159111] rtc_cmos 00:05: setting system clock to 2013-11-21 12:34:24 UTC (1385037264)
[    4.160489] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    4.160491] EDD information not available.
[    4.161272] Freeing unused kernel memory: 1364K (ffffffff81d10000 - ffffffff81e65000)
[    4.161273] Write protecting the kernel read-only data: 12288k
[    4.163137] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    4.163245] Freeing unused kernel memory: 1040K (ffff8800016fc000 - ffff880001800000)
[    4.164975] Freeing unused kernel memory: 836K (ffff880001b2f000 - ffff880001c00000)
[    4.173731] systemd-udevd[144]: starting version 204
[    4.187685] mii: module verification failed: signature and/or required key missing - tainting kernel
[    4.188594] ahci 0000:00:1f.2: version 3.0
[    4.188747] ahci 0000:00:1f.2: irq 42 for MSI/MSI-X
[    4.190149] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.190159] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    4.190360] r8169 0000:02:00.0: irq 43 for MSI/MSI-X
[    4.190545] r8169 0000:02:00.0 eth0: RTL8105e at 0xffffc90000c6a000, 20:1a:06:23:15:0e, XID 00c00000 IRQ 43
[    4.202468] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x6 impl SATA mode
[    4.202474] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
[    4.202481] ahci 0000:00:1f.2: setting latency timer to 64
[    4.210803] scsi0 : ahci
[    4.210871] scsi1 : ahci
[    4.210924] scsi2 : ahci
[    4.210976] scsi3 : ahci
[    4.211030] scsi4 : ahci
[    4.211080] scsi5 : ahci
[    4.211105] ata1: DUMMY
[    4.211108] ata2: SATA max UDMA/133 abar m2048@0xd3617000 port 0xd3617180 irq 42
[    4.211110] ata3: SATA max UDMA/133 abar m2048@0xd3617000 port 0xd3617200 irq 42
[    4.211111] ata4: DUMMY
[    4.211112] ata5: DUMMY
[    4.211112] ata6: DUMMY
[    4.418570] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    4.530676] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    4.530695] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.535406] ata3.00: ATAPI: PLDS    DVD-RW DU8A5SH, NL61, max UDMA/100
[    4.536756] ata3.00: configured for UDMA/100
[    4.537053] ata2.00: ATA-8: ST1000LM024 HN-M101MBB, 2AR20002, max UDMA/100
[    4.537056] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    4.543434] ata2.00: configured for UDMA/100
[    4.543699] scsi 1:0:0:0: Direct-Access     ATA      ST1000LM024 HN-M 2AR2 PQ: 0 ANSI: 5
[    4.543836] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    4.543838] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    4.543840] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    4.543885] sd 1:0:0:0: [sda] Write Protect is off
[    4.543888] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.543900] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.548359] scsi 2:0:0:0: CD-ROM            PLDS     DVD-RW DU8A5SH   NL61 PQ: 0 ANSI: 5
[    4.550991] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    4.550997] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.551156] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    4.551160] cdrom: Uniform CD-ROM driver Revision: 3.20
[    4.551301] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    4.551373] hub 1-1:1.0: USB hub found
[    4.551374] sr 2:0:0:0: Attached scsi generic sg1 type 5
[    4.551453] hub 1-1:1.0: 6 ports detected
[    4.595872]  sda: sda1 sda2 sda3 < sda5 > sda4
[    4.596718] sd 1:0:0:0: [sda] Attached SCSI disk
[    4.662725] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    4.795127] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    4.795133] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.795497] hub 2-1:1.0: USB hub found
[    4.795598] hub 2-1:1.0: 6 ports detected
[    4.962877] usb 3-4: new high-speed USB device number 2 using xhci_hcd
[    4.982902] tsc: Refined TSC clocksource calibration: 2095.239 MHz
[    5.062060] usb 3-4: New USB device found, idVendor=174f, idProduct=146d
[    5.062066] usb 3-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    5.062070] usb 3-4: Product: Lenovo EasyCamera
[    5.062073] usb 3-4: Manufacturer: Generic
[    5.062076] usb 3-4: SerialNumber: 200901010001
[    5.118322] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    5.139035] usb 1-1.1: new high-speed USB device number 3 using ehci-pci
[    5.233498] usb 1-1.1: New USB device found, idVendor=8564, idProduct=1000
[    5.233504] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.233508] usb 1-1.1: Product: Mass Storage Device
[    5.233511] usb 1-1.1: Manufacturer: JetFlash
[    5.233513] usb 1-1.1: SerialNumber: 18B4472SU7F9JXI5
[    5.303113] usb 1-1.2: new low-speed USB device number 4 using ehci-pci
[    5.399717] usb 1-1.2: New USB device found, idVendor=1d57, idProduct=0008
[    5.399723] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.399726] usb 1-1.2: Product: 2.4G Wireless Optical Mouse
[    5.471380] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[    5.567901] usb 1-1.3: New USB device found, idVendor=8087, idProduct=07da
[    5.567907] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.983626] Switched to clocksource tsc
[   12.097670] Adding 3905532k swap on /dev/sda5.  Priority:-1 extents:1 across:3905532k FS
[   12.271495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.335071] systemd-udevd[335]: starting version 204
[   12.472807] input: Ideapad extra buttons as /devices/platform/ideapad/input/input4
[   12.478712] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20130517/utaddress-251)
[   12.478718] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.478723] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[   12.478727] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20130517/utaddress-251)
[   12.478729] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.478730] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[   12.478732] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20130517/utaddress-251)
[   12.478735] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.478736] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   12.479108] mei_me 0000:00:16.0: setting latency timer to 64
[   12.479158] mei_me 0000:00:16.0: irq 44 for MSI/MSI-X
[   12.479891] [drm] Initialized drm 1.1.0 20060810
[   12.492097] cfg80211: Calling CRDA to update world regulatory domain
[   12.495719] [drm] Memory usable by graphics device = 2048M
[   12.495728] i915 0000:00:02.0: setting latency timer to 64
[   12.497778] Bluetooth: Core ver 2.16
[   12.497790] NET: Registered protocol family 31
[   12.497791] Bluetooth: HCI device and connection manager initialized
[   12.497797] Bluetooth: HCI socket layer initialized
[   12.497798] Bluetooth: L2CAP socket layer initialized
[   12.497802] Bluetooth: SCO socket layer initialized
[   12.498780] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x15
[   12.499176] usbcore: registered new interface driver btusb
[   12.502448] Intel(R) Wireless WiFi driver for Linux, in-tree:
[   12.502450] Copyright(c) 2003-2013 Intel Corporation
[   12.502544] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[   12.502666] iwlwifi 0000:03:00.0: irq 45 for MSI/MSI-X
[   12.512938] lp: driver loaded but no devices found
[   12.527821] i915 0000:00:02.0: irq 46 for MSI/MSI-X
[   12.527829] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   12.527830] [drm] Driver supports precise vblank timestamp query.
[   12.527845] ACPI Warning: \_SB_.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
[   12.527874] ACPI Warning: \_SB_.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
[   12.527919] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   12.572816] fbcon: inteldrmfb (fb0) is primary device
[   12.603718] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x15
[   12.604099] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x15
[   12.604455] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x15
[   12.604870] microcode: CPU4 sig=0x306a9, pf=0x10, revision=0x15
[   12.605262] microcode: CPU5 sig=0x306a9, pf=0x10, revision=0x15
[   12.605579] microcode: CPU6 sig=0x306a9, pf=0x10, revision=0x15
[   12.606176] microcode: CPU7 sig=0x306a9, pf=0x10, revision=0x15
[   12.606411] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[   12.612467] kvm: disabled by bios
[   12.627159] type=1400 audit(1385024672.962:2): apparmor="STATUS" operation="profile_load" parent=374 profile="unconfined" name="/sbin/dhclient" pid=442 comm="apparmor_parser"
[   12.627163] type=1400 audit(1385024672.962:3): apparmor="STATUS" operation="profile_load" parent=374 profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=442 comm="apparmor_parser"
[   12.627165] type=1400 audit(1385024672.962:4): apparmor="STATUS" operation="profile_load" parent=374 profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=442 comm="apparmor_parser"
[   12.627172] type=1400 audit(1385024672.962:5): apparmor="STATUS" operation="profile_replace" parent=420 profile="unconfined" name="/sbin/dhclient" pid=441 comm="apparmor_parser"
[   12.627177] type=1400 audit(1385024672.962:6): apparmor="STATUS" operation="profile_replace" parent=420 profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=441 comm="apparmor_parser"
[   12.627179] type=1400 audit(1385024672.962:7): apparmor="STATUS" operation="profile_replace" parent=420 profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=441 comm="apparmor_parser"
[   12.627589] type=1400 audit(1385024672.962:8): apparmor="STATUS" operation="profile_replace" parent=374 profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=442 comm="apparmor_parser"
[   12.627592] type=1400 audit(1385024672.962:9): apparmor="STATUS" operation="profile_replace" parent=374 profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=442 comm="apparmor_parser"
[   12.627603] type=1400 audit(1385024672.962:10): apparmor="STATUS" operation="profile_replace" parent=420 profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=441 comm="apparmor_parser"
[   12.627606] type=1400 audit(1385024672.962:11): apparmor="STATUS" operation="profile_replace" parent=420 profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=441 comm="apparmor_parser"
[   12.633298] kvm: disabled by bios
[   12.651960] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   12.667127] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   12.667128] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   12.667128] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   12.667129] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_P2P disabled
[   12.667130] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
[   12.667226] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   12.685923] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   12.730213] cfg80211: World regulatory domain updated:
[   12.730213] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.730214] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.730215] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.730215] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.730216] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.730216] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.868640] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   12.868695] scsi6 : usb-storage 1-1.1:1.0
[   12.868779] usbcore: registered new interface driver usb-storage
[   12.870778] Linux video capture interface: v2.00
[   12.875368] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (174f:146d)
[   12.880776] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/input/input5
[   12.880827] usbcore: registered new interface driver uvcvideo
[   12.880828] USB Video Class driver (1.1.1)
[   12.960469] hidraw: raw HID events driver (C) Jiri Kosina
[   13.019536] usbcore: registered new interface driver usbhid
[   13.019536] usbhid: USB HID core driver
[   13.057690] input: 2.4G Wireless Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input6
[   13.057982] hid-generic 0003:1D57:0008.0001: input,hidraw0: USB HID v1.10 Mouse [2.4G Wireless Optical Mouse] on usb-0000:00:1a.0-1.2/input0
[   13.234217] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f01)
[   13.259326] psmouse serio1: elantech: Synaptics capabilities query result 0x10, 0x15, 0x0e.
[   13.355649] Console: switching to colour frame buffer device 170x48
[   13.357630] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   13.357631] i915 0000:00:02.0: registered panic notifier
[   13.357769] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[   13.360179] acpi device:37: registered as cooling_device9
[   13.360290] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
[   13.360325] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:35/LNXVIDEO:00/input/input7
[   13.368566] acpi device:43: registered as cooling_device10
[   13.368674] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   13.368703] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input8
[   13.368819] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[   13.368955] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[   13.379904] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input9
[   13.382335] SKU: Nid=0x1d sku_cfg=0x40148505
[   13.382337] SKU: port_connectivity=0x1
[   13.382338] SKU: enable_pcbeep=0x1
[   13.382339] SKU: check_sum=0x00000004
[   13.382340] SKU: customization=0x00000085
[   13.382340] SKU: external_amp=0x0
[   13.382341] SKU: platform_type=0x1
[   13.382342] SKU: swap=0x0
[   13.382343] SKU: override=0x1
[   13.382566] autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   13.382567]    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   13.382568]    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   13.382568]    mono: mono_out=0x0
[   13.382569]    inputs:
[   13.382571]      Mic=0x18
[   13.382572]      Internal Mic=0x12
[   13.382573] realtek: No valid SSID, checking pincfg 0x40148505 for NID 0x1d
[   13.382574] realtek: Enabling init ASM_ID=0x8505 CODEC_ID=10ec0269
[   13.390629] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   13.390688] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   13.390737] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   13.848196] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[   14.088206] scsi 6:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 4
[   14.088584] sd 6:0:0:0: Attached scsi generic sg2 type 0
[   14.089120] sd 6:0:0:0: [sdb] 15667200 512-byte logical blocks: (8.02 GB/7.47 GiB)
[   14.089871] sd 6:0:0:0: [sdb] Write Protect is off
[   14.089874] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[   14.090742] sd 6:0:0:0: [sdb] No Caching mode page found
[   14.090768] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   14.094119] sd 6:0:0:0: [sdb] No Caching mode page found
[   14.094141] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   14.095057]  sdb: sdb4
[   14.098426] sd 6:0:0:0: [sdb] No Caching mode page found
[   14.098449] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   14.098481] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[   15.072950] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[   15.333452] init: failsafe main process (703) killed by TERM signal
[   15.584099] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.584103] Bluetooth: BNEP filters: protocol multicast
[   15.584111] Bluetooth: BNEP socket layer initialized
[   15.587267] Bluetooth: RFCOMM TTY layer initialized
[   15.587278] Bluetooth: RFCOMM socket layer initialized
[   15.587280] Bluetooth: RFCOMM ver 1.11
[   15.992358] ppdev: user-space parallel port driver
[   16.047033] init: avahi-cups-reload main process (868) terminated with status 1
[   16.282577] init: nvidia-persistenced main process (997) terminated with status 1
[   17.324774] r8169 0000:02:00.0 eth0: link down
[   17.324807] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.325101] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.326695] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   17.334436] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   17.576684] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   17.584401] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   17.644758] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.645116] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   18.071590] bbswitch: version 0.7
[   18.071595] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   18.071598] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[   18.071607] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   18.071745] bbswitch: detected an Optimus _DSM function
[   18.071785] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[   18.073370] bbswitch: disabling discrete graphics
[   18.073377] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   18.097148] pci 0000:01:00.0: power state changed by ACPI to D3cold
[   18.704995] wlan0: authenticate with bc:ae:c5:a6:36:5c
[   18.713163] wlan0: send auth to bc:ae:c5:a6:36:5c (try 1/3)
[   18.715750] wlan0: authenticated
[   18.722544] wlan0: associate with bc:ae:c5:a6:36:5c (try 1/3)
[   18.727914] wlan0: RX AssocResp from bc:ae:c5:a6:36:5c (capab=0x411 status=0 aid=1)
[   18.731625] wlan0: associated
[   18.731667] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.731738] cfg80211: Calling CRDA for country: GB
[   18.733959] cfg80211: Regulatory domain changed to country: GB
[   18.733963] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   18.733965] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   18.733967] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   18.733968] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   18.733970] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[   18.733971] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[   20.253601] IPv6: wlan0: IPv6 duplicate address fe80::6a17:29ff:fee6:33bd detected!
[   35.909509] FAT-fs (sdb4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   52.452003] bbswitch: enabling discrete graphics
[   52.599401] pci 0000:01:00.0: power state changed by ACPI to D0
[   52.743881] nvidia: module license 'NVIDIA' taints kernel.
[   52.743884] Disabling lock debugging due to kernel taint
[   52.749795] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[   52.749799] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.20  Wed Oct 30 17:43:35 PDT 2013
[   53.901950] vgaarb: this pci device is not a vga device
[   53.912944] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[   53.919303] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919376] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919420] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919470] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919511] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919552] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919607] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   53.919648] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   58.136804] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   58.546286] vgaarb: this pci device is not a vga device
[   59.499458] [drm] Module unloaded
[   59.501289] bbswitch: disabling discrete graphics
[   59.501302] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   59.514908] pci_raw_set_power_state: 180 callbacks suppressed
[   59.514912] pci 0000:01:00.0: Refused to change power state, currently in D0
[   59.518458] pci 0000:01:00.0: power state changed by ACPI to D3cold
[   62.887360] bbswitch: enabling discrete graphics
[   63.027712] pci 0000:01:00.0: power state changed by ACPI to D0
[   63.039640] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[   63.039646] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.20  Wed Oct 30 17:43:35 PDT 2013
[   63.141518] vgaarb: this pci device is not a vga device
[   63.142009] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[   63.148392] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148461] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148502] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148549] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148587] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148626] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148677] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   63.148715] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   68.304857] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   68.681874] vgaarb: this pci device is not a vga device
[   92.210594] [drm] Module unloaded
[   92.212073] bbswitch: disabling discrete graphics
[   92.212086] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   92.224855] pci 0000:01:00.0: Refused to change power state, currently in D0
[   92.229249] pci 0000:01:00.0: power state changed by ACPI to D3cold
[  199.522873] bbswitch: enabling discrete graphics
[  199.672164] pci 0000:01:00.0: power state changed by ACPI to D0
[  199.693523] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[  199.693530] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.20  Wed Oct 30 17:43:35 PDT 2013
[  199.758953] vgaarb: this pci device is not a vga device
[  199.759476] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[  199.765957] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766028] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766073] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766124] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766165] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766206] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766262] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  199.766302] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  200.914604] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  201.374762] vgaarb: this pci device is not a vga device
[  208.385015] [drm] Module unloaded
[  208.387376] bbswitch: disabling discrete graphics
[  208.387396] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  208.403722] pci 0000:01:00.0: Refused to change power state, currently in D0
[  208.409225] pci 0000:01:00.0: power state changed by ACPI to D3cold
[  216.046386] bbswitch: enabling discrete graphics
[  216.193129] pci 0000:01:00.0: power state changed by ACPI to D0
[  216.209737] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[  216.209745] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.20  Wed Oct 30 17:43:35 PDT 2013
[  216.276814] vgaarb: this pci device is not a vga device
[  216.277280] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[  216.283760] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.283831] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.283876] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.283926] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.283967] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.284007] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.284091] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  216.284133] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  217.398244] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  217.863294] vgaarb: this pci device is not a vga device
[  230.472488] [drm] Module unloaded
[  230.474631] bbswitch: disabling discrete graphics
[  230.474645] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[  230.488995] pci 0000:01:00.0: Refused to change power state, currently in D0
[  230.494698] pci 0000:01:00.0: power state changed by ACPI to D3cold
خروجی lsmod :
Module                  Size  Used by
nls_iso8859_1          12713  1
bbswitch               13943  0
parport_pc             32701  0
ppdev                  17671  0
rfcomm                 69070  12
bnep                   19564  2
snd_hda_codec_hdmi     41117  1
snd_hda_codec_realtek    55704  1
joydev                 17377  0
hid_generic            12548  0
usbhid                 53014  0
hid                   105818  2 hid_generic,usbhid
uvcvideo               80885  0
videobuf2_vmalloc      13216  1 uvcvideo
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40469  1 uvcvideo
videodev              133390  2 uvcvideo,videobuf2_core
usb_storage            62062  1
arc4                   12608  2
iwldvm                237440  0
mac80211              596969  1 iwldvm
x86_pkg_temp_thermal    14162  0
intel_powerclamp       14705  0
coretemp               13435  0
kvm                   431315  0
crct10dif_pclmul       14289  0
crc32_pclmul           13113  0
ghash_clmulni_intel    13259  0
aesni_intel            55624  2
aes_x86_64             17131  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20329  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_intel          48171  0
snd_hda_codec         188738  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30095  1 snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
lp                     17759  0
snd                    69141  11 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
parport                42299  3 lp,ppdev,parport_pc
iwlwifi               165398  1 iwldvm
btusb                  28267  0
microcode              23518  0
bluetooth             371880  22 bnep,btusb,rfcomm
i915                  655752  3
cfg80211              479757  3 iwlwifi,mac80211,iwldvm
psmouse                97626  0
serio_raw              13413  0
drm_kms_helper         52651  1 i915
mei_me                 18421  0
drm                   296739  4 i915,drm_kms_helper
lpc_ich                21080  0
soundcore              12680  1 snd
mei                    77692  1 mei_me
i2c_algo_bit           13413  1 i915
ideapad_laptop         18342  0
sparse_keymap          13948  1 ideapad_laptop
video                  19318  1 i915
mac_hid                13205  0
r8169                  67341  0
ahci                   25819  2
libahci                31898  1 ahci
mii                    13934  1 r8169
یعنی تا زمانیکه درایور با پشتیبانی رسمی از optimus نده nvidia  هیچ کدوم از این تنظیمات رنگ و ... رو نمیشه انجام داد؟؟؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 30 آبان 1392، 01:26 ب‌ظ
محتوی فایل زیر رو برام بزار:
/etc/bumblebee/xorg.conf.nvidiaعجیبه که مستندات bumblebee اینقدر کمه. یک جا تو wikiشون نوشته که راهکاری برای شناسایی خودکار ماژول nvidia در اوبونتو دارن ولی هیچجا عملکردش رو توضیح ندادن.
نقل‌قول
خروجی dmesg
خروجی‌های طولانی مثل dmesg رو اول توی یه فایل بریز بعد محتویات فایل رو این‌جا قرار بده. اینجوری مثلا:
dmesg > ~/dmesg.textالان خروجی optirun glxgears چیه؟ ببین می‌تونی nvidia-331 رو دستی لود کنی؟
sudo modprobe nvidia-331
نقل‌قول
یعنی تا زمانیکه درایور با پشتیبانی رسمی از optimus نده nvidia  هیچ کدوم از این تنظیمات رنگ و ... رو نمیشه انجام داد؟؟
تنظیمات رنگ، روشنایی و غیره مربوط به درایور intel میشه که خروجی تصویر میده. چیپ nvidia فقط می‌تونه تو رندر کمک کنه.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 01:38 ب‌ظ
باشه چشم.
خروجی /etc/bumblebee/xorg.conf.nvidia:
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
خروجی sudo modprobe nvidia-331 :
ERROR: could not insert 'nvidia_331': No such deviceو موقعی که optirun glxgears رو اجرا  می کنم :
(http://vtaghavi68.persiangig.com/Screenshot%20from%202013-11-21%2013%3A34%3A58.png)
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 30 آبان 1392، 01:48 ب‌ظ
نقل‌قول
و موقعی که optirun glxgears رو اجرا  می کنم
به نظرم میرسه داره کار می‌کنه. حداقل خطا که نداده.
خروجی دستورهای زیر چیه؟
optirun glxinfo | grep -i opengl
lsmod | egrep 'nvidia|nouveau'
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 02:04 ب‌ظ
خروجی optirun glxinfo | grep -i opengl:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 740M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
دستور lsmod | egrep 'nvidia|nouveau' هم که اصلا کاری نمی کنه و دوباره خط اعلان ظاهر میشه.
یعنی الان نصبه ؟ راستی ساسان جان از bumblebee configurator ui  استفاده کنم ببینم نتیجش چی میشه چون این تنظیمات رو بصورت گرافیکی داره.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: ساسان در 30 آبان 1392، 02:35 ب‌ظ
نقل‌قول
دستور lsmod | egrep 'nvidia|nouveau' هم که اصلا کاری نمی کنه و دوباره خط اعلان ظاهر میشه.
یعنی الان نصبه ؟ راستی ساسان جان از bumblebee configurator ui  استفاده کنم ببینم نتیجش چی میشه چون این تنظیمات رو بصورت گرافیکی داره.
بله نصبه و کار می‌کنه. اون ابزار کانفیگ‌هایی که خودمون دستی نوشتیم رو با گزینه‌های گرافیکی در اختیارت قرار میده.
می‌تونم بپرسم استفاده اصلیت از گرافیک nvidia چه خواهد بود؟ بازی؟ رندر سه بعدی؟
چون به نظرم برای درصد بالایی از کاربران لینوکس همین که گرافیک دوم خاموش بشه و عمرباتری بالاتری بگیرن کافیه چون گرافیک اینتل از پس تمام نیازهای گرافیکی متداول به خوبی برمیاد.
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 30 آبان 1392، 03:55 ب‌ظ
یکی اینکه بتونم مثل لپ تاپ قبلیم (dell-xps) تنظیمات رنگ و مدیدیریت خروجی های مانیتور و تلویزیون hd  رو با کابل HDMI  انجام بدم و یکی دیگه هم چون وب کار می کنم و علاقه زیادی به dreamweaver , photoshop دارم و نیازه تحته wine  اجراش کنم . الان این تنظیمات رنگ که گفتی رو روی intel graphic  چطور می تونم پیاده کنم؟
عنوان: پاسخ : کار نکردن bumblebee بعد از نصب
ارسال شده توسط: v.taghavi68 در 04 آذر 1392، 09:36 ب‌ظ
ساسان جان بالاخره تونستم کامل و بدون مشکل نصبش کنم.حالا ی آموزش کامل رو ساختم رو در فروم قرار دادم تا بقیه هم بتونن ازش استفاده کنن. ی سری بزنی ببینی کجاها گاف دادم و سوتی ازم بگیری بد نیست .بابت راهنمایی هات ممنون. اینم آدرس آموزشم :
http://forum.ubuntu.ir/index.php/topic,80692.msg674382.html#msg674382