Configure Linux – Dell 7559

Some details gathered from around the Internet for getting Antergos running on my Dell Inspire 7559 Laptop. Using the nvidia GTX960M as the main graphics card.

Setup Grub:

nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=”quiet acpi_osi=\”!Windows 2015\” nvidia-drm modeset=1″

Get the login screens to work (this didn’t work with lightdm)

nano /etc/lightdm/display_setup.sh

Paste in:

#!/bin/sh
xrandr –setprovideroutputsource modesetting NVIDIA-0
xrandr –auto

then

chmod +x /etc/lightdm/display_setup.sh

Configure Lightdm

nano /etc/lightdm/lightdm.conf

edit to these:

[Seat:*] uncomment*

display-setup-script=/etc/lightdm/display_setup.sh

sddm:

nano /usr/share/sddm/scripts/Xsetup

edit to these:

xrandr –setprovideroutputsource modesetting NVIDIA-0
xrandr –auto

Install the needed bits:

sudo pacman -S intel-ucode

then:

sudo pacman -S lib32-mesa-demos mesa-demos libva-vdpau-driver nvidia nvidia-libgl lib32-nvidia-utils nvidia-settings lib32-opencl-nvidia

Configure the system:

systemctl enable nvidia-persistenced.service
sudo grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -p linux
reboot

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

*