Jump to content

rs677567

Members
  • Posts

    1
  • Joined

  • Last visited

  1. Hi, I'm using the minimal Armbian Debian-based image as a starting point to install my favorite desktop environment KDE and related software. I've got everything set up so that I got it working partially. I remember trying the Armbian desktop (Ubuntu flavor) but it did not have it set up out of the box IIRC (I could be wrong). I took a look at how the hardkernel guys set up their official Ubuntu image for Odroid XU4 and used that as a guide to set it up on my minimal Armbian. So here's what I've done and what I've learned I need to do according to the official image: 1. apt install mali-t62x-x11-driver xserver-xorg-video-armsoc-sun4i 2. copied xorg.conf from official Hardkernel image to /etc/X11 and removed Armbian xorg configuration file from the /etc/X11/xorg.conf.d/ directory 3. chmod 0755 /usr/lib/arm-linux-gnueabihf/libmali.so Now I installed my desktop environment (kde-full) and other misc software. Here's there most interesting bit. If I now run es2_info (from the mesa-utils-extra package) I get the following: ERROR: The DDK is not compatible with any of the Mali GPUs on the system. The DDK was built for 0x620 r0p1 status range [0..15], but none of the GPUs matched: Error: eglInitialize() failed but now if do chmod 666 /dev/mali0 and run es2_info | grep -i renderer I get: GL_RENDERER: Mali-T628 So in other words the previous error message is complete bogus and has led me astray for quite a while. It's simply a permission issue that it detects as compatibility error... which doesn't make much sense to me but whatever it works now. There is however an issue with Qt if the permissions of /dev/mali0 is set to anything permissive like 666. Any KDE program I run after setting those permissions get the following error and a crash (example with running konsole): Unable to find an X11 visual which matches EGL config 9 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = konsole path = /usr/bin pid = 2506 KCrash: Arguments: /usr/bin/konsole KCrash: Attempting to start /usr/lib/arm-linux-gnueabihf/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 [1]+ Stopped konsole Note that other OpenGL ES programs work without issues (es2gears, glmark2-es2), and this seems to be an issue with Qt specifically and not anything driver related. I did some digging and found these old Hardkernel threads discussing the issue: https://forum.odroid.com/viewtopic.php?t=30646 https://forum.odroid.com/viewtopic.php?f=93&t=15362 https://forum.odroid.com/viewtopic.php?f=95&t=31070&p=224756#p224400 The TL;DR of those threads is: Hardkernel patches Qt (specifically libqt5gui5) to make it detect ARM as a vendor. These are my findings and conclusions. Maybe I am completely wrong and someone may have got it working a different way which does not cause this issue with Qt? I'm just wondering why these fixes aren't in upstream Qt or Armbian because it would seem like a common issue to me. Here is some system info:
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines