Difference between revisions of "Lenovo IdeaPad Y580"

From ArchWiki
Jump to: navigation, search
(Using nvidia)
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Lenovo]]
 
[[Category:Lenovo]]
 +
The Lenovo IdeaPad Y580 is for the most part compatible with Arch Linux. The wireless and wired chip, Bluetooth, and graphics are all supported. The only troublesome step is enabling graphics; see the sections below for further info.
 +
 
===Intel graphics===
 
===Intel graphics===
  
 
This machine has two video cards, an Intel HD 4000 integrated chip and a discrete Nvidia GTX 660M.
 
This machine has two video cards, an Intel HD 4000 integrated chip and a discrete Nvidia GTX 660M.
  
If you don't wish to use the machine's NVIDIA card, simply install xf86-video-intel and use the Intel driver. This will leave the NVIDIA card disabled, but it will still use power. To completely disable the NVIDIA card, enter the Y580's BIOS and on the "Configuration" tab, change "Graphic Device" from "Switchable Graphic" to "UMA Graphic". If these options are not there, you may need to update the BIOS.
+
If you only wish to use the Intel chip, for improved battery life, lower temperatures, or less complexity, you can simply install {{Pkg|xf86-video-intel}} and use the Intel driver. This will leave the NVIDIA card disabled, but it will still use power. To completely disable the NVIDIA card, enter the Y580's BIOS and on the "Configuration" tab, change "Graphic Device" from "Switchable Graphic" to "UMA Graphic". If these options are not there, you may need to update the BIOS.
  
 
===NVIDIA graphics===
 
===NVIDIA graphics===
Since the NVIDIA card must have some form of Optimus to be used, the graphics configuration can be complicated. The current Arch Linux kernel and proprietary NVIDIA driver support Optimus, but configuration is somewhat involved. There are three options:
 
* Use the proprietary NVIDIA driver
 
* Use the open-source nouveau driver
 
* Use Bumblebee, which is designed as a third-party Optimus-like solution
 
Each option has its advantages. Bumblebee allows power-saving methods like graphics-card switching, so if you don't want to constantly be running the NVIDIA card, follow the guides for [[Bumblebee]] on the wiki. The proprietary NVIDIA driver typically has better performance than the open-source driver as of September 2013, but typically has more bugs and compatibility issues. The nouveau driver is reverse-engineered due to Nvidia's lack of hardware documentation, and therefore does not perform as well as the proprietary driver, but is simpler to use and less prone to bugs. More information can be found on the wiki's article on [[NVIDIA Optimus]].
 
 
===Using nouveau===
 
To use the nouveau drivers, install the {{Pkg|xf86-video-nouveau}} and {{Pkg|xf86-video-intel}} packages. After rebooting, X should automatically detect the drivers and work.
 
 
===Using nvidia===
 
To use the proprietary NVIDIA drivers, install the {{Pkg|xf86-video-modesetting}}, {{Pkg|nvidia}}, and {{Pkg|xorg-xrandr}} packages.
 
 
The next step is to change {{ic|/etc/X11/xorg.conf}} appropriately. First, you must determine the PCI address of the NVIDIA card. Using {{ic|lspci}}, check the NVIDIA entry:
 
 
{{ic|lspci <nowiki>|</nowiki> grep NVIDIA}}
 
 
The first number you see, which should be formatted something like {{ic|##:##.#}}, is the PCI address. In {{ic|/etc/X11/xorg.conf}}, however, the format must be modified so each number is one digit separated by colons (i.e. 01:00.0 would be written as 1:0:0).
 
 
Now edit {{ic|/etc/X11/xorg.conf}}:
 
{{hc|# nano /etc/X11/xorg.conf|
 
Section "ServerLayout"
 
        Identifier "layout"
 
        Screen 0 "nvidia"
 
        Inactive "intel"
 
EndSection
 
 
Section "Device"
 
        Identifier "nvidia"
 
        Driver "nvidia"
 
        BusID "PCI:''PCI_address''"
 
EndSection
 
 
Section "Screen"
 
        Identifier "nvidia"
 
        Device "nvidia"
 
        Option "UseDisplayDevice" "none"
 
EndSection
 
 
Section "Device"
 
        Identifier "intel"
 
        Driver "modesetting"
 
EndSection
 
 
Section "Screen"
 
        Identifier "intel"
 
        Device "intel"
 
EndSection}}
 
 
The final step is to modify your {{ic|~/.xinitrc}} file to run two {{ic|xrandr}} commands. Add the following two lines at the beginning of your {{ic|.xinitrc}}:
 
 
{{hc|$ nano ~/.xinitrc|
 
xrandr --setprovideroutputsource modesetting NVIDIA-0 &
 
xrandr --auto &}}
 
  
Now reboot, and X should run. If you get a black screen after starting X, kill it and try starting X again (it may take several tries).
+
The Intel card cannot be disabled in BIOS, so Optimus must be configured in order to access the NVIDIA graphics. See the wiki page on [[Optimus]] for an in-depth description of the process.

Revision as of 02:56, 21 October 2013

The Lenovo IdeaPad Y580 is for the most part compatible with Arch Linux. The wireless and wired chip, Bluetooth, and graphics are all supported. The only troublesome step is enabling graphics; see the sections below for further info.

Intel graphics

This machine has two video cards, an Intel HD 4000 integrated chip and a discrete Nvidia GTX 660M.

If you only wish to use the Intel chip, for improved battery life, lower temperatures, or less complexity, you can simply install xf86-video-intel and use the Intel driver. This will leave the NVIDIA card disabled, but it will still use power. To completely disable the NVIDIA card, enter the Y580's BIOS and on the "Configuration" tab, change "Graphic Device" from "Switchable Graphic" to "UMA Graphic". If these options are not there, you may need to update the BIOS.

NVIDIA graphics

The Intel card cannot be disabled in BIOS, so Optimus must be configured in order to access the NVIDIA graphics. See the wiki page on Optimus for an in-depth description of the process.