Jump to content

Recommended Posts

Posted

@Myy

armbian@orangepi3:~$ sudo apt show mesa
N: Unable to locate package mesa
N: Unable to locate package mesa
E: No packages found


armbian@orangepi3:~$ sudo apt-get install mesa
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mesa
armbian@orangepi3:~$
 

Posted
6 minutes ago, Myy said:

Ah, my bad, I thought their build system generated a "mesa" package, but it splitted it into multiple ones ( https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers/+packages )

Try apt show libgles2-mesa

 

sudo apt show libgles2-mesa

 

Package: libgles2-mesa
Version: 20.1~git2004201930.a1f6ae~oibaf~b
Priority: optional
Section: oldlibs
Source: mesa
Maintainer: First Mate Rummey <fmrummey@gmail.com>
Original-Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Installed-Size: 77.8 kB
Depends: libgles2
Breaks: nvidia-304, nvidia-340 (<= 340.106-0ubuntu1), nvidia-384 (<< 390.25)
Download-Size: 59.6 kB
APT-Sources: http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main arm64 Packages
Description: transitional dummy package

N: There are 3 additional records. Please use the '-a' switch to see them.

 

sudo apt show libgles2-mesa -a

 

Package: libgles2-mesa
Version: 20.1~git2004201930.a1f6ae~oibaf~b
Priority: optional
Section: oldlibs
Source: mesa
Maintainer: First Mate Rummey <fmrummey@gmail.com>
Original-Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Installed-Size: 77.8 kB
Depends: libgles2
Breaks: nvidia-304, nvidia-340 (<= 340.106-0ubuntu1), nvidia-384 (<< 390.25)
Download-Size: 59.6 kB
APT-Sources: http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main arm64 Packages
Description: transitional dummy package

Package: libgles2-mesa
Version: 19.2.8-0ubuntu0~18.04.3
Priority: optional
Section: universe/libs
Source: mesa
Origin: Ubuntu
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77.8 kB
Depends: libgles2
Breaks: nvidia-304, nvidia-340 (<= 340.106-0ubuntu1), nvidia-384 (<< 390.25)
Homepage: https://mesa3d.org/
Download-Size: 6,912 B
APT-Sources: http://ports.ubuntu.com bionic-updates/universe arm64 Packages
Description: transitional dummy package

Package: libgles2-mesa
Version: 19.2.8-0ubuntu0~18.04.2
Priority: optional
Section: universe/libs
Source: mesa
Origin: Ubuntu
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77.8 kB
Depends: libgles2
Breaks: nvidia-304, nvidia-340 (<= 340.106-0ubuntu1), nvidia-384 (<< 390.25)
Homepage: https://mesa3d.org/
Download-Size: 6,888 B
APT-Sources: http://ports.ubuntu.com bionic-security/universe arm64 Packages
Description: transitional dummy package

Package: libgles2-mesa
Version: 18.0.0~rc5-1ubuntu1
Priority: optional
Section: universe/libs
Source: mesa
Origin: Ubuntu
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 66.6 kB
Depends: libgles2
Breaks: nvidia-304, nvidia-340 (<= 340.106-0ubuntu1), nvidia-384 (<< 390.25)
Homepage: https://mesa3d.org/
Download-Size: 5,116 B
APT-Sources: http://ports.ubuntu.com bionic/universe arm64 Packages
Description: transitional dummy package

Posted
43 minutes ago, 062621AM said:

do you know how to undo changes made by this step?
 

 

  Reveal hidden contents

armbian@orangepi3:~$ sudo find / -name "libGL*.so*"

/usr/lib/chromium-browser/swiftshader/libGLESv2.so
/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2
/usr/lib/aarch64-linux-gnu/libGLX.so.0
/usr/lib/aarch64-linux-gnu/libGLX.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGL.so.1
/usr/lib/aarch64-linux-gnu/libGL.so.1.7.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2.1.0
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0
/usr/lib/aarch64-linux-gnu/libGLX_indirect.so.0
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0.0.0
armbian@orangepi3:~$

 

 

You dont have to. I have the same "conflict" in my system but it does not even matter.

I even think there is an issue with the oibaf repositiory and the libs from their packages are being installed in the wrong place.

See my post above where you can find libs in /usr/lib as well as /usr/local/lib

I did glmark2 twice. In between I built the latest mesa from scratch and had a different version string which matched the latest commit. Therefore I assume the oibaf libs are (partially at least) not being used.

 

tl;dr:

apt build-dep mesa

Grab sources

Compile like described here: https://panfrost.freedesktop.org/building-panfrost-mesa.html

Restart X

Done.

Posted
21 hours ago, Myy said:

So, what does apt install libgles2-mesa does ?

 

Does it install the 20.1~git2004201930.a1f6ae~oibaf~b version ?

i think it installs libgles2-mesa

 

Before install

 

armbian@orangepi3:~$ sudo apt-cache policy libgles2-mesa

libgles2-mesa:
  Installed: (none)
  Candidate: 20.1~git2004211930.c1e7c1~oibaf~b
  Version table:
     20.1~git2004211930.c1e7c1~oibaf~b 500
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main arm64 Packages
     19.2.8-0ubuntu0~18.04.3 500
        500 http://ports.ubuntu.com bionic-updates/universe arm64 Packages
     19.2.8-0ubuntu0~18.04.2 500
        500 http://ports.ubuntu.com bionic-security/universe arm64 Packages
     18.0.0~rc5-1ubuntu1 500
        500 http://ports.ubuntu.com bionic/universe arm64 Packages
armbian@orangepi3:~$

 

@Myy, result after install libgles2-mesa and then reboot

 

armbian@orangepi3:~$ DISPLAY=:0.0 glxinfo | grep OpenGL

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.0-devel (git-c1e7c1f 2020-04-21 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 20.1.0-devel (git-c1e7c1f 2020-04-21 bionic-oibaf-ppa)
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.0-devel (git-c1e7c1f 2020-04-21 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


armbian@orangepi3:~$ DISPLAY=:0.0 glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 9.0.1, 128 bits)
    GL_VERSION:    3.1 Mesa 20.1.0-devel (git-c1e7c1f 2020-04-21 bionic-oibaf-ppa)
=======================================================
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
[build] use-vbo=false:^C


armbian@orangepi3:~$ sudo find / -name "libGL*.so*"
/usr/lib/chromium-browser/swiftshader/libGLESv2.so
/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2
/usr/lib/aarch64-linux-gnu/libGLX.so.0
/usr/lib/aarch64-linux-gnu/libGLX.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGL.so.1
/usr/lib/aarch64-linux-gnu/libGL.so.1.7.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2.1.0
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0
/usr/lib/aarch64-linux-gnu/libGLX_indirect.so.0
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0.0.0
armbian@orangepi3:~$

 

21 hours ago, Werner said:

You dont have to. I have the same "conflict" in my system but it does not even matter.

I even think there is an issue with the oibaf repositiory and the libs from their packages are being installed in the wrong place.

See my post above where you can find libs in /usr/lib as well as /usr/local/lib

I did glmark2 twice. In between I built the latest mesa from scratch and had a different version string which matched the latest commit. Therefore I assume the oibaf libs are (partially at least) not being used.

 

tl;dr:

apt build-dep mesa

Grab sources

Compile like described here: https://panfrost.freedesktop.org/building-panfrost-mesa.html

Restart X

Done.

i will try it later today

 

Posted

Try Werner steps first.

 

Installing libgles2 installed OpenGL ES 2.x drivers. So, to test it, you could try glmark2-es2 (which is installed with glmark2).

I'm still surprised that apt install mesa returns nothing.

Posted
1 hour ago, Myy said:

Try Werner steps first.

 

Installing libgles2 installed OpenGL ES 2.x drivers. So, to test it, you could try glmark2-es2 (which is installed with glmark2).

I'm still surprised that apt install mesa returns nothing.

ok, i will build later.

 

 

armbian@orangepi3:~$ sudo apt-cache policy libgles2-mesa

libgles2-mesa:
  Installed: 20.1~git2004211930.c1e7c1~oibaf~b
  Candidate: 20.1~git2004211930.c1e7c1~oibaf~b
  Version table:
 *** 20.1~git2004211930.c1e7c1~oibaf~b 500
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main arm64 Packages
        100 /var/lib/dpkg/status
     19.2.8-0ubuntu0~18.04.3 500
        500 http://ports.ubuntu.com bionic-updates/universe arm64 Packages
     19.2.8-0ubuntu0~18.04.2 500
        500 http://ports.ubuntu.com bionic-security/universe arm64 Packages
     18.0.0~rc5-1ubuntu1 500
        500 http://ports.ubuntu.com bionic/universe arm64 Packages

armbian@orangepi3:~$ DISPLAY=:0.0 glmark2-es2
Command 'glmark2-es2' not found, but can be installed with:
sudo apt install glmark2-es2
armbian@orangepi3:~$

Posted
On 4/21/2020 at 12:06 PM, Myy said:

You might want to follow the "panfrost" build steps provided in the first post link :

 

 

i believe i could not follow NicoD steps completely. i skip right ahead to Now we need to install all the needed software

I only have a problem here: Download and install meson

wget http://ftp.de.debian.org/debian/pool/main/m/meson/meson_0.54.0-1_all.deb

meson_0.54.0-1_all.deb is the latest deb file. NicoD used meson_0.52.0-2_all.deb

 

dpkg: dependency problems prevent configuration of meson:
 meson depends on python3:any (>= 3.7~); however:
  Version of python3 on system is 3.6.7-1~18.04.
 

i used sudo apt-get install meson and end up with meson 0.51.2-1~oibaf~b

i completed Download and install mesa DRM and Download and install mesa graphics

Rebooted. My command output:

 

/var/log/Xorg.0.log

 

armbian@orangepi3:~$ cat /var/log/Xorg.0.log

[     8.987] X.Org X Server 1.19.6 Release Date: 2017-12-20
[     8.987] X Protocol Version 11, Revision 0
[     8.987] Build Operating System: Linux 4.4.0-168-generic aarch64 Ubuntu
[     8.987] Current Operating System: Linux orangepi3 5.6.5-sunxi64 #trunk.111 SMP Mon Apr 20 02:25:37 CEST 2020 aarch64
[     8.987] Kernel command line: root=UUID=397dd071-8d0b-4af4-9117-2b69ba99da46 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart= usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory swapaccount=1
[     8.987] Build Date: 14 November 2019  06:20:13PM
[     8.987] xorg-server 2:1.19.6-1ubuntu4.4 (For technical support please see http://www.ubuntu.com/support)
[     8.987] Current version of pixman: 0.34.0
[     8.987]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     8.987] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.988] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 22 18:46:15 2020
[     8.990] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     8.990] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.994] (==) No Layout section.  Using the first Screen section.
[     8.994] (==) No screen section available. Using defaults.
[     8.994] (**) |-->Screen "Default Screen Section" (0)
[     8.994] (**) |   |-->Monitor "<default monitor>"
[     8.995] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[     8.995] (**) |   |-->Device "Default Device"
[     8.995] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[     8.995] (**) Option "AutoAddGPU" "off"
[     8.995] (==) Automatically adding devices
[     8.995] (==) Automatically enabling devices
[     8.995] (**) Not automatically adding GPU devices
[     8.995] (==) Automatically binding GPU devices
[     8.995] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.004] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     9.004]    Entry deleted from font path.
[     9.004] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[     9.004] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.004] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.010] (II) Loader magic: 0xaaaaddada010
[     9.010] (II) Module ABI versions:
[     9.010]    X.Org ANSI C Emulation: 0.4
[     9.010]    X.Org Video Driver: 23.0
[     9.010]    X.Org XInput driver : 24.1
[     9.010]    X.Org Server Extension : 10.0
[     9.015] (++) using VT number 7
[     9.015] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     9.026] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.038] (II) xfree86: Adding drm device (/dev/dri/card1)
[     9.039] (**) OutputClass "Panfrost" setting /dev/dri/card0 as PrimaryGPU
[     9.039] (II) LoadModule: "glx"
[     9.042] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.082] (II) Module glx: vendor="X.Org Foundation"
[     9.082]    compiled for 1.19.6, module version = 1.0.0
[     9.082]    ABI class: X.Org Server Extension, version 10.0
[     9.082] (II) Applying OutputClass "Panfrost" to /dev/dri/card0
[     9.082]    loading driver: modesetting
[     9.082] (==) Matched modesetting as autoconfigured driver 0
[     9.082] (==) Matched modesetting as autoconfigured driver 1
[     9.082] (==) Matched fbdev as autoconfigured driver 2
[     9.082] (==) Assigned the driver to the xf86ConfigLayout
[     9.083] (II) LoadModule: "modesetting"
[     9.084] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     9.086] (II) Module modesetting: vendor="X.Org Foundation"
[     9.086]    compiled for 1.19.6, module version = 1.19.6
[     9.086]    Module class: X.Org Video Driver
[     9.086]    ABI class: X.Org Video Driver, version 23.0
[     9.087] (II) LoadModule: "fbdev"
[     9.087] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[     9.088] (II) Module fbdev: vendor="X.Org Foundation"
[     9.089]    compiled for 1.19.3, module version = 0.4.4
[     9.089]    Module class: X.Org Video Driver
[     9.089]    ABI class: X.Org Video Driver, version 23.0
[     9.089] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     9.089] (II) FBDEV: driver for framebuffer: fbdev
[     9.138] (II) modeset(0): using drv /dev/dri/card0
[     9.138] (WW) Falling back to old probe method for modesetting
[     9.155] (WW) Falling back to old probe method for fbdev
[     9.155] (II) Loading sub module "fbdevhw"
[     9.155] (II) LoadModule: "fbdevhw"
[     9.155] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     9.159] (II) Module fbdevhw: vendor="X.Org Foundation"
[     9.159]    compiled for 1.19.6, module version = 0.0.2
[     9.159]    ABI class: X.Org Video Driver, version 23.0
[     9.159] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[     9.159] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[     9.159] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     9.159] (II) Applying OutputClass "Panfrost" options to /dev/dri/card0
[     9.159] (**) modeset(0): Option "AccelMethod" "none"
[     9.159] (==) modeset(0): RGB weight 888
[     9.159] (==) modeset(0): Default visual is TrueColor
[     9.159] (**) modeset(0): glamor disabled
[     9.159] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[     9.279] (II) modeset(0): Output HDMI-1 has no monitor section
[     9.393] (II) modeset(0): EDID for output HDMI-1
[     9.394] (II) modeset(0): Manufacturer: SNY  Model: 7702  Serial#: 16843009
[     9.394] (II) modeset(0): Year: 2012  Week: 1
[     9.394] (II) modeset(0): EDID Version: 1.3
[     9.394] (II) modeset(0): Digital Display Input
[     9.394] (II) modeset(0): Max Image Size [cm]: horiz.: 102  vert.: 57
[     9.394] (II) modeset(0): Gamma: 2.20
[     9.394] (II) modeset(0): No DPMS capabilities specified
[     9.394] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[     9.394] (II) modeset(0): First detailed timing is preferred mode
[     9.394] (II) modeset(0): redX: 0.625 redY: 0.340   greenX: 0.280 greenY: 0.595
[     9.394] (II) modeset(0): blueX: 0.155 blueY: 0.070   whiteX: 0.283 whiteY: 0.298
[     9.394] (II) modeset(0): Supported established timings:
[     9.394] (II) modeset(0): 640x480@60Hz
[     9.394] (II) modeset(0): 800x600@60Hz
[     9.394] (II) modeset(0): 1024x768@60Hz
[     9.394] (II) modeset(0): Manufacturer's mask: 0
[     9.394] (II) modeset(0): Supported standard timings:
[     9.394] (II) modeset(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 148.5 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     9.394] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 74.2 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[     9.394] (II) modeset(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[     9.394] (II) modeset(0): Monitor name: SONY TV
[     9.394] (II) modeset(0): Ranges: V min: 48 V max: 62 Hz, H min: 14 H max: 70 kHz, PixClock max 155 MHz
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 148.5 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[     9.394] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 74.2 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[     9.394] (II) modeset(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 74.2 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     9.394] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[     9.394] (II) modeset(0): Supported detailed timing:
[     9.394] (II) modeset(0): clock: 74.2 MHz   Image Size:  1018 x 573 mm
[     9.394] (II) modeset(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[     9.394] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[     9.394] (II) modeset(0): Number of EDID sections to follow: 1
[     9.394] (II) modeset(0): EDID (in hex):
[     9.395] (II) modeset(0):   00ffffffffffff004dd9027701010101
[     9.395] (II) modeset(0):   01160103806639780a0dc9a057479827
[     9.395] (II) modeset(0):   12484c21080081800101010101010101
[     9.395] (II) modeset(0):   010101010101023a801871382d40582c
[     9.395] (II) modeset(0):   4500fa3d3200001e011d007251d01e20
[     9.395] (II) modeset(0):   6e285500fa3d3200001e000000fc0053
[     9.395] (II) modeset(0):   4f4e592054560a2020202020000000fd
[     9.395] (II) modeset(0):   00303e0e460f000a2020202020200109
[     9.395] (II) modeset(0):   02032ff0531f101405130420223c3e12
[     9.395] (II) modeset(0):   16030711150206012609070715075083
[     9.395] (II) modeset(0):   01000068030c004000b82d0fe200fb02
[     9.395] (II) modeset(0):   3a80d072382d40102c4580fa3d320000
[     9.395] (II) modeset(0):   1e011d00bc52d01e20b8285540fa3d32
[     9.395] (II) modeset(0):   00001e011d8018711c1620582c2500fa
[     9.395] (II) modeset(0):   3d3200009e011d80d0721c1620102c25
[     9.395] (II) modeset(0):   80fa3d3200009e0000000000000000b4
[     9.395] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[     9.395] (II) modeset(0): Printing probed modes for output HDMI-1
[     9.395] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[     9.395] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080"x30.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080"x30.0   74.18  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.7 kHz e)
[     9.395] (II) modeset(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     9.395] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[     9.395] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     9.395] (II) modeset(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[     9.395] (II) modeset(0): Modeline "1280x720"x30.0   74.25  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (22.5 kHz e)
[     9.396] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     9.396] (II) modeset(0): Modeline "1280x720"x30.0   74.18  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (22.5 kHz e)
[     9.396] (II) modeset(0): Modeline "1280x720"x24.0   59.40  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (18.0 kHz e)
[     9.396] (II) modeset(0): Modeline "1280x720"x24.0   59.34  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (18.0 kHz e)
[     9.396] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[     9.396] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[     9.396] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[     9.396] (II) modeset(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[     9.396] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[     9.396] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[     9.396] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[     9.396] (II) modeset(0): Output HDMI-1 connected
[     9.396] (II) modeset(0): Using exact sizes for initial modes
[     9.396] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[     9.396] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.396] (==) modeset(0): DPI set to (96, 96)
[     9.396] (II) Loading sub module "fb"
[     9.396] (II) LoadModule: "fb"
[     9.396] (II) Loading /usr/lib/xorg/modules/libfb.so
[     9.399] (II) Module fb: vendor="X.Org Foundation"
[     9.400]    compiled for 1.19.6, module version = 1.0.0
[     9.400]    ABI class: X.Org ANSI C Emulation, version 0.4
[     9.400] (II) UnloadModule: "fbdev"
[     9.400] (II) Unloading fbdev
[     9.400] (II) UnloadSubModule: "fbdevhw"
[     9.400] (II) Unloading fbdevhw
[     9.400] (==) Depth 24 pixmap format is 32 bpp
[     9.644] (==) modeset(0): Backing store enabled
[     9.645] (==) modeset(0): Silken mouse enabled
[     9.646] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     9.656] (==) modeset(0): DPMS enabled
[     9.656] (WW) modeset(0): Option "PrimaryGPU" is not used
[     9.656] (--) RandR disabled
[     9.671] (II) SELinux: Disabled on system
[     9.672] (II) AIGLX: Screen 0 is not DRI2 capable
[     9.672] (EE) AIGLX: reverting to software rendering
[    10.157] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    10.163] (II) IGLX: Loaded and initialized swrast
[    10.163] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    10.164] (II) modeset(0): Damage tracking initialized
[    10.164] (II) modeset(0): Setting screen physical size to 508 x 285
[    10.289] (II) config/udev: Adding input device USB USB Keyboard (/dev/input/event1)
[    10.289] (**) USB USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    10.289] (II) LoadModule: "libinput"
[    10.290] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    10.300] (II) Module libinput: vendor="X.Org Foundation"
[    10.300]    compiled for 1.19.6, module version = 0.27.1
[    10.300]    Module class: X.Org XInput Driver
[    10.300]    ABI class: X.Org XInput driver, version 24.1
[    10.300] (II) Using input driver 'libinput' for 'USB USB Keyboard'
[    10.300] (**) USB USB Keyboard: always reports core events
[    10.301] (**) Option "Device" "/dev/input/event1"
[    10.301] (**) Option "_source" "server/udev"
[    10.302] (II) event1  - USB USB Keyboard: is tagged by udev as: Keyboard
[    10.302] (II) event1  - USB USB Keyboard: device is a keyboard
[    10.302] (II) event1  - USB USB Keyboard: device removed
[    10.320] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.4/3-1.4:1.0/0003:1A2C:0B23.0001/input/input1/event1"
[    10.320] (II) XINPUT: Adding extended input device "USB USB Keyboard" (type: KEYBOARD, id 6)
[    10.320] (**) Option "xkb_model" "pc105"
[    10.320] (**) Option "xkb_layout" "us"
[    10.322] (II) event1  - USB USB Keyboard: is tagged by udev as: Keyboard
[    10.322] (II) event1  - USB USB Keyboard: device is a keyboard
[    10.324] (II) config/udev: Adding input device USB USB Keyboard Mouse (/dev/input/event2)
[    10.324] (**) USB USB Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[    10.324] (II) Using input driver 'libinput' for 'USB USB Keyboard Mouse'
[    10.324] (**) USB USB Keyboard Mouse: always reports core events
[    10.324] (**) Option "Device" "/dev/input/event2"
[    10.324] (**) Option "_source" "server/udev"
[    10.325] (II) event2  - USB USB Keyboard Mouse: is tagged by udev as: Mouse
[    10.325] (II) event2  - USB USB Keyboard Mouse: device is a pointer
[    10.325] (II) event2  - USB USB Keyboard Mouse: device removed
[    10.368] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:1A2C:0B23.0002/input/input2/event2"
[    10.368] (II) XINPUT: Adding extended input device "USB USB Keyboard Mouse" (type: MOUSE, id 7)
[    10.368] (**) Option "AccelerationScheme" "none"
[    10.368] (**) USB USB Keyboard Mouse: (accel) selected scheme none/0
[    10.368] (**) USB USB Keyboard Mouse: (accel) acceleration factor: 2.000
[    10.368] (**) USB USB Keyboard Mouse: (accel) acceleration threshold: 4
[    10.370] (II) event2  - USB USB Keyboard Mouse: is tagged by udev as: Mouse
[    10.370] (II) event2  - USB USB Keyboard Mouse: device is a pointer
[    10.371] (II) config/udev: Adding input device USB USB Keyboard Mouse (/dev/input/mouse0)
[    10.371] (II) No input driver specified, ignoring this device.
[    10.371] (II) This device may have been added with another device file.
[    10.373] (II) config/udev: Adding input device USB USB Keyboard System Control (/dev/input/event3)
[    10.373] (**) USB USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[    10.373] (II) Using input driver 'libinput' for 'USB USB Keyboard System Control'
[    10.373] (**) USB USB Keyboard System Control: always reports core events
[    10.373] (**) Option "Device" "/dev/input/event3"
[    10.373] (**) Option "_source" "server/udev"
[    10.374] (II) event3  - USB USB Keyboard System Control: is tagged by udev as: Keyboard
[    10.374] (II) event3  - USB USB Keyboard System Control: device is a keyboard
[    10.374] (II) event3  - USB USB Keyboard System Control: device removed
[    10.392] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:1A2C:0B23.0002/input/input3/event3"
[    10.392] (II) XINPUT: Adding extended input device "USB USB Keyboard System Control" (type: KEYBOARD, id 8)
[    10.392] (**) Option "xkb_model" "pc105"
[    10.392] (**) Option "xkb_layout" "us"
[    10.393] (II) event3  - USB USB Keyboard System Control: is tagged by udev as: Keyboard
[    10.393] (II) event3  - USB USB Keyboard System Control: device is a keyboard
[    10.395] (II) config/udev: Adding input device USB USB Keyboard Consumer Control (/dev/input/event4)
[    10.395] (**) USB USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    10.395] (II) Using input driver 'libinput' for 'USB USB Keyboard Consumer Control'
[    10.396] (**) USB USB Keyboard Consumer Control: always reports core events
[    10.396] (**) Option "Device" "/dev/input/event4"
[    10.396] (**) Option "_source" "server/udev"
[    10.397] (II) event4  - USB USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[    10.397] (II) event4  - USB USB Keyboard Consumer Control: device is a keyboard
[    10.397] (II) event4  - USB USB Keyboard Consumer Control: device removed
[    10.416] (II) libinput: USB USB Keyboard Consumer Control: needs a virtual subdevice
[    10.416] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:1A2C:0B23.0002/input/input4/event4"
[    10.416] (II) XINPUT: Adding extended input device "USB USB Keyboard Consumer Control" (type: MOUSE, id 9)
[    10.416] (**) Option "AccelerationScheme" "none"
[    10.416] (**) USB USB Keyboard Consumer Control: (accel) selected scheme none/0
[    10.416] (**) USB USB Keyboard Consumer Control: (accel) acceleration factor: 2.000
[    10.416] (**) USB USB Keyboard Consumer Control: (accel) acceleration threshold: 4
[    10.417] (II) event4  - USB USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[    10.417] (II) event4  - USB USB Keyboard Consumer Control: device is a keyboard
[    10.418] (II) config/udev: Adding input device sunxi-ir (/dev/input/event5)
[    10.419] (**) sunxi-ir: Applying InputClass "libinput keyboard catchall"
[    10.419] (II) Using input driver 'libinput' for 'sunxi-ir'
[    10.419] (**) sunxi-ir: always reports core events
[    10.419] (**) Option "Device" "/dev/input/event5"
[    10.419] (**) Option "_source" "server/udev"
[    10.419] (II) event5  - sunxi-ir: is tagged by udev as: Keyboard Pointingstick
[    10.419] (II) event5  - sunxi-ir: trackpoint device set to range 20
[    10.419] (II) event5  - sunxi-ir: device is a pointer
[    10.419] (II) event5  - sunxi-ir: device is a keyboard
[    10.420] (II) event5  - sunxi-ir: device removed
[    10.440] (II) libinput: sunxi-ir: needs a virtual subdevice
[    10.440] (**) Option "config_info" "udev:/sys/devices/platform/soc/7040000.ir/rc/rc0/input5/event5"
[    10.440] (II) XINPUT: Adding extended input device "sunxi-ir" (type: MOUSE, id 10)
[    10.440] (**) Option "AccelerationScheme" "none"
[    10.440] (**) sunxi-ir: (accel) selected scheme none/0
[    10.440] (**) sunxi-ir: (accel) acceleration factor: 2.000
[    10.440] (**) sunxi-ir: (accel) acceleration threshold: 4
[    10.441] (II) event5  - sunxi-ir: is tagged by udev as: Keyboard Pointingstick
[    10.441] (II) event5  - sunxi-ir: trackpoint device set to range 20
[    10.441] (II) event5  - sunxi-ir: device is a pointer
[    10.441] (II) event5  - sunxi-ir: device is a keyboard
[    10.442] (II) config/udev: Adding input device axp20x-pek (/dev/input/event0)
[    10.442] (**) axp20x-pek: Applying InputClass "libinput keyboard catchall"
[    10.442] (II) Using input driver 'libinput' for 'axp20x-pek'
[    10.442] (**) axp20x-pek: always reports core events
[    10.442] (**) Option "Device" "/dev/input/event0"
[    10.442] (**) Option "_source" "server/udev"
[    10.443] (II) event0  - axp20x-pek: is tagged by udev as: Keyboard
[    10.443] (II) event0  - axp20x-pek: device is a keyboard
[    10.443] (II) event0  - axp20x-pek: device removed
[    10.456] (**) Option "config_info" "udev:/sys/devices/platform/soc/7081400.i2c/i2c-2/2-0036/axp221-pek/input/input0/event0"
[    10.456] (II) XINPUT: Adding extended input device "axp20x-pek" (type: KEYBOARD, id 11)
[    10.456] (**) Option "xkb_model" "pc105"
[    10.456] (**) Option "xkb_layout" "us"
[    10.457] (II) event0  - axp20x-pek: is tagged by udev as: Keyboard
[    10.457] (II) event0  - axp20x-pek: device is a keyboard
[    10.458] (II) config/udev: Adding input device lircd-uinput (/dev/input/event6)
[    10.458] (**) lircd-uinput: Applying InputClass "libinput pointer catchall"
[    10.458] (**) lircd-uinput: Applying InputClass "libinput keyboard catchall"
[    10.458] (II) Using input driver 'libinput' for 'lircd-uinput'
[    10.458] (**) lircd-uinput: always reports core events
[    10.458] (**) Option "Device" "/dev/input/event6"
[    10.458] (**) Option "_source" "server/udev"
[    10.459] (II) event6  - lircd-uinput: is tagged by udev as: Keyboard Mouse Joystick
[    10.459] (II) event6  - lircd-uinput: device is a pointer
[    10.459] (II) event6  - lircd-uinput: device is a keyboard
[    10.459] (II) event6  - lircd-uinput: device removed
[    10.472] (II) libinput: lircd-uinput: needs a virtual subdevice
[    10.472] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event6"
[    10.472] (II) XINPUT: Adding extended input device "lircd-uinput" (type: MOUSE, id 12)
[    10.472] (**) Option "AccelerationScheme" "none"
[    10.472] (**) lircd-uinput: (accel) selected scheme none/0
[    10.472] (**) lircd-uinput: (accel) acceleration factor: 2.000
[    10.472] (**) lircd-uinput: (accel) acceleration threshold: 4
[    10.473] (II) event6  - lircd-uinput: is tagged by udev as: Keyboard Mouse Joystick
[    10.473] (II) event6  - lircd-uinput: device is a pointer
[    10.473] (II) event6  - lircd-uinput: device is a keyboard
[    10.474] (II) config/udev: Adding input device sunxi-ir (lircd bypass) (/dev/input/event7)
[    10.474] (II) No input driver specified, ignoring this device.
[    10.474] (II) This device may have been added with another device file.
[    10.488] (**) USB USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    10.488] (II) Using input driver 'libinput' for 'USB USB Keyboard Consumer Control'
[    10.488] (**) USB USB Keyboard Consumer Control: always reports core events
[    10.488] (**) Option "Device" "/dev/input/event4"
[    10.488] (**) Option "_source" "_driver/libinput"
[    10.488] (II) libinput: USB USB Keyboard Consumer Control: is a virtual subdevice
[    10.488] (**) Option "config_info" "udev:/sys/devices/platform/soc/5200000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:1A2C:0B23.0002/input/input4/event4"
[    10.488] (II) XINPUT: Adding extended input device "USB USB Keyboard Consumer Control" (type: KEYBOARD, id 13)
[    10.488] (**) Option "xkb_model" "pc105"
[    10.488] (**) Option "xkb_layout" "us"
[    10.489] (**) sunxi-ir: Applying InputClass "libinput keyboard catchall"
[    10.489] (II) Using input driver 'libinput' for 'sunxi-ir'
[    10.489] (**) sunxi-ir: always reports core events
[    10.489] (**) Option "Device" "/dev/input/event5"
[    10.489] (**) Option "_source" "_driver/libinput"
[    10.489] (II) libinput: sunxi-ir: is a virtual subdevice
[    10.489] (**) Option "config_info" "udev:/sys/devices/platform/soc/7040000.ir/rc/rc0/input5/event5"
[    10.489] (II) XINPUT: Adding extended input device "sunxi-ir" (type: KEYBOARD, id 14)
[    10.489] (**) Option "xkb_model" "pc105"
[    10.489] (**) Option "xkb_layout" "us"
[    10.490] (**) lircd-uinput: Applying InputClass "libinput pointer catchall"
[    10.490] (**) lircd-uinput: Applying InputClass "libinput keyboard catchall"
[    10.490] (II) Using input driver 'libinput' for 'lircd-uinput'
[    10.490] (**) lircd-uinput: always reports core events
[    10.490] (**) Option "Device" "/dev/input/event6"
[    10.490] (**) Option "_source" "_driver/libinput"
[    10.490] (II) libinput: lircd-uinput: is a virtual subdevice
[    10.490] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event6"
[    10.490] (II) XINPUT: Adding extended input device "lircd-uinput" (type: KEYBOARD, id 15)
[    10.490] (**) Option "xkb_model" "pc105"
[    10.490] (**) Option "xkb_layout" "us"
[    11.921] (II) modeset(0): EDID vendor "SNY", prod id 30466
[    11.922] (II) modeset(0): Using EDID range info for horizontal sync
[    11.922] (II) modeset(0): Using EDID range info for vertical refresh
[    11.922] (II) modeset(0): Printing DDC gathered Modelines:
[    11.922] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    11.922] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    11.922] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    11.922] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    11.922] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    11.922] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    11.922] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    11.922] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    11.922] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    11.922] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    11.922] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    11.922] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[    11.922] (II) modeset(0): Modeline "1280x720"x0.0   59.40  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (18.0 kHz e)
[    11.922] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (22.5 kHz e)
[    11.922] (II) modeset(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    11.922] (II) modeset(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    11.922] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    11.922] (II) modeset(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    11.923] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    12.875] (II) modeset(0): EDID vendor "SNY", prod id 30466
[    12.876] (II) modeset(0): Using hsync ranges from config file
[    12.876] (II) modeset(0): Using vrefresh ranges from config file
[    12.876] (II) modeset(0): Printing DDC gathered Modelines:
[    12.876] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    12.876] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    12.876] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    12.876] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    12.876] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    12.876] (II) modeset(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    12.876] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    12.876] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    12.876] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    12.876] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    12.876] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    12.876] (II) modeset(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[    12.876] (II) modeset(0): Modeline "1280x720"x0.0   59.40  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (18.0 kHz e)
[    12.876] (II) modeset(0): Modeline "1280x720"x0.0   74.25  1280 3040 3080 3300  720 725 730 750 +hsync +vsync (22.5 kHz e)
[    12.876] (II) modeset(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    12.876] (II) modeset(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    12.876] (II) modeset(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    12.876] (II) modeset(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    12.876] (--) modeset(0): HDMI max TMDS frequency 225000KHz
[    12.983] (II) modeset(0): Disabling kernel dirty updates, not required.

 

DISPLAY=:0.0 glxinfo | grep OpenGL

 

armbian@orangepi3:~$ DISPLAY=:0.0 glxinfo | grep OpenGL

OpenGL vendor string: VMware, Inc.

OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.0-devel (git-f1a12d6 2020-04-22 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 20.1.0-devel (git-f1a12d6 2020-04-22 bionic-oibaf-ppa)
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.0-devel (git-f1a12d6 2020-04-22 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

 

DISPLAY=:0.0 glmark2-es2

 

armbian@orangepi3:~$ DISPLAY=:0.0 glmark2-es2

libEGL warning: DRI2: failed to authenticate
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 9.0.1, 128 bits)
    GL_VERSION:    OpenGL ES 3.1 Mesa 20.1.0-devel (git-f1a12d6 2020-04-22 bionic-oibaf-ppa)
=======================================================
[build] use-vbo=false:^C
armbian@orangepi3:~$ DISPLAY=:0.0 glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 9.0.1, 128 bits)
    GL_VERSION:    3.1 Mesa 20.1.0-devel (git-f1a12d6 2020-04-22 bionic-oibaf-ppa)
=======================================================
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
[build] use-vbo=false:

 

sudo find / -name "libGL*.so*"

 

armbian@orangepi3:~$ sudo find / -name "libGL*.so*"

/usr/lib/chromium-browser/swiftshader/libGLESv2.so

/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so
/usr/lib/aarch64-linux-gnu/libGLX_mesa.so.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2.0.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so
/usr/lib/aarch64-linux-gnu/libGL.so.1.2.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2
/usr/lib/aarch64-linux-gnu/libGLX.so.0
/usr/lib/aarch64-linux-gnu/libGLX.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGL.so
/usr/lib/aarch64-linux-gnu/libGL.so.1
/usr/lib/aarch64-linux-gnu/libGL.so.1.7.0
/usr/lib/aarch64-linux-gnu/libGLESv2.so.2.1.0
/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0
/usr/lib/aarch64-linux-gnu/libGLX_indirect.so.0
/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0.0.0
/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1.1.0
/home/armbian/mesa/build/mesa/build/src/mapi/es2api/libGLESv2.so.2.0.0
/home/armbian/mesa/build/mesa/build/src/mapi/es2api/libGLESv2.so
/home/armbian/mesa/build/mesa/build/src/mapi/es2api/libGLESv2.so.2
/home/armbian/mesa/build/mesa/build/src/mapi/es1api/libGLESv1_CM.so
/home/armbian/mesa/build/mesa/build/src/mapi/es1api/libGLESv1_CM.so.1
/home/armbian/mesa/build/mesa/build/src/mapi/es1api/libGLESv1_CM.so.1.1.0
/home/armbian/mesa/build/mesa/build/src/glx/libGL.so.1.2.0
/home/armbian/mesa/build/mesa/build/src/glx/libGL.so
/home/armbian/mesa/build/mesa/build/src/glx/libGL.so.1

 

On 4/21/2020 at 1:28 PM, Werner said:

You dont have to. I have the same "conflict" in my system but it does not even matter.

I even think there is an issue with the oibaf repositiory and the libs from their packages are being installed in the wrong place.

See my post above where you can find libs in /usr/lib as well as /usr/local/lib

I did glmark2 twice. In between I built the latest mesa from scratch and had a different version string which matched the latest commit. Therefore I assume the oibaf libs are (partially at least) not being used.

 

tl;dr:

apt build-dep mesa

Grab sources

Compile like described here: https://panfrost.freedesktop.org/building-panfrost-mesa.html

Restart X

Done.

i couldn't understand what to do so i followed NicoD guide

Posted
3 hours ago, 062621AM said:

meson_0.54.0-1_all.deb is the latest deb file. NicoD used meson_0.52.0-2_all.deb

 

dpkg: dependency problems prevent configuration of meson:
 meson depends on python3:any (>= 3.7~); however:
  Version of python3 on system is 3.6.7-1~18.04.
 

 

In this folder the newest meson is to be found, just use one of those later ones. If you use the one in the repo it will not work.
http://ftp.de.debian.org/debian/pool/main/m/meson/

 

Otherwise just use this instead from @m][sko

sudo apt-get install software-properties-common -y

sudo add-apt-repository ppa:oibaf/graphics-drivers 

sudo apt-get update

sudo apt-get upgrade


I haven't tried lately. Last time I checked there were problems that I couldn't solve. 

 

 

Posted

I'm a bit out of the loop here...

 

So what caused the issues, the MMU or the DVFS implementation? Setting the GPU governor to userspace and fixing the frequency makes it just work?

Posted
8 hours ago, JORGETECH said:

 Setting the GPU governor to userspace and fixing the frequency makes it just work?

Did the trick for me, yes.

Posted
16 hours ago, Werner said:

Where is the issue?

My issue while running NicoD steps is installing meson. My error:

 

dpkg: dependency problems prevent configuration of meson:
 meson depends on python3:any (>= 3.7~); however:
  Version of python3 on system is 3.6.7-1~18.04.

 

 

13 hours ago, NicoD said:

In this folder the newest meson is to be found, just use one of those later ones. If you use the one in the repo it will not work.
http://ftp.de.debian.org/debian/pool/main/m/meson/

 

Otherwise just use this instead from @m][sko


sudo apt-get install software-properties-common -y

sudo add-apt-repository ppa:oibaf/graphics-drivers 

sudo apt-get update

sudo apt-get upgrade


I haven't tried lately. Last time I checked there were problems that I couldn't solve. 

 

 

My meson is from repo. This is even if I'm using @m][sko steps.

9 hours ago, JORGETECH said:

I'm a bit out of the loop here...

 

So what caused the issues, the MMU or the DVFS implementation? Setting the GPU governor to userspace and fixing the frequency makes it just work?

Do you have steps for me to try (set GPU governor and fix frequency)?

 

Posted
40 minutes ago, 062621AM said:

Do you have steps for me to try (set GPU governor and fix frequency)?

 

I did not memorize the exact path or names and cannot check them since I am at work right now  but it should be easy to find them by yourself.

Search within /sys. Use a command like du -a /sys | grep devfreq | grep gpu and you should find a folder like 1800000.gpu or something and inside some files like available_governors, available_frequencies, curfreq, max_freq, min_freq and so on.

Use echo to put new values into them like echo userspace > current_governour

For frequency check which frequencies are available, select one (the highest for example which chould be 75600... and echo it into both min and max frequency. cat cur_freq to check if the frequency indeed has changed.

 

 

Posted
On 4/23/2020 at 6:32 AM, 062621AM said:

In this folder the newest meson is to be found, just use one of those later ones. If you use the one in the repo it will not work.
http://ftp.de.debian.org/debian/pool/main/m/meson/

so

wget http://ftp.de.debian.org/debian/pool/main/m/meson/meson_0.54.0-1_all.deb
sudo dpkg -i meson_0.54.0-1_all.deb

Or just use my script I wrote that does all that and has the correct file included.
https://forum.armbian.com/applications/core/interface/file/attachment.php?id=5683


Or use the graphics repo repo
 

sudo apt-get install software-properties-common -y

sudo add-apt-repository ppa:oibaf/graphics-drivers 

sudo apt-get update

sudo apt-get upgrade

Or Werner his method,

 apt build-dep mesa

Grab sources

Compile like described here: https://panfrost.freedesktop.org/building-panfrost-mesa.html

Restart X 



These are 4 different ways to do the same. The first way is how it was done at the start. you don't have to make it that hard. My way is only good if you want to try different versions of MESA.
When using the 3th method with graphics repo (fastest) you do not need to install anything more. I'd go for Werner his example.

Be sure the kernel module for panfrost is activated and you use the latest 5.x kernel. Best to build the image yourself to be sure o have latest kernel. Good luck, I've still not found time to look into it for the H6.

Posted
On 4/23/2020 at 7:12 AM, Werner said:

Search within /sys. Use a command like du -a /sys | grep devfreq | grep gpu and you should find a folder like 1800000.gpu or something and inside some files like available_governors, available_frequencies, curfreq, max_freq, min_freq and so on.

Use echo to put new values into them like echo userspace > current_governour

For frequency check which frequencies are available, select one (the highest for example which chould be 75600... and echo it into both min and max frequency. cat cur_freq to check if the frequency indeed has changed.

 

Weird, I executed those commands but I couldn't find those strings. It does show up things like clocks,interrupt,compatible (which are from the device tree I assume) under the folder gpu@1800000, but not the strings you mention.

Posted
3 hours ago, JORGETECH said:

 

Weird, I executed those commands but I couldn't find those strings. It does show up things like clocks,interrupt,compatible (which are from the device tree I assume) under the folder gpu@1800000, but not the strings you mention.

cd /sys/devices/platform/soc/1800000.gpu/devfreq/1800000.gpu/
echo userspace > governor
echo 756000000 > max_freq
echo 756000000 > min_freq

 

  • Igor pinned this topic
Posted
9 hours ago, Werner said:

cd /sys/devices/platform/soc/1800000.gpu/devfreq/1800000.gpu/
echo userspace > governor
echo 756000000 > max_freq
echo 756000000 > min_freq

 

In my case there is no 1800000.gpu folder in the /sys/devices/platform/soc location, this is on a freshly compiled Focal image with 5.6.5 kernel (no additional patches used, only Armbian ones). What kernel are you using?

Posted
14 minutes ago, JORGETECH said:

In my case there is no 1800000.gpu folder in the /sys/devices/platform/soc location, this is on a freshly compiled Focal image with 5.6.5 kernel (no additional patches used, only Armbian ones). What kernel are you using?

In my case it is 1800000 but from what I know this could be different.

Posted
1 hour ago, Werner said:

In my case it is 1800000 but from what I know this could be different.

In my image there is not even an entry for GPU. But there are others for things like i2c, hdmi, phy and other devices.

 

Maybe the GPU is not defined in the device tree? I compiled it using the latest 5.6 kernel but this patch does not have an entry for the GPU.

Posted

Hm indeed. I think I found something.

sun50i-h6-orangepi-lite2.dts includes sun50i-h6.dtsi

 

while in sun50i-h6-orangepi-one-plus.dts includes sun50i-h6-orangepi.dtsi which THEN includes sun50i-h6.dtsi and that one contains gpu information

So maybe this step is missing in the lite2 dt

Posted
4 minutes ago, Werner said:

Hm indeed. I think I found something.

sun50i-h6-orangepi-lite2.dts includes sun50i-h6.dtsi

 

while in sun50i-h6-orangepi-one-plus.dts includes sun50i-h6-orangepi.dtsi which THEN includes sun50i-h6.dtsi and that one contains gpu information

So maybe this step is missing in the lite2 dt

That makes sense! Sounds like something that should be fixed "upstream" in the Armbian build system or the kernel.

 

For the time being, I'm going to try to add the GPU to the already existing patch (locally).

Posted
20 minutes ago, Werner said:

Odd. Well I cannot test it myself, I do not have this particular board. Maybe someone else has? @martinayotte

I am actually testing with the Orange Pi Lite 2, if that helps. I also have an Orange Pi 3 available.

Posted

I manually added this to the already existing patch (just under the display engine definition, be sure to modify the diff notation if you try it yourself):

+&gpu {
+	mali-supply = <&reg_dcdcc>;
+	status = "okay";
+};
+

With this little modification in place, I compiled the kernel and u-boot packages again. Now I have the relevant entries that Werner has and glxinfo reports panfrost is in use. I'll test more after adjusting the devfreq parameters.

 

EDIT: If I'm not mistaken, LibreELEC already has a patch that does the same thing but the one in Armbian needs to be adjusted (until the code is mainlined, obviously).

Posted
On 4/25/2020 at 8:58 PM, JORGETECH said:

I manually added this to the already existing patch (just under the display engine definition, be sure to modify the diff notation if you try it yourself):


+&gpu {
+	mali-supply = <&reg_dcdcc>;
+	status = "okay";
+};
+

With this little modification in place, I compiled the kernel and u-boot packages again. Now I have the relevant entries that Werner has and glxinfo reports panfrost is in use. I'll test more after adjusting the devfreq parameters.

 

EDIT: If I'm not mistaken, LibreELEC already has a patch that does the same thing but the one in Armbian needs to be adjusted (until the code is mainlined, obviously).

Maybe we missed that one. If it works it is great.

Posted (edited)
On 4/26/2020 at 1:58 AM, JORGETECH said:

the one in Armbian needs to be adjusted (until the code is mainlined, obviously).

I added pull request: https://github.com/armbian/build/pull/1943

But actually the code is mainlined.

Without the entire
board-h6-orangepi-lite2-fix-missing-all.patch, the gpu would be initialized.

See the line: https://github.com/armbian/build/blob/master/patch/kernel/sunxi-dev/board-h6-orangepi-lite2-fix-missing-all.patch#L9

and
the commit: https://github.com/torvalds/linux/commit/8abc4c4a154f658ac1f928eb5ccd9cb4706b2f3d#diff-c25ce9e020a90aa3096d059cdefc6781

But I guess  
board-h6-orangepi-lite2-fix-missing-all.patch  is needed for something else...

Edited by fsb4000

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines