Шмель с nvidia-331-updates. Работа с “- драйвер Nvidia”, но не будет работать сервисом


Согласно этой ссылке Ubuntu представляет собой набор из нескольких компьютерных программ, и каждый из них может другая лицензия.

Насколько я знаю, базовое ядро ​​Linux выпущено в GNU GPL версии 2:

http://www.ubuntu.com/project / about-ubuntu / licensing

И если вы хотите найти лицензионное соглашение для каждой из этих программ, вы можете найти его на машине Ubuntu в этом месте:


задан 1 February 2014 в 20:21

1 ответ

изменение LibraryPath=/usr/lib/nvidia-331-updates:/usr/lib32/nvidia-331-updates кому: LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current

изменение [driver-nvidia] кому:

Driver=nvidia [driver-nvidia]

изменение [driver-nouveau] кому:

Driver=nouveau [driver-nouveau]

изменение KernelDriver=nvidia-331-updates кому: KernelDriver=nvidia_331_updates или KernelDriver=nvidia


ОБНОВИТЕ Попытку это: изменение LibraryPath=/usr/lib/nvidia-331-updates,/usr/lib32/nvidia-331-updates кому: LibraryPath=/usr/lib/nvidia-331-updates,/usr/lib32/nvidia-331-updates

Моя конфигурация шмеля:

# 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.
# The secondary Xorg server DISPLAY number
# 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.
# The name of the Bumbleblee server group name (GID name)
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
# 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)
# Directory with a dummy config file to pass as a -configdir to secondary X

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

# 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
# Module name to load, defaults to Driver if empty or unset
# colon-separated path to the nvidia libraries
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path

## Section with nouveau driver specific options, only parsed if Driver=nouveau

Мой xorg.conf.nvidia:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 331.20  (buildd@roseapple)  Mon Feb  3 15:07:22 UTC 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "AutoAddDevices" "false"
    Option         "AutoAddGPU" "false"
    Option         "Xinerama" "0"

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

Section "Device"

#   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.
#   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).
    Identifier     "DiscreteNvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ProbeAllGpus" "false"
    Option         "NoLogo" "true"
    Option         "UseEDID" "false"
    Option         "UseDisplayDevice" "none"
    BusID          "PCI:01:00:0"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 540M"

Section "Screen"
    Identifier     "Default Screen"
    Device         "DiscreteNvidia"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    DefaultDepth    24
    Option         "UseDisplayDevice" "none"
    SubSection     "Display"
        Virtual     1600 900
        Depth       24

После новой установки Шмеля и Nvidia и DKMS и т.д.

  1. Создайте резервное копирование (если существуют файл), sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

  2. Ввести optirun -b none nvidia-settings -c :8 и сохраните, конфигурируют Xorg к /etc/bumblebee/xorg.conf.nvidia

  3. nvidia-settings не сохранение к /etc/bumblebee/xorg.conf.nvidia. Конфигурация от nvidia-settings был сохранен к /etc/X11/xorg.conf

    Необходимо переместить этот файл в конфигурацию xorg-nvidia шмеля. Ввести sudo rm /etc/bumblebee/xorg.conf.nvidia && sudo mv /etc/X11/xorg.conf /etc/bumblebee/xorg.conf.nvidia

  4. Перезагрузка ;)

Это работает на меня

ответ дан 1 February 2014 в 20:21

Другие вопросы по тегам:

Похожие вопросы: