Closed varlesh closed 2 years ago
I try reinstall dkms package but it's not solved:
Настраивается пакет nvidia-dkms-495 (495.44-0ubuntu0.20.04.1) …
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-495.44 DKMS files...
Building for 5.14.0-19.2-liquorix-amd64
Building for architecture x86_64
Building initial module for 5.14.0-19.2-liquorix-amd64
Error! Bad return status for module build on kernel: 5.14.0-19.2-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/495.44/build/make.log for more information.
dpkg: ошибка при обработке пакета nvidia-dkms-495 (--configure):
installed nvidia-dkms-495 package post-installation script subprocess returned error exit status 10
nvidia-dkms-495 successful compiled without errors with 5.14.0-10.1-liquorix-amd64
.
cd /tmp
wget -c https://launchpadlibrarian.net/562526116/linux-image-5.14.0-10.1-liquorix-amd64_5.14-12ubuntu1~focal_amd64.deb
wget -c https://launchpadlibrarian.net/562526113/linux-headers-5.14.0-10.1-liquorix-amd64_5.14-12ubuntu1~focal_amd64.deb
sudo dpkg -i linux-*.deb
Also tested other kernels:
5.14.0-19
Failed5.14.0-15
FailedAlso INFO for nvidia users. Driver 495-version spamming to dbus (and KWin too on KDE) and overflows system logs and which makes dbus consume a lot of RAM. For solve this create dbus config: /etc/dbus-1/system.d/nvidia-fake-powerd.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="nvidia.powerd.server"/>
</policy>
<policy context="default">
<allow send_destination="nvidia.powerd.server"/>
<allow receive_sender="nvidia.powerd.server"/>
</policy>
</busconfig>
Create systemd service: /etc/systemd/system/nvidia-fake-powerd.service
[Unit]
Description=NVIDIA fake powerd service
[Service]
Type=dbus
BusName=nvidia.powerd.server
ExecStart=/usr/bin/dbus-test-tool black-hole --system --name=nvidia.powerd.server
User=root
Group=root
LimitNPROC=2
ProtectHome=true
ProtectSystem=full
[Install]
WantedBy=default.target
Alias=dbus-nvidia.fake-powerd.service
Install dbus-test-tool:
sudo apt install dbus-tests
Enable and start it:
sudo systemctl daemon-reload
sudo systemctl enable nvidia-fake-powerd.service
sudo systemctl start nvidia-fake-powerd.service
sudo systemctl status nvidia-fake-powerd.service
More info here
The first 5.15 kernel should be out soon for you, can you try it when you get the chance?
upgrade to 5.15 all fine, DKMS: install completed.
KDE Neon (Ubuntu 20.04)