Ask Your Question
2

Remove Nvidia and Nouveau drivers without starting Fedora

asked 2016-07-27 08:11:18 -0500

zelphir gravatar image

updated 2016-07-27 15:39:12 -0500

My video card (GeForce 9800GTX) is damaged and I needed to take it out of my machine. The only other video card I have available now is a Radeon HD 6000something, so not an Nvidia card. The problem is, that there are still proprietary Nvidia drivers installed on the machine. I also have Nouveau drivers on it, but they are deactivated for now.

I am worried I might damage something, if I try to start my system with the Radeon card in it and the Nvidia drivers in place.

My Motherboard does NOT have an onBoard graphic chip and does NOT have a VGA port I could use when not having any video card build in (EVGA Nvidia nForce 780i SLI), so I need to use that Radeon card to get any picture on screen, afaik.

How can I remove the Nvidia drivers and possibly install the AMD drivers for the Radeon card, without damaging anything? (and get the system into a state, where I might install AMD drivers)

Other Infos:

  • Motherboard: Nvidia nForce 780i SLI
  • GPU: GeForce 9800 GTX
  • CPU: Q6600
  • RAM: 2x2Gb
  • OS: Fedora 22, 64 Bit

Update#1:

I managed to get into a shell by going into GRUB, then editing one of the entries, by pressing e on it and appending a 3 to the end of the line, which begins with something like linux16. This is supposed to let me boot into text only interface, as I read one other websites. Then I started that kernel by pressing ctrl + x as the GRUB editor tells you below the input area, when editing the entry. Then I spammed ctrl + alt + f2 to get into a shell. This was not possible before adding the 3 to that line in GRUB. Now I am in that shell, but I cannot install AMD-drivers, because of:

Failed to synchronize cache for repo 'fedora-HandBrake' from 'http://negativo17.org/repos/HandBrake/fedora-22/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Repository for Fedy
Last metadata expiration check performed 0:00:00 ago on Wed Jul 27 21:43:22 2016.
No package AMD-drivers available.
Error: Unable to find a match..

Update#2:

I was able to remove the nvidia drivers using nvidia-uninstall, which seemingly gets added, when you install nvidia drivers not from the repositories.

After that, I was able to boot into my normal GUI again. This seems to be working for now.

Update#3:

It seems there is already an open source driver installed on my machine for AMD cards:

:lsmod | egrep "amdgpu|radeon"

results in:

radeon               1503232  8
i2c_algo_bit           16384  1 radeon
ttm                    90112  1 radeon
drm_kms_helper        126976  1 radeon
drm                   335872  11 ttm,drm_kms_helper,radeon
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-27 13:24:54 -0500

aeperezt gravatar image

What you need to do is install the AMD driver, and remove any Nvidia Drivers, if you install them via rpm package that will be easy

sudo dnf install AMD-drivers sudo dnf remove akmod-nvidia

You should do this connected to a terminal or via ssh if you do not have video on the machine.

edit flag offensive delete link more

Comments

But how can I do this? I cannot even get into a shell at the moment, with the different graphic card plugged in. I can only get to Grub, but don't know how to get into a shell, where I cut utter these commands. When I start with one of the entries, it'll load Fedora and show me a lot of text output, but will simply become non-responsive at "Stopping User Manager for UID 42".

zelphir gravatar imagezelphir ( 2016-07-27 14:28:36 -0500 )edit

I didn't install nvidia drivers using the repositories, I think. At least it says no packages marked for removal when I try that dnf remove.

zelphir gravatar imagezelphir ( 2016-07-27 14:52:54 -0500 )edit

If after boot there is no video or only show the cursor then you can do press keys ctrl+alt+f3 and it should show you a terminal screen. There you can login as root or your user and issue the commands or you can do that via ssh if you know the IP

aeperezt gravatar imageaeperezt ( 2016-07-27 15:52:10 -0500 )edit

Right AMD drivers are on Linux kernel therefore in Fedora

aeperezt gravatar imageaeperezt ( 2016-07-27 15:54:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-27 08:11:18 -0500

Seen: 961 times

Last updated: Jul 27 '16