Bumblebee — различия между версиями

Материал из Rosalab Wiki
Перейти к: навигация, поиск
(Новая страница: «==Инструкция по установке== - Установите пакеты драйверов NVidia. Для приемлимой производител...»)
 
(Перенаправление на Nvidia Optimus)
 
(не показаны 3 промежуточные версии 3 участников)
Строка 1: Строка 1:
==Инструкция по установке==
+
#REDIRECT [[Nvidia_Optimus]]
- Установите пакеты драйверов NVidia. Для приемлимой производительности установите проприетарные драйвера, подключив источник non-free и запустив настройку через XFDrake.
+
- Создайте группу bumbleebee (если она существует, то пропустите этот шаг). Выполните следующую команду от root
+
 
+
+
 
+
- Add yourself to the bumblebee group (if this group doesn't exist,
+
create it first and (re)start the bumblebeed daemon afterwards)
+
- A relogon may be neccesary to have the group changes take effect,
+
rebooting should not be neccesary.
+
- Any application may now be prefixed by "optirun" to run it through
+
the Nvidia GPU. For example: "optirun glxgears". A very noticable
+
difference in framerates should be observed as compared to running
+
normally.
+
 
+
If it doesn't work:
+
- Run optirun with the --debug commandline line parameter (as in:
+
"optirun --debug glxgears", for example), and it should provide some
+
meaningful error message as to where the problem is.
+
- If the bumblebeed daemon could not be reached, stop the daemon and
+
manually run it (as root), also with the --debug parameter. It should
+
print a lot of helpful info and error messages. Also make sure you are
+
added to the bumblebee group!
+
- If the GPU could not be started, make sure nvidia drivers are
+
installed properly and power management is working correctly. A reboot
+
might help as well (this restores some internal PCI values that may be
+
corrupted).
+
- If X could not be started, you may have to edit the
+
/etc/bumblebee/xorg.conf.nvidia file. Some errors will also
+
specifically tell you that you need to do this and tell you exactly
+
what to change there.
+
- Still having trouble? Ask for help in #bumblebee on irc.freenode.net
+
 
+
If after a reboot the whole screen is upside-down and/or garbled:
+
You installed nvidia drivers through some other means than the
+
Mandriva packages - this overwrites the Intel hardware acceleration
+
with non-compatible files. Un-install them and replace by the Mandriva
+
packages. If that doesn't fix the problem, you may have to
+
force-reinstall the Intel drivers and xorg files with urpmi
+
--replacepkgs (do a search for packages containing libGL.so,
+
specifically!). It is possible to use the latest official nvidia
+
drivers as well, but it requires a lot of manual configuration. You
+
need to backup the intel-compatible files and move the nvidia versions
+
to a new directory (for example /usr/lib/nvidia-current), then move
+
the intel files back to their original location. The directory that
+
contains the nvidia-compatible files needs to be put in
+
/etc/bumblebee/bumblebee.conf as well.
+
 
+
If you want to use nouveau instead:
+
The version of nouveau in Mandriva is not recommended for Optimus
+
configurations, so you may want to manually compile and install a
+
newer version (the more recent, the better). Then change the line
+
"Driver=nvidia" in /etc/bumblebee/bumblebee.conf to "Driver=nouveau".
+
That should be all you need to do. When using nouveau, bbswitch is no
+
longer required for power management and vga_switcheroo can be used
+
instead (enabled by default if bbswitch is not installed), but an
+
extremely recent development version kernel is required for it to work
+
on all models, so this is not advised. Keeping bbswitch installed
+
should allow the nouveau drivers to work with power management on all
+
Optimus model laptops. In the future vga_switcheroo should/will
+
surpass bbswitch in functionality, so the option to use it is there.
+
 
+
[[Категория:Оборудование]]
+
[[Категория:Видеокарты]]
+

Текущая версия на 16:07, 28 марта 2015

Перенаправление на: