elementary / switchboard-plug-about

Switchboard System Plug
GNU General Public License v3.0
25 stars 18 forks source link

Nvidia Driver was not installed after the upgrade to Horus #267

Open PouyaPouryaie opened 1 year ago

PouyaPouryaie commented 1 year ago

What Happened?

App center shows Graphic drivers that I can install, but when I select to install one of them after a few minutes show that the driver is installed when I back to the drivers, it shows the driver not install and all drivers have a button for installation. Also, I didn't see the Nvidia icon in the applications and I can click the again driver to install it.

Steps to Reproduce

  1. open the app center, click one of the drivers for Nvidia
  2. click the Free button to install the driver, and wait for a few minutes
  3. show the driver is installed but if I back to the app center and refresh for the update, I see again that the driver is not installed and I can click to install again

Expected Behavior

In OS 6.1 when I wanted to install a driver, I went to App Center, and check updates, then I selected a driver for an install after a few minutes the driver was installed, and I saw the Nvidia icon in Applications, Also I saw that status of that driver was installed at app center. but after upgrading to OS 7, I couldn't install Nvidia driver on my laptop

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

Hw-info

wasantosfi commented 1 year ago

Hi @PouyaPouryaie , I'm not eOS employee, but I think I can try to help. I also have a Vivobook Asus Laptop (a X512FJC) and I had another issue involving nvidia driver, where even on installing nvidia driver from App Center, it wasn't working.

I did the following: -- Command "sudo uname -r" and get the response -- Start typing command "sudo apt install linux-objects-nvidia-" and finish it with the previous command response (eg.: sudo apt install linux-objects-nvidia-525-5.19.0-41-generic) -- Start typing command "sudo apt install linux-modules-nvidia-" and finish it with the previous command response (eg.: sudo apt install linux-modules-nvidia-525-5.19.0-41-generic) -- Rebooted -- Checked "sudo nvidia-settings" and there it is

wasantosfi commented 1 year ago

Hi @PouyaPouryaie , please try to install the driver via terminal if your problem presisted. For example the 525 version (the 535 version fully crashed my system, forcing me to use timeshift to back a "snapshot": -- Command: sudo apt install nvidia-driver-525 nvidia-dkms-525 If positive result, you possibly will need to install objects and modules as I specified before.

PouyaPouryaie commented 1 year ago

Hi @wasantosfi, if I have a problem with the driver, how can I remove it?

wasantosfi commented 1 year ago

I think you can try to remove/purge it via terminal, and reboot.

For eg.: sudo apt-get remove --purge nvidia-driver- -y sudo apt autoremove -y sudo apt autoclean sudo reboot

Maybe you can have something to do with nouveau and xorg.conf, but eOS specialists can be more precise on this.

PouyaPouryaie commented 1 year ago

@wasantosfi , I followed your instruction, but I've not seen the nvidia-settings on my machine. I just have nvidia-detector, nvidia-powerd, and nvidia-sleep

wasantosfi commented 1 year ago

Probably you just hadn't installed nvidia-settings, I think is not essential. Did you manage to re-install nvidia driver?

PouyaPouryaie commented 1 year ago

@wasantosfi I use those script and install driver

but, now I have another problem. when running the system after suspension, just saw black screen with the mouse cursor. and I have to restart the system.

wasantosfi commented 1 year ago

Hi @PouyaPouryaie , long time ago I had this behavior too, but unfortunately I don't remember what I did (probably waited for system updates or did something with nvidia driver, I'm not sure). Have you installed back the nvidia driver right? Could you try to install nvidia-settings to check if it is loading?

For example this image, where you can see various options: image In case of driver not being loaded correctly, many options will not appear.

PouyaPouryaie commented 1 year ago

Hi @wasantosfi, I have a new error after installing the driver, these days every time I return from suspend, I just see a cursor with a black screen and I have to restart the lightdm service in the tty1.

this is my Nvidia setting: nvidia-setting

and this is my journal-ctl: journal-after-suspend.txt

wasantosfi commented 1 year ago

Hi @PouyaPouryaie , please try downgrading Nvidia driver to 525 one and check if solves your problem. I had problems with 535 version and I had to downgrade it to 525 (using until nowadays).