Автор Тема: mali на mainline ядре  (Прочитано 10359 раз)

Оффлайн ua3nbw

Re: mali на mainline ядре
« Ответ #135 : Октябрь 18, 2018, 05:43:39 pm »
Оно по идее на opi one должно запуститься? Было бы интересно попробовать... Как там дела с браузером? Какие библиотеки и модуль использовали для GLES?
r8p1-00rel0
root@orangepipc:~# modinfo mali
filename:       /lib/modules/4.14.76-sunxi/extra/mali.ko
version:        r8p1-00rel0
author:         ARM Ltd.
license:        GPL
srcversion:     724B1B2D61E4DF9C9895257
блобы  https://github.com/bootlin/mali-blobs/archive/d691cb93884ca8ac67860502117bbec283dc19aa.tar.gz
гайд для тестов набросал https://ua3nbw.ru/all/kodi-18-mainline-linux-allwinner-h3/


Оффлайн Lipton

Re: mali на mainline ядре
« Ответ #136 : Октябрь 19, 2018, 12:08:15 pm »
ua3nbw,
Вы сами патчили исходники модуля ядра или форкнули где то? Те что на arm developers лежат - не собираются, в отличие от Ваших.

version:        r8p1-00rel0
в гайде либы r6p2:
 MALI="r6p2/arm/wayland/libMali.so"

    cp -v $MALI /usr/lib
это не ошибка?

и еще, у вас дважды в гайде линки на либы создаются? Просто опечатка?
« Последнее редактирование: Октябрь 19, 2018, 12:36:07 pm от Lipton »

Оффлайн ua3nbw

Re: mali на mainline ядре
« Ответ #137 : Октябрь 19, 2018, 02:06:53 pm »
это всё от jernejsk/LibreELEC.tv

блобы - r6p2
mali.ko - r8p1-00rel0

патч тут https://github.com/jernejsk/LibreELEC.tv/tree/aw_hw_dec/packages/linux-drivers/gpu-sunxi/patches


линки  на libMali.so в /usr/lib/ и  /usr/lib/arm-linux-gnueabihf
просто код установки не причёсан,

apt install mpv
тянет за собой либы mesa, поэтому приходится править символьные ссылки в директории /usr/lib/arm-linux-gnueabihf на libMali.so
иначе Weston подхватывает libMali.so из /usr/lib/arm-linux-gnueabihf

подредактировал немного, убрал про установку mpv, перезалил   img для OrangePI-PC с поддержкой pvr.iptvsimple

« Последнее редактирование: Октябрь 19, 2018, 08:33:37 pm от ua3nbw »

Оффлайн indevor

Re: mali на mainline ядре
« Ответ #138 : Ноябрь 21, 2018, 11:28:07 am »
Спасибо за труды! Вы или кто нибудь, собирали mali.ko - r8p1 под х11 ?

Оффлайн ua3nbw

Re: mali на mainline ядре
« Ответ #139 : Ноябрь 21, 2018, 03:46:40 pm »
Спасибо за труды! Вы или кто нибудь, собирали mali.ko - r8p1 под х11 ?
mali.ko это драйвер ядра. последний который собирал это r9p0
Извините, вам запрещён просмотр содержимого спойлеров.
для x11 используйте соответствующие блобы  https://github.com/bootlin/mali-blobs/tree/master/r6p2/arm/x11_dma_buf
версия драйвера ядра и либы, по барабану.
 

Оффлайн indevor

Re: mali на mainline ядре
« Ответ #140 : Ноябрь 21, 2018, 11:05:05 pm »
На сколько я понял примерно из двух инструкций:
С вашими цитатами и Lipton'на
Качаем: Arbmian Linux orangepipc 4.14.78-sunxi - stretch\debian
для компиляции модуля mali нужны хидеры ядра, хидеры есть в бета версии armbian,
переключаемся на ночную версию:
sed -i 's/apt.armbian.com/beta.armbian.com/' /etc/apt/sources.list.d/armbian.list
apt update
apt list --upgradable
apt -y upgrade
reboot
после перезагрузки ставим хидеры ядра:
apt install -y linux-headers-next-sunxi
из инструкции госп-на Липтона, некие пакеты для x-ов + меза и тесты для GL .
apt install -тут был хедер- quilt xorg-dev xterm libudev-dev xutils-dev libtool x-window-system xserver-xorg-video-armsoc-sun4i glmark2-es2 mesa-utils mesa-utils-extra cmake
reboot

Собираем mali.ko пропатченую из вашего гайда:

wget https://ua3nbw.ru/files/DX910-SW-99002-r9p0-01rel0.tgz
tar -xvf DX910-SW-99002-r9p0-01rel0.tgz
cd $HOME/DX910-SW-99002-r9p0-01rel0/driver/src/devicedrv/mali
export CROSS_COMPILE=arm-linux-gnueabihf-
export KDIR=/lib/modules/$(uname -r)/build

make MALI_PLATFORM_FILES=platform/sunxi/sunxi.c \
    EXTRA_CFLAGS="-DCONFIG_MALI_DVFS \
    -DMALI_FAKE_PLATFORM_DEVICE=1 \
    -DCONFIG_MALI_DMA_BUF_MAP_ON_ATTACH" \
    CONFIG_MALI400=m USING_DVFS=1

mkdir -p /lib/modules/$(uname -r)/extra
cp -PR mali.ko /lib/modules/$(uname -r)/extra/mali.ko

depmod
modprobe mali

ставим блобы для X:

cd ..
git clone https://github.com/bootlin/mali-blobs.git
mkdir /usr/lib/mali
cp -a mali-blobs/r6p2/arm/x11_dma_buf/lib* /usr/lib/mali/
sed -i -e '1 s/^/\/usr\/lib\/mali\/\n/;' /etc/ld.so.conf

тут вопрос!  на https://github.com/bootlin/ есть папка include (и у вас в гайде), оно подтянет по коду выше? или оно не надо?

или сделать как по вашему гайду:

cd $HOME/mali-blobs
    cp -av include/wayland/* /usr/include
  mkdir -p /usr/lib/pkgconfig
    cp -PRv pkgconfig/*.pc /usr/lib/pkgconfig

  MALI="r6p2/arm/wayland/libMali.so"
  mkdir -p /usr/lib/mali
    cp -v $MALI /usr/lib/mali

    for lib in libEGL.so \
               libEGL.so.1 \
               libEGL.so.1.4 \
               libGLESv2.so \
               libGLESv2.so.2 \
               libGLESv2.so.2.0 \
               libgbm.so \
               libgbm.so.1; do
      ln -sfv libMali.so /usr/lib/mali/${lib}
       
    done

echo "/usr/lib/mali" > /etc/ld.so.conf.d/1-mali.conf
ldconfig

только wayland на x11 и r6p2/arm/wayland/ на /r6p2/arm/x11_dma_buf/ заменить?

ну и далее по Липтону собираем поддержку OpenGLES\GL через gl4es
git clone https://github.com/ptitSeb/gl4es
cd gl4es
cmake . -DODROID=1; make GL
mv /usr/lib/arm-linux-gnueabihf/libGL.so.1.0.0 ./libGL.so.1.0.0_bkup
cp lib/libGL.so.1 /usr/lib/arm-linux-gnueabihf/libGL.so.1.0.0
ldconfig

железо: orange pi zero Plus 2 H3, цель переехать на майнлайн, получить более производительные драйвера
 более полную поддержку GL\GLES для retroarch+emulationstation + порты игр на GL
сейчас: armbian jessie 3.40+
« Последнее редактирование: Ноябрь 21, 2018, 11:38:55 pm от indevor »

Оффлайн ua3nbw

Re: mali на mainline ядре
« Ответ #141 : Ноябрь 22, 2018, 01:48:42 am »
всё верно
папка include нужна была для  сборки kodi.
gl4es вроде должен собраться и без этой папки.

Оффлайн indevor

Re: mali на mainline ядре
« Ответ #142 : Ноябрь 22, 2018, 01:01:04 pm »
не взлетело...
что делал:  установил Armbian_5.65_Orangepizeroplus2-h3_Ubuntu_bionic_next_4.14.78.7z
apt update
apt upgrade
..
установил раб.стол с софтом через armbian-config
в терминале через su все по инструкциям, в время был варнинг насчет хидеров
что на выходе:
root@orangepizeroplus2:~# lsmod | grep mali
mali                  475136  0

--
root@orangepizeroplus2:~# ls -l /dev/mali
crw------- 1 root root 10, 56 Nov 22 10:19 /dev/mali

--

root@orangepizeroplus2:~# dmesg | grep mali
[    9.112952] mali: loading out-of-tree module taints kernel.
[    9.180817] mali_module_init() registering device
[    9.187179] platform mali-utgard: assigned reserved memory node linux,cma
[    9.188036] Allwinner sunXi mali glue initialized
[    9.188049] mali_module_init() registering driver
[    9.188297] mali_probe(): Called for platform device mali-utgard
[    9.188942] Mali GPU Utilization: platform function callback incomplete, need check mali_gpu_device_data in platform .
[    9.202629] mali_mmu_probe_irq_acknowledge: intstat 0x3
[    9.202875] mali_mmu_probe_irq_acknowledge: intstat 0x3
[    9.203301] mali_mmu_probe_irq_acknowledge: intstat 0x3
[    9.203550] Mali DVFS init: platform function callback incomplete, need check mali_gpu_device_data in platform .
[    9.208243] mali_probe(): Successfully initialized driver for platform device mali-utgard
[    9.208491] Mali GPU Utilization: platform function callback incomplete, need check mali_gpu_device_data in platform .

--

root@orangepizeroplus2:~# modinfo mali
filename:       /lib/modules/4.14.81-sunxi/extra/mali.ko
version:        r9p0-01rel0
author:         ARM Ltd.
license:        GPL
srcversion:     2C119D41DD18777518A8891
alias:          of:N*T*Carm,mali-450C*
alias:          of:N*T*Carm,mali-450
alias:          of:N*T*Carm,mali-400C*
alias:          of:N*T*Carm,mali-400
alias:          of:N*T*Callwinner,sun8i-h3-maliC*
alias:          of:N*T*Callwinner,sun8i-h3-mali
alias:          of:N*T*Callwinner,sun7i-a20-maliC*
alias:          of:N*T*Callwinner,sun7i-a20-mali
alias:          of:N*T*Callwinner,sun50i-h5-maliC*
alias:          of:N*T*Callwinner,sun50i-h5-mali
alias:          of:N*T*Callwinner,sun4i-a10-maliC*
alias:          of:N*T*Callwinner,sun4i-a10-mali
depends:
name:           mali
vermagic:       4.14.81-sunxi SMP mod_unload ARMv7 thumb2 p2v8
parm:           mali_debug_level:Higher number, more dmesg output (int)
parm:           mali_max_job_runtime:Maximum allowed job runtime in msecs.
Jobs will be killed after this no matter what (int)
parm:           mali_l2_max_reads:Maximum reads for Mali L2 cache (int)
parm:           mali_dedicated_mem_start:Physical start address of dedicated Mali GPU memory. (uint)
parm:           mali_dedicated_mem_size:Size of dedicated Mali GPU memory. (uint)
parm:           mali_shared_mem_size:Size of shared Mali GPU memory. (uint)
parm:           mali_boot_profiling:Start profiling as a part of Mali driver initialization (int)
parm:           mali_max_pp_cores_group_1:Limit the number of PP cores to use from first PP group. (int)
parm:           mali_max_pp_cores_group_2:Limit the number of PP cores to use from second PP group (Mali-450 only). (int)
parm:           mali_mem_swap_out_threshold_value:Threshold value used to limit how much swappable memory cached in Mali driver. (uint)
parm:           mali_max_system_fps:Max system fps the same as display VSYNC. (int)
parm:           mali_desired_fps:A bit lower than max_system_fps which user desired fps (int)
---

root@orangepizeroplus2:~# glxgears
LIBGL: Initialising gl4es
LIBGL: v1.1.1 built on Nov 22 2018 02:13:28
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Error while gathering supported extension (eglInitialize: EGL_BAD_DISPLAY), default to none
LIBGL: Targeting OpenGL 2.0
LIBGL: glX Will try to recycle EGL Surface
LIBGL: Current folder is:/root
Error: couldn't open display (null)
root@orangepizeroplus2:~# DISPLAY=:0 glxgears
LIBGL: Initialising gl4es
LIBGL: v1.1.1 built on Nov 22 2018 02:13:28
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.0
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: glX Will try to recycle EGL Surface
LIBGL: Current folder is:/root
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
27 frames in 5.1 seconds =  5.280 FPS
29 frames in 5.0 seconds =  5.766 FPS
34 frames in 5.1 seconds =  6.655 FPS
33 frames in 5.0 seconds =  6.562 FPS
20 frames in 5.2 seconds =  3.882 FPS
^[21 frames in 5.2 seconds =  4.022 FPS
^Z
[1]+  Stopped                 DISPLAY=:0 glxgears

Xorg.log
[    18.108] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    18.108] X Protocol Version 11, Revision 0
[    18.108] Build Operating System: Linux 4.4.0-138-generic armv7l Ubuntu
[    18.108] Current Operating System: Linux orangepizeroplus2 4.14.81-sunxi #489 SMP Sun Nov 18 21:57:52 CET 2018 armv7l
[    18.108] Kernel command line: root=UUID=0291e4f6-ee00-431f-823d-bb0c2ef73ddc rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=632a7d8d-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    18.109] Build Date: 25 October 2018  04:12:38PM
[    18.109] xorg-server 2:1.19.6-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[    18.109] Current version of pixman: 0.34.0
[    18.109] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    18.109] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.110] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 22 10:19:17 2018
[    18.130] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.130] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.153] (==) No Layout section.  Using the first Screen section.
[    18.154] (**) |-->Screen "DefaultScreen" (0)
[    18.154] (**) |   |-->Monitor "<default monitor>"
[    18.155] (**) |   |-->Device "ARMSOC DRM driver"
[    18.156] (==) No monitor specified for screen "DefaultScreen".
Using a default monitor configuration.
[    18.156] (**) Option "BlankTime" "0"
[    18.156] (**) Option "StandbyTime" "0"
[    18.156] (**) Option "SuspendTime" "0"
[    18.156] (**) Option "OffTime" "0"
[    18.156] (==) Automatically adding devices
[    18.156] (==) Automatically enabling devices
[    18.156] (==) Automatically adding GPU devices
[    18.156] (==) Automatically binding GPU devices
[    18.157] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.213] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    18.214] Entry deleted from font path.
[    18.214] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    18.214] Entry deleted from font path.
[    18.214] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    18.214] Entry deleted from font path.
[    18.220] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    18.220] Entry deleted from font path.
[    18.220] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    18.220] Entry deleted from font path.
[    18.220] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[    18.220] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.220] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.220] (II) Loader magic: 0x5ac008
[    18.220] (II) Module ABI versions:
[    18.220] X.Org ANSI C Emulation: 0.4
[    18.220] X.Org Video Driver: 23.0
[    18.220] X.Org XInput driver : 24.1
[    18.220] X.Org Server Extension : 10.0
[    18.234] (++) using VT number 7

[    18.234] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    18.239] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.255] (II) no primary bus or device found
[    18.266] falling back to /sys/devices/platform/display-engine/drm/card0
[    18.267] (II) LoadModule: "glx"
[    18.319] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.564] (II) Module glx: vendor="X.Org Foundation"
[    18.564] compiled for 1.19.6, module version = 1.0.0
[    18.564] ABI class: X.Org Server Extension, version 10.0
[    18.564] (II) LoadModule: "armsoc"
[    18.565] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[    18.572] (II) Module armsoc: vendor="X.Org Foundation"
[    18.572] compiled for 1.19.6, module version = 1.4.1
[    18.572] Module class: X.Org Video Driver
[    18.572] ABI class: X.Org Video Driver, version 23.0
[    18.572] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[    18.593] (WW) Falling back to old probe method for armsoc
[    18.593] (II) No BusID or DriverName specified - opening /dev/dri/card0
[    18.593] (II) Got BusID display-engine
[    18.620] (II) Opened DRM
[    18.620] (II)    DeviceName is [/dev/dri/card0]
[    18.620] (II)    bus_id is [display-engine]
[    18.620] (II)    DriverName is [sun4i-drm]
[    18.620] (II)    version is [1.0.0]
[    18.621] (II) Screen:0,  CRTC:-1
[    18.636] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    18.637] (II) ARMSOC(0): Creating default Display subsection in Screen section
"DefaultScreen" for depth/fbbpp 24/32
[    18.637] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[    18.637] (==) ARMSOC(0): RGB weight 888
[    18.637] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.637] (==) ARMSOC(0): Default visual is TrueColor
[    18.637] (II) No BusID or DriverName specified - opening /dev/dri/card0
[    18.637] (II) Got BusID display-engine
[    18.670] (II) Opened DRM
[    18.670] (II)    DeviceName is [/dev/dri/card0]
[    18.670] (II)    bus_id is [display-engine]
[    18.670] (II)    DriverName is [sun4i-drm]
[    18.670] (II)    version is [1.0.0]
[    18.670] (II) ARMSOC(0): Chipset: Mali
[    18.670] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    18.671] (II) ARMSOC(0): Buffer Flipping is Enabled
[    18.671] (II) ARMSOC(0): umplock is Disabled
[    18.671] (II) ARMSOC(0): Setting the video modes ...
[    18.671] (II) ARMSOC(0): Adding all CRTCs
[    18.671] (II) ARMSOC(0): Got CRTC: 0 (id: 28)
[    18.881] (II) ARMSOC(0): Output HDMI-1 has no monitor section
[    19.094] (II) ARMSOC(0): EDID for output HDMI-1
[    19.094] (II) ARMSOC(0): Manufacturer: DWE  Model: 2100  Serial#: 20000080
[    19.094] (II) ARMSOC(0): Year: 2009  Week: 28
[    19.094] (II) ARMSOC(0): EDID Version: 1.3
[    19.094] (II) ARMSOC(0): Digital Display Input
[    19.094] (II) ARMSOC(0): DFP 1.x compatible TMDS
[    19.094] (II) ARMSOC(0): Max Image Size [cm]: horiz.: 47  vert.: 26
[    19.095] (II) ARMSOC(0): Gamma: 2.20
[    19.095] (II) ARMSOC(0): DPMS capabilities: Off
[    19.095] (II) ARMSOC(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    19.095] (II) ARMSOC(0): Default color space is primary color space
[    19.095] (II) ARMSOC(0): First detailed timing is preferred mode
[    19.095] (II) ARMSOC(0): redX: 0.648 redY: 0.339   greenX: 0.282 greenY: 0.603
[    19.095] (II) ARMSOC(0): blueX: 0.143 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
[    19.095] (II) ARMSOC(0): Supported established timings:
[    19.095] (II) ARMSOC(0): 720x400@70Hz
[    19.095] (II) ARMSOC(0): 640x480@60Hz
[    19.095] (II) ARMSOC(0): 640x480@72Hz
[    19.095] (II) ARMSOC(0): 640x480@75Hz
[    19.095] (II) ARMSOC(0): 800x600@56Hz
[    19.095] (II) ARMSOC(0): 800x600@60Hz
[    19.095] (II) ARMSOC(0): 800x600@72Hz
[    19.095] (II) ARMSOC(0): 800x600@75Hz
[    19.095] (II) ARMSOC(0): 832x624@75Hz
[    19.095] (II) ARMSOC(0): 1024x768@60Hz
[    19.095] (II) ARMSOC(0): 1024x768@70Hz
[    19.095] (II) ARMSOC(0): 1024x768@75Hz
[    19.095] (II) ARMSOC(0): 1280x1024@75Hz
[    19.095] (II) ARMSOC(0): Manufacturer's mask: 0
[    19.095] (II) ARMSOC(0): Supported detailed timing:
[    19.095] (II) ARMSOC(0): clock: 33.9 MHz   Image Size:  476 x 268 mm
[    19.096] (II) ARMSOC(0): h_active: 800  h_sync: 844  h_sync_end 932 h_blank_end 1056 h_border: 0
[    19.096] (II) ARMSOC(0): v_active: 480  v_sync: 483  v_sync_end 489 v_blanking: 535 v_border: 0
[    19.096] (II) ARMSOC(0): Serial No: 0
[    19.096] (II) ARMSOC(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 215 MHz
[    19.096] (II) ARMSOC(0): Monitor name: HDMI
[    19.096] (II) ARMSOC(0): Supported detailed timing:
[    19.096] (II) ARMSOC(0): clock: 27.0 MHz   Image Size:  697 x 392 mm
[    19.096] (II) ARMSOC(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
[    19.096] (II) ARMSOC(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
[    19.096] (II) ARMSOC(0): Supported detailed timing:
[    19.096] (II) ARMSOC(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    19.096] (II) ARMSOC(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    19.096] (II) ARMSOC(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    19.096] (II) ARMSOC(0): Supported detailed timing:
[    19.096] (II) ARMSOC(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    19.096] (II) ARMSOC(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    19.096] (II) ARMSOC(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    19.096] (II) ARMSOC(0): Supported detailed timing:
[    19.097] (II) ARMSOC(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    19.097] (II) ARMSOC(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    19.097] (II) ARMSOC(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    19.097] (II) ARMSOC(0): Supported detailed timing:
[    19.097] (II) ARMSOC(0): clock: 148.5 MHz   Image Size:  697 x 392 mm
[    19.097] (II) ARMSOC(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    19.097] (II) ARMSOC(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    19.097] (II) ARMSOC(0): Number of EDID sections to follow: 1
[    19.097] (II) ARMSOC(0): EDID (in hex):
[    19.097] (II) ARMSOC(0): 00ffffffffffff0012e50021502d3101
[    19.097] (II) ARMSOC(0): 1c130103812f1a782e3585a656489a24
[    19.097] (II) ARMSOC(0): 125054afef0001010101010101010101
[    19.098] (II) ARMSOC(0): 0101010101013e0d200031e037102c58
[    19.098] (II) ARMSOC(0): 3600dc0c1100001e000000ff00300a0a
[    19.098] (II) ARMSOC(0): 0a0a0a0a0a0a0a0a0a0a000000fd0038
[    19.098] (II) ARMSOC(0): 4b1e5315000a202020202020000000fc
[    19.098] (II) ARMSOC(0): 0048444d490a0a0a0a0a0a0a0a0a01f8
[    19.098] (II) ARMSOC(0): 020321714e0607020315961112130414
[    19.098] (II) ARMSOC(0): 051f90230907078301000065030c0010
[    19.098] (II) ARMSOC(0): 008c0ad090204031200c405500b98821
[    19.098] (II) ARMSOC(0): 000018011d8018711c1620582c2500b9
[    19.098] (II) ARMSOC(0): 882100009e011d80d0721c1620102c25
[    19.098] (II) ARMSOC(0): 80b9882100009e011d00bc52d01e20b8
[    19.098] (II) ARMSOC(0): 285540b9882100001e023a80d072382d
[    19.098] (II) ARMSOC(0): 40102c4580b9882100001e00000000d0
[    19.098] (II) ARMSOC(0): EDID vendor "DWE", prod id 8448
[    19.098] (II) ARMSOC(0): Using EDID range info for horizontal sync
[    19.098] (II) ARMSOC(0): Using EDID range info for vertical refresh
[    19.099] (II) ARMSOC(0): Printing DDC gathered Modelines:
[    19.099] (II) ARMSOC(0): Modeline "800x480"x0.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    19.099] (II) ARMSOC(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    19.099] (II) ARMSOC(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    19.100] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    19.100] (II) ARMSOC(0): Printing probed modes for output HDMI-1
[    19.100] (II) ARMSOC(0): Modeline "800x480"x60.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    19.101] (II) ARMSOC(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    19.102] (II) ARMSOC(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    19.102] (II) ARMSOC(0): Output HDMI-1 connected
[    19.102] (II) ARMSOC(0): Using exact sizes for initial modes
[    19.102] (II) ARMSOC(0): Output HDMI-1 using initial mode 800x480 +0+0
[    19.102] (II) ARMSOC(0): Got KMS resources
[    19.102] (**) ARMSOC(0): Display dimensions: (470, 260) mm
[    19.102] (**) ARMSOC(0): DPI set to (43, 46)
[    19.102] (II) Loading sub module "dri2"
[    19.102] (II) LoadModule: "dri2"
[    19.102] (II) Module "dri2" already built-in
[    19.102] (II) Loading sub module "exa"
[    19.103] (II) LoadModule: "exa"
[    19.104] (II) Loading /usr/lib/xorg/modules/libexa.so
[    19.138] (II) Module exa: vendor="X.Org Foundation"
[    19.139] compiled for 1.19.6, module version = 2.6.0
[    19.139] ABI class: X.Org Video Driver, version 23.0
[    19.139] (II) Loading sub module "fb"
[    19.139] (II) LoadModule: "fb"
[    19.140] (II) Loading /usr/lib/xorg/modules/libfb.so
[    19.182] (II) Module fb: vendor="X.Org Foundation"
[    19.183] compiled for 1.19.6, module version = 1.0.0
[    19.183] ABI class: X.Org ANSI C Emulation, version 0.4
[    19.183] (--) Depth 24 pixmap format is 32 bpp
[    19.201] (II) ARMSOC(0): Soft EXA mode
[    19.201] (II) EXA(0): Driver allocated offscreen pixmaps
[    19.201] (II) EXA(0): Driver registered support for the following operations:
[    19.201] (II)         Solid
[    19.201] (II)         Copy
[    19.201] (II)         Composite (RENDER acceleration)
[    19.201] (II) ARMSOC(0): Setting swap chain size: 2
[    19.201] (II) ARMSOC(0): [DRI2] Setup complete
[    19.201] (II) ARMSOC(0): [DRI2]   DRI driver: armsoc
[    19.201] (==) ARMSOC(0): Backing store enabled
[    19.201] (==) ARMSOC(0): Silken mouse enabled
[    19.218] (II) ARMSOC(0): HW cursor init()
[    19.237] (II) ARMSOC(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    19.238] (==) ARMSOC(0): DPMS enabled
[    19.239] (--) RandR disabled
[    19.266] (II) SELinux: Disabled on system
[    19.279] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory)
[    19.279] (EE) AIGLX: reverting to software rendering
[    22.412] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    22.416] (II) IGLX: Loaded and initialized swrast
[    22.416] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    22.418] (II) ARMSOC(0): Setting screen physical size to 211 x 127
[    23.116] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/event0)
[    23.117] (**) A4TECH USB Device: Applying InputClass "libinput keyboard catchall"
[    23.117] (II) LoadModule: "libinput"
[    23.118] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    23.153] (II) Module libinput: vendor="X.Org Foundation"
[    23.153] compiled for 1.19.6, module version = 0.27.1
[    23.153] Module class: X.Org XInput Driver
[    23.153] ABI class: X.Org XInput driver, version 24.1
[    23.153] (II) Using input driver 'libinput' for 'A4TECH USB Device'
[    23.153] (**) A4TECH USB Device: always reports core events
[    23.153] (**) Option "Device" "/dev/input/event0"
[    23.154] (**) Option "_source" "server/udev"
[    23.158] (II) event0  - A4TECH USB Device: is tagged by udev as: Keyboard
[    23.158] (II) event0  - A4TECH USB Device: device is a keyboard
[    23.159] (II) event0  - A4TECH USB Device: device removed
[    23.176] (II) libinput: A4TECH USB Device: needs a virtual subdevice
[    23.177] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1c400.usb/usb5/5-1/5-1:1.0/0003:09DA:054F.0001/input/input0/event0"
[    23.177] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: MOUSE, id 6)
[    23.178] (**) Option "AccelerationScheme" "none"
[    23.178] (**) A4TECH USB Device: (accel) selected scheme none/0
[    23.178] (**) A4TECH USB Device: (accel) acceleration factor: 2.000
[    23.178] (**) A4TECH USB Device: (accel) acceleration threshold: 4
[    23.182] (II) event0  - A4TECH USB Device: is tagged by udev as: Keyboard
[    23.182] (II) event0  - A4TECH USB Device: device is a keyboard
[    23.187] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/event2)
[    23.187] (**) A4TECH USB Device: Applying InputClass "libinput pointer catchall"
[    23.187] (II) Using input driver 'libinput' for 'A4TECH USB Device'
[    23.187] (**) A4TECH USB Device: always reports core events
[    23.187] (**) Option "Device" "/dev/input/event2"
[    23.188] (**) Option "_source" "server/udev"
[    23.250] (II) event2  - A4TECH USB Device: is tagged by udev as: Mouse
[    23.250] (II) event2  - A4TECH USB Device: device is a pointer
[    23.251] (II) event2  - A4TECH USB Device: device removed
[    23.288] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1c400.usb/usb5/5-1/5-1:1.1/0003:09DA:054F.0003/input/input2/event2"
[    23.288] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: MOUSE, id 7)
[    23.289] (**) Option "AccelerationScheme" "none"
[    23.290] (**) A4TECH USB Device: (accel) selected scheme none/0
[    23.290] (**) A4TECH USB Device: (accel) acceleration factor: 2.000
[    23.290] (**) A4TECH USB Device: (accel) acceleration threshold: 4
[    23.350] (II) event2  - A4TECH USB Device: is tagged by udev as: Mouse
[    23.350] (II) event2  - A4TECH USB Device: device is a pointer
[    23.354] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/mouse0)
[    23.354] (II) No input driver specified, ignoring this device.
[    23.354] (II) This device may have been added with another device file.
[    23.358] (II) config/udev: Adding input device 2.4G 2.4G Wireless Device (/dev/input/event1)
[    23.359] (**) 2.4G 2.4G Wireless Device: Applying InputClass "libinput keyboard catchall"
[    23.359] (II) Using input driver 'libinput' for '2.4G 2.4G Wireless Device'
[    23.359] (**) 2.4G 2.4G Wireless Device: always reports core events
[    23.359] (**) Option "Device" "/dev/input/event1"
[    23.359] (**) Option "_source" "server/udev"
[    23.362] (II) event1  - 2.4G 2.4G Wireless Device: is tagged by udev as: Keyboard
[    23.362] (II) event1  - 2.4G 2.4G Wireless Device: device is a keyboard
[    23.362] (II) event1  - 2.4G 2.4G Wireless Device: device removed
[    23.400] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1d400.usb/usb6/6-1/6-1:1.0/0003:25A7:2402.0002/input/input1/event1"
[    23.400] (II) XINPUT: Adding extended input device "2.4G 2.4G Wireless Device" (type: KEYBOARD, id 8)
[    23.400] (**) Option "xkb_model" "pc105"
[    23.400] (**) Option "xkb_layout" "us"
[    23.405] (II) event1  - 2.4G 2.4G Wireless Device: is tagged by udev as: Keyboard
[    23.405] (II) event1  - 2.4G 2.4G Wireless Device: device is a keyboard
[    23.409] (II) config/udev: Adding input device 2.4G 2.4G Wireless Device (/dev/input/event3)
[    23.410] (**) 2.4G 2.4G Wireless Device: Applying InputClass "libinput pointer catchall"
[    23.410] (**) 2.4G 2.4G Wireless Device: Applying InputClass "libinput keyboard catchall"
[    23.410] (II) Using input driver 'libinput' for '2.4G 2.4G Wireless Device'
[    23.410] (**) 2.4G 2.4G Wireless Device: always reports core events
[    23.410] (**) Option "Device" "/dev/input/event3"
[    23.410] (**) Option "_source" "server/udev"
[    23.413] (II) event3  - 2.4G 2.4G Wireless Device: is tagged by udev as: Keyboard Mouse
[    23.413] (II) event3  - 2.4G 2.4G Wireless Device: device is a pointer
[    23.413] (II) event3  - 2.4G 2.4G Wireless Device: device is a keyboard
[    23.414] (II) event3  - 2.4G 2.4G Wireless Device: device removed
[    23.428] (II) libinput: 2.4G 2.4G Wireless Device: needs a virtual subdevice
[    23.428] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1d400.usb/usb6/6-1/6-1:1.1/0003:25A7:2402.0004/input/input3/event3"
[    23.428] (II) XINPUT: Adding extended input device "2.4G 2.4G Wireless Device" (type: MOUSE, id 9)
[    23.429] (**) Option "AccelerationScheme" "none"
[    23.429] (**) 2.4G 2.4G Wireless Device: (accel) selected scheme none/0
[    23.429] (**) 2.4G 2.4G Wireless Device: (accel) acceleration factor: 2.000
[    23.429] (**) 2.4G 2.4G Wireless Device: (accel) acceleration threshold: 4
[    23.433] (II) event3  - 2.4G 2.4G Wireless Device: is tagged by udev as: Keyboard Mouse
[    23.433] (II) event3  - 2.4G 2.4G Wireless Device: device is a pointer
[    23.433] (II) event3  - 2.4G 2.4G Wireless Device: device is a keyboard
[    23.437] (II) config/udev: Adding input device 2.4G 2.4G Wireless Device (/dev/input/mouse1)
[    23.437] (II) No input driver specified, ignoring this device.
[    23.437] (II) This device may have been added with another device file.
[    23.441] (II) config/udev: Adding input device RC for dw_hdmi (/dev/input/event4)
[    23.441] (**) RC for dw_hdmi: Applying InputClass "libinput keyboard catchall"
[    23.441] (II) Using input driver 'libinput' for 'RC for dw_hdmi'
[    23.442] (**) RC for dw_hdmi: always reports core events
[    23.442] (**) Option "Device" "/dev/input/event4"
[    23.442] (**) Option "_source" "server/udev"
[    23.444] (II) event4  - RC for dw_hdmi: is tagged by udev as: Keyboard
[    23.444] (II) event4  - RC for dw_hdmi: device is a keyboard
[    23.444] (II) event4  - RC for dw_hdmi: device removed
[    23.496] (**) Option "config_info" "udev:/sys/devices/platform/soc/1ee0000.hdmi/rc/rc0/input4/event4"
[    23.496] (II) XINPUT: Adding extended input device "RC for dw_hdmi" (type: KEYBOARD, id 10)
[    23.496] (**) Option "xkb_model" "pc105"
[    23.496] (**) Option "xkb_layout" "us"
[    23.500] (II) event4  - RC for dw_hdmi: is tagged by udev as: Keyboard
[    23.500] (II) event4  - RC for dw_hdmi: device is a keyboard
[    23.754] (**) A4TECH USB Device: Applying InputClass "libinput keyboard catchall"
[    23.755] (II) Using input driver 'libinput' for 'A4TECH USB Device'
[    23.755] (**) A4TECH USB Device: always reports core events
[    23.755] (**) Option "Device" "/dev/input/event0"
[    23.755] (**) Option "_source" "_driver/libinput"
[    23.755] (II) libinput: A4TECH USB Device: is a virtual subdevice
[    23.755] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1c400.usb/usb5/5-1/5-1:1.0/0003:09DA:054F.0001/input/input0/event0"
[    23.755] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: KEYBOARD, id 11)
[    23.756] (**) Option "xkb_model" "pc105"
[    23.756] (**) Option "xkb_layout" "us"
[    23.757] (**) 2.4G 2.4G Wireless Device: Applying InputClass "libinput pointer catchall"
[    23.757] (**) 2.4G 2.4G Wireless Device: Applying InputClass "libinput keyboard catchall"
[    23.757] (II) Using input driver 'libinput' for '2.4G 2.4G Wireless Device'
[    23.757] (**) 2.4G 2.4G Wireless Device: always reports core events
[    23.757] (**) Option "Device" "/dev/input/event3"
[    23.758] (**) Option "_source" "_driver/libinput"
[    23.758] (II) libinput: 2.4G 2.4G Wireless Device: is a virtual subdevice
[    23.758] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c1d400.usb/usb6/6-1/6-1:1.1/0003:25A7:2402.0004/input/input3/event3"
[    23.758] (II) XINPUT: Adding extended input device "2.4G 2.4G Wireless Device" (type: KEYBOARD, id 12)
[    23.758] (**) Option "xkb_model" "pc105"
[    23.758] (**) Option "xkb_layout" "us"
[    47.255] (II) ARMSOC(0): EDID vendor "DWE", prod id 8448
[    47.256] (II) ARMSOC(0): Using hsync ranges from config file
[    47.256] (II) ARMSOC(0): Using vrefresh ranges from config file
[    47.256] (II) ARMSOC(0): Printing DDC gathered Modelines:
[    47.256] (II) ARMSOC(0): Modeline "800x480"x0.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    47.256] (II) ARMSOC(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    47.256] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    47.256] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    47.256] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    47.256] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    47.257] (II) ARMSOC(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    47.258] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    47.258] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    47.258] (II) ARMSOC(0): EDID vendor "DWE", prod id 8448
[    47.258] (II) ARMSOC(0): Using hsync ranges from config file
[    47.258] (II) ARMSOC(0): Using vrefresh ranges from config file
[    47.258] (II) ARMSOC(0): Printing DDC gathered Modelines:
[    47.258] (II) ARMSOC(0): Modeline "800x480"x0.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    47.258] (II) ARMSOC(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    47.258] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    47.258] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    47.258] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    47.259] (II) ARMSOC(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    47.260] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    47.260] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    49.846] (II) ARMSOC(0): EDID vendor "DWE", prod id 8448
[    49.846] (II) ARMSOC(0): Using hsync ranges from config file
[    49.846] (II) ARMSOC(0): Using vrefresh ranges from config file
[    49.846] (II) ARMSOC(0): Printing DDC gathered Modelines:
[    49.846] (II) ARMSOC(0): Modeline "800x480"x0.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    49.847] (II) ARMSOC(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    49.847] (II) ARMSOC(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    49.848] (II) ARMSOC(0): EDID vendor "DWE", prod id 8448
[    49.848] (II) ARMSOC(0): Using hsync ranges from config file
[    49.848] (II) ARMSOC(0): Using vrefresh ranges from config file
[    49.848] (II) ARMSOC(0): Printing DDC gathered Modelines:
[    49.848] (II) ARMSOC(0): Modeline "800x480"x0.0   33.90  800 844 932 1056  480 483 489 535 +hsync +vsync (32.1 kHz eP)
[    49.848] (II) ARMSOC(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    49.848] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    49.849] (II) ARMSOC(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    49.850] (II) ARMSOC(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    49.850] (II) ARMSOC(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    49.850] (II) ARMSOC(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    49.850] (II) ARMSOC(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[  3153.520] (II) config/udev: removing device 2.4G 2.4G Wireless Device
[  3153.522] (II) event1  - 2.4G 2.4G Wireless Device: device removed
[  3153.570] (II) UnloadModule: "libinput"
[  3153.612] (II) config/udev: removing device 2.4G 2.4G Wireless Device
[  3153.632] (II) UnloadModule: "libinput"
[  3153.632] (II) config/udev: removing device 2.4G 2.4G Wireless Device
[  3153.633] (II) event3  - 2.4G 2.4G Wireless Device: device removed
[  3153.659] (II) UnloadModule: "libinput"
« Последнее редактирование: Ноябрь 22, 2018, 01:23:27 pm от indevor »

Оффлайн Olej

Re: mali на mainline ядре
« Ответ #143 : Ноябрь 22, 2018, 03:46:28 pm »
Цитировать
[    19.279] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory)
[    19.279] (EE) AIGLX: reverting to software rendering
И конечно его там нет!  ;)

Оффлайн indevor

Re: mali на mainline ядре
« Ответ #144 : Ноябрь 22, 2018, 04:13:25 pm »
а вот лог xorg.log на свежей установленной Armbian_5.65_Orangepizeroplus2-h3_Debian_stretch_next_4.14.78
[   978.132] (II) Loading sub module "fb"
[   978.132] (II) LoadModule: "fb"
[   978.133] (II) Loading /usr/lib/xorg/modules/libfb.so
[   978.134] (II) Module fb: vendor="X.Org Foundation"
[   978.134] compiled for 1.19.2, module version = 1.0.0
[   978.134] ABI class: X.Org ANSI C Emulation, version 0.4
[   978.134] (II) UnloadModule: "fbdev"
[   978.134] (II) Unloading fbdev
[   978.134] (II) UnloadSubModule: "fbdevhw"
[   978.134] (II) Unloading fbdevhw
[   978.134] (==) Depth 24 pixmap format is 32 bpp
[   978.137] (==) modeset(0): Backing store enabled
[   978.138] (==) modeset(0): Silken mouse enabled
[   978.138] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   978.150] (==) modeset(0): DPMS enabled
[   978.150] (--) RandR disabled
[   978.178] (II) SELinux: Disabled on system
[   978.182] (II) AIGLX: Screen 0 is not DRI2 capable
[   978.182] (EE) AIGLX: reverting to software rendering
[   978.195] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[   978.199] (II) IGLX: Loaded and initialized swrast
[   978.199] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   978.202] (II) modeset(0): Damage tracking initialized
[   978.202] (II) modeset(0): Setting screen physical size to 211 x 127

и по пути /usr/lib/arm-linux-gnueabihf/dri - armsoc_dri.so - тоже нет

Оффлайн Olej

Re: mali на mainline ядре
« Ответ #145 : Ноябрь 22, 2018, 07:35:13 pm »
и по пути /usr/lib/arm-linux-gnueabihf/dri - armsoc_dri.so - тоже нет
Резюме относительно использования GPU Mali 400 : это всё онанизм  ::)
Цитировать
Здесь играть, здесь не играть - здесь селёдку заворачивали ...

Оффлайн Lipton

Re: mali на mainline ядре
« Ответ #146 : Декабрь 25, 2018, 12:04:30 pm »

Резюме относительно использования GPU Mali 400 : это всё онанизм  ::)
если у других оно работает - онанируйте дальше, видимо руки для того и выросли.

Оффлайн krokodil

Re: mali на mainline ядре
« Ответ #147 : Январь 04, 2019, 10:50:00 pm »
Прошу прощения за возможно глупые вопросы..
Почитал всякие здесь инструкции - очень интересно, но есть ряд вопросов..
У меня orangepi-pc2.
Все armbian os, которые я могу скачать: Armbian Bionic, Armbian Bionic Desktop, Armbian Stretch - они все 64х разрядные, то есть aarch64
Соответственно всякие инструкции хоть в целом теоретически понятны - полностью не работают.
Хотел спросить может кто умный подскажет.

1) сейчас uname -r показывает 4.18.8-sunxi64
2) mali.ko я собрал, проблема вставить его в ядро ибо нет соответствующего node  в dtb в Armbian Bionic Desktop. Как вы это решаете? Про dts/dtb во всей дискуссии ничего не нашел. В принципе я кое как собрал свое ядро и свой dtb с патчем, который прописывает node для mali gpu
Заменил родной dtb на свой dtb - Сейчас mali.ko у меня вставляется, вроде без ошибок.  Но все же - как у вас с dtb?
3) нет пакета xserver-video-armsoc-sun4i
точнее такие пакеты вроде есть но для armhf, и они естественно не ставятся.
Собственно на этом все - приехали.
4) я могу собрать свой armsoc_drv.so из https://github.com/mripard/xf86-video-armsoc
Я собрал его и установил в свой xorg.
Но Но теперь Xorg не запускается, лог Xorg пишет следующее:
(EE) _CREATE_GEM({height: 1080, width: 1920, bpp: 32 buf_type: 0x0}) failed. errno: 22 - Invalid argument
[  1341.961] (EE) ARMSOC(0): ERROR: Cannot allocate scanout buffer

[  1341.961] (EE)
Fatal server error:
[  1341.961] (EE) AddScreen/ScreenInit failed for driver 0

Чего делать дальше не знаю.
Можете посоветовать чего нибудь?


Оффлайн ua3nbw

Re: mali на mainline ядре
« Ответ #148 : Январь 06, 2019, 11:54:43 pm »
1) сейчас uname -r показывает 4.18.8-sunxi64
failed. errno: 22 - Invalid argument

была такая же ошибка на  4.18 ядре, на 4.14 этой ошибки нет.
lsmod покажите.

Оффлайн krokodil

Re: mali на mainline ядре
« Ответ #149 : Январь 07, 2019, 09:34:52 pm »
По поводу "ARMSOC(0): ERROR: Cannot allocate scanout buffer" вроде разобрался..
Но хрень полная.. там видимо еще куча патчей должна быть на ядро.. печально.
В armbian 4.14.91 эти патчи есть а новых mainline естественно ничего такого нет.. а я пытался на свеженьком mainline выехать и собирал в buildroot свою систему, которая похоже не взлетит из-за отсутствия всех этих патчей которые нужно собирать по кускам отовсюду.
Хотя в buildroot прямо опция есть включить копиляцию mali.ko драйвера и армовские блобы есть - и драйвер собирается и стартует и блобы ставятся...
В результате с buildroot перешел на armbian. Тут похоже шансов больше так как в папке build/patch/kernel/sunxi-next есть хотя бы вот такой патч 30-sun4i-drm-add-GEM-allocator.patch похоже эта штука и закрывает проблему с ERROR: Cannot allocate scanout buffer

В результате у меня вроде бы как и почти все компоненты есть но ничерта не работает.
/dev/mali есть
/dev/dri/card0 есть
drm_fbdev_overalloc=300 вроде стоит
сma reserved 64M
Xorg стартует без проблем и armbian десктоп появляется

Но ничего из GLES приложений не работает.
Например, es2_info пишет
Error: eglGetDisplay() failed
или glmark2-es2 пришет
Error: eglGetDisplay() failed with error: 0x3000
Error: main: Could not initialize canvas

Что делать? без понятия. как слепой котенок тыкаюсь из стороны в сторону.

Логи dmesg и Xorg прикрепил.

В логе ядра подозрительное вижу только вот
sun4i-drm display-engine: No panel or bridge found... RGB output disabled


lsmod показывает такое:

Module                  Size  Used by
fuse                  102400  3
snd_soc_hdmi_codec     16384  1
ir_lirc_codec          16384  0
lirc_dev               20480  1 ir_lirc_codec
sun4i_codec            49152  3
sunxi_cir              16384  0
sun4i_i2s              20480  2
sun8i_codec_analog     28672  1
snd_soc_simple_card    16384  1
snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
rc_core                32768  4 lirc_dev,ir_lirc_codec,sunxi_cir
snd_soc_core          155648  6 sun4i_i2s,sun8i_codec_analog,snd_soc_hdmi_codec,sun4i_codec,snd_soc_simple_card_utils,snd_soc_simple_card
dw_hdmi_cec            16384  0
dw_hdmi_i2s_audio      16384  0
sy8106a_regulator      16384  1
snd_pcm_dmaengine      16384  1 snd_soc_core
sun4i_gpadc_iio        16384  0
snd_pcm               106496  4 sun4i_i2s,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine
snd_timer              32768  1 snd_pcm
sunxi                  20480  0
musb_hdrc              98304  1 sunxi
zram                   28672  5
iio_hwmon              16384  0
industrialio           65536  2 sun4i_gpadc_iio,iio_hwmon
mali                  270336  0

Ну и что еще: ядро собирал сам, mali.ko собирал сам из github.com/mripard/sunxi-mali
и драйвер дисплея для Xorg (armsoc_drv.so) собирал сам из github.com/mripard/xf86-video-armsoc