Cannot upgrade to 38 due to drivers GPU conflict

,

Hi,

I have the follwing issue:
image

Should I try to swap back to non-freeworld or is there a better option?

No opposite, the free world driver is better while the non-free-world comes by default.

You can not mix fireeworld with non freeworld because of dependencies conflict.

1 Like

Until the freeworld drivers get updated, you can use the non-freeworld drivers:

[Note that # dnf list mesa-va-drivers* works for bash, but for zsh needs a backslash]

% doas dnf list mesa-va-drivers\*
Last metadata expiration check: 0:29:58 ago on Sat Apr 22 11:27:31 2023.
Installed Packages
mesa-va-drivers.x86_64                                        23.0.2-2.fc38                               @updates      
Available Packages
mesa-va-drivers.i686                                          23.0.2-2.fc38                               @updates      
mesa-va-drivers-freeworld.i686                                23.0.2-1.fc38                               rpmfusion-free
mesa-va-drivers-freeworld.x86_64                              23.0.2-1.fc38                               rpmfusion-free
1 Like

Nice, yes escaping is good (POSIX). Simpler would be to put everything in quotes like:

dnf list "mesa-va-drivers*"

It is better readable.

Thank you, But i am a bit confused. I am still learning linux :slight_smile:
If I understand correctly I have only mesa-va-drivers-freeworld.x86_64 installed:

dnf list "mesa-va-drivers*"                                                                                                         

Repository vivaldi is listed more than once in the configuration
Last metadata expiration check: 0:07:49 ago on Sat 22 Apr 2023 07:48:26 PM CEST.
Installed Packages
mesa-va-drivers-freeworld.x86_64                                                   22.3.7-1.fc37                                                   @rpmfusion-free-updates
Available Packages
mesa-va-drivers.i686                                                               23.0.2-2.fc37                                                   updates                
mesa-va-drivers.x86_64                                                             23.0.2-2.fc37                                                   updates                
mesa-va-drivers-freeworld.i686                                                     23.0.2-1.fc37                                                   rpmfusion-free-updates 
mesa-va-drivers-freeworld.x86_64    

So it shouldn’t show the error message during the upgrade:

Error: Transaction test error:
  file /usr/lib64/dri/nouveau_drv_video.so conflicts between attempted installs of mesa-va-drivers-freeworld-23.0.2-1.fc37.x86_64 and mesa-va-drivers-23.0.2-2.fc37.x86_64
  file /usr/lib64/dri/r600_drv_video.so conflicts between attempted installs of mesa-va-drivers-freeworld-23.0.2-1.fc37.x86_64 and mesa-va-drivers-23.0.2-2.fc37.x86_64
  file /usr/lib64/dri/radeonsi_drv_video.so conflicts between attempted installs of mesa-va-drivers-freeworld-23.0.2-1.fc37.x86_64 and mesa-va-drivers-23.0.2-2.fc37.x86_64
  file /usr/lib64/dri/virtio_gpu_drv_video.so conflicts between attempted installs of mesa-va-drivers-freeworld-23.0.2-1.fc37.x86_64 and mesa-va-drivers-23.0.2-2.fc37.x86_64

The conflict occurs because the freeworld drivers are at 23.0.2-1 while F38 already has 23.0.2-2.

1 Like

Please run again a sudo dnf upgrade --refresh if the error is gone.

If not test is this helps:

1 Like

Ok, so I managed to fixed error:

  1. I have switched back to mesa-va-drivers
 sudo dnf swap mesa-va-drivers-freeworld mesa-va-drivers 
 sudo dnf swap mesa-vdpau-drivers-freeworld mesa-vdpau-drivers 
  1. Run refresh and updgrade
  2. Switched back to mesa-va-drivers-freeworld

Thank you for your help :slight_smile:

3 Likes