TheMojoMan
-
Posts
22 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by TheMojoMan
-
-
On 8/5/2020 at 11:16 AM, rna said:
@TheMojoMan: Did you also get the problem with the audio after upgrade to 5.7?
Sound works on my X96 Max+ when I use the desktop image as a starting point and meson-sm1-sei610-2.dtb (new install; no update of kernel).
BTW, Panfrost is even more buggy in the latest 5.7.14 kernel. Now the screen turns black after a second or two and is only updated when the mouse or a window is moved. And Panfrost does not run at all with the 5.8.0 kernel 😢
-
Quote
termux-setup-storage
apt update
apt install dtc
dtc -q -I fs -O dts /sys/firmware/devicetree/base -o /sdcard/mytvbox.dts
dtc -q -I fs -O dtb /sys/firmware/devicetree/base -o /sdcard/mytvbox.dtb
It has been mentioned several times on this forum that .dtb files of different kernel versions are not compatible. Since Android 9 still uses a 4.xx kernel you cannot use these .dtb's to get your boxes booting the current Armbian images which use the mainline kernel (5.7 and soon 5.8).
Even when you convert your Android .dtb file to the corresponding .dts file it is converted to a 4.xx kernel description. You would have to translate the information you can gather from this .dts file to the 5.7 kernel description style.
It seems there are few or no people around here who are experts in converting 4.xx description style to 5.xx description style and that is the main problem we have to use a bunch of hacks to get things working on our machines.
Or if you want to learn more about device trees https://www.devicetree.org seems to be the right place to go.
-
1 hour ago, rna said:
I can confirm that panfrost is not working for X96 Max+. I used the latest image build from Focal kernel 5.7 with no success.
I followed the tutorial from @TheMojoMan @m][sko @NicoD but still cannot manage to get the panfrost working in this board. It keeps using LLVM as renderer.
However, I found a better graphic performance after upgrading to Oibaf PPA drivers. Now I can orbit and move object in Blender 2.8x, I can orbit and draw a BIM Object in FreeCAD and also I can open 3D file analysis from Paraview. Whereas before this procedure, those attempts were almost impossible to do.
In conclusion, Rightnow upgrading the driver to oibaf PPA gives you a boost in performance although Panfrost is not working yet.
Hi,
- Panfrost is working on my X96 Max+ when I use the latest 5.7 kernel
- It was not working when I tried the 5.8 rc6 kernel.
- You have to change your session to "Ubuntu on Wayland" and then login. Currently, X windows system is not supported when you have a bifrost GPU.
- Currently, after login you will notice that the screen gets blurry after a short time. If you move the mouse the regions around the mouse pointer is updated and not blurry anymore.
- I noticed (using the latest 5.7 kernel) that "glxinfo -B" now shows that "llvmpipe" is used. However, if you run "glmark2-es2-wayland" it correctly shows that panfrost driver is used.
- While SuperTuxKart still does not work, they have improved the driver so that Neverball and Neverputt are working very well.
- You can use Firefox when you add "MOZ_ENABLE_WAYLAND=1 firefox" to /etc/environment as described here .
-
20 hours ago, Martin Hyška said:
i wanted to try some img with archlinux distro, but there is no in download
You should have a look at Manjaro ARM here: https://manjaro.org/download/
Click on Editions → ARM → your SBC. If your SBC is not listed you can download an image of a board that has the same CPU as yours. Than you have to find the correct DTB to make your board boot.
It's been a while ago that I ran Manjaro that way on my X96 Max+. I think I used the 'Khadas Vim 3' image and the same .dtb-file I used for Armbian. It worked quite well but no sound on Manjaro while sound is working on Armbian.
-
Panfrost for Bifrost GPUs (G31, G52) is a very fresh development. Therefore it is no wonder that it is still very unstable.
Quick test results for 'Ubuntu on Wayland':
The desktop gets blurred after a short while. Especially text output. Supertuxkart crashes, Firefox crashes and sends you back to login. The only thing I tested that did not crash was glmark2-es2-wayland. But I did not have time to get a little deeper into it, yet.
I tried to get Panfrost running on XFCE4 but failed. The window manager (xfwm4) seems to be the problem. I read that somewhere else where they suggested to use 'kwin_x11' instead. But I was not able to start xfce4 with kwin. Even after changing 'xfwm4' to 'kwin' in the respective .xml-file Xorg tried to start 'xfwm' and failed to do so when I activated 'glamor' and 'Panfrost' in /etc/X11/xorg.conf.d/01-armbian-default.conf. When it is set to 'none' and 'Lima' it starts the desktop.
When I tried to remove 'xfwm4' by typing 'sudo apt remove xfwm4' it was output that 'xfce4' would be removed as well ...
-
2 hours ago, fsb4000 said:
Now, I have Audio with meson-sm1-sei610-2.dtb, but still no luck with Panfrost
Great to see that audio now works for you!
@balbes150 just released a new image focussing on the GPU. I will start to test it in some minutes. Let's hope for the best! → did not manage to get Panfrost running with this image
-
Finally, Panfrost is working on my X96 Max +
I have used todays build (Armbian_20.06.0_Arm-64_focal_current_5.7.6_20200630.img.xz) with the meson-sm1-sei610-2.dtb (see some posts ago) and then followed the instructions of the first post here. This is essentially the same procedure that @m][sko mentions in @NicoD's guide here (which did not work with the older Armbian image). In summary, after starting the system do the following
- sudo sh -c "echo 'PAN_MESA_DEBUG=bifrost' >> /etc/environment"
- sudo add-apt-repository ppa:oibaf/graphics-drivers
- sudo apt update
- sudo apt upgrade
- sudo apt install ubuntu-desktop -y
- sudo reboot
And then you can try it with
Gnome/Gnome on Xorg/Ubuntu orUbuntu on wayland.I will post details later when I did some more testing. Especially, I am interested if it works with Xfce.
Thanks to all the great people that made this possible!!! Especially to @balbes150 and Alyssa Rosenzweig and coworkers!
-
On 6/27/2020 at 7:13 PM, TheMojoMan said:
When you do the following
sudo apt install mesa-utils glxgears -info
it outputs
GL_RENDERER = llvmpipe (LLVM 9.0.1, 128 bits) GL_VERSION = 3.1 Mesa 20.0.4 GL_VENDOR = VMware, Inc.
which shows that the software renderer is running. Same for glmark2. And Supertuxkart also only runs at about 6-8 FPS. So, why should some programs be "partially" accelerated? TBO I am doubtful. I also did not read that panfrost is running on XFCE, yet.
I have followed the guide about hardware acceleration here and I can confirm that the panfrost driver still crashes the system when using Gnome and Wayland. I really hope that this will be fixed soon!
To correct myself:
I have found a comment by Alyssa Rosenzweig (lead developer of panfrost driver) here where she states that
"Panfrost does support X11 (those are old instructions)."
in reply to a post where someone states that in his understanding Panfrost only supports Wayland.
-
-
-
4 hours ago, rna said:
- Now let's partially fix the graphics acceleration using panfrost (Thanks to Speakerguy, he was very helpful from this forum: https://forum.manjaro.org/t/wifi-on-x96-max/150193/10)
sudo nano /etc/X11/xorg.conf.d/01-panfrost.conf
then insert this text:
Section "Device" Identifier "Default Device" Driver "modesetting" Option "AccelMethod" "glamor" ### "glamor" to enable 3D acceleration, "none" to disable. EndSection Section "ServerFlags" Option "AutoAddGPU" "off" Option "Debug" "dmabuf_capable" EndSection Section "OutputClass" Identifier "Panfrost" MatchDriver "meson" # sun4i-drm rockchip Driver "modesetting" Option "PrimaryGPU" "true" EndSection
then press ctrl+o to save, then ctrl+x to exit
When you do the following
sudo apt install mesa-utils glxgears -info
it outputs
GL_RENDERER = llvmpipe (LLVM 9.0.1, 128 bits) GL_VERSION = 3.1 Mesa 20.0.4 GL_VENDOR = VMware, Inc.
which shows that the software renderer is running. Same for glmark2. And Supertuxkart also only runs at about 6-8 FPS. So, why should some programs be "partially" accelerated? TBO I am doubtful. I also did not read that panfrost is running on XFCE, yet.
I have followed the guide about hardware acceleration here and I can confirm that the panfrost driver still crashes the system when using Gnome and Wayland. I really hope that this will be fixed soon!
-
4 hours ago, rna said:
1. No Audio both HDMI and Audio Jack
For audio to work properly try the attached .dtb file which originates from this thread.
-
4 hours ago, rna said:
- From BOOT Partition, rename "u-boot.sd" to "u-boot.ext"
You should not rename the file but COPY it and then rename the copied file to "u-boot.ext". If you don't do it that way you will run into trouble when trying to flash the system to EMMC.
-
Hi,
I am running the latest version of the Ubuntu Bionic image on my X96 mini and I am very interested in the progress of the LIMA open source graphics driver. Unfortunately, the DRM flags of the LIMA and PANFROST drivers are not set:
themojoman@aml:~$ uname -a Linux aml 5.3.0-rc8-aml-g12 #5.96 SMP PREEMPT Tue Sep 10 12:12:29 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux themojoman@aml:~$ grep LIMA /boot/config-5.3.0-rc8-aml-g12 # CONFIG_DRM_LIMA is not set themojoman@aml:~$ grep PANFROST /boot/config-5.3.0-rc8-aml-g12 # CONFIG_DRM_PANFROST is not set
@balbes150 could you please enable LIMA and PANFROST kernel drivers in the next image? Thanks!
-
On 1/7/2019 at 3:18 PM, amirul said:
What was it that you need to do to boot into 720p mode? Some bootargs in uEnv.ini perhaps...?
Add "video=1280x720" to uEnv.ini
-
How do I properly update to the newest version using the .dep packages? I have tried
sudo dpkg -i *.deb
but there were errors with these packages:
- firmware-aml-full-20181114_5.67_arm64.deb
- linux-image-aml-s9xxx_5.67_arm64.deb
- linux-libc-dev-aml-s9xxx_5.67_arm64.deb
Thank you!
-
On 10/16/2018 at 9:33 PM, Rosimildo said:
X96 Mini -- Does Ethernet works ?
Which DTB should I use ?
Thanks in advance!
R
Yes, Ethernet works!
Use meson-gxl-s905w-p281.dtb
-
19 minutes ago, pisach said:
I'm not expert here, but it looks as WPA related. Are you sure that you actually use WPA and not something else? The WiFi driver seems OK, check your WiFi settings.
Thank you so much for your analysis!
I always use WPA/WPA2 Personal to connect to my router. I think I compared the WiFi settings to the settings of my laptop running Manjaro (Arch) Linux before. But I will recheck again tomorrow.
-
1 hour ago, pisach said:
You can send here output from dmesg or/and syslog.
Hello pisach,
thank you so much for your help!
I saw there are a ton of errors regarding SV6XXX in dmesg ...
-
On 7/29/2018 at 1:28 PM, balbes150 said:
New images on the website with kernel 3.14 on fixed wifi ssv6051 version (20180729).
Add image IceWM 3.14 and 4.18
Hi,
I am running Armbian_5.44_S9xx_Ubuntu_bionic_3.14.29_mate_20180729 on my Mecool M8S Pro W (S905W) which boots without a dtb.img file. I have opened the box to find out that it has a SV6051P wifi chip. So, I followed the instructions by pisach on page 52:
On 5/28/2018 at 10:48 AM, pisach said:mecool M8S pro has SV6051 WiFi. You need to do the following:
ln -s /lib/firmware /usr/lib/firmware
modprobe ssv6051
add ssv6051 in /etc/modules
reboot
After reboot the list of local wifi access points are shown by the network-manager app! But when I select my network and enter the password it only changes the icon for about 30 seconds showing that it tries to connect. But it always fails to connect ...
Here is the output of iwconfig:
wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off
Can you please help me?
-
!!!
SOLVED: After deleting all .lz4 files in /var/lib/apt/lists the problem was gone
!!!
Hi,
let me first thank @balbes150 for his amazing work!!!
I have a Mecool M8S Pro W with S905W processor. I was able to run this image (no .dtb needed) from a 16 GB sd card:
Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_mate_20180406.img (mali6/5.41.1-KODI-17.6 directory)
It boots up fine and I can login to the mate desktop without problems. Cabled network is up and running and I am currently writing this message using the tv box. Both USB ports are working and I am using a wireless keyboard and mouse. The test videos play well and sound is O.K. A great experience so far!
But unfortunately I have a problem when trying to update the system or install new packages. When I type in
sudo apt-get update
I get the following error message
Hit:1 http://ports.ubuntu.com xenial InRelease Hit:2 http://ports.ubuntu.com xenial-security InRelease Hit:3 http://ports.ubuntu.com xenial-updates InRelease Hit:4 http://apt.armbian.com xenial InRelease Hit:5 http://ports.ubuntu.com xenial-backports InRelease Reading package lists... Error! E: LZ4F: /var/lib/apt/lists/ports.ubuntu.com_dists_xenial-security_multiverse_binary-arm64_Packages.lz4 Unexpected end of file E: LZ4F: /var/lib/apt/lists/ports.ubuntu.com_dists_xenial-security_multiverse_binary-arm64_Packages.lz4 Read error (18446744073709551615: ERROR_GENERIC) E: The package lists or status file could not be parsed or opened.
Since I did not find anything about this problem when using the search function I would be very glad if some of the experts here could help me.
Thank you so much!
Armbian for Amlogic S905X3
in General Chat
Posted
Have a look at the first post of this thread https://forum.armbian.com/topic/12162-single-armbian-image-for-rk-aml-aw-aarch64-armv8/