Ask Your Question

Boot problem after codec uninstall

asked 2016-08-12 15:03:51 -0500

druff gravatar image

Some questions from beginner (and sorry for my English). This week I installed fedora 24 (gnome) on my PC, and installed official driver from Nvidia (from nvidia site, not by rpm). And for two day i has a system that is running with nvidia drivers and 4.6.5 kernel. Yesterday when I tried to watch a movie compressed in the x264, Fedora told me that it can not play this movie and offered to install codecs, opening its software center in the addons / codecs tab. I agreed with offer and install all codecs (two codecs already were installed). After installation, the player was able to play movie, but on fast scenes were some glitches (horizontal slides|line between frames). I thought that this caused by too many installed codecs, and decided to remove all codecs - So I open software center and began to remove the installed codecs. When I delete some of them, Fedora stops responding. After restarting Fedora boot in terminal, not in GUI mode

When i try to run startx then i got black screen for few seconds, and then back to the terminal. I dont see any errors in xorg logs. dnf history shows nothing, there is no record in history when i install\uninstall codecs/

So, my questions

1) how to restore GUI, any ideas?

2) why dnf history shows nothing? These add-ons from software center does not installed by dnf?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-08-12 16:53:33 -0500

sideburns gravatar image

Before I answer your main question, I'd like to point out that installing the nVidia drivers directly from the nVidia site is probably the hardest way to do it because you'll need to boot into a text-only mode and install the drivers again every single time there's a kernel update. Personally, I'd suggest removing them completely and using one of these programs to install the special Fedora-specific driver packages because they update themselves as needed when you update/upgrade the kernel.

Now, to start off with the answer you need, please understand that there's no such thing as "installing too many codecs," as the various programs using them only load the ones you need. When you list your dnf history, do any of them list Erase as the action taken? If so, you can use sudo dnf history info XXX where XXX is the transaction number and if it lists codecs as being erased, sudo dnf history undo XXX to reverse it. Or, you can always do things the easy way and let whatever script you picked to get the video drivers installed take care of the codecs as well.

edit flag offensive delete link more


As I said, result of dnf history not contains records about codecs installing/uninstalling. I tried reinstall graphic drivers, but I did not get a positive result.

druff gravatar imagedruff ( 2016-08-12 17:50:12 -0500 )edit

It's possible that you're not looking for the right thing, as the packages don't generally contain "codec" in their names. As a rule of thumb, anything starting with gstreamer has to do with codecs. And, if you use one of those scripts to install the codecs, they won't try to re-install any that are still there, so it can't hurt to try them. My suggestion is to follow nVidia's instructions to remove their drivers, boot using the nouveau driver and try one of those scripts.

sideburns gravatar imagesideburns ( 2016-08-12 18:43:34 -0500 )edit

Problem here is that you used Gnome Software to install the codecs but Gnome Software (PackageKit) does not share a transaction database with dnf. That's why dnf is not aware of anything that PackageKit did on your system. For now, I urge you, please refrain from using Gnome Software. I know, it's tempting, but to be honest, it's useless. (This situation may soon change). If you want a working (consistent) package manager, you need to learn a few simple commands using dnf to manage stuff.

florian gravatar imageflorian ( 2016-08-12 22:55:01 -0500 )edit

As for your problem, I don't think that installing the codecs has anyting to do with the inability to boot to runlevel 5 (X server).

florian gravatar imageflorian ( 2016-08-12 22:56:57 -0500 )edit

Question Tools

1 follower


Asked: 2016-08-12 15:03:51 -0500

Seen: 152 times

Last updated: Aug 12 '16