Debian on dell g3 3579

From campisano.org
Jump to navigation Jump to search

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

from https://wiki.debian.org/InstallingDebianOn/Apple/MacBookPro/7-1?highlight=%28init_on_alloc%29#GPU_.2F_Nvidia_Geforce_320M

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
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
apt-get autoremove --purge nvidia* libnvidia*
apt-get install -t buster-backports nvidia-driver

All

  • nvidia configuration
  1. from https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_Intel_graphics_only
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

my user custom packages

see Category:Sharedops