New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | RK3399 GPU support #3460
Comments
@LieDanG I fixed it for v6.29 by manually installing the library during install process. However since To verify, could you paste:
The other error might be related to an acceleration driver that is not present on Debian X.org packages. Please try:
I have to think through this and also just asked RockChip devs to update their version strings and some details about exa acceleration driver + general GPU acceleration through their vs Debian X.org packages. |
@rafee74 So basically what we need to do is:
To test performance, not only Since I do not own an RK3399 SBC to test effectively, we basically need someone with deeper knowledge. The Mali GPU libs/drivers for GLESv2 and EGL are there, so this is not the problem, but I lack the detailed knowledge about how to make X.org use them correctly/best. |
@MichaIng When I upgraded last time I'm not able anymore to run Let me know if you need some other tests or if I can help you in other way. |
@rafee74 The issue currently indeed is that |
@MichaIng
|
@LieDanG
|
@MichaIng
Here attached are files with test results and with Xorg packages details. Let me know if you need some more tests. apt-show-default.txt |
@rafee74 You I think we'll revert to Debian packages for now. Hardware acceleration for X applications is something that might need to be tested but seems to be at least not possible via glmark2 or e2gears anyway. |
@MichaIng Anyhow, in the mean time I've wanted to install Armbian official image. I had downloaded it some time ago, I think at the end of February or beginning of March. This image is the server one, based on Debian Buster with kernel 5.4. The complete boot to a shell takes more than 1 minute, but after an update & upgrade (using ambian-config) the boot time is about 15 seconds. Now it uses kernel 5.4.32 Did you think it's better to stay on kernel 4.4 or try with 5.4? |
@rafee74
That is good news, probably something has been improved about the boot time with latest kernel/device tree/bootloader packages.
That actually doesn't sound like "good" GPU acceleration, as expected, however finally it needs to be compared with the ARM Mali drivers.
Actually the very long boot time was the only reason why I built Linux 4.4 images, hence is this is not an issue anymore with current versions, I would stay with 5.4. All our RK3399 testing images are based on Armbian with Linux 5.4 as well, besides the one with Linux4.4 in their names: https://dietpi.com/downloads/testing/ |
I reverted the Xserver installs on RK3399 and ASUS TB to not use the X.org packages from RockChip anymore by stay with the Debian ones for now. Default xorg.conf has been simplified to be a compatible default accordingly. So it's only the Mali drivers that are installed from the RockChip repo for now. If someone finds X.org applications being slow with this, while being fast with those and a certain |
I mark this as closed. It will solve itself with Debian Bullseye, being released this summer, which providers newer Mesa drivers with good GPU support for various SoCs. Any attempt to use 3rd party drivers and libraries is problematic, as usually any application using e.g. those EGL/GLES interfaces needs to be build against related 3rd party development headers as well. Maintaining this too much effort for something that is only relevant for a soon old Debian version. |
Required Information
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
Basically I did as stated, but after an apt-get upgrade desktop starts without problem
Installed some software, configured desktop autologin and everything "works"
Not sure if related but I noticed that vnc doesn't work on shared desktop mode and sometimes after a reboot X.org gives another fatal error: AddScreen/ScreenInit failed for driver 0
The text was updated successfully, but these errors were encountered: