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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: استفاده ی bumblebee از درایور آزاد nouveau  (دفعات بازدید: 1355 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین سالار مقدم

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 2074
  • جنسیت : پسر
  • هر چقدر بدونی بازم کمه.
    • سالار مقدم
سلام دوستان
من فدورا ۱۹ دارم و تصمیم گرفتم که از درایور آزاد انویدیا استفاده کنم خوب منم بامبل بی رو بدون درایور انحصاری نصب کردم:
# yum -y --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora19/noarch/bumblebee-release-1.0-1.noarch.rpm
yum -y install bbswitch bumblebee #
systemctl enable bumblebeed #
خوب یه ریبوت تمیز دادم تا تست کنم ببینم ردیفه یا نه با دستور زیر یه تست گرفتم
optirun glxgearsو در جواب:
[   71.073926] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[   71.073977] [ERROR]Aborting because fallback start is disabled.
با خودم گفتم شاید درایور 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=nouveau
# 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/primus:/usr/lib64/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-nouveau]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nouveau
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

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

یعنی کلا هر دوتاشو به nouveau تغییر دادم و باز هم یه ریبوت دادم تا ببینم چی میشه که باز هم همون ارور قبلی رو داد
[   71.073926] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[   71.073977] [ERROR]Aborting because fallback start is disabled.
خوب چیکار کنم؟

آفلاین سالار مقدم

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 2074
  • جنسیت : پسر
  • هر چقدر بدونی بازم کمه.
    • سالار مقدم
پاسخ : استفاده ی bumblebee از درایور آزاد nouveau
« پاسخ #1 : 05 تیر 1392، 09:24 ب‌ظ »
بعد از نصب xorg-x11-drv-mouse
optirun glxgears
[  856.797692] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[  856.797729] [ERROR]Aborting because fallback start is disabled.
با آپشن vv
[salar@moghaddam ~]$ optirun -vv glxgears
[  453.020141] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  453.020379] [INFO]Configured driver: nouveau
[  453.022542] [DEBUG]optirun version 3.2.1 starting...
[  453.022554] [DEBUG]Active configuration:
[  453.022558] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  453.022561] [DEBUG] X display: :8
[  453.022565] [DEBUG] LD_LIBRARY_PATH:
[  453.022568] [DEBUG] Socket path: /var/run/bumblebee.socket
[  453.022571] [DEBUG] Accel/display bridge: auto
[  453.022575] [DEBUG] VGL Compression: proxy
[  453.022578] [DEBUG] VGLrun extra options:
[  453.022582] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus
[  453.022604] [DEBUG]Using auto-detected bridge virtualgl
[  453.253754] [INFO]Response: No - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[  453.253781] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[  453.253788] [DEBUG]Socket closed.
[  453.253812] [ERROR]Aborting because fallback start is disabled.
[  453.253818] [DEBUG]Killing all remaining processes.
« آخرین ویرایش: 05 تیر 1392، 09:29 ب‌ظ توسط سالار مقدم »