Strange x11 dependencies that I don't remember installing

Hopefully not out to lunch here, but…

I was running a system update when I noticed a couple of weird xorg-x11-drv-* packages were installed on my system. Knowing that Wayland is the defacto display driver for Gnome on Fedora, I couldn’t imagine how they got there.

I figured that I may have accidentally installed them when I installed akmod-nvidia for my intel + nvidia hybrid GPU (which should only require xorg-x11-drv-intel|nvidia) but if I run a history check it doesn’t make much sense.

dnf hist --installed | grep xorg-x11:

xorg-x11-drv-amdgpu.x86_64                        21.0.0-1.fc34                          @updates                  
xorg-x11-drv-ati.x86_64                           19.1.0-5.fc34                          @anaconda        
// Lots of other probably OK drivers         

This was a bad example, sorry
I tried to use rpm -qi xorg-x11-drv-amdgpu and got an install date that precedes my entire installation. My Fedora 34 is not even a week old yet. The date is April, 2021:
Please refer to Strange x11 dependencies that I don't remember installing - #4 by trevdev

name        : xorg-x11-drv-amdgpu
Install Date: Fri 13 Aug 2021 12:43:13 AM PDT <-- What?

I ran dnf rq --whatdepends/--whatrequires xorg-x11-drv-amdgpu and get 0 results.

Maybe this was part of the live disk image installation in an attempt to make sure hardware support was covered? I wish I had paid more attention to the dependencies I installed with the 46 modest dnf changes I made in the last 4 days.

sudo dnf autoremove does not bring up these drivers, so I’m thinking they were explicitly installed somehow or are ambiguous dependencies.

I’m wondering if it’s safe to remove these drivers or if I should leave things well enough alone? If anyone has any tips on how to gumshoe how/when they all got installed so I can find/prune other accidental, unneeded packages I’d appreciate it.

The date looks like August 13th 2021 to me.

If you installed the nvidia drivers then wayland is no longer the default display but it was replaced by xorg since nvidia and wayland still do not play in the same sandbox together.

If you would list the explicit packages you are concerned about a more definitive answer could be provided, but I expect they are related to the nvidia install.

Right, yes, that’s because it is. Beg your pardon that package was due to upgrade when I discovered it. It did say April. xorg-x11-drv-ati still does:

Name        : xorg-x11-drv-ati
Version     : 19.1.0
Release     : 5.fc34
Architecture: x86_64
Install Date: Fri 23 Apr 2021 03:58:17 AM PDT
Group       : Unspecified
Size        : 522196
License     : MIT
Signature   : RSA/SHA256, Mon 29 Mar 2021 01:31:33 AM PDT, Key ID 1161ae6945719a39
Source RPM  : xorg-x11-drv-ati-19.1.0-5.fc34.src.rpm
Build Date  : Fri 26 Mar 2021 11:04:40 AM PDT
Build Host  : buildvm-x86-25.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.x.org
Bug URL     : https://bugz.fedoraproject.org/xorg-x11-drv-ati
Summary     : Xorg X11 ati video driver
Description :
X.Org X11 ati video driver.

I beg your pardon!

Yeah for sure, I get that

I’ve only spotted the two that I listed in the original post. I could only speculate as to which ones I may have accidentally installed. If there are more than these two then I am unaware of them. I’m trying to figure out how to become aware of them without combing 2200 installed packages.

The two packages were:

Those two are probably a result of activating xorg and they are drivers for xorg related to the other types of GPUs available. Should not be an issue at all since they would only become active were you using an ati or amd GPU. They should be there just in case you ever remove the nvidia gpu and install one of the other types.

1 Like

I guess so. I wish there was a simple way to look back at side-effects from installing packages so I can have the piece of mind that I’m not going to kludge up my system. I’ll just pay closer attention to dependencies from here on.

I have the same 2 packages on my system that has never run anything but an nvidia GPU and has been upgraded with each release for several years. They seem to be a part of xorg and are for the case where your GPU of choice is not nvidia.

sudo dnf history info <package>

https://paste.centos.org/view/bc70bbef

for firefox on my machine.

Does that help?

1 Like

Massively! It was clearly installed with my base system now and I am not mishandling my packages. Thank you :smiley:

I didn’t think to try tacking info onto history.