sputnik_ has quit [Remote host closed the connection]
<brads>
memeka: if I remember correctly KDIR=/usr/src ARCH=arm64 CROSS_COMPILE="" ./build.sh
sputnik_ has joined #linux-amlogic
<brads>
alternatively it might have been CROSS_COMPILE=/usr/bin/
<brads>
xdarklight: I did some further testing on Odroid C2 for usb hot plug issue. Some devices still cause a problem with the usb patch applied, I have a wireless keyboard / mouse & also usb audio card which are ok but if I hot plug a microsd card reader it trashes all power to the 4 port hub. Same device works ok when plugged in at boot.
<brads>
I will do some more tests to see if I can determine what about the device is causing the issue (problem device is high speed device - usb3 compatible, usb 1.x seems ok) Not sure if it is current draw or something else about the device
<memeka>
brads: all good There was an issue with the kernel source I had
<memeka>
Should I use r7p0 or r6p0? Any difference between them??
<memeka>
And where can I find binaries? :)
<brads>
I think r7p0 would be best, not sure about binaries as it needs to be compiled for specific kernel version api which is changing across kernel versions.
<memeka>
brads: ok so with r7p0 i can run some egl stuff in wayland
<memeka>
but glmark2_es2 fails ... is that expected?
<memeka>
# glmark2-es2-wayland
<memeka>
Error: eglCreateWindowSurface failed with error: 0x300b
<memeka>
Error: CanvasGeneric: Invalid EGL state
<memeka>
Error: eglCreateWindowSurface failed with error: 0x300b
<memeka>
Error: main: Could not initialize canvas
<memeka>
Segmentation fault
<memeka>
kmscube works tho`
_whitelogger has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
<brads>
memeka: glmark2-es2-wayland I think is failing with segfault because of some libMali.so mismatches. Is your libEGL.so symlinked back to libMali.so?
<memeka>
yes of course
<memeka>
else es2gears_wayland would not work/ would not show "EGL_VERSION = 1.4 Linux-r7p0-00rel0-19260eb" :)
<brads>
yes ok
<memeka>
is glmark2-es2-wayland working on your system?
<brads>
No does not look like it was when I tested last, same error as you got
<brads>
will see what I have installed now
<memeka>
brads: thanks
<brads>
I dont have mali kernel driver installed for the moment, will build it and see what else I might have missing
<memeka>
:D k thanks pls let me know
<brads>
memeka: did you use the buildroot/package/meson-mali/lib/arm64/r7p0/m450-X/ amlogic userspace?
<brads>
or hikey?
<memeka>
Not the -x
<memeka>
The other one
<memeka>
The 450 folder
<memeka>
Do you know what’s the difference??
<memeka>
I tried using a Rockchip blob but it was not working at all
<memeka>
brads: ^^^?
<brads>
memeka: sorry I had the c2 connected to my hdmi, my setup is screwed im running ubuntu cosmic and too much hacking. I cannot get anything else to run as I busted by sd card connector
<brads>
I can't remember if the non X version supported DRM?
<brads>
I got a sdio breakout board today so will see if I can start os from sd card over 40 pin header :) Else I have a new c2 coming next week and means I don't have to reimage my emmc.
<brads>
rockchip driver seems to suck for our purpose as its statically linked and not compatible with mainline as far as im aware
Darkmatter66_ has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #linux-amlogic
afaerber has joined #linux-amlogic
sheepman has quit [Ping timeout: 246 seconds]
sheepman has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
<memeka>
brads: 450-X fails to run kmscube (some missing gbm symbols)
<memeka>
i would assume 450-X is for X11?
<memeka>
i am more interested in wayland/gbm - that binary should work better with the drm as well
<brads>
yes X is X11 just checking what version you are running. I'm interested in wayland/gbm also.
<brads>
I got the sdcard working on the 40pin header on C2 (sdio port) so I should be able to test a clean version pf Mali soon :)
<brads>
Its running 1.8v 4 bit mode too but a bit slow. Probably the 250mm long wires ;) - 1778384896 bytes (1.8 GB, 1.7 GiB) copied, 76 s, 23.3 MB/s
<memeka>
:)
<memeka>
why not run on emmc?
<memeka>
anw i can run gl stuff on gbm with gstreamer
<memeka>
i will test next vpu + rotation/scaling performance
<memeka>
hope it can decode multiple streams at the same time
<memeka>
i see h265 is not done yet?
The_Coolest has quit [Ping timeout: 268 seconds]
<brads>
no I think licencing issues were a problem so lima is maybe the go now?
sputnik_ has quit [Ping timeout: 246 seconds]
<narmstrong>
memeka: brads: you should use the ARM wayland binary they ship for hikey, it works great and has bugfixes for wayland
<narmstrong>
memeka: single instance decoding is only supported for now, h264 hasn't been poster but it's available on github
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 250 seconds]
ldevulder has joined #linux-amlogic
ldevulder_ has quit [Ping timeout: 250 seconds]
The_Coolest has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
vagrantc has joined #linux-amlogic
<memeka>
narmstrong: I’ve seen hevc support in ely’s GitHub, and some vp9 work too, is that gonna be added soon?
<narmstrong>
memeka: once we have the other codecs merged, and figured out how to use the amlogic compressed planes, yes
<memeka>
narmstrong: one last q
<memeka>
# v4l2-ctl --list-formats -d /dev/video0
<memeka>
ioctl: VIDIOC_ENUM_FMT
<memeka>
Index : 0
<memeka>
Pixel Format: 'YM12'
<memeka>
Type : Video Capture Multiplanar
<memeka>
Name : Planar YUV 4:2:0 (N-C)
<memeka>
only YM12 format (non-contigous) format is shown for the decoder
<narmstrong>
Looking at the code, only mjpeg exposé the yuv420m
<narmstrong>
Looks like you only have mjpeg suppôt
<narmstrong>
*support
<narmstrong>
Where did you get the patches ?
<[TheBug]>
Offtopic: anyone in here with a Khada VIM1 experience the two USB ports on the board randomly fail? I plugged in a USB keyboard and shortly after both ports went dark and the OS started stating " hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)" I am curious if this may be a fuse issue on the USB Lines or if somehow the USB chipset (HUB) died?
<memeka>
i'm running the armbian kernel, which i think has patches from your git