ASUS Zenbook Pro UX501VW
From Gentoo Wiki
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
For proper input, video, and high DPI support on the 3840x2160 screen:
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):
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:
And you will need this line in someplace like ~/.xinitrc or ~/.xsession (depending on your configuration) in order to apply the Xresources file:
xrdb -merge ~/.Xresources
Other applications may handle high DPI weirdly. The Arch wiki page on High DPI has many helpful hints.