Debian on dell g3 3579
Dell G3 15 3579
https://www.dell.com/en-us/shop/dell-laptops/dell-g3-15-gaming-laptop/spd/g-series-15-3579-laptop
debian11 install
from http://www.campisano.org/wiki/en/Debian_on_mackbook_pro_8.2
partitions:
#1 786MB ESP #2 5.4GB fat32 #3 8GB swap #4 25GB xfs / #5 25GB xfs /srv #6 8GB swap #7 440GB xfs /home
US apt repository, timezone and keyboard
Desktop environment without any of gnome,kde,fce,etc specified
SSH system utilities
NOTE: gnome starts up :(
basic system
see Debian_basic_system_install
dell g3 specific stuffs
Bullseye
- acpi problem "PCIe Buss Error"
from https://wiki.archlinux.org/index.php/Dell_XPS_15_9560#PCIe_Bus_Error_in_system_logs
edit /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT varible and add pcie_aspm=off, it should became like the follow:
GRUB_CMDLINE_LINUX_DEFAULT="<...> pcie_aspm=off"
- wakeup after suspend crash
and https://forums.debian.net/viewtopic.php?t=149965
GRUB_CMDLINE_LINUX_DEFAULT="<...> init_on_alloc=0"
and finally, update grub configuration and reboot
update-grub
- nvidia packages (from https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_11_.22Bullseye.22)
apt-get install nvidia-driver firmware-misc-nonfree apt-clean
Buster (obsolete)
- acpi problem "PCIe Buss Error"
from https://wiki.archlinux.org/index.php/Dell_XPS_15_9560#PCIe_Bus_Error_in_system_logs
edit /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT varible and add pcie_aspm=off, it should became like the follow:
GRUB_CMDLINE_LINUX_DEFAULT="<...> pcie_aspm=off"
and finally, update grub configuration and reboot
update-grub
- nvidia packages (from https://wiki.debian.org/NvidiaGraphicsDrivers)
apt-get autoremove --purge nvidia* libnvidia* apt-get install -t buster-backports nvidia-driver
All
- nvidia configuration
mkdir -p /etc/X11/xorg.conf.d cat > /etc/X11/xorg.conf.d/99-outputclass_nvidia_optimus.conf << 'EOF' Section "OutputClass" Identifier "intel" MatchDriver "i915" Driver "modesetting" EndSection Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option "PrimaryGPU" "yes" ModulePath "/usr/lib/nvidia/xorg" ModulePath "/usr/lib/xorg/modules" EndSection EOF cat > /etc/X11/xdm/Xsetup << 'EOF' xsetroot -solid '#3B4E3E' xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto EOF