Sunday, November 8, 2015

Update from Fedora 22 to Fedora 23 with Nvidia Proprietary Driver

I decided to upgrade my own workstation to Fedora 23 from Fedora 23 this weekend. After going through some struggles, I thought I will write down some of my steps so people can reference in case they hit similar obstacles.

Please note that I am not responsible for anything case by the info in the article and the article is provided as is.

Please also note not all info is coming from me. Some of them is found on the referenced article stated in there.

Perform Upgrade

I followed following guide:

https://fedoramagazine.org/upgrading-from-fedora-22-to-fedora-23/

sudo dnf upgrade

sudo dnf install dnf-plugin-system-upgrade

sudo dnf system-upgrade download --releasever=23 --best

The only thing that I did different from the article is that I hit error that mention nvidia drive from rpmfusion cannot be upgraded. So I did following

sudo dnf erase *nvidia
and then redo
sudo dnf system-upgrade download --releasever=23 --best
sudo dnf system-upgrade reboot
After that, I am able to successfully update.

However, after the update is complete, when I tried to install nVidia proprietary driver, but facing following issue:

nVidia Driver is not compatible with Fedora 23 as Fedora 23 includes X.Org 1.18 release candidate version
https://ask.fedoraproject.org/en/question/77564/fedora-23-nvidia-proprietary-driver/

To overcome it, I following article
http://rglinuxtech.com/?p=1598

sudo dnf --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg
sudo cat exclude=xorg-x11* >> /etc/dnf/dnf.conf

Follow the article to install nVidia

http://rpmfusion.org/Howto/nVidia

sudo cat exclude=xorg-x11* >> /etc/dnf/dnf.conf
sudo reboot now

However, after reboot, I found the GDM screen shows up, but no user login prompt. After some research, I found following article

https://ask.fedoraproject.org/en/question/77555/fedora-23-gnome-login-issues/

which seem to indicate that GDM not working with nVidia driver (it seem true, if I remove all nVidia package, the GDM shows up correctly).

As a workaround, I use lightgdm to login
https://ask.fedoraproject.org/en/question/37728/unable-to-login-after-upgrade/

On the login screen, press

ctl + Alt + F2
Login as a user that have sudo previlige

sudo dnf -y install lightdm system-switch-displaymanager
sudo system-switch-displaymanager lightdm
sudo reboot now
After that, it should have lightdm to prompt login and one should have Fedora 23 + nVidia proprietary driver.

Please note to remove the change on
sudo cat exclude=xorg-x11* >> /etc/dnf/dnf.conf
Once there is an offical X.Org 1.18 release and offical nVidia release to support it. (Also switch back lightdm to gdm if it is fixed.)

I did use nVidia proprietary driver because my nVidia card did not support by open source driver and only have software render, which is too slow to use on Krita.

No comments:

Post a Comment