Giter Site home page Giter Site logo

Comments (8)

JeffyCN avatar JeffyCN commented on May 24, 2024

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.

from meta-rockchip.

mhuangwm avatar mhuangwm commented on May 24, 2024

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

from meta-rockchip.

mhuangwm avatar mhuangwm commented on May 24, 2024

For reference, this is what I expected (I built this against poky's xserver's recipe and without librga)
image

from meta-rockchip.

JeffyCN avatar JeffyCN commented on May 24, 2024

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

from meta-rockchip.

JeffyCN avatar JeffyCN commented on May 24, 2024

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?

from meta-rockchip.

mhuangwm avatar mhuangwm commented on May 24, 2024

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?

from meta-rockchip.

mhuangwm avatar mhuangwm commented on May 24, 2024

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)

from meta-rockchip.

JeffyCN avatar JeffyCN commented on May 24, 2024

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.

from meta-rockchip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.