$ sudo dmidecode -s system-serial-number
R914MSED
$ sudo dmidecode -s bios-version
N40ET43W (1.25 )
UEFI: 1.26 / ECP: 1.18 - [Important] Enhancement to address security vulnerability, CVE-2023-5058. - [Important] Enhancement to address security vulnerability, CVE-2023-23583. - (New) Updated the Diagnostics module to version 04.32.000. - (New) Updated the CPU microcode. ¦ (Note) Above update will show "Self-Healing BIOS backup progressing ... xx %" ¦ ¦ ¦ message on screen during BIOS update process. - (Fix) Updated some BIOS Setup help messages. - (Fix) Fixed an issue where Dock power button override is working during firmware update. - (Fix) Thermal improvement for FAN control.
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2016924
# [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset
# [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset
Meshari E (idmbe) wrote on 2023-04-22:2023#1 I did to fix this steps:
$ su
$ echo "blacklist i2c_nvidia_gpu" > /etc/modprobe.d/blacklist_i2c-nvidia-gpu.conf
$ sudo update-initramfs -u
Problem
$ sudo apt update
Hit:1 http://mirror.one.com/ubuntu kinetic InRelease
Hit:2 http://mirror.one.com/ubuntu kinetic-updates InRelease
Hit:3 http://mirror.one.com/ubuntu kinetic-backports InRelease
Hit:4 http://mirror.one.com/ubuntu kinetic-security InRelease
Get:5 https://packages.cloud.google.com/apt cloud-sdk InRelease [6.361 B]
Err:5 https://packages.cloud.google.com/apt cloud-sdk InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files
will be used. GPG error: https://packages.cloud.google.com/apt cloud-sdk InRelease: The following signatures couldn't
be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
W: Failed to fetch https://packages.cloud.google.com/apt/dists/cloud-sdk/InRelease The following signatures couldn't
be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
W: Some index files failed to download. They have been ignored, or old ones used instead.
Solved with
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg
add -
sudo update-alternatives --config default.plymouth
sudo dpkg-reconfigure lightdm
sudo apt remove xfce4-appfinder
Stashed changes
Changed /etc/initramfs-tools/initramfs.conf
from COMPRESS=zstd
to COMPRESS=xz
Then rebuild the images using
sudo update-initramfs -u -k all
- After installing the mainline kernel 6.1.x everything seems more stable
- TLP does some strange things every now and again.
sudo apt remove tlp tlp-rdw tlpui
sudo apt install power-profiles-daemon
sudo add-apt-repository ppa:linuxuprising/apps
sudo apt update
sudo apt install tlpui
It is possible to control the brightness of an external screen. First find the names of the screens:
> xrandr -q | grep " connected"
eDP-1 connected (normal left inverted right x axis y axis)
DP-1-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
Then set the brightness:
xrandr --output DP-1-0 --brightness 0.80
Alternatively install gddccontrol
or ddcutil
and the gnome extension called Adjust Display Brightness
:
Installed kernel 6.0.9 using the mainline tool
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install -y mainline
Working afterwards, but reinstalling the nvidia driver:
sudo apt reinstall nvidia-driver-525
TLP will take care of the majority of settings that powertop --autotune would, and with less trial and error, see Powertop.
https://linrunner.de/tlp/installation/ubuntu.html
sudo add-apt-repository ppa:linrunner/tlp # TLP latest
# sudo add-apt-repository ppa:linuxuprising/apps # TLPUI latest
sudo apt update
sudo apt install tlp tlp-rdw
# sudo apt install tlpui
sudo apt remove power-profiles-daemon
sudo apt install acpi-call-dkms
sudo prime-select intel
# Good battery, but not functional HDMIsudo prime-select nvidia
# Horrible battery, but good HDMIsudo prime-select on-demand
# Good battery, somewhat working HDMIsudo prime-select query
The best battery performance yet was archived by using the nouveau driver instead of the proprietary nvidia driver.
https://fostips.com/lid-close-action-ubuntu-21-04-laptop/
Edit and uncomment /etc/systemd/logind.conf
:
#HandleLidSwitchDocked=ignore
– If your system is inserted in a docking station, or if more than one display is connected, then the action occurs if specified.#HandleLidSwitchExternalPower=suspend
– If your system is on external power, the action occurs if specified.#HandleLidSwitch=suspend
– For all other cases, the value of HandleLidSwitch will occur if enabled.
Afterward restart
sudo systemctl restart systemd-logind.service
sudo apt-get remove irqbalance
http://konkor.github.io/cpufreq/faq/
If your BIOS is set to dynamic/hybrid mode Edit grub’s config:
sudo vim /etc/default/grub
Change the line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video.use_native_backlight=1"
Then run:
sudo update-grub
And restart the laptop.
cat /sys/class/power_supply/BAT0/uevent
From https://wiki.archlinux.org/title/powertop
Save the following to the file /etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/powertop --auto-tune
[Install]
WantedBy=multi-user.target
systemctl enable --now powertop