Hello to every FreeBSD brother all around.
I have implemented a full IOMMU v2 integration with DRM / RockChip / Panfrost code on the Radxa board Zero 3W. It has been a crazy 3 full days of night and day work. It's not only about to patch some file here and there. I have fixed a large numbers of bugs because in Linux it works differently. Now,this is the final situation :
1) Xorg with the glamour driver + xfce4 uses the 200% of the radxa cpus. Something is not working properly maybe I should disable the xfwm4 compositor :
2) I have switched from xfce4 to lxde and cpu takes much less power from cpus
Despite point 1 and 2,Firefox does not seem to be the best choice for surfing (and compiling from ports a fresh version of Chromium is a serious challenge and I'm not sure it will work as I wish)
When I go to YouTube for watching some videos I see the page has large black checks, sometimes magenta, and often it shows missing elements. Everything gets fixed after a while, but then the problems come back. I don't know what the problem is, perhaps some incompatibility between the xfce4 compositing and the panfrost driver ? Maybe there aren't bugs,but it's only Firefox that asks to the radxa board too many resources that it can't offer ?
Anyway do you know if does exists or if it's possible to port the VAAPI driver to the radxa zero 3W or in general to ARM64 for FreeBSD ? This is what I get for the moment :
Does exists a partial port of RKVDEC / RKVENC for FreeBSD already ? v4l2 on FreeBSD already supports something for RK35xx ?
I have implemented a full IOMMU v2 integration with DRM / RockChip / Panfrost code on the Radxa board Zero 3W. It has been a crazy 3 full days of night and day work. It's not only about to patch some file here and there. I have fixed a large numbers of bugs because in Linux it works differently. Now,this is the final situation :
1) Xorg with the glamour driver + xfce4 uses the 200% of the radxa cpus. Something is not working properly maybe I should disable the xfwm4 compositor :
Code:
xfconf-query -c xfwm4 -p /general/use_compositing -s false
- xfwm4 compositor — it uses XDamage + XComposite for rendering. On FreeBSD with glamor it could not match with the vblank timing.
- vsync not configured — xfwm4 ha an option vblank_mode that on Linux uses glx or xpresent, but on FreeBSD may fail silently or come back to a loop busy-wait.
2) I have switched from xfce4 to lxde and cpu takes much less power from cpus
Despite point 1 and 2,Firefox does not seem to be the best choice for surfing (and compiling from ports a fresh version of Chromium is a serious challenge and I'm not sure it will work as I wish)
When I go to YouTube for watching some videos I see the page has large black checks, sometimes magenta, and often it shows missing elements. Everything gets fixed after a while, but then the problems come back. I don't know what the problem is, perhaps some incompatibility between the xfce4 compositing and the panfrost driver ? Maybe there aren't bugs,but it's only Firefox that asks to the radxa board too many resources that it can't offer ?
Anyway do you know if does exists or if it's possible to port the VAAPI driver to the radxa zero 3W or in general to ARM64 for FreeBSD ? This is what I get for the moment :
Code:
# vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/local/lib/dri/panfrost_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Does exists a partial port of RKVDEC / RKVENC for FreeBSD already ? v4l2 on FreeBSD already supports something for RK35xx ?