albertomilone, looks good to me.

I tried switching from nvidia to intel and back rebooting on each
attempt and haven't managed to reproduce the issue. Looks like
reordering udev rules and/or adding another device class in your change
helped (thanks a lot!).

I don't see an nvidia device in lspci output as well after rebooting
with `prime-select intel` done:

➜  ~ lspci | grep -i nvidia
➜  ~ 
➜  ~ lspci | grep -i VGA   
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)


/lib/udev/rules.d/50-pm-nvidia.rules
https://paste.ubuntu.com/p/2WScDVDQPq/

cat /lib/udev/rules.d/61-gdm.rules
https://paste.ubuntu.com/p/5K6hgKmrG2/

# that's for nvidiafb which is normal and comes from the kmod package
➜  ~ grep -RiP nvidia /etc/modprobe.d 
/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb

➜  ~ uname -r
5.4.0-14-generic

➜  ~ dpkg -l | grep -P 'nvidia-prime|nvidia-driver|Xorg|gdm3'  
ii  gdm3                                          3.34.1-1ubuntu1               
        amd64        GNOME Display Manager
ii  nvidia-driver-440                             440.59-0ubuntu2               
        amd64        NVIDIA driver metapackage
ii  nvidia-prime                                  0.8.14                        
        all          Tools to enable NVIDIA's Prime
ii  xserver-xorg-core                             2:1.20.7-2ubuntu1             
        amd64        Xorg X server - core server
ii  xserver-xorg-legacy                           2:1.20.7-2ubuntu1             
        amd64        setuid root Xorg server wrapper
ii  xserver-xorg-video-nvidia-440                 440.59-0ubuntu2               
        amd64        NVIDIA binary Xorg driver

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848326

Title:
  [cosmic+] error booting with prime-select intel: prime-select does not
  update initramfs to blacklist nvidia modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1848326/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to