Jump to content

Linux drivers messed up after i installed windows on a separate drive

I installed windows 11, and patched it with reviOS on a 256GB sata SSD, all while my main m.2 ssd wasn't plugged in, but now when i plugged in both of them, the nvidia drivers (1050ti) on linux are behaving weirdly, it doesn't recognize the second monitor, and the main 360Hz monitor is locked on 77Hz. I'm using the 535 driver, and tried installing the 545, but it gave me an error, but when i reopened the driver manager, it shows that it works. I'm using linux mint 21.3. I also got 2 errors when trying to boot into both windows and linux.

image.png.01c95dd3340f79301dd8a723ca4fe2be.png
image.png.7ce16e3aed697427ffcb72eb27bb3979.png

20240518_110040.jpg?ex=6649bfef&is=66486e6f&hm=56376bd007625fa03d6fff1ade2ce65b3afe0e50398852b17297207a6ccd27ba&

20240518_110204.jpg?ex=6649c020&is=66486ea0&hm=952a5a92905d7b7441cee90df9932054bfa67a0e3778288565a21563e66beb5f&

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, MiszS said:

I'm using the 535 driver, and tried installing the 545, but it gave me an error, but when i reopened the driver manager, it shows that it works

Try installing 545 via command line

sudo apt install nvidia-driver-545

Post any error messages in full here. 

 

1 hour ago, MiszS said:

I also got 2 errors when trying to boot into both windows and linux.

Are you booting windows via grub?  Seems grub trying to boot windows of a device that does not exits. Ensure os-prober is enabled and update grub.

https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix

 

As for the acpi messages, nothing to worry about and should not cause issues booting. Can reduce log level during boot to not show

https://forums.linuxmint.com/viewtopic.php?t=378788

 

Having windows and linux on separate drives should not cause any conflicts. with each other.

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, C2dan88 said:

Try installing 545 via command line

sudo apt install nvidia-driver-545

Post any error messages in full here. 

 

Are you booting windows via grub?  Seems grub trying to boot windows of a device that does not exits. Ensure os-prober is enabled and update grub.

https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix

 

As for the acpi messages, nothing to worry about and should not cause issues booting. Can reduce log level during boot to not show

https://forums.linuxmint.com/viewtopic.php?t=378788

 

Having windows and linux on separate drives should not cause any conflicts. with each other.

 

 

 

 

This is the error i get, and yeah selecting windows drive when booting works fine

 

dpkg: error processing package nvidia-dkms-545 (--configure):
 installed nvidia-dkms-545 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-545:
 nvidia-driver-545 depends on nvidia-dkms-545 (<= 545.29.06-1); however:
  Package nvidia-dkms-545 is not configured yet.
 nvidia-driver-545 depends on nvidia-dkms-545 (>= 545.29.06); however:
  Package nvidia-dkms-545 is not configured yet.

dpkg: error processing package nvidia-driver-545 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.7) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-107-generic
Errors were encountered while processing:
 nvidia-dkms-545
 nvidia-driver-545
E: Sub-process /usr/bin/dpkg returned an error code (1)
 

Link to comment
Share on other sites

Link to post
Share on other sites

Try running the following commands

sudo dpkg --configure -a
sudo apt install -f
sudo apt full-upgrade
sudo apt autoremove

Then try installing latest nvidia driver again

 

Failing that I would fall back to the tty (Alt + F2 - or any other function key up to F11). Login to the tty and run the following set of commands

sudo service lightdm stop
sudo apt-get remove --purge nvidia-*
sudo apt autoremove
sudo apt install nvidia-driver-545
sudo reboot

 

Link to comment
Share on other sites

Link to post
Share on other sites

Disable Fast Startup in Windows. It's a feature that puts Windows into a sort of hybrid hibernation and it sometimes screws with other operating systems that boot on the same hardware.

Quote me or I won't see your reply. It's the single overturning left arrow under every comment.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×