FreeBSD14: drm-515-kmod issues

I have been running FreeBSD on my desktop since version 13.0, besides the occasional hiccup, it has been a good experience. But the upgrade from 13.2 to 14.0 has been problematic, in particularly with the drm-515-kmod driver package.
Now the system has been good up to now with FreeBSD 13.0-13.2, as well as Windows 10 now Windows 11. I am using KDE 5 (5.27.10) on X11 with SDDM from the latest packages branch.
System:
AMD Ryzen 7 5700X (was Ryzen 5 5600X previously)
AMD Radeon RX5500XT (Navi 14)
64GB RAM
Three AOC 27in monitors running 2560x1440 at 75hz

FreeBSD 13.2 with drm-515-kmod => No problems
FreeBSD 14.0 with drm-510-kmod => No problems
FreeBSD 14.0 with drm-515-kmod => System instability in desktop, hardware resets => no logs

Now I run a screen resolution of 2560x1440 and normally the refresh rate of 75hz (max supported by the monitors). After upgrading to FreeBSD 14.0, once the packages where updated, the system would hardware reset after logging in at SDDM and KDE would change the screen resolution. I discovered that down grading drm-515-kmod package to drm-510-kmod would fix the issue, but nothing would get the drm-515-kmod driver package to the desktop reliably. Even re-compiling from ports does not solve the issue.
After upgrading the storage (for video editing), I completely reinstall everything to see if that fixed the issue. I discovered when setting my screen refresh to 75hz in KDE, the system would hardware reset. Even when leaving the screen resolution at 2560x1440 at 60hz refresh rate, I am still experiencing some system instability. I have to down grade to drm-510-kmod to avoid the issues.

Interesting enough, my HP laptop with a Ryzen 2500U and Vega Mobile graphics is not experiencing the same issues at all, has been rock solid. It seems only to be impacting that particular GPU family?

Suggestion on moving forward?

Thank you
 
If you did straight an upgrade from 13 then you need to rebuild your drm kernel module with your new 14 kernel.

Otherwise i cant reproduce your issue.

Using: RX 6700 XT

And have used the following monitors:

1920x1080"25 240Hz
2560x1440"32 144Hz
2560x1440"27 240Hz
 
FreeBSD 13.2 with drm-515-kmod => No problems
That's unlikely, the 5.15 version REQUIRES features that are only in 14.0 and above. You won't even be able to install it.

Code:
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400081
IGNORE=		not supported on older than 14.0, no kernel support
.endif
.if ${OPSYS} != FreeBSD
IGNORE=		not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif
 
Originally it was an upgrade, then fresh install of 14.0, and I cannot run 2560x1440 @ 75Hz reliably. I am running RX5500XT (Navi 14).
My laptop is also running 14.0 upgraded from 13.2, and is running drm-515-kmod with no issue (onboard Vega graphics), though not running as high screen solutions or refresh rate.
On my desktop, I had to run drm-510-kmod to run reliably unfortunately .
 
Originally it was an upgrade, then fresh install of 14.0, and I cannot run 2560x1440 @ 75Hz reliably. I am running RX5500XT (Navi 14).
My laptop is also running 14.0 upgraded from 13.2, and is running drm-515-kmod with no issue (onboard Vega graphics), though not running as high screen solutions or refresh rate.
On my desktop, I had to run drm-510-kmod to run reliably unfortunately .
Interesting, I have an RX 5700 XT system running at 165hz in 1440 with 13.2 I've not upgraded yet. Hopefully this can be resolved easily.
 
Interesting, I have an RX 5700 XT system running at 165hz in 1440 with 13.2 I've not upgraded yet. Hopefully this can be resolved easily.
I was running 13.2 and had not issues at all, it was quite reliable.
When I upgraded to FreeBSD 14.0 to the issues started. I believe it is a issues with the 515 driver, as it hard-resetting the hardware. It not a issue with FreeBSD itself.
 
I have been running FreeBSD on my desktop since version 13.0, besides the occasional hiccup, it has been a good experience. But the upgrade from 13.2 to 14.0 has been problematic, in particularly with the drm-515-kmod driver package.
Now the system has been good up to now with FreeBSD 13.0-13.2, as well as Windows 10 now Windows 11. I am using KDE 5 (5.27.10) on X11 with SDDM from the latest packages branch.
System:
AMD Ryzen 7 5700X (was Ryzen 5 5600X previously)
AMD Radeon RX5500XT (Navi 14)
64GB RAM
Three AOC 27in monitors running 2560x1440 at 75hz

FreeBSD 13.2 with drm-515-kmod => No problems
FreeBSD 14.0 with drm-510-kmod => No problems
FreeBSD 14.0 with drm-515-kmod => System instability in desktop, hardware resets => no logs

Now I run a screen resolution of 2560x1440 and normally the refresh rate of 75hz (max supported by the monitors). After upgrading to FreeBSD 14.0, once the packages where updated, the system would hardware reset after logging in at SDDM and KDE would change the screen resolution. I discovered that down grading drm-515-kmod package to drm-510-kmod would fix the issue, but nothing would get the drm-515-kmod driver package to the desktop reliably. Even re-compiling from ports does not solve the issue.
After upgrading the storage (for video editing), I completely reinstall everything to see if that fixed the issue. I discovered when setting my screen refresh to 75hz in KDE, the system would hardware reset. Even when leaving the screen resolution at 2560x1440 at 60hz refresh rate, I am still experiencing some system instability. I have to down grade to drm-510-kmod to avoid the issues.

Interesting enough, my HP laptop with a Ryzen 2500U and Vega Mobile graphics is not experiencing the same issues at all, has been rock solid. It seems only to be impacting that particular GPU family?

Suggestion on moving forward?

Thank you

Are you having any issues or challenges running 5.10 with 14.0-RELEASE? I've been having the same problems with similar hardware, but I made two changes at once - upgrading to 14.0, then adding a second and third monitor, so I wasn't sure exactly where to start troubleshooting and have been a bit too busy to do anything in depth. I would be more than happy to run with drm-510 if there are no complications with that to take care of the crashes.
 
If, on 14.0, drm-510-kmod works and drm-515-kmod doesn't, then just install the 5.10 version and keep using that. You might want to report the issues with 5.15 to the DRM developers though, so things can get fixed. There's work being done on a newer DRM version in any case, but I don't know the timeframe.

 
I was able to get home last night and uninstall 5.15, then install 5.10. Been working all day today with all three 1920x1200 monitors without a hitch. There are a couple of open issues on bugzilla for drm-5.15 that seem related, so I'll just run 5.10 for now and watch the developments there.
 
If, on 14.0, drm-510-kmod works and drm-515-kmod doesn't, then just install the 5.10 version and keep using that. You might want to report the issues with 5.15 to the DRM developers though, so things can get fixed. There's work being done on a newer DRM version in any case, but I don't know the timeframe.


When I get some time, I will sit down try and put something sensical in.
I what I have figured out so far is that it the screen mode-setting change from 2560 x 1440 @ 60Hz (default/console) to 2560 x 1440 @ 75Hz (desktop), that would trigger the hardware reset issue with DRM-5.15. But there has been updated GPU BIOSes now in ports, I have to see if this has any effect on the issue at hand.

Cheers
Sweeney
 
Back
Top