This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
ASUS Zenbook Pro UX501VW
Installation
Kernel
Device Drivers ---> Input device support ---> [*] Mice ---> <*> ELAN I2C Touchpad support [*] Enable I2C support [*] Enable SMbus support [*] Touchscreens ---> <*> USB Touchscreen Driver [*] (All devices selected) I2C support ---> [*] I2C support I2C Hardware Bus support ---> <*> (I selected all Intel options) <*> Synopsys DesignWare Platform <*> Synopsys DesignWare PCI [*] Intel Baytrail I2C semaphore support
Device Drivers ---> [*] Network device support ---> [*] Wireless LAN ---> [*] Intel devices <*/M> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) <*/M> Intel Wireless WiFi MVM Firmware support
Configuration
Xorg
For proper input, video, and high DPI support on the 3840x2160 screen:
/etc/portage/make.conf
INPUT_DEVICES="libinput" VIDEO_CARDS="intel i965 nouveau"
Create a xorg configuration file to set the monitor size in millimeters (these values were quickly and crudely calculated; you may want to measure your own):
/etc/X11/xorg.conf.d/90-hidpi.conf
Section "Monitor" Identifier "<default monitor>" DisplaySize 342 193 EndSection
If not using GNOME or some other software which manages Xresources and DPI for you, you will need to specify the DPI:
~/.Xresources
Xft.dpi: 240
And you will need this line in someplace like ~/.xinitrc or ~/.xsession (depending on your configuration) in order to apply the Xresources file:
~/.xinitrc
xrdb -merge ~/.Xresources
Other applications may handle high DPI weirdly. The Arch wiki page on High DPI has many helpful hints.