Open probonopd opened 4 years ago
We need to add support for the Mali-450, codename "Utgard". The images by @150balbes have this working out of the box, but I don't know what packages I am missing and where to get them from.
Hello @150balbes do you know which packages I need to install, and from which repository?
For example, from which repository can I get your linux-image-current-arm-64_20.05.1_arm64.deb
? I want to make my own image (Xubuntu) but I don't want to build those packages myself.
Specifically I am missing the sources.list
entry that could get me the following:
me@host:/$ grep balbes /media/me/ROOTFS/var/lib/dpkg/status -C 5 | grep ^Package | cut -d " " -f 2
linux-image-current-arm-64
armbian-config
linux-u-boot-arm-64-current
linux-bionic-root-current-arm-64
armbian-firmware
armbian-bionic-desktop
But those packages are in none of the configured sources:
me@host:/$ find /media/me/ROOTFS/etc/apt/ -name '*list' -exec cat {} \;
deb http://apt.armbian.com bionic main bionic-utils bionic-desktop
deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic main restricted universe multiverse
deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
deb http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
In the booted @150balbes system, I can restore those packages:
/var/lib/dpkg/status -C 5 | grep ^Package | cut -d " " -f 2
sudo cp /boot/zImage /boot/vmlinuz-5.6.2-arm-64 # Otherwise error
cat PACKAGES | while read PACKAGE; do sudo dpkg-repack $PACKAGE; done
But i don't see any graphics driver magic in there...
me@arm-64:~$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: VMware, Inc. (0xffffffff)
OpenGL vendor string: VMware, Inc.
me@arm-64:~$ cat /var/log/Xorg.0.log | grep Load
[ 16.849] (II) Loader magic: 0xaaaad2454010
[ 16.862] (II) LoadModule: "glx"
[ 16.866] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16.974] (II) LoadModule: "modesetting"
[ 16.980] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 17.036] (II) Loading sub module "fb"
[ 17.036] (II) LoadModule: "fb"
[ 17.037] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 18.562] (II) IGLX: Loaded and initialized swrast
[ 18.787] (II) LoadModule: "libinput"
[ 18.788] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
me@arm-64:~$ cat /var/log/Xorg.0.log | grep Lima -C 2
[ 16.853] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 16.854] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 16.862] (**) OutputClass "Lima" setting /dev/dri/card0 as PrimaryGPU
[ 16.862] (II) LoadModule: "glx"
[ 16.866] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
--
"Default Screen Section" for depth/fbbpp 24/32
[ 17.028] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 17.028] (II) Applying OutputClass "Lima" options to /dev/dri/card0
[ 17.029] (**) modeset(0): Option "AccelMethod" "none"
[ 17.029] (==) modeset(0): RGB weight 888
me@arm-64:~$ dpkg -S /usr/lib/xorg/modules/extensions/libglx.so
xserver-xorg-core: /usr/lib/xorg/modules/extensions/libglx.so
me@arm-64:~$ dpkg -S /usr/lib/xorg/modules/drivers/modesetting_drv.so
xserver-xorg-core: /usr/lib/xorg/modules/drivers/modesetting_drv.so
me@arm-64:~$ dpkg -S /usr/lib/xorg/modules/libfb.so
xserver-xorg-core: /usr/lib/xorg/modules/libfb.so
me@arm-64:~$ dpkg -S /usr/lib/xorg/modules/input/libinput_drv.so
xserver-xorg-input-libinput: /usr/lib/xorg/modules/input/libinput_drv.so
me@arm-64:~$ cat PACKAGES | while read PACKAGE; do cat /var/lib/dpkg/info/$PACKAGE.list; done > contents.txt
me@arm-64:~$ lsmod
Module Size Used by
fuse 139264 3
bnep 32768 2
cpufreq_userspace 20480 0
cpufreq_conservative 16384 0
cpufreq_powersave 20480 0
zram 45056 2
nls_ascii 16384 1
8189es 1802240 0
hci_uart 155648 0
btqca 20480 1 hci_uart
btrtl 24576 1 hci_uart
btbcm 24576 1 hci_uart
btintel 32768 1 hci_uart
meson_vdec 81920 0
bluetooth 626688 13 btrtl,btqca,btintel,hci_uart,btbcm,bnep
cfg80211 417792 1 8189es
v4l2_mem2mem 45056 1 meson_vdec
videobuf2_dma_contig 24576 1 meson_vdec
videobuf2_memops 20480 1 videobuf2_dma_contig
videobuf2_v4l2 36864 2 meson_vdec,v4l2_mem2mem
videobuf2_common 65536 3 meson_vdec,videobuf2_v4l2,v4l2_mem2mem
ecdh_generic 16384 1 bluetooth
videodev 286720 4 meson_vdec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
ecc 32768 1 ecdh_generic
crct10dif_ce 20480 1
rfkill 40960 6 bluetooth,cfg80211
mc 61440 4 videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
lima 57344 0
meson_ir 16384 0
gpu_sched 32768 1 lima
rc_core 61440 2 meson_ir
ao_cec 20480 0
dw_hdmi_cec 16384 0
meson_rng 16384 0
snd_soc_simple_amplifier 16384 1
sch_fq_codel 20480 6
ip_tables 32768 0
x_tables 49152 1 ip_tables
ipv6 614400 50
nf_defrag_ipv6 24576 1 ipv6
fb gets loaded in the ·@150balbes system, whereas fbdev is tried to be loaded in my system...
How can we disable the fbdev driver on xorg.conf (causing the server to use the lima driver)?
Apparently this is what /etc/X11/xorg.conf.d/01-armbian-defaults.conf
is doing. Using it I can get Xorg to work on my system... at least when I run init 2 && startxfce4
manually (then I can see the mouse cursor and a blue background). But I was not able to get a normal session (init 5
) running so far, the screen goes then black and the monitor says "No Device Connected". The Xorg log says systemd-logind: got pause for ...
After a while the "Oh No! Something has gone wrong." dialog appears. I guess that is a separate issue...
https://yadi.sk/d/_rQgn_FosYuW0g/20.05.2/deb now has deb files for the kernel and kernel headers... need to investigate
Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
Do we need a newer Mesa or some additional drivers?