Talk:Dell XPS 15 9570

From ArchWiki

Backlight

W.r.t. backlight. My 9570 has an OLED screen. So there is no backlight.

I'm running this script to sync backlight & brightness, so that the keyboard buttons & menu options for brightness work (at least in KDE):


#!/bin/bash
while read
do
  sleep .1
  xrandr --output eDP1 --brightness $(echo "$(xbacklight -get) / 100" | bc -l)
done < <(dbus-monitor "member=brightnessChanged")

—This unsigned comment is by Tommos0 (talk) 07:37, 7 May 2020‎ (UTC). Please sign your posts with ~~~~!

If you find this script useful, please add it to the page. -- Blackteahamburger (talk) 13:35, 27 June 2020 (UTC)

Optimus Manager

The new version 1.3 of optimus-manager do not work on my laptop, unless using the custom configuration

/etc/optimus-manager/optimus-manager.conf
[optimus]
switching=custom
pci_power_control=yes
pci_remove=yes
pci_reset=no

with scripts from Dell_XPS_15_9570#Manually_loading/unloading_NVIDIA_module paragraph.

/etc/optimus-manager/nvidia-enable.sh
# change PCIe power control
echo -n on > /sys/bus/pci/devices/0000\:00\:01.0/power/control
sleep 0.5
# rescan for NVIDIA card (defaults to power/control = on)
echo -n 1 > /sys/bus/pci/rescan
# someone said that modprobe nvidia is needed also to load nvidia, to check
modprobe nvidia
/etc/optimus-manager/nvidia-disable.sh
modprobe -r nvidia_drm
modprobe -r nvidia_uvm
modprobe -r nvidia_modeset
modprobe -r nvidia

# Change NVIDIA card power control
echo -n auto > /sys/bus/pci/devices/0000\:01\:00.0/power/control
sleep 0.5
echo -n auto > /sys/bus/pci/devices/0000\:00\:01.0/power/control

F3fora (talk) 14:06, 14 May 2020 (UTC)