[РЕШЕНО] Bumblebee - Optimus Nvidia GT650M

Jisatsu
Bumblebee не имеет никакого отношения к Арчу, потому не может рожать на нём пятна. =) Более того, с ним у меня производительность игр выше, чем на Винде. Именно в Арче.
Бывали у меня такие же сообщения, обычно это происходило потому что какого-то пакета не хватало. Есть ещё две причины:
1) В конфиге пчёла в поле Driver указана не nvidia.
2) Косячит драйвер (нечаянно установленный) nouveau, его надо зафигачить в блэклист.

Я тут щас напишу как я ставлю KDE с иксами и всё всегда работает!
# pacman -S xorg-server xorg-xinit xf86-video-vesa xf86-video-intel kde-meta
Это минимум которого хватает для работы openGL под интегрированной Intel.
Для пчёла я делаю так:
# pacman -S bumblebee nvidia
Если 64бит система то ещё нужны пакеты
# pacman -S lib32-nvidia-utils lib32-virtualgl
Затем юзера в группу
# gpasswd -a $USER bumblebee
И демона в автозагрузку
# systemctl enable bumblebeed.service

После ребута всё отлично работает. Вы что-то явно делаете не так. А с gdm вечно проблемы. Ненавижу Gnome как есть. =) Я много раз давал шанс, но ему слишком уж далеко до функционала и стабильности KDE. GTK прошлый век, давно пора всё писать на Qt. Знающие различия в этих двух языках поймут. Но стоит заметить, что Gnome я поднимал абсолютно аналогично.
поддержу всё должно работать, устанавливать надо правильно и всё!!!
C уважением papados!
Jisatsu с какой целью ставите xf86-video-vesa? Сам с Intel'м видео никогда его не ставлю, всё работает, как часы =))
Jisatsu
voronwe
Столкнулся с такой же проблемой.
При попытке поставить дрова на nvidia GT 620M гном не стал запускаться. Я пользовался этим руководством. Мне пришлось сделать следующее:
pacman -Rdd mesa-libgl
Вы удалили линки, и ещё удивляетесь почему не работает? :D
У Вас оптимус, поставьте всё по моей инструкции выше. Вместо kde-meta естественно нужно вписать gnome и gnome-extra если нужны всякие приблуды.

pacman -S xorg-server xorg-init gnome gnome-extra nvidia-304xx xorg-twm xterm
Ошибка осталась прежней.

Есть идеи кроме перехода на кеды? :(
voronwe
pacman -S xorg-server xorg-init gnome gnome-extra nvidia-304xx xorg-twm xterm
Ошибка осталась прежней.
Есть идеи кроме перехода на кеды? :(

  • Я ставлю пакет не nvidia-304xx а просто nvidia. Не знаю, есть ли там разница, в сорцы не глядел. Может ответ кроется в этом.
  • Не xorg-init, а xorg-xinit.
  • Вы ставите Nvidia без Bumblebee, оно так не работает на Оптимусе.
  • xorg-twm и xterm не нужно, только если вы не пользутесь ими. =)
Keep it simple, stupid!
Rarog
Jisatsu с какой целью ставите xf86-video-vesa? Сам с Intel'м видео никогда его не ставлю, всё работает, как часы =))
А если завтра мейнтейнер Intel будет в говно и закоммитит драйвер с багом? =) Я быстренько переключусь на vesa. =) Не знаю, привычка ставить. Оно не мешает, мало весит. =)
Keep it simple, stupid!
Jisatsu
Бывали у меня такие же сообщения, обычно это происходило потому что какого-то пакета не хватало. Есть ещё две причины:
1) В конфиге пчёла в поле Driver указана не nvidia.
~]$ sudo gedit /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
# 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.
#primus=auto
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/lib32/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
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/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
Jisatsu
2) Косячит драйвер (нечаянно установленный) nouveau, его надо зафигачить в блэклист.
~]$ yaourt -Ss nouveau
extra/nouveau-dri 9.1.6-1
    Mesa drivers for Nouveau
extra/xf86-video-nouveau 1.0.9-1 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards
aur/bumblebee-amd-git 20130720-1 (0)
    common-amd branch of Bumblebee. Hybrid graphics support for Linux through
    VirtualGL. You need to install proper drivers separately. Can be used with
    nouveau, nvidia, fglrx, radeon, etc.
aur/bumblebee-git 3.2.12.g8244297-1 (34)
    Develop branch of Bumblebee. Optimus Support for Linux Through VirtualGL.
    You need to install proper drivers separately. Can be used with Nouveau or
    Nvidia
aur/envytools-git 20120910-1 (2)
    A tool for nouveau debugging
aur/libx32-mesa 9.0.1-1.1 (0)
    Mesa classic DRI + Gallium3D drivers for Nouveau (x32 ABI)
aur/linux-nouveau-git 20110903-1 (Out of Date) (3)
    The Linux Kernel and modules from the Nouveau project's git tree
aur/nouveau-drm-git 20100323-1 (21)
    nvidia opensource X driver
aur/nouveau-fw 0.1-3 (3)
    This package provides video & pgraph firmwares for all NVIDIA chipsets
    that need them.
aur/renouveau 20110108-1 (48)
    A tool for clean room reverse engineering of nVidia drivers
aur/shiki-nouveau 2012.11.01-1 (8)
    Shiki-Colors Gtk2.0/Gtk3.0/Metacity/Mutter/Cinnamon/Gnome-Shell theme.
aur/xf86-video-nouveau-git 20110216-1 (128)
    nvidia opensource X driver
aur/xf86-video-nouveau-mir-bzr 2317-1 (0)
    Open Source 2D acceleration driver for nVidia cards
~]$ sudo gedit /etc/modprobe.d/modprobe.conf
blacklist nouveau
Jisatsu
Затем юзера в группу
# gpasswd -a $USER bumblebee
И демона в автозагрузку
# systemctl enable bumblebeed.service
~]$ id archie
uid=1000(archie) gid=100(users) группы=100(users),7(lp),10(wheel),50(games),90(network),91(video),92(audio),93(optical),95(storage),96(scanner),98(power),999(bumblebee)

Jisatsu
Вы что-то явно делаете не так.
Делаю всё по лекалам, вопрос в другом - как узнать что не так?
~]$ sudo gedit /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
Вот это не понятно
~]$ lspci -d 10de: -vvnn
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M] [10de:0fd1] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel modules: nouveau, nvidia
Конкретно куда копать
error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
Тут я уже не знаю как помочь.
Keep it simple, stupid!
У меня выводится следующее:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

Как я понимаю, там должна быть информация и об nvidia второй строчкой. Означает ли её (этой информации) отсутствие, что у меня не работает видеокарта?
короче все грустно с Optimus в Арче
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
palpalych
короче все грустно с Optimus в Арче
Нет ничего невыполнимого.
Ошибки не исчезают с опытом - они просто умнеют
 
Зарегистрироваться или войдите чтобы оставить сообщение.