Page 1 of 2
lost Xorg with new nvidia drivers
Posted: Sun Apr 26, 2020 6:50 am
by stephane
i have made update today ,
i received in the liste update nvidia to 440.82 version
but not the linux kernel
--> on reboot , nvida drivers are load and unload for version mismatch
each time nvidia versions , we need also a KLD linux compiled to avoid that
that is this BIG main problem that any GUI with FreeBSD
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 3:46 am
by dismas
Hello,
I confirm X does not start after updating to nvidia-driver-440.82_1 :
KLD nvidia-modeset.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type.
KLD nvidia.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/nvidia.ko - unsupported file type.
Both files are present in /boot/modules/. I tried to pkg delete nvidia-driver and pkg install nvidia-driver but same thing...
Is there a way to downgrade or fix the issue ? Thanks in advance.
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 7:20 am
by linunix
The same problem.
Upgrade nvidia-driver from 440.82 to 440.82_1.
Then can't start Xorg.
Found a temp solution for this issue.
1. login with command line interface
2. Ensure you keep the previous nvidia driver txz package on your local
Code: Select all
ls /var/cache/pkg/nvidia-driver-440.82.txz
3. remove current installed nvidia-driver which has problem, version 440.82_1
4. Install previous version nvidia-driver package offline
Code: Select all
pkg add /var/cache/pkg/nvidia-driver-440.82.txz
5. reboot and GUI started again
I believe there is an issue on the latest version nvidia_driver-440.82_1
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 9:52 am
by ericbsd
The time stamp on the OS packages was wrong, so the update manager did not do OS upgrade and the new Nvidia packages were built for the new kernel, pkg upgrade was needed to fix the issue. I have fixed the time stamp issue and the update manager should update it properly now.
if anyone does not have GUI do.
you will get back on the GUI when the upgrade is done and rebooted.
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 4:19 pm
by linunix
ericbsd wrote: ↑Mon Apr 27, 2020 9:52 am
The time stamp on the OS packages was wrong, so the update manager did not do OS upgrade and the new Nvidia packages were built for the new kernel, pkg upgrade was needed to fix the issue. I have fixed the time stamp issue and the update manager should update it properly now.
if anyone does not have GUI do.
you will get back on the GUI when the upgrade is done and rebooted.
Thanks Eric
I tried to run pkg upgrade -f and see following, is it expected?
Code: Select all
root@philip-ghostbsd-pc:~ # pkg upgrade -f
Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (725 candidates): 100%
Processing candidates (725 candidates): 100%
The following 725 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
nvidia-driver: 440.82 -> 440.82_1 [GhostBSD]
Installed packages to be REINSTALLED:
CoinMP-1.8.4_3 [GhostBSD]
GentiumBasic-1102_1 [GhostBSD]
ImageMagick6-6.9.11.6,1 [GhostBSD]
.......(omit 700+ packages list)
zh-fcitx-configtool-0.4.9 [GhostBSD]
zip-3.0_1 [GhostBSD]
zsh-5.8 [GhostBSD]
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 724
1 GiB to be downloaded.
Proceed with this action? [y/N]:
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 4:20 pm
by ericbsd
Yes
Re: lost Xorg with new nvidia drivers
Posted: Mon Apr 27, 2020 7:23 pm
by linunix
ericbsd wrote: ↑Mon Apr 27, 2020 4:20 pmYes
After run
Code: Select all
sudo pkg update -f
sudo pkg upgrade -f
Looks good. Xorg is back
Version number is changed
Thanks!
Re: lost Xorg with new nvidia drivers
Posted: Tue Apr 28, 2020 4:59 pm
by stephane
ok
this is solved , after reload 771 pkg
Re: lost Xorg with new nvidia drivers
Posted: Tue Apr 28, 2020 6:58 pm
by ericbsd
This should not happen again not that we fix the time stamp problem and sorry for the problem that has caused you all.
Re: lost Xorg with new nvidia drivers
Posted: Wed Apr 29, 2020 1:16 am
by dismas
No problem and many thanks ! All is OK for me now. I am fully up-to-date.
By the way, linunix's workaround worked for me. Thanks to him too. I was not aware of this pkg cache.