7800 XT not working on 14.3-RELEASE

A bit sad about my brand new AM5 Ryzen 7900 + Saphire 7800 XT not working on 14.3-RELEASE. Even installing drm-kmod from ports did not help either.
I don't have time to debug this, so being forced to Linux on this machine :-(((((((((((

Code:
[drm] REG_WAIT timeout 1us * 10 tries - optc3_lock line:124
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] commit wait timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [PLANE:55:plane-3] commit wait timed out
WARNING acrtc_attach->pflip_status != AMDGPU_FLIP_NONE failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8092
WARNING acrtc->event failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:7672
[drm] REG_WAIT timeout 1us * 10 tries - optc3_lock line:124
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] commit wait timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [PLANE:55:plane-3] commit wait timed out
WARNING acrtc_attach->pflip_status != AMDGPU_FLIP_NONE failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8092
WARNING acrtc->event failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:7672
[drm] REG_WAIT timeout 1us * 10 tries - optc3_lock line:124
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] commit wait timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [PLANE:55:plane-3] commit wait timed out
WARNING acrtc_attach->pflip_status != AMDGPU_FLIP_NONE failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8092
WARNING acrtc->event failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:7672
[drm] REG_WAIT timeout 1us * 10 tries - optc3_lock line:124
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [CRTC:67:crtc-0] commit wait timed out
drmn0: [drm] *ERROR* flip_done timed out
drmn0: [drm] *ERROR* [PLANE:55:plane-3] commit wait timed out
WARNING acrtc_attach->pflip_status != AMDGPU_FLIP_NONE failed at /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_4/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8092
 
drm-66-kmod seems to be available in ports, so that may be wort a try.
Yes but that would require CURRENT version of FreeBSD until it gets released as a version.

Code:
# /usr/ports/graphics/drm-66-kmod/Makefile
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
IGNORE=        not supported on older than 1500031, no kernel support
.endif
 
Saphire 7800 XT not working on 14.3-RELEASE.
Apparently there seems to be differences between the 7800 XTs.

This user claims a Saphire Pure RX 7800XT is supported by drm-61-kmod on 14.1:

 
Yes, unfortunately, there indeed are reports of working 7800 XT. And therefore I bought exactly this older model to be FreeBSD compatible, so I'm disappointed even more :) It's probably not that it's unsupported because this error was reported on Linux as well. But there, it was resolved which isn't probably the case for FreeBSD yet.
 
This is weird, I am currently running this cards on 14.2-RELEASE.
See the vulkan probe that I did a couple month ago:
Sounds promising. But do you use any custom firmware or whatever? I found the error above
Code:
flip_done timed out
discussed intensively in Linux forums, so perhaps it used to be a bug there. But it's presence might be vendor dependent? Perhaps... but really disappointed as I counted on 7800 XT as on a safe bet. But you're saying there's some hope, right?
 
ChatGPT saying this might help for a single HDMI no extra features setup. I haven't tried yet:
Code:
# /boot/loader.conf
compat.linuxkpi.amdgpu_dc=0
 
The same flip_done timed out error is on my FreeBSD 14.3 Release, which takes about one minute to load the graphic driver. After that everything works fine with 7800xt.

Nothing special is configured, however some graphic drivers are needed.

Code:
~> pkg info|rg gpu-firmware-amd
gpu-firmware-amd-kmod-dcn-3-2-0-20230625.1403000_2 Firmware modules for dcn_3_2_0 AMD GPUs
gpu-firmware-amd-kmod-gc-11-0-3-20230625.1403000_2 Firmware modules for gc_11_0_3 AMD GPUs
gpu-firmware-amd-kmod-psp-13-0-10-20230625.1403000_2 Firmware modules for psp_13_0_10 AMD GPUs
gpu-firmware-amd-kmod-sdma-6-0-3-20230625.1403000_2 Firmware modules for sdma_6_0_3 AMD GPUs
gpu-firmware-amd-kmod-smu-13-0-10-20230625.1403000_2 Firmware modules for smu_13_0_10 AMD GPUs
gpu-firmware-amd-kmod-vcn-4-0-0-20230625.1403000_2 Firmware modules for vcn_4_0_0 AMD GPUs

~> pkg info|rg drm
drm-61-kmod-6.1.128.1403000_5 DRM drivers modules
libdrm-2.4.123,1              Direct Rendering Manager library and headers
 
The same flip_done timed out error is on my FreeBSD 14.3 Release, which takes about one minute to load the graphic driver. After that everything works fine with 7800xt.

Nothing special is configured, however some graphic drivers are needed.
So you saying that I should just wait & see? Thanks man, will try that! Perhaps after some timeout firmware fallbacks to something, okay.
 
So you saying that I should just wait & see? Thanks man, will try that! Perhaps after some timeout firmware fallbacks to something, okay.
Yes, up to two or three minutes are needed, but not too long if all specific gpu-firmware loaded. Because the system was crash when not all gpu-firmware loaded the first time my 7800XT was installed on FreeBSD 14.2 Release.
 
Back
Top