Closed BigMuscle85 closed 8 months ago
We do not support installing desktop environment on CLI version image, including X.Org. This is because Rockchip kernel needs to be used with their patched X.Org, which is not included in CLI image by default.
Please retry with the desktop variant first.
Thank you very much for the explanation. KDE image actually works. So obvious question - where to get the patched Xorg that I could (even manually) install on CLI version?
I'll write a guide for this soon. In short you will need to add another apt repo, then you can install the required packages with apt.
Please follow instructions from here to enable and install task-rockchip
, which will install the patched X.Org as well.
I have created a PR for the incorrect formatting.
Thank you for the quick response. Just a few additional questions:
- is it ok to install just task-rockchip package or do I need to install some additional drivers on CLI images to support GL acceleration? I see that desktop version installs e.g. "mesa-va-drivers".
Again we did not test usage of desktop environment on CLI image because there are too many variables, so I could not give you a definite answer for those.
From product level, we have task-rk3399
for GPU (OpenGL ES only, no OpenGL) and camera support in addition to what is provided in the generic task-rockchip
, and there is task-rock-pi-4b-plus
for additional drivers (current none for 4B+ though).
You can also check the additional packages we installed on the desktop variant.
- shouldn't the "Unable to handle kernel NULL pointer dereference at virtual address" crash be also patched in the kernel code to avoid potential risk that third-party applications could intentionally crash the kernel?
Such is life of using vendor SDK. They are not very interested to fix issues caused by mismatching X.Org and kernel.
You could be better served with a mainline based distro, like Armbian or Manjaro.
Thank you for the information. It works. I just needed to install xserver-xorg-input-all which is normally installed together with xorg. I just had two random restarts when Xserver was running and it happened once also with KDE image.
I do need to use this kernel as some features such as DSI does not work on mainline kernel. If I have time I will try to create at least some "if is null then log error" patch.
When I start X server with fbdev driver, it works. But when started with modesetting driver, the kernel crashes. Using kernel 5.10.110-8-rockchip and the official Debian image for Rock Pi 4b+: rock-pi-4b-plus_debian_bullseye_cli_b21.img.xz Installed these packages: xorg x11-xserver-utils xinit Started xorg with startx
Just added this to /etc/X11/xorg.conf.d/20-modesetting.conf
The following is logged in dmesg: