<?xml version="1.0"?>
<rss version="2.0"><channel><title>Khadas VIM3 / VIM3L Latest Topics</title><link>https://forum.armbian.com/forum/106-khadas-vim3-vim3l/</link><description>Khadas VIM3 / VIM3L Latest Topics</description><language>en</language><item><title>Login screen not available workaround found but can not set the display resolution to 3440x1440 for used Dell Monitor</title><link>https://forum.armbian.com/topic/56742-login-screen-not-available-workaround-found-but-can-not-set-the-display-resolution-to-3440x1440-for-used-dell-monitor/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    <div class="cTemplateField">
        <span class="cTemplateField_label"></span>
        <span class="cTemplateField_value">Armbianmonitor: 
<div class='ipsType_break ipsContained'>
<a href='https://paste.armbian.com/qidexuresu' target='_blank'  rel="nofollow noreferrer">
	
		
			https://paste.armbian.com/qidexuresu
		
	
</a>
</div></span>
    </div>
    
    
</div><p>
	Here the workaround to get a "gdm" login screen:
</p>

<p>
	 
</p>

<p>
	root@ password: 
</p>

<p>
	    _             _    _           <br />
	   /_\  _ _ _ __ | |__(_)__ _ _ _  <br />
	  / _ \| '_| '  \| '_ \ / _` | ' \ <br />
	 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|<br />
	                                   <br />
	 v25.11.2 for Khadas VIM3 running Armbian Linux 6.12.58-current-meson64
</p>

<p>
	 
</p>

<p>
	 Performance:  
</p>

<p>
	 Load:         25%                Uptime:       4 minutes     Local users:  3               <br />
	 Memory usage: 8% of 3.68G      <br />
	 CPU temp:     38°C                Usage of /:   11% of 58G        <br />
	 RX today:     920 MiB               
</p>

<p>
	 Tips:
</p>

<p>
	 Armbian config utility <a href="https://tinyurl.com/yc39n6m3" rel="external nofollow">https://tinyurl.com/yc39n6m3</a>
</p>

<p>
	 Commands: 
</p>

<p>
	 Configuration : armbian-config<br />
	 Monitoring    : htop
</p>

<p>
	<br />
	root@khadas-vim3:~# systemctl --failed<br />
	  UNIT LOAD ACTIVE SUB DESCRIPTION
</p>

<p>
	0 loaded units listed.
</p>

<p>
	<br />
	<strong>Issue #1:</strong>
</p>

<p>
	 
</p>

<p>
	<strong>No login screen on HDMI:</strong>
</p>

<p>
	<br />
	<br />
	root@khadas-vim3:~# systemctl status gdm.service <br />
	● gdm.service - GNOME Display Manager<br />
	     Loaded: loaded (/usr/lib/systemd/system/gdm.service; static)<br />
	     Active: active (running) since Mon 2025-12-15 17:25:25 CET; 4min 28s ago<br />
	    Process: 2684 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)<br />
	   Main PID: 2699 (gdm3)<br />
	      Tasks: 4 (limit: 4215)<br />
	     Memory: 8.9M (peak: 10.4M)<br />
	        CPU: 414ms<br />
	     CGroup: /system.slice/gdm.service<br />
	             └─2699 /usr/sbin/gdm3
</p>

<p>
	Dec 15 17:27:04 khadas-vim3 gdm3[2699]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:27:04 khadas-vim3 gdm3[2699]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:28:40 khadas-vim3 gdm3[2699]: Gdm: GdmDisplay: Session never registered, failing<br />
	Dec 15 17:28:40 khadas-vim3 gdm3[2699]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:28:40 khadas-vim3 gdm3[2699]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:28:40 khadas-vim3 gdm-autologin][3881]: PAM unable to dlopen(pam_gnome_keyring.so): /usr/lib/security/pam_gnome_keyring.so: cannot open shared object file: No &gt;<br />
	Dec 15 17:28:40 khadas-vim3 gdm-autologin][3881]: PAM adding faulty module: pam_gnome_keyring.so<br />
	Dec 15 17:28:40 khadas-vim3 gdm-autologin][3881]: pam_unix(gdm-autologin:session): session opened for user amach(uid=1000) by amach(uid=0)<br />
	Dec 15 17:28:41 khadas-vim3 gdm3[2699]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:28:41 khadas-vim3 gdm3[2699]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
</p>

<p>
	<br />
	root@khadas-vim3:~# ll /dev/dri/<br />
	total 0<br />
	drwxr-xr-x  2 root root        140 Dec 15 17:25 by-path<br />
	crw-rw----+ 1 root video  226,   0 Dec 15 17:25 card0<br />
	crw-rw----+ 1 root video  226,   1 Dec 15 17:25 card1<br />
	crw-rw----+ 1 root video  226,   2 Dec 15 17:25 card2<br />
	crw-rw----+ 1 root render 226, 128 Dec 15 17:25 renderD128<br />
	crw-rw----+ 1 root render 226, 129 Dec 15 17:25 renderD129
</p>

<p>
	 
</p>

<p>
	root@khadas-vim3:~# udevadm info /dev/dri/card0<br />
	P: /devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/ff900000.<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr>/drm/card0<br />
	M: card0<br />
	R: 0<br />
	U: drm<br />
	T: drm_minor<br />
	<span class="ipsEmoji">😧</span> c 226:0<br />
	N: dri/card0<br />
	L: 0<br />
	S: dri/by-path/platform-ff900000.<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr>-card<br />
	E: DEVPATH=/devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/ff900000.<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr>/drm/card0<br />
	E: DEVNAME=/dev/dri/card0<br />
	E: DEVTYPE=drm_minor<br />
	E: MAJOR=226<br />
	E: MINOR=0<br />
	E: SUBSYSTEM=drm<br />
	E: USEC_INITIALIZED=2805131<br />
	E: ID_PATH=platform-ff900000.<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr><br />
	E: ID_PATH_TAG=platform-ff900000_vpu<br />
	E: ID_FOR_SEAT=drm-platform-ff900000_vpu<br />
	E: DEVLINKS=/dev/dri/by-path/platform-ff900000.<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr>-card<br />
	E: TAGS=:master-of-seat:uaccess:seat:<br />
	E: CURRENT_TAGS=:master-of-seat:uaccess:seat:
</p>

<p>
	 
</p>

<p>
	root@khadas-vim3:~# udevadm info /dev/dri/card1<br />
	P: /devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/ffe40000.<abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr>/drm/card1<br />
	M: card1<br />
	R: 1<br />
	U: drm<br />
	T: drm_minor<br />
	<span class="ipsEmoji">😧</span> c 226:1<br />
	N: dri/card1<br />
	L: 0<br />
	S: dri/by-path/platform-ffe40000.<abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr>-card<br />
	E: DEVPATH=/devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/ffe40000.<abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr>/drm/card1<br />
	E: DEVNAME=/dev/dri/card1<br />
	E: DEVTYPE=drm_minor<br />
	E: MAJOR=226<br />
	E: MINOR=1<br />
	E: SUBSYSTEM=drm<br />
	E: USEC_INITIALIZED=7219633<br />
	E: ID_PATH=platform-ffe40000.<abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr><br />
	E: ID_PATH_TAG=platform-ffe40000_gpu<br />
	E: GDM_NUMBER_OF_GRAPHICS_CARDS=3<br />
	E: ID_FOR_SEAT=drm-platform-ffe40000_gpu<br />
	E: DEVLINKS=/dev/dri/by-path/platform-ffe40000.<abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr>-card<br />
	E: TAGS=:seat:master-of-seat:uaccess:<br />
	E: CURRENT_TAGS=:seat:master-of-seat:uaccess:
</p>

<p>
	 
</p>

<p>
	root@khadas-vim3:~# udevadm info /dev/dri/card2<br />
	P: /devices/platform/etnaviv/drm/card2<br />
	M: card2<br />
	R: 2<br />
	U: drm<br />
	T: drm_minor<br />
	<span class="ipsEmoji">😧</span> c 226:2<br />
	N: dri/card2<br />
	L: 0<br />
	S: dri/by-path/platform-etnaviv-card<br />
	E: DEVPATH=/devices/platform/etnaviv/drm/card2<br />
	E: DEVNAME=/dev/dri/card2<br />
	E: DEVTYPE=drm_minor<br />
	E: MAJOR=226<br />
	E: MINOR=2<br />
	E: SUBSYSTEM=drm<br />
	E: USEC_INITIALIZED=7215211<br />
	E: ID_PATH=platform-etnaviv<br />
	E: ID_PATH_TAG=platform-etnaviv<br />
	E: GDM_NUMBER_OF_GRAPHICS_CARDS=3<br />
	E: ID_FOR_SEAT=drm-platform-etnaviv<br />
	E: DEVLINKS=/dev/dri/by-path/platform-etnaviv-card<br />
	E: TAGS=:master-of-seat:uaccess:seat:<br />
	E: CURRENT_TAGS=:master-of-seat:uaccess:seat:
</p>

<p>
	 
</p>

<p>
	<strong>WORKAROUND - Issue #1:</strong>
</p>

<p>
	<br />
	<strong>root@khadas-vim3:/dev/dri# mv card2 card2out</strong>
</p>

<p>
	<br />
	root@khadas-vim3:/dev/dri# ll<br />
	total 0<br />
	drwxr-xr-x  2 root root        140 Dec 15 17:33 by-path<br />
	crw-rw----+ 1 root video  226,   0 Dec 15 17:35 card0<br />
	crw-rw----+ 1 root video  226,   1 Dec 15 17:25 card1<br />
	crw-rw----+ 1 root video  226,   2 Dec 15 17:25 card2out<br />
	crw-rw----+ 1 root render 226, 128 Dec 15 17:25 renderD128<br />
	crw-rw----+ 1 root render 226, 129 Dec 15 17:25 renderD129
</p>

<p>
	<br />
	<strong>root@khadas-vim3:/dev/dri# systemctl restart gdm.service </strong>
</p>

<p>
	 
</p>

<p>
	root@khadas-vim3:/dev/dri# systemctl status gdm.service <br />
	● gdm.service - GNOME Display Manager<br />
	     Loaded: loaded (/usr/lib/systemd/system/gdm.service; static)<br />
	     Active: active (running) since Mon 2025-12-15 17:38:56 CET; 7s ago<br />
	    Process: 8999 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)<br />
	   Main PID: 9006 (gdm3)<br />
	      Tasks: 5 (limit: 4215)<br />
	     Memory: 6.2M (peak: 7.2M)<br />
	        CPU: 172ms<br />
	     CGroup: /system.slice/gdm.service<br />
	             └─9006 /usr/sbin/gdm3
</p>

<p>
	Dec 15 17:38:56 khadas-vim3 systemd[1]: Starting gdm.service - GNOME Display Manager...<br />
	Dec 15 17:38:56 khadas-vim3 systemd[1]: Started gdm.service - GNOME Display Manager.<br />
	Dec 15 17:38:56 khadas-vim3 gdm-autologin][9011]: PAM unable to dlopen(pam_gnome_keyring.so): /usr/lib/security/pam_gnome_keyring.so: cannot open shared object file: No &gt;<br />
	Dec 15 17:38:56 khadas-vim3 gdm-autologin][9011]: PAM adding faulty module: pam_gnome_keyring.so<br />
	Dec 15 17:38:56 khadas-vim3 gdm-autologin][9011]: pam_unix(gdm-autologin:session): session opened for user amach(uid=1000) by amach(uid=0)<br />
	Dec 15 17:38:56 khadas-vim3 gdm3[9006]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed<br />
	Dec 15 17:38:56 khadas-vim3 gdm3[9006]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
</p>

<p>
	 
</p>

<p>
	---
</p>

<p>
	 
</p>

<p>
	<strong>Issue #2:</strong>
</p>

<p>
	<br />
	<strong>Missing Display resolution 3440x1440 for Display Dell U3415W connected to HDMI:</strong>
</p>

<p>
	 
</p>

<p>
	root@khadas-vim3:/home/amach# cat xrandr.txt 
</p>

<p>
	Screen 0: minimum 16 x 16, current 2560 x 1440, maximum 32767 x 32767<br />
	HDMI-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 800mm x 330mm<br />
	   2560x1440     59.91*+<br />
	   1920x1440     59.90  <br />
	   1600x1200     59.87  <br />
	   1440x1080     59.87  <br />
	   1400x1050     59.86  <br />
	   1280x1024     59.76  <br />
	   1280x960      59.94  <br />
	   1152x864      59.78  <br />
	   1024x768      59.68  <br />
	   800x600       59.86  <br />
	   640x480       59.38  <br />
	   320x240       59.52  <br />
	   1920x1200     59.88  <br />
	   1680x1050     59.85  <br />
	   1440x900      59.89  <br />
	   1280x800      59.81  <br />
	   1152x720      59.75  <br />
	   960x600       59.63  <br />
	   928x580       59.88  <br />
	   800x500       59.50  <br />
	   768x480       59.38  <br />
	   720x480       59.71  <br />
	   640x400       59.20  <br />
	   320x200       58.96  <br />
	   2048x1152     59.90  <br />
	   1920x1080     59.88  <br />
	   1600x900      59.82  <br />
	   1368x768      59.88  <br />
	   1280x720      59.86  <br />
	   1024x576      59.90  <br />
	   864x486       59.45  <br />
	   720x400       59.55  <br />
	   640x350       59.77  
</p>

<p>
	<br />
	root@khadas-vim3:/dev/dri# inxi -Gxx<br />
	Graphics:<br />
	  Device-1: meson-g12a-<abbr title="Video processing unit (encoding/decoding)"><abbr title="Video processing unit (encoding/decoding)">vpu</abbr></abbr> driver: meson_drm v: N/A bus-ID: N/A chip-ID: amlogic:ff900000<br />
	  Device-2: meson-g12a-mali driver: <abbr title="driver for Mali Midgard and Bifrost GPUs"><abbr title="driver for Mali Midgard and Bifrost GPUs">panfrost</abbr></abbr> v: kernel bus-ID: N/A chip-ID: amlogic:ffe40000<br />
	  Device-3: meson-g12a-dw-hdmi driver: meson_dw_hdmi v: N/A bus-ID: N/A<br />
	    chip-ID: amlogic:ff600000<br />
	  Display: server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 compositor: gnome-shell v: 46.0<br />
	    driver: X: loaded: modesetting <abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr>: meson_drm,<abbr title="driver for Mali Midgard and Bifrost GPUs"><abbr title="driver for Mali Midgard and Bifrost GPUs">panfrost</abbr></abbr>,meson_dw_hdmi tty: 170x62<br />
	<strong>  Monitor-1: HDMI-A-1 model: Dell U3415W res: 3440x1440 dpi: 109 diag: 865mm (34.1")</strong><br />
	  API: EGL v: 1.5 platforms: gbm: drv: etnaviv surfaceless: drv: <abbr title="driver for Mali Midgard and Bifrost GPUs"><abbr title="driver for Mali Midgard and Bifrost GPUs">panfrost</abbr></abbr> inactive: wayland,x11<br />
	  API: OpenGL v: 3.1 compat-v: 2.1 vendor: mesa v: 25.0.7-0ubuntu0.24.04.2<br />
	    note: console (EGL sourced) renderer: Vivante GC8000 rev 7120, Mali-G52 (<abbr title="driver for Mali Midgard and Bifrost GPUs"><abbr title="driver for Mali Midgard and Bifrost GPUs">Panfrost</abbr></abbr>)
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Please let me know or test to set the display resolution to 3440x1440 - Thank you
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">56742</guid><pubDate>Mon, 15 Dec 2025 16:50:30 +0000</pubDate></item><item><title>fail to start</title><link>https://forum.armbian.com/topic/56878-fail-to-start/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Latest armbian firmwares fail to boot on vim3 and graphical desktop do not start.
</p>

<p>
	 
</p>

<p>
	As a workaround I installed old armbian image from August 2024 which booted and worked fine but sudo apt upgrade installed new firmware and it fails to boot to desktop again. Fails on all images Xfce and gnome available on website.
</p>
]]></description><guid isPermaLink="false">56878</guid><pubDate>Tue, 23 Dec 2025 15:28:18 +0000</pubDate></item><item><title>Does Armbian 24.8.1 noble (ubuntu 24.04) supports UART on Khadas VIM3?</title><link>https://forum.armbian.com/topic/44894-does-armbian-2481-noble-ubuntu-2404-supports-uart-on-khadas-vim3/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    <div class="cTemplateField">
        <span class="cTemplateField_label"></span>
        <span class="cTemplateField_value">Armbianmonitor: 
<div class='ipsType_break ipsContained'>
<a href='https://paste.armbian.com/hogopowise' target='_blank'  rel="nofollow noreferrer">
	
		
			https://paste.armbian.com/hogopowise
		
	
</a>
</div></span>
    </div>
    
    
</div><p>
	Hello!
</p>

<p>
	 
</p>

<p>
	I have installed on Armbian 24.8.1 noble (ubuntu 24.04) .
</p>

<p>
	Also I have enabled "UARTa" , "UARTc" in<strong> armbian-config</strong> utility.
</p>

<p>
	 
</p>

<p>
	In /boot/armbianEnv.txt file<span>:</span>
</p>

<p>
	<span>overlays=uartA uartC</span>
</p>

<p>
	 
</p>

<p>
	for enable UART port.
</p>

<p>
	 
</p>

<p>
	There are many files /dev/ttyS[0-7] exists.
</p>

<p>
	After this I try connected to this ports, but no success (minicom -D /dev/ttySx).
</p>

<p>
	 
</p>

<p>
	Python sripts with pyserial module
</p>

<p>
	output: "i/o error".
</p>

<p>
	 
</p>

<p>
	The same problem I have noticed with previous versions of Armbian.
</p>

<p>
	I have checked on other distributive (Khadas version of ubuntu server) the uart port is worked fine.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Does Armbian supports Khadas VIM3 UART?
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">44894</guid><pubDate>Thu, 05 Sep 2024 20:22:20 +0000</pubDate></item><item><title>GPIO control on the VIM3 Pro</title><link>https://forum.armbian.com/topic/41244-gpio-control-on-the-vim3-pro/</link><description><![CDATA[<p>
	Hi, I am new to Armbian, and I don't know how to control VIM3's GPIOs. Can someone help me please?
</p>

<p>
	 
</p>

<p>
	I have Armbian bookworm 24.5.1, kernel 6.6.32-current-meson.
</p>

<p>
	 
</p>

<p>
	Thank you!
</p>
]]></description><guid isPermaLink="false">41244</guid><pubDate>Sat, 15 Jun 2024 18:22:44 +0000</pubDate></item><item><title>Installing on vim 3, is it possible? Are there working instructions somewhere?</title><link>https://forum.armbian.com/topic/28888-installing-on-vim-3-is-it-possible-are-there-working-instructions-somewhere/</link><description><![CDATA[<p>
	I've spent the entire morning trying to boot armbian on a vim 3 basic. 
</p>

<p>
	It won't boot from sdcard. 
</p>

<p>
	I erased the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> with krescue, no change except now it doesn't boot anything, except the krescue sdcard.
</p>

<p>
	I put the armbian image on a USB stick and tried to flash it to <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr>
</p>

<p>
	With krescue but krescue says it's an invalid vim 3 image. 
</p>

<p>
	I verified the Sha and I also tried using the extracted dot img file. Which isn't recognized by krescue. 
</p>

<p>
	 
</p>

<p>
	How do I boot an sdcard or flash the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr>
</p>

<p>
	When none of these things work?
</p>

<p>
	The only thing that boots now is the krescue sdcard. 
</p>

<p>
	 
</p>

<p>
	What am I doing incorrectly?  What else can I try? 
</p>
]]></description><guid isPermaLink="false">28888</guid><pubDate>Tue, 20 Jun 2023 17:13:07 +0000</pubDate></item><item><title>Install to vim3 without krescue?</title><link>https://forum.armbian.com/topic/33140-install-to-vim3-without-krescue/</link><description><![CDATA[<p>
	I was going to install armbian on a new vim 3 board but it seems that krescue no longer exists. 
</p>

<p>
	 
</p>

<p>
	Is there another way to install armbian to a vim 3?   Does the vim 4 have the same problem? 
</p>
]]></description><guid isPermaLink="false">33140</guid><pubDate>Tue, 09 Jan 2024 16:29:59 +0000</pubDate></item><item><title>VIM3 GPU drivers</title><link>https://forum.armbian.com/topic/32444-vim3-gpu-drivers/</link><description><![CDATA[<p>
	I'd like to use <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr> OpenCL acceleration (afaik OpenCL on NPU isn't supported at all for now?) on headless armbian and I'm getting "No devices found in platform" in clinfo.
</p>

<p>
	Could you clarify whether armbian has support for this and I'm missing something (kernel flags? userspace driver? some kinda nonfree blob?), or there's no support and I should move onto another distro? Thanks
</p>
]]></description><guid isPermaLink="false">32444</guid><pubDate>Sun, 10 Dec 2023 20:23:26 +0000</pubDate></item><item><title>Armbian 23.8.1 on the Khadas VIM3</title><link>https://forum.armbian.com/topic/31387-armbian-2381-on-the-khadas-vim3/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I just wanted to report how I got Armbian 23.8.1 working on my Khadas VIM3 Pro board.
</p>

<p>
	It was not an out-of-the-box success story, but after a few nights of debugging, I found the cause and fix of the issue.
</p>

<p>
	Hopefully this post will save debugging time of somebody else and maybe this can be fixed in future Armbian releases.
</p>

<p>
	 
</p>

<p>
	The issue is as follows: After flashing the Armbian 23.8.1 image to the VIM3's internal <abbr title="embedded MultiMediaCard">EMMC</abbr> storage, the <abbr title="Single board computer">SBC</abbr> boots fine initially.
</p>

<p>
	I walk through the setup-process of users/passwords/network/locale, etc...
</p>

<p>
	After the set-up completes, I reboot the <abbr title="Single board computer">SBC</abbr>. It starts booting as usual, but when X.org starts, my monitor stops receiving any signal and goes to sleep.
</p>

<p>
	 
</p>

<p>
	I tried these images:
</p>

<p>
	1. Armbian_23.8.1_Khadas-vim3_bookworm_current_6.1.50_cinnamon_desktop.oowow.img.xz
</p>

<p>
	2. Armbian_23.8.1_Khadas-vim3_bookworm_current_6.1.50.oowow.img.xz (installed X.org and XFCE manually afterwards)
</p>

<p>
	3. Pretty sure I had the same problem with Jammy based images, however I saw <a contenteditable="false" data-ipshover="" data-ipshover-target="https://forum.armbian.com/profile/8801-nicod/?do=hovercard" data-mentionid="8801" href="https://forum.armbian.com/profile/8801-nicod/" rel="">@NicoD</a> using them without issues on Youtube.
</p>

<p>
	 
</p>

<p>
	Eventually, I found out from the X.org logs that it was displaying to another output device:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[    37.633] (II) xfree86: Adding drm device (/dev/dri/card1)
[    37.633] (II) Platform probe for /sys/devices/platform/f4e5b000.framebuffer/drm/card1
[    37.634] (II) xfree86: Adding drm device (/dev/dri/card0)
[    37.634] (II) Platform probe for /sys/devices/platform/soc/ff900000.vpu/drm/card0
[    37.643] (II) xfree86: Adding drm device (/dev/dri/card2)
[    37.643] (II) Platform probe for /sys/devices/platform/soc/ffe40000.gpu/drm/card2
[    37.647] (II) no primary bus or device found
[    37.647]    falling back to /sys/devices/platform/f4e5b000.framebuffer/drm/card1
...
[    37.665] (II) modeset(0): using drv /dev/dri/card1
[    37.676] (II) modeset(G0): using drv /dev/dri/card0
[    37.676] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    37.676] (**) modeset(0): Option "AccelMethod" "glamor"</span></pre>

<p>
	 
	</p><p>
		It defaulted to /dev/dri/card1 which is the simpledrm framebuffer output introduced in recent kernel versions.
	</p>


<p>
	By updating the X.org config file, I was able to force it selecting /dev/dri/card0 instead, however, according to the modeset man page this should be the default.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Section "Device"
    Identifier  "DRM Graphics Acclerated"

    ## Use modesetting and glamor
    Driver      "modesetting"
    Option      "AccelMethod"    "glamor"     ### "glamor" to enable 3D acceleration, "none" to disable.
    Option      "DRI"            "2"
    Option      "Dri2Vsync"      "true"
    Option      "TripleBuffer"   "True"
    ## End glamor configuration

    Option      "kmsdev"  "/dev/dri/card0"

EndSection
...</span></pre>

<p>
	 
</p>

<p>
	I still found the performance of the desktop a bit sluggish. Maybe this is because the second Glamor/DRM enabled output still exists.
</p>

<p>
	I was able to completely get rid of the SimpleDRM output using the following commands and reboot:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">echo "blacklist simpledrm" | sudo tee /etc/modprobe.d/simpledrm.conf
sudo update-initramfs -u</span></pre>

<p>
	 
</p>

<p>
	Now, X.org works as expected.
</p>

<p>
	 
</p>

<p>
	I also disabled the XFCE Compositor, which made de desktop perform much better.
</p>

<p>
	Firefox (with <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr> enabled) shows some graphics artifacts which are gone after disabling hardware acceleration.
</p>

<p>
	 
</p>

<p>
	Hope that this will help somebody.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">31387</guid><pubDate>Sun, 05 Nov 2023 22:10:39 +0000</pubDate></item><item><title>Does Armbian (Bookworm or Jammy) supports Khadas VIM3 UART</title><link>https://forum.armbian.com/topic/30297-does-armbian-bookworm-or-jammy-supports-khadas-vim3-uart/</link><description><![CDATA[<p>
	Hello!
</p>

<p>
	 
</p>

<p>
	I have installed Armbian Bookworm on Khadas VIM3. Also I have enabled "UARTa" , "UARTc" in <strong>armbian-config</strong> utility.
</p>

<p>
	After reboot in file /boot/armbienEnv.txt I have checked options about uart (uarc).
</p>

<p>
	 
</p>

<p>
	Also there are many files /dev/ttyS[0-7] exists.
</p>

<p>
	 
</p>

<p>
	After this I try to connect "minicom -D /dev/ttyS0" (ttyS0, S1, and S3 etc).
</p>

<p>
	But no answer from my device on pins 15,16 OR 18,19 (this is a UARTA,UARTC, UART linux).
</p>

<p>
	Python sripts pyserial output: "i/o error".
</p>

<p>
	 
</p>

<p>
	Does Armbian (Bookworm or Jammy) supports Khadas VIM3 UART?
</p>

<p>
	Are there successful cases?
</p>

<p>
	 
</p>

<p>
	One more question:
</p>

<p>
	On Ubuntu Server files /dev/ttyS* are absent. However Khadas supports UART (on <a href="https://docs.khadas.com/products/sbc/common/applications/gpio/uart" rel="external nofollow">https://docs.khadas.com/products/<abbr title="Single board computer">sbc</abbr>/common/applications/<abbr title="General purpose input/output">gpio</abbr>/uart</a> )
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Thank you!
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">30297</guid><pubDate>Wed, 20 Sep 2023 13:29:41 +0000</pubDate></item><item><title>How does VIM3 perform for monero mining?</title><link>https://forum.armbian.com/topic/30436-how-does-vim3-perform-for-monero-mining/</link><description><![CDATA[<p>
	Hello folks.
</p>

<p>
	 
</p>

<p>
	I am thinking about getting a VIM3 or VIM4 as a PC for computation purposes. I think Monero mining shows the limit of a combination of memory + cpu. The higher the more performant the combination of memory + cpu is. My choice is currently between a board like VIM3 or VIM4 or a desktop i5 9th gen. I will be thankful if an owner can xmrig monero mining software to do a benchmark.
</p>

<p>
	 
</p>

<p>
	So to do the benchmark one should:
</p>

<p>
	 
</p>

<p>
	 - Download <a href="https://xmrig.com" rel="external nofollow">xmrig</a>
</p>

<p>
	 - Run a benchmark and submit it: <a href="https://xmrig.com/docs/miner/benchmark" rel="external nofollow">https://xmrig.com/docs/miner/benchmark</a>
</p>

<p>
	 
</p>

<p>
	The benchmark will be available in the benchmarks page in xmrig website. Note that there should be enough free memory and xmrig must be run as root(or somehow you give xmrig access to use hugepages).
</p>
]]></description><guid isPermaLink="false">30436</guid><pubDate>Thu, 28 Sep 2023 18:42:06 +0000</pubDate></item><item><title><![CDATA[Khadas VIM2 & 3 bugs]]></title><link>https://forum.armbian.com/topic/22787-khadas-vim2-3-bugs/</link><description><![CDATA[<p>
	Hi guys.<br />
	I'm the maintainer for the Khadas VIM3.<br />
	There are 2 small issue's with the Armbian images for VIM3, and also for VIM2.<br />
	<br />
	armbianmonitor -u<br />
	<a href="http://ix.io/46L9" rel="external nofollow">http://ix.io/46L9</a><br />
	<br />
	First off, the VIM3 has all its cores clocked to 1.5Ghz by default.<br />
	I created a Jira for that a while ago. <a href="https://armbian.atlassian.net/browse/AR-1094" rel="external nofollow">https://armbian.atlassian.net/browse/AR-1094</a>
</p>

<p>
	My simple fix is in /etc/default/cpufrequtils<br />
	 
</p>

<pre class="ipsCode">MAX_SPEED=15xxxxxxx → MAX_SPEED=2400000</pre>

<p>
	<br />
	But I have no idea how/where to adjust this so it is correct for all VIM3 images.<br />
	<br />
	Then for VIM2 and VIM3 (maybe VIM3L and VIM1 too) the HDMI audio isn't working as it should.<br />
	<a href="https://armbian.atlassian.net/browse/AR-1095" rel="external nofollow">https://armbian.atlassian.net/browse/AR-1095</a><br />
	<br />
	I once was able to make it work. But I can't remember how. So the device is enabled at boot, but not directed to be used by pulseaudio.<br />
	Thank you.
</p>
]]></description><guid isPermaLink="false">22787</guid><pubDate>Fri, 05 Aug 2022 20:30:09 +0000</pubDate></item><item><title>How to add support for TS050 LCD touchscreen</title><link>https://forum.armbian.com/topic/27110-how-to-add-support-for-ts050-lcd-touchscreen/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	is it possible to add support for TS050 original LCD touchscreen in Armbian?
</p>

<p>
	How I can check tochscreen, is there any CLI tools?
</p>

<p>
	 
</p>

<p>
	Thank you in advance.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">27110</guid><pubDate>Fri, 10 Mar 2023 20:52:43 +0000</pubDate></item><item><title>Khadas Vim3 does not start with new kernel 5.15 or new u-boot</title><link>https://forum.armbian.com/topic/19817-khadas-vim3-does-not-start-with-new-kernel-515-or-new-u-boot/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	I was trying Jammy (autobuild) with kerenl 5.15.18 on Khadas Vim3 4GB RAM, but is does not start, no HDMI output, no LED activity. Then I tried Hirsute with kerenl 5.13 and that boots fine, but after update new kernel (5.15) and also u-boot is installed and then it does not start again.
</p>

<p>
	 
</p>

<p>
	My solution for now is to boot Hirsute with 5.13 and replace all edge packages with current (linux-<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>-current-meson64, linux-image-current-meson64, and linux-u-boot-khadas-vim3-current). This downgrades the kernel to 5.10.81, but the board can be updated and boots fine.
</p>
]]></description><guid isPermaLink="false">19817</guid><pubDate>Sun, 06 Feb 2022 10:08:50 +0000</pubDate></item><item><title>Setting GPIO in uboot script</title><link>https://forum.armbian.com/topic/24029-setting-gpio-in-uboot-script/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	We're swapping the Khadas Fenix 4.9 and uboot v2015-01?? for the Armbian 5.10.y and corresponding mainline u-boot.
</p>

<p>
	In the "legacy"  version we were able to use the u-boot script (then a dedicated boot.ini) for setting a <abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr> pin low like this
</p>

<p>
	<strong><abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr> clear GPIOH_4</strong>
</p>

<p>
	Unfortunately Armbian's mainline u-boot version does not recognize GPIOH_4 as a valid <abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr> pin name.
</p>

<p>
	Anyone able to help? Did the naming change?
</p>

<p>
	 
</p>

<p>
	Gé
</p>
]]></description><guid isPermaLink="false">24029</guid><pubDate>Mon, 17 Oct 2022 20:29:58 +0000</pubDate></item><item><title>Broken image in repo</title><link>https://forum.armbian.com/topic/21546-broken-image-in-repo/</link><description><![CDATA[<p>
	Hi guys!<br />
	Image from that link <a href="http://imola.armbian.com/dl/khadas-vim3l/archive/Armbian_22.05.1_Khadas-vim3l_jammy_edge_5.17.5_xfce_desktop.img.xz" rel="external nofollow">http://imola.armbian.com/dl/khadas-vim3l/archive/Armbian_22.05.1_Khadas-vim3l_jammy_edge_5.17.5_xfce_desktop.img.xz</a> is about 352 Mb. When Im unzip it - 7zip give me error. <br />
	<a href="http://imola.armbian.com/dl/khadas-vim3l/archive/Armbian_22.05.1_Khadas-vim3l_focal_current_5.10.110_xfce_desktop.img.xz" rel="external nofollow">http://imola.armbian.com/dl/khadas-vim3l/archive/Armbian_22.05.1_Khadas-vim3l_focal_current_5.10.110_xfce_desktop.img.xz</a> - same problem. By the way I have some problem with building image by myself, some time it gives me complete with success, but image is broken too. I think so because first boot take loooooong time with no set root pwd, only rounding circle and second boot don't give me to set root pass and other credentials.<br />
	So if it possible, could you test that images (in links) and if it's really problem - repair. May be problem there and build script repairing by itself when everything be ok. Much thanks! 
</p>

<p>
	 
</p>

<p>
	Update:
</p>

<p>
	If its need, I can share my Img. 
</p>
]]></description><guid isPermaLink="false">21546</guid><pubDate>Fri, 17 Jun 2022 12:35:04 +0000</pubDate></item></channel></rss>
