Chr*_*ris 1 linux linux-mint nvidia-geforce optimus lenovo-laptop
所以我一直在尝试让我的联想 y50-70 笔记本电脑运行 Linux Mint Rebecca 17.1,它同时具有英特尔集成 GPU 和 GTX860M。我已经安装了 ppa 存储库
sudo add-apt-repository ppa:xorg-edgers/ppa
Run Code Online (Sandbox Code Playgroud)
和司机
sudo apt-get install nvidia-343
Run Code Online (Sandbox Code Playgroud)
以及据说我也需要的 bumlbee 开关。
sudo apt-get install bumblebee bumblebee-nvidia primus
Run Code Online (Sandbox Code Playgroud)
我也尝试了其他几种方法,并且总是在这些安装之后,当我重新启动 Mint 时,我得到“Cinnamon 刚刚崩溃。您当前正在回退模式下运行”。
有谁知道如何在实现此图形开关的笔记本电脑上成功安装和运行 nvidia 驱动程序?
(我也遵循了 rebecca distro 17.1 注释的指南,说我需要更改 grub 引导以添加“nomodeset”但无济于事)。
任何帮助都会很棒!
因此,经过许多不同方法的漫长过程后,我终于偶然发现了一种有效的方法:
这是全新安装的 Linux Mint 17.1 (Rebecca)
sudo apt-get update&sudo apt-get upgrade将 'nomodeset' 添加到 grub 加载器,即sudo nano /etc/default/grub应如下所示:
Run Code Online (Sandbox Code Playgroud)GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" GRUB_CMDLINE_LINUX=""
通过突触包管理器安装 bumblebee bumblebee-nvidia bbswitch-dkms primus 因为这三个依赖项没有出现在 apt-get 调用中
sudo apt-get install libcuda1-331 libvdpau1 nvidia-331 nvidia-331-uvm nvidia-libopencl1-331 nvidia-opencl-icd-331 nvidia-settings screen-resolution-extragksudo gedit /etc/bumblebee/bumblebee.conf改变:
# 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=
Run Code Online (Sandbox Code Playgroud)
到:
# 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
Run Code Online (Sandbox Code Playgroud)
也改变:
## 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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
Run Code Online (Sandbox Code Playgroud)
到:
## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
Run Code Online (Sandbox Code Playgroud)
最后保存文件,重启然后测试vblank_mode=0 glxgears你应该使用专用图形芯片获得高帧率。
您还可以使用专用图形运行程序 optirun <application>