Closed mhuangwm closed 3 years ago
Hi,
By "a weird issue with the xserver", did you mean the "missing rockchip_dri.so" warning? If so, that is expected, and it will fallback to swrast.
We only provide GBM/EGL/GLESv2/GLESv1/OPENCL with mali, so other implements(e.g. glx) will fallback to mesa(software opengl)
And according to the log, you are using RGA(hw accel module) based exa accel and flipfb(double-buffer rendering, slow but avoid tearing): [ 9.852] () modeset(0): Option "AccelMethod" "exa" [ 9.852] () modeset(0): Option "FlipFB" "always" [ 9.861] (II) modeset(0): Using RGA EXA
There's no other error logs, so guessing it should work.
Hi Jeffy, By weird issue, I mean rendering of the graphics onto the screen (like the image I posted). Top half seems to have multiple renderings of the terminal box and the bottom half has the calibration screen. (I was expecting just a single terminal box).
What settings/drivers would you recommend to use on the rk3399pro boards to use for smooth experiences? Like watching youtube
For reference, this is what I expected (I built this against poky's xserver's recipe and without librga)
well, that seems like something wrong in the kernel side(rga driver). maybe try to modify /etc/X11/xorg/20-mod.conf, change exa to glamor
by the way, if possible, please upload your rootfs and kernel image, maybe i can try to debug it. and which version of this repo did you use?
thanks for reaching out a helping hand, I appreciate it. I added the openbox WM and the problem seem to go away (weird). i think previously it was using matchbox.. so maybe something that with matchbox that it doesn't like.
I also tried using glamor, but rendering of GUI is extremely slow (on xfce deskop).. is this expected?
Jeffy, I'll go ahead and close this issue. It also turns out that mali drivers weren't loading properly (kernel expecting r14, but r18 was installed)
Jeffy, I'll go ahead and close this issue. It also turns out that mali drivers weren't loading properly (kernel expecting r14, but r18 was installed)
So the kernel is old(with out-dated mali driver), and there're lots of fixes about RGA in recent kernel. The matchbox+lxterminal works well on my side, could related to kernel version.
Hi @JeffyCN, I have a custom board that uses rk3399pro (rockpi-n10) and I'm glueing a yocto build that uses parts of meta-rockchip (this repo) and meta-radxa. Without these graphics recipes, xserver displays fine, but rendering 2d graphics is extremely slow so I thought of baking in the graphic recipes from this layer.
Now, I'm having a weird issue with the xserver I was hoping you can help me with:![image](https://user-images.githubusercontent.com/11184811/123895641-222c8c80-d92e-11eb-8771-8c6371df1405.png)
X11 logs seems to be complaining about rockchip_dri.so driver missing: