Jump to content

Walter Zambotti

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by Walter Zambotti

  1. The problem turns out to be the kernel version. The minimal image comes with 6.1.30 which provides a new video device (called None-1) and the desktop image comes with 6.1.11 which does not have this mystery video device. All working with the reverted kernel.
  2. Seems the fix is to use kernel 6.1.11 that comes with the desktop version and not 6.1.30 that comes with the minimal version.
  3. it turns out this mystery video device (None-1) is provided by Kernel 6.1.30 and revertiong back to 6.1.11removes the device.
  4. So I edited the boot.cmd file and added this line after each of the setenv bootarg ... lines : setenv bootargs "${bootargs} video=None-1:d" recompiled with sudo mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr checked the lines had made it to boot.scr and rebooted. But the None-1 video device still persists and xrandr still shows that device is being used by Xorg!!!
  5. I am unable to configure Xorg to ignore (and stop using as its default) the None-1 video device causing me not to be able to display a desktop via the HMDI-1-1 device. It has been suggested (https://ubuntu-mate.community/t/how-to-configure-xorg/26732/3) that I disable this device in the kernel, hopefully, via a kernel option such as : video=None-1:d Does anyone know where (which file) and how (specific method) I should do this?
  6. Armbian 23.5 Ubuntu Not sure what I touched but my OpenGL has reverted from the Mali-G52 hardware accelerated renderer back to the llvmpipe. How can I changed this?
  7. I have multiple n2s and I don't want them all to be called odroidn2. What is the recommended way to change the hostname of an armbian system?
  8. I noticed this on the download page for the Odroid N2/N2+: On modern kernels adding “video=HDMI-A-1:1920x1080M@60D” to boot /boot/armbianEnv.txt (extraargs=) should force HDMI to 1080p instead of the 4K native resolution. I'll check if that will also works with 2560x1440 monitors!
  9. @Dantes Thanks I took a look at your script. I don't think it will address my QHD resolution at boot issue! Good work, 👍
  10. I managed to get it going! I suspected it was working so unplugged the HDMI cable from my QHD monitor and plugged it into a FHD and wala instant picture. Then I plugged it back into my QHD monitor and it was still displaying. I then used the display control to set the resolution to 2560x1440 and it still worked. So the problem seems to be using QHD from boot. That doesn't work. Seems like a firmware setting that should be changed. I suspect it doesn't see a FHD single so assumes a 4K monitor instead.
  11. Thanks I went into armbian-config but can't see any setting that would be relevant as GUI is already set to enabled! I tried disabling and re-enabling but no difference. Blank screen!
  12. I'm using the Odroid N2/N2+ 23.5 Jammy minimal image. I then updated and upgraded successfully. I then attempted to install MATE via tasksel (which I installed) but that immediate fails with an apt package missing error. SO then I tried to install MATE manually by: $ sudo apt install mate-desktop-environment mate-desktop-environement-extras $ reboot There didn't seem to be any display manger installed so I stalled lighdm $ sudo apt install lightdm lighdm-gtk-greeter $ reboot Then I noticed that Xserver was not installed (really, that's no a MATE dependency!!!) $ sudo aqt install xserver-xorg $ reboot But the xserver was not starting and so I noticed xinit was not installed (really. why wouldn't this be a dependency of MATE or the xserver) $ sudo apt install xinit $ reboot Now it boots and starts everything and then switches to console tty07 but is just a black screen. I can see from console tty01 that all the correct (I assume) processes have started but nothing but a black screen. Xorg is running lightdm session is running lightdm-greeter-session is running lightdm-gtk-greeter is running But still no login screen (or mouse) is visible (just a blank screen) I can see the ~/.Xauthority file is blank so don't know what has happened. What else have I missed?
  13. I suspect something is missing from the Armbian meson hardware/firmware, because if I boot two copies of Ubuntu then the KVM appears to operate correctly and if I boot two copies of Armbian I see neither system.
  14. Hi have two N2s (an N2+ and N2). Both are connected to a Viewsonic 2560x1440 2 HDMI ports monitor where they both work well. One system (N2+) is running Ubuntu 22.04 the other is running Armbian jammy 22.04.01 Kernel 6.0.13 #22.11.2. I have purchased a ATEN CS22H 2 port HDMI/USB KIVM switch. When I connect both systems to the monitor via the KVM I only get a picture from the Ubuntu system. The Armbian system is always black. Can I force the kernel/firmware to be 2560x1440x60hz. I was looking at this post : Regarding forcing the kernel to be a fixed resolution but wasn't sure it was relevant. I am able to connect to the Artmbian system via ssh if I need to. Any suggestions welcome!
  15. Using a Realtek 8821CU Bluetooth + Wifi USB adapter. Working fine on stable build jammy with kernel 5.10.123. (current) Using the Armbian->Config->System->Other and selecting the latest 5.15 kernel. System reboots and confirm kernel has been updated and chosen. Wifi hotspots are all seen but fails to connect and repeatedly asks for password. Security is WAP2 personal. Setting the kernel back to 5.10.current reverts to Wifi working as expected. I will try the 5.17 kernel and report back. I have seen this before on other Deb distros. From memory this is caused by a missing/outdated kernel encryption module or wpa_supplicant. However don't quote me. It was quite some time ago.
  16. Thanks. I saw the option and tried it. Nothing seemed to happen! It loads 92 packages then warns things can go go wrong and then prompts OK. So I OK'd but nothing happened! I get the impression this allows you to switch between already installed kernels, assuming they are installed. But I don;t know really.
  17. The glmark2 scores are disappointing. Those scores are lower than my N2 (non plus) at 600 plus/minus on X and mid 1300 plus/minus on Wayland.
  18. I just (several days ago) installed Armbian 22.05 OdroidN2 Jammy XFCE. It uses kernel 5.10. Then I noticed there is an alternative version 22.05 jammy XFCE with kernel 5.17. Is it possible to update to the later kernel from the image I used without re-imaging and starting from scratch? I have already installed and setup a lot of other applications and data. I can see i have packages linux-image-current-meson64/jammy (linux-dtb... & linux-headers...) installed. On apt.armbian.com I found: (https://stpete-mirror.armbian.com/apt/pool/main/l/linux-5.17.5-meson64/) in the linux-5.17.5-meson64 Name Last modified Parent Directory linux-5.17.5-meson64 linux-dtb-edge-meson64_22.05.1_arm64.deb2022-05-29 06:58 linux-headers-edge-meson64_22.05.1_arm64.deb2022-05-29 06:58 linux-image-edge-meson64_22.05.1_arm64.deb2022-05-29 06:58 Can I apt install these and expect the upgrade to correctly happen?
  19. All it took was a reboot and it all worked correctly. Call it teething problems!!!
  20. Odroid N2. Armbian Ubuntu 22.04 kernel 5.10.123. xfce. Bluman 2.2.4 Adapter is Realtek rtl8821CU Wifi/Bluetooth. Drivers were present. Device Sony SRS-X2. The device is seen when searching but fails to pair. The only message is "bluetooth pairing failed." and "br-connection-already-connected" I'm note sure by what already connected means. It definitely is not connected.
  21. The simple answer turns out to be the selection of the correct frame number. Print function::variable does not set the frame number for you, and it must be manually set by frame #. Which in my example is 8!
  22. So I'm trying to debug a 32 bit C compiler circa 1983 that only compiles in 32 bit. I have the compiler working in Linux Ubuntu 18.04 and later with multiverse (32 bit) support installed. I thought to myself PI OS would have to be one the most popular used and supported 32 bit OS, so let's compile and debug the the 32 application in a complete 32 environment. However on the PI OS 32 bit while I have managed to compile to compiler with no issues it doesn't execute and gets seg faults. No problem I can debug it! Except I can't because if I use the debugger via Geany or directly it complains it can't find variables higher up in the stack. gdb $ where full (shows that the variable is known and is on scope) but gdb $ print said_function::said_variable (complains it can't find the variable). Topic on stackoverflow refers https://stackoverflow.com/questions/64728124/linux-gdb-cannot-print-variable-in-stack Unfortunately the question has bee closed (prematurely I believe) and so no one my answer the question there! Hence why I'm here! (gdb) where full #0 0xb6fbc1dc in strlen () from /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so No symbol table info available. #1 0x0001076c in WrStr (s=0x0) at ansifront.c:71 len = 213201 #2 0x00011698 in PrintTok (x=511) at ansifront.c:419 No locals. #3 0x00011f78 in WrTQual (ts=0x31647 <mainstk+951>) at ansifront.c:646 No locals. #4 0x00011fbc in WrTSpec (ts=0x31647 <mainstk+951>) at ansifront.c:654 No locals. #5 0x0001ccc4 in WrNTSpec (tspec=0x31647 <mainstk+951>) at decl.c:561 type = 4 '\004' #6 0x0001d0f0 in WrXDecl (vdecl=0xbefff128, isfdef=0) at decl.c:676 tsvdecl = {vd_var = 0x1d0fc <WrXDecl+636> "", vd_type = 0x0, vd_tspec = 0x31647 <mainstk+951>, vd_prev = 0x31647 <mainstk+951>} #7 0x0001d9c0 in WrOSPLst (plst=0x3163b <mainstk+939>, fndecl=0x3160d <mainstk+893>) at decl.c:906 vdecl = {vd_var = 0x34098 <tmpstk+8> "winpath", vd_type = 0x0, vd_tspec = 0x31647 <mainstk+951>, vd_prev = 0x0} tlp = 0x31643 <mainstk+947> ilp = 0x34090 <tmpstk> #8 0x0001e118 in RdGDecl () at decl.c:1084 params = 0x3163b <mainstk+939> isfunct = 1 needsimi = 0 '\000' tspec = 0x31605 <mainstk+885> vdecl = 0x3160d <mainstk+893> #9 0x00013f34 in main (argc=1, argv=0xbefff2c4) at ansifront.c:1499 No locals. (gdb) print RdGDecl::params No symbol "params" in specified context. (gdb) print params No symbol "params" in current context. (gdb) Looking in the manual there is no mention of referencing variables in sub blocks other than mentioning that a block must be active in order to do this. 'where full' confirms this is the case on line #8. Someone in the stackoverflow question mentioned something about stack frames and 8 byte. I assume they mean alignment. Looking at the addresses for the variables on the stack they seems to be suspiciously non 8 byte alligned (params = 0x3163b is an odd value). I have looked for a compiler option to enforce 8 byte stack alignment but could not find one. Does anyone know of such an option? Also if anyone feels my stackoverflow question was prematurely closed I would appreciate if you could leave some additional comments on that question, maybe asking for it to be re-opened (if you feel appropriate)! Walter
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines