-
-
Save joshuafernandes/0a36e2f33b0be0ec4f885ad20e6fb544 to your computer and use it in GitHub Desktop.
Revisions
-
athalhammer revised this gist
Feb 16, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Useful links: CPU_MIN_PERF_ON_AC=0 CPU_MAX_PERF_ON_AC=100 CPU_MIN_PERF_ON_BAT=0 CPU_MAX_PERF_ON_BAT=40 CPU_BOOST_ON_AC=1 CPU_BOOST_ON_BAT=0 CPU_HWP_DYN_BOOST_ON_AC=1 -
athalhammer revised this gist
Jan 3, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ 4. Use Windows recovery to fix new disk setup 5. Disable Fast Startup in Windows 6. Disable secure boot in BIOS (or make sure it's disabled) 7. Shrink main partition in Windows Useful links: * https://www.dell.com/support/home/en-us/product-support/product/xps-15-9520-laptop/drivers -
athalhammer revised this gist
Jan 2, 2023 . 1 changed file with 15 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,12 +23,21 @@ Useful links: ## Power/Battery optimization (gives me 6-7 hours of working/web) 1. Chose intel graphics only: `sudo prime-select intel` (it somehow is disabled in the nvidia-smi) 2. Install `tlp` and `powertop` 3. In Bios: Tune down Display brightness on Battery from 50% to 30% 4. Deactivate and mask the `power-profiles-daemon` service 5. In `/etc/tlp.conf` set ``` CPU_MIN_PERF_ON_AC=0 CPU_MAX_PERF_ON_AC=100 CPU_MIN_PERF_ON_BAT=0 CPU_MAX_PERF_ON_BAT=30 CPU_BOOST_ON_AC=1 CPU_BOOST_ON_BAT=0 CPU_HWP_DYN_BOOST_ON_AC=1 CPU_HWP_DYN_BOOST_ON_BAT=0 PLATFORM_PROFILE_ON_AC=balanced PLATFORM_PROFILE_ON_BAT=low-power ``` ## UHD+ display 1. Ubuntu - Settings - Accesibility: Enable Large Text -
athalhammer revised this gist
Jan 2, 2023 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,13 +20,15 @@ Useful links: 3. Install Ubuntu on free space. For encryption you will need a partition for `/boot` (`~1G`) and `/` respectively. 4. After installation install "Additional Drivers": Nvidia driver metapackage 515 (proprietary) ## Power/Battery optimization (gives me 6-7 hours of working/web) 1. Chose intel graphics only: `sudo prime-select intel` (it somehow is disabled in the nvidia-smi) 2. Install `tlp` and `powertop` 3. Use "Power Safer" mode 4. In Bios: Tune down Display brightness on Battery from 50% to 30% 5. ~~In Bios: Switch off Intel Turbo Boost~~ 6. Deactivate and mask the `power-profiles-daemon` service 7. In `/etc/tlp.conf` set `CPU_BOOST_ON_AC=1` and `CPU_BOOST_ON_BAT=0` 8. In `/etc/tlp.conf` set `CPU_MAX_PERF_ON_BAT=30` ## UHD+ display 1. Ubuntu - Settings - Accesibility: Enable Large Text -
athalhammer revised this gist
Jan 1, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Useful links: 2. Install `tlp` and `powertop` 3. Use "Power Safer" mode 4. In Bios: Tune down Display brightness on Battery from 50% to 30% 5. ~~In Bios: Switch off Intel Turbo Boost~~ 6. In `/etc/tlp.conf` set `CPU_MAX_PERF_ON_BAT=30` ## UHD+ display -
athalhammer revised this gist
Dec 28, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,7 @@ 7. Shrink main parittion in Windows Useful links: * https://www.dell.com/support/home/en-us/product-support/product/xps-15-9520-laptop/drivers * https://www.dell.com/support/kbdoc/en-us/000131253/how-to-install-ubuntu-and-windows-8-or-10-as-a-dual-boot-on-your-dell-pc * https://www.dell.com/support/kbdoc/en-us/000131901/loading-ubuntu-on-systems-using-pcie-m2-drives -
athalhammer revised this gist
Dec 28, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Useful links: 3. Install Ubuntu on free space. For encryption you will need a partition for `/boot` (`~1G`) and `/` respectively. 4. After installation install "Additional Drivers": Nvidia driver metapackage 515 (proprietary) ## Power/Battery optimization (gives me 7-8 hours of working/web) 1. Chose intel graphics only: `sudo prime-select intel` (it somehow is disabled in the nvidia-smi) 2. Install `tlp` and `powertop` 3. Use "Power Safer" mode -
athalhammer revised this gist
Dec 28, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Useful links: ## Installing Ubuntu 1. Chose Ubuntu 22.10 - audio is already fixed (see [here](https://www.reddit.com/r/linuxquestions/comments/uxktd8/dell_xps_15_9520_sound_is_horrible/)) 2. If Ubuntu live/installer gets [stuck at the beginning](https://www.reddit.com/r/DellXPS/comments/vt1qxa/dual_boot_win11ubuntu_on_xps_15_9520/): start installer with safe graphics option 3. Install Ubuntu on free space. For encryption you will need a partition for `/boot` (`~1G`) and `/` respectively. 4. After installation install "Additional Drivers": Nvidia driver metapackage 515 (proprietary) ## Power optimization (gives me 7-8 hours of Netflix/Web browsing) -
athalhammer created this gist
Dec 28, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # Ubuntu on Dell XPS 9520 ## Before installing Ubuntu: 1. For dual boot, disable Bitlocker in Windows 2. Update BIOS (and everything else that Dell recommends) via Windows 3. Switch from RAID to AHCI in Bios 4. Use Windows recovery to fix new disk setup 5. Disable Fast Startup in Windows 6. Disable secure boot in BIOS (or make sure it's disabled) 7. Shrink main parittion in Windows Useful links: * https://www.dell.com/support/kbdoc/en-us/000131253/how-to-install-ubuntu-and-windows-8-or-10-as-a-dual-boot-on-your-dell-pc * https://www.dell.com/support/kbdoc/en-us/000131901/loading-ubuntu-on-systems-using-pcie-m2-drives ## Installing Ubuntu 1. Chose Ubuntu 22.10 - audio is already fixed (see [here](https://www.reddit.com/r/linuxquestions/comments/uxktd8/dell_xps_15_9520_sound_is_horrible/)) 2. If Ubuntu live/installer gets [stuck at the beginning](https://www.reddit.com/r/DellXPS/comments/vt1qxa/dual_boot_win11ubuntu_on_xps_15_9520/): start installer with safe graphics option 3. Install Ubuntu on free space. For encryption want encryption you will need a partition for `/boot` and `/` 4. After installation install "Additional Drivers": Nvidia driver metapackage 515 (proprietary) ## Power optimization (gives me 7-8 hours of Netflix/Web browsing) 1. Chose intel graphics only: `sudo prime-select intel` (it somehow is disabled in the nvidia-smi) 2. Install `tlp` and `powertop` 3. Use "Power Safer" mode 4. In Bios: Tune down Display brightness on Battery from 50% to 30% 5. In Bios: Switch off Intel Turbo Boost 6. In `/etc/tlp.conf` set `CPU_MAX_PERF_ON_BAT=30` ## UHD+ display 1. Ubuntu - Settings - Accesibility: Enable Large Text 2. Firefox or any other browser: Adjust default zoom level (e.g. 130%)