Distribution (run cat /etc/os-release
):
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
Kernel:
Linux 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux
Graphics card:
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Related Application and/or Package Version:
system76-power:
Installed: 1.1.22~1659403314~22.04~357f4b0
Candidate: 1.1.22~1659403314~22.04~357f4b0
Version table:
*** 1.1.22~1659403314~22.04~357f4b0 1001
1001 http://apt.pop-os.org/release jammy/main amd64 Packages
100 /var/lib/dpkg/status
nvidia-driver-515:
Installed: 515.48.07-1pop0~1657640780~22.04~e863eed
Candidate: 515.48.07-1pop0~1657640780~22.04~e863eed
Version table:
515.65.01-0ubuntu0.22.04.1 500
500 http://apt.pop-os.org/ubuntu jammy-security/restricted amd64 Packages
500 http://apt.pop-os.org/ubuntu jammy-updates/restricted amd64 Packages
*** 515.48.07-1pop0~1657640780~22.04~e863eed 1001
1001 http://apt.pop-os.org/release jammy/main amd64 Packages
100 /var/lib/dpkg/status
Issue/Bug Description:
After a recent update, it is no longer possible to switch to NVIDIA or Hybrid graphics mode using system76-power both via CLI and the GNOME Shell widget. There is no error message, and it goes through normally, asking you to restart to apply the change, but the change is never applied even after restart.
This is not merely a UI bug, because I am also no longer able to plug in an external monitor via HDMI or USB-C and get video, as both rely on the discrete graphics card.
Booting from the older kernel doesn't help. Installing v510 or v470 of the driver doesn't help either.
Tried steps from #296 and #350 , but didn't help either.
Steps to reproduce:
$ sudo system76-power graphics hybrid
setting graphics to hybrid
reboot for changes to take effect
Then reboot the computer, change is not applied.
$ sudo system76-power graphics
integrated
$ sudo journalctl -b all -u system76-power
-- No entries --
$ sudo grep -r 'blacklist nvidia' /{etc,lib}/modprobe.d/
/etc/modprobe.d/blacklist-framebuffer.conf:#blacklist nvidiafb
Removing this entry from the file and rebooting does not help.
Purge NVIDIA packages and reinstall:
$ sudo apt purge ~nnvidia
apt_purge.log
$ sudo apt clean
ย
$ sudo apt update
Hit:1 https://updates.signal.org/desktop/apt xenial InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:3 http://apt.pop-os.org/proprietary jammy InRelease
Hit:4 https://repo.protonvpn.com/debian stable InRelease
Hit:5 http://apt.pop-os.org/release jammy InRelease
Hit:6 http://apt.pop-os.org/ubuntu jammy InRelease
Hit:7 http://apt.pop-os.org/ubuntu jammy-security InRelease
Hit:8 http://apt.pop-os.org/ubuntu jammy-updates InRelease
Get:9 http://apt.pop-os.org/ubuntu jammy-backports InRelease [99.8 kB]
Fetched 99.8 kB in 1s (131 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
$ sudo dpkg --configure -a
ย
$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgl1:i386 libgl1-mesa-dri:i386 libglx-mesa0:i386 libglx0:i386 libvulkan1:i386
libxcb-glx0:i386 libxcb-randr0:i386 libxnvctrl0 mesa-vulkan-drivers:i386
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libgl1:i386 libgl1-mesa-dri:i386 libglx-mesa0:i386 libglx0:i386 libvulkan1:i386
libxcb-glx0:i386 libxcb-randr0:i386 libxnvctrl0 mesa-vulkan-drivers:i386
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt autoremove --purge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libgl1:i386* libgl1-mesa-dri:i386* libglx-mesa0:i386* libglx0:i386* libvulkan1:i386*
libxcb-glx0:i386* libxcb-randr0:i386* libxnvctrl0* mesa-vulkan-drivers:i386*
screen-resolution-extra*
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 53.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 283545 files and directories currently installed.)
Removing libgl1:i386 (1.4.0-1) ...
Removing libglx0:i386 (1.4.0-1) ...
Removing libglx-mesa0:i386 (22.0.5-0ubuntu0.1) ...
Removing libgl1-mesa-dri:i386 (22.0.5-0ubuntu0.1) ...
Removing mesa-vulkan-drivers:i386 (22.0.5-0ubuntu0.1) ...
Removing libvulkan1:i386 (1.3.204.1-2) ...
Removing libxcb-glx0:i386 (1.14-3ubuntu3) ...
Removing libxcb-randr0:i386 (1.14-3ubuntu3) ...
Removing libxnvctrl0:amd64 (510.47.03-0ubuntu1) ...
Removing screen-resolution-extra (0.18.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libQtCore.so.4 is not a symbolic link
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libQtGui.so.4 is not a symbolic link
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libaudio.so.2 is not a symbolic link
(Reading database ... 283501 files and directories currently installed.)
Purging configuration files for libgl1-mesa-dri:i386 (22.0.5-0ubuntu0.1) ...
sudo ubuntu-drivers install
ubuntu_drivers_install.log
Using system76-driver-nvidia
does not help either.
Thanks a lot for looking into this!