χάμστερ :: :: ::
Feci, quod potui, faciant meliora potentes
Оставил только то, что действительно заработало. И еще, чтобы не забыть: при первых попытках появлялась ошибка
Cannot access secondary GPU -
error: [XORG] (EE) Failed to load module "mouse"
(module does not exist, 0)
Проблема решилась удалением лишних конфигов из папки /etc/X11/xorg.conf.d
Вторая проблема - при попытке выполнить dkms add acpi-handle-hack/0.0.1 - писало, что уже есть (осталось от предыдущих попыток). Для исправления нужно выполнить: dkms remove acpi-handle-hack/0.0.1 --all
Ниже часть оригинала статьи:
In fact in a Linux OS the Nvidia Optimus is NOT working on Lenovo Ideapad Y470 Y570 due to a wrong call in the notebook BIOS, and you will end using always the Intel HD 3000 Integrated GPU and the Nvidia discrete graphic card will be always ON and in use generating heat and reducing your battery life.
Other symptoms include problems when installing official Linux Nvidia drivers with impossibility to start your desktop manager and eventually you will be stuck on linux command line if you try to run nvidia-xconfig to generate a proper Xorg.conf file. To get back to your visual desktop just type in the console
sudo rm /etc/X11/xorg.conf
to remove the bad Xorg.conf file, then restart your desktop manager or reboot.
I assembled a little tutorial guide to get Nvidia Optimus working on Lenovo Ideapad Y470 and Y570 on Linux Debian with Bumblebee and updated Nvidia drivers.
- Uninstall or remove completely your Linux Nvidia drivers if you installed them, you can do this by using your package manager. Also remove your Xorg.conf file if you have one.
- You need to download a Bumblebee prerequisite program , bbswitch, to manage you discrete card activation especially modified to solve the Lenovo Ideapad Y470 Y570 wrong dsm call, and enable it in your Linux installation. At this time this modification is an “hack” that bypass the problem rather than solve it. To download bbswitch with lenovo hack type in your console with administrator rights :
git clone git://github.com/Bumblebee-Project/bbswitch.git -b hack-lenovo cd bbswitch mkdir /usr/src/acpi-handle-hack-0.0.1 cp Makefile acpi-handle-hack.c /usr/src/acpi-handle-hack-0.0.1 cp dkms/acpi-handle-hack.conf /usr/src/acpi-handle-hack-0.0.1/dkms.conf dkms add acpi-handle-hack/0.0.1 dkms build acpi-handle-hack/0.0.1 dkms install acpi-handle-hack/0.0.1
- If you are on a Debian based linux distro ( Like Ubuntu or Crunchbang, that was my case) you need to have the acpi-handle-hack module loaded at startup :
echo acpi-handle-hack | sudo tee -a /etc/modules sudo update-initramfs -u
- Now you need to install Bumblebee that will manage your discrete card activation-deactivation and will take care to install the proper nvidia drivers. Refere to the Bumbleebee installation page for help. You can also quickly install Bumblebee by adding a third party repository, check http://suwako.nomanga.net/for further informations. Run as root :
wget -O - http://suwako.nomanga.net/suwako.asc | apt-key add - deb http://suwako.nomanga.net/debian sid main contrib deb-src http://suwako.nomanga.net/debian sid main apt-get update apt-get install bumblebee bumblebee-nvidia adduser $USER bumblebee
- Now you are done ! To check if things work ok you can run a simple benchmark like glxgears with the Intel HD 3000 card :
glxgears
And now run the same benchmark with the discrete nvidia GPU :
optirun glxgears
- Now thanks to bbswitch you can switch on and off your discrete VGA by using the following commands as root :
#Get the status: cat /proc/acpi/bbswitch 0000:01:00.0 ON #Turn the card off, respectively on: tee /proc/acpi/bbswitch <<<OFF tee /proc/acpi/bbswitch <<<ON
I hope that with this tutorial you can get Nvidia Optimus working on Lenovo Ideapad Y470 Y570 on Linux Debian with Bumblebee, to make sure i used the Unigine Heaven benchmark, here my results for my Lenovo Ideapad Y470 with Debian based Crunchbang linux distribution with my I3′s Intel HD 3000 GPU and with my discrete Nvidia GT550 GPU.
Новое на сайте:
- Kонсоль mc в debian 6
- Сжатие ssh-трафика
- Изменить размер диска VirtualBox
- ext3, ext4 - свободное место
- Nano - горячие клавиши
- umount sshfs
- How to restore Windows XP menu entry in GRUB
- Nvidia Optimus working on Lenovo Ideapad Y470 Y570 on Linux Debian Bumblebee
- No matching host key type found. Their offer: ssh-dss
- Steam libGL error: unable to load driver: i965_dri.so
- Error starting up node and/or syncing Error: Couldn't start swarm process.
- Boot fail
- Пропал звук после клонирования диска windows 8.1
- Simulator MacOS
- Isp manager, ssl сертификат
- Chromium: has been blocked by CORS
- Thunar sd card или usb: no authorized to perform operation
- Добавление статических адресов в роутере (локальный DNS) Keenetic OS
- Настройка nfs в локальной сети (debian 10)
- update-alternatives
- systemctl запуск, остановка и автозагрузка сервисов
- Заметки по настройке Mikrotik
- debian 11 tmpfs in ram
- fstab ssd mount
- Warning: os-prober will not be executed to detect other bootable partitions.
- fastpanel за nat и let's encrypt
- 40: Too many levels of symbolic links nginx
- Перенос swap раздела на другой диск виртуалки
- Увеличение раздела диска в Linux
- Пакет для билда в linux
- nginx bind() to :80 failed (99: Cannot assign requested address) после перезапуска
- Смена прав только для файлов или только папок
- Восстановление профиля windows из бэкапа, после low disk space
- Загрузка Orangepi 3B с eMMC (debian, ubuntu)
- Включить экран от RaspberyPI 3B+ на OrangePI 3B