Upgrading Freebsd 13.1

Hello,

I wanted to upgrade the packages in my FreeBSD 13.1 system, but it rendered the amdgpu useless. I can not use my graphics cards anymore.

I have a radeon R7 m265 grahics card. I was able to use the card prior to the upgrade. (see post https://forums.freebsd.org/threads/does-freebsd-13-1-support-radeon-r7-m265.85882/#post-576875).

The package upgrade did these things on the system (these are from /var/log/messages). I am attaching only the pkg messages to this post. It looks like the pkg upgrade did these things...
  • It bumped the pkg version to 1.19.0.
  • Removed drm-fbsd13-kmod-5.4.191.g20220604_1.
  • Upgraded all the gpu-firmware-*-kmod-* packages from version 20220511 to 20221207_1.
  • It also installed drm-510-kmod-5.10.113_8 (I do now know what I had here before, maybe was using frm-fbsd13-kmod).
  • Upgraded drm-kmod from 20220501 to 20220907_1.

Is there a way to fix this? Maybe going back to the previous pkg version and installing the amd kmod drivers?
 

Attachments

You can try:
Code:
pkg update -f
pkg install gpu-firmware-kmod
pkg install drm-510-kmod
pkg install drm-kmod
pkg upgrade -f
&
 
You can try:
Code:
pkg update -f
pkg upgrade -f
&
What would this do, force any updates/upgrades?
 
This did not solve the problem. It freezes when loading the kernel modules, when loading the amdgpu module.

I think that drm-510 does not work on my system. I had drm-fbsd13-kmod instead of drm-510. That might be the problem. But can not find drm-fbsd13-kmod anymore with 'pkg search'.
 
Is your loader.conf empty for video-drivers ?
In rc.conf put :

For older cards,
Code:
kld_list="drm linux radeonkms"

For newer cards,
Code:
kld_list="drm linux amdgpu"

Your xorg.conf can almost be empty.

For errors have a look at:
Code:
less /var/log/Xorg.0.log
 
What solved the problem is to change the loaded kernel module from amdgpu to radeonkms. In the /etc/rc.conf file I have now kld_list="radeonkms fusefs". Prior to that it was kld_list="amdgpu fusefs".

I do not have "drm linux" in the kld_list in the rc.conf, should it be like this?

I read (https://wiki.freebsd.org/Graphics) that readeonkms is for older GPUs (pre-HD7000 or pre-Tahiti). My GPU is R7 M265 which has kaveri and oland devices. I am also not sure if radeonkms is correct for my gpu, it might be a post tahiti or hd7000?
 
Back
Top