Page 2 of 2

Re: Ryzen 5700G - Xorg issues

Posted: Mon Jan 24, 2022 3:21 pm
by epsheldoni
I have installed FreeBSD 14 on the same machine and the experience is much different. Xorg on Conky constantly runs below 18. The GUI is not quite as laggy. I have posted on Pastebin Xorg.0.log, /etc/rc.conf, and kldstat. Here is the Pastebin link.

https://pastebin.com/Nx5FN8rU Xorg.0.log
https://pastebin.com/BDm9UApj /etc/rc.conf
https://pastebin.com/BzQbMVSX kldstat

Maybe this can shed some light on the issue.

Re: Ryzen 5700G - Xorg issues

Posted: Tue Jan 25, 2022 11:08 pm
by epsheldoni
The following link explains my issue. Apparently, I am not the only one.

https://github.com/freebsd/drm-kmod/issues/118

I guess I'll have to wait until the issues are sorted out by the developers.

Re: Ryzen 5700G - Xorg issues

Posted: Sun Mar 06, 2022 11:55 pm
by epsheldoni
An update. I am running FreeBSD 14 Current on this machine and after updating /usr/src and compiling buildworld and buildkernel,
amdgpu.ko loads and now Xorg is behaving as I have seen in the past. Xorg wcpu values are usually below 1.00 and on boot, screen
resolution changes as I have observed in the past on other FreeBSD and GhostBSD versions. Now, I'll have to wait until those changes
are pulled into 13.1.

Re: Ryzen 5700G - Xorg issues

Posted: Mon Mar 07, 2022 1:23 pm
by epsheldoni
I forgot to mention that I also installed drm-devel-kmod-5.7.19.g20220223. This module required an updated kernel.

Re: Ryzen 5700G - Xorg issues

Posted: Fri Mar 25, 2022 9:39 pm
by neville
Does Xorg work if amdgpu is loaded? Or does it only work with vesa?

Re: Ryzen 5700G - Xorg issues

Posted: Fri Apr 01, 2022 9:08 pm
by epsheldoni
Neville, pardon the late reply. As I mentioned in the original post, amdgpu does get loaded. It does not appear to be used. I even have removed amdgpu from the kld_list in /etc/rc.conf and it makes no difference. All seems to be working in FreeBSD 14 Current. As I also pointed out in the original post, I was unable to figure out in GhostBSD whether vesa or scfb is running. The /var/log/Xorg.0.log is too long and I'm not sure what information to parse out.

Re: Ryzen 5700G - Xorg issues SOLVED

Posted: Thu Jun 16, 2022 11:35 am
by epsheldoni
After the most recent update, June 16, 2022, I now have this issue solved. After seeing this post on FreeBSD forums

https://forums.freebsd.org/threads/how- ... ily.85401/

I went to Software Station and installed drm-510-kmod, deinstalled drm-fbsd13-kmod, then I made sure that only the gpu-firmware-amd-kmod module for green_sardine was selected. I rebooted and now I have a more responsive desktop and Xorg wcpu values as displayed by top are in line that I have seen in FreeBSD 14.0 Current, FreeBSD 13.1 RELEASE, and on several linux distros. Before, the
wcpu values for Xorg were sometimes 60.0 and above. Now, they rarely get above 2.0 and the gui is more snappy and responsive.

Re: [SOLVED] Ryzen 5700G - Xorg issues

Posted: Fri Jun 17, 2022 3:47 pm
by ericbsd
Thanks for the confirmation.