On Sun, 2016-12-18 at 06:55 +0800, Ed Greshko wrote:
On 12/17/16 23:39, Georgi Tsanov wrote:
> I also installed the drivers this way:
>
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ I dont know if i
was
> uding RPMfusion
You're not using RPMfusion. The method you're using requires a bit more skill
and
understanding than using the fully automated method provided by RPMfusion. There are
less
issues when a kernel is updated.
I would undo what you did first and restore the default nouveau drivers.
Then I would go to
https://rpmfusion.org/ and install their repositories.
After that I'd installed "akmod-nvidia" which will pull in several other
packages. It
will then automatically build the proper kmod for the kernel, install it, and disable
nouveau. Subsequently, when a new kernel is installed it will do the same.
The key to happiness however is to be patient. The building of the kmods happens in the
background and the "mistake" some then make is rebooting before the work is
done. Now,
that isn't a killer since on reboot the "akmod" process knows the kmod
doesn't exist and
will rebuild it. But, again, it will do is silently and you'll have a blinking
cursor and
think your system is screwed.
When installing for the firs time, check /var/cache/akmods/akmods.log for something
similar to...
2016/12/17 13:43:02 akmods: Checking kmods exist for 4.8.14-300.fc25.x86_64
2016/12/17 13:43:02 akmods: Building and installing nvidia-kmod
2016/12/17 13:43:02 akmods: Building RPM using the command '/sbin/akmodsbuild
--target
x86_64 --kernels 4.8.14-300.fc25.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2016/12/17 13:44:44 akmods: Installing newly built rpms
2016/12/17 13:44:45 akmods: DNF detected
2016/12/17 13:45:14 akmods: Successful.
Once you see "Successful" it is OK to reboot.
This is fine as far as it goes, however I just had a failed boot
because although the akmod RPMĀ did compile, it had an install error
(the key line being "sqlite3.OperationalError: database is locked").
When I managed to track it down I went back and simply ran dnf manually
on the same RPM. It installed and booted correctly. I've no idea what
the origin of the problem was.
poc