Everything posted by VBB
- Orange Pi RV2
-
Orange Pi RV2
I have build Trixie with gnome desktop. Then ran the `spacemit-gpu-addon.sh` script and hw acceleration appears to be working. vkcube fails with this error: ``` Selected WSI platform: xcb vulkan: No DRI3 support detected - required for presentation Note: you can probably enable DRI3 in your Xorg config vkcube: ./cube/cube.c:4228: demo_select_physical_device: Assertion `demo->gpu_number >= 0' failed. ``` Then I tried to launch gnome system monitor with vulkan renderer (GSK_RENDERER=vulkan gnome-system-monitor) and, besides some bugs with icons, it does work, inspector show that vulkan gsk renderer is used. I was able to successfully launch Everlasting Summer (copied it from stream from renpy8 branch) with the 7dl mod (must be ported to python3 and renpy8, luckily sources are available). Very much playable. I have used renpy from distro repos and removed splash screen pictures, because the game crashes after being unable to create a window for that splash screen. `RENPY_LESS_UPDATES=1` can be used too, but it also reduces animations in the game itself. Wi-Fi doesn't work, but it's not a big deal for me, since I use Ethernet. Bluetooth works. Boot time is veeery long. 3 mins for kernel. ``` systemd-analyze Startup finished in 3min 15.784s (kernel) + 31.495s (userspace) = 3min 47.280s graphical.target reached after 31.491s in userspace. ```
-
Orange Pi RV2
Hello! I would like to get Trixie with a desktop working on my board. I currently use "armbian-unofficial_26.02.0-*-6.18.18_gnome_desktop" and it actually works well. It worked better and had less stuttering before i upgraded and got "6.18.44-current-spacemit", but it's still usable for light browsing, "RDP"ing into my main machine with Remmina (currently doing that to write this comment!) and even gaming: "The Question" demo renpy game from repos works well and I'm curious how something bigger like "Everlasting Summer" is going to work on that board, but for that I need renpy 8.3.4 and noble is at 8.1.3, so that's why I want to get Trixie working: it has the exact version I need. Should I try to compile the image with BUILD_DESKTOP set? Does the unofficial image contain some additional fixes for graphics drivers?
-
Orange Pi RV2
To fix that error I removed `/lib/firmware/qcom/sm8550/ayn/odin2mini` and other 2 symlinks. run `ls -la /lib/firmware/qcom/sm8550/ayn/` to show them. I ran the script and did a reboot. Now I'm in the uboot command line and I see this error: ``` no nvme partition table available [ 10.473] Couldn't find partition nvme 0:1 [ 10.477] Couldn't find partition nvme 0:1 [ 10.481] Couldn't find partition nvme 0:1 [ 10.485] Couldn't find partition nvme 0:1 [ 10.489] Couldn't find partition nvme 0:1 ``` I only have sd card plugged in. Also this: ``` [ 4.478] Retrieving file: /boot/extlinux/extlinux.conf [ 4.510] 1: Armbian-unofficial [ 4.510] Retrieving file: /boot/uInitrd [ 5.712] Retrieving file: /boot/Image [ 8.067] append: root=UUID=818a9fb1-4820-445e-9c18-e94a975ca969 earlycon=sbi console=tty1 console=ttyS0,115200 loglevel=1 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles [ 8.086] Retrieving file: /boot/dtb/spacemit/k1-orangepi-rv2.dtb [ 8.133] ** File not found /boot/dtb/spacemit/k1-orangepi-rv2.dtb ** [ 8.136] Skipping Armbian-unofficial for failure retrieving FDT [ 8.150] pcie_dw_k1x pcie@ca400000: has no power-on-status flag, use default. [ 8.155] Now init Rterm... [ 8.157] pcie prot id = 1, porta_init_done = 0 [ 8.161] Now waiting portA resister tuning done... ``` In `/boot/extlinux/extlinux.conf` I renamed `k1-orangepi-rv2.dtb` to `k1-x-orangepi-rv2.dtb` and it did let me to boot into DE. Kernel has probably updated incorrectly. `uname -r` and boot log shows 6.6.99-current-spacemit. Wifi module doesn't work either. ``` # inxi -G Graphics: Device-1: saturn-le driver: spacemit_drm_drv v: N/A Device-2: hdmi driver: spacemit_hdmi_drv v: N/A Device-3: saturn-hdmi driver: spacemit_drm_drv v: N/A Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6 driver: N/A resolution: 1920x1080~75Hz API: EGL v: 1.4,1.5 drivers: pvr,swrast,zink platforms: gbm,x11,surfaceless,device API: OpenGL v: 3.3 compat-v: 2.1 vendor: mesa v: 24.0.1 renderer: softpipe API: Vulkan v: 1.3.275 drivers: N/A surfaces: N/A ``` I was able to update the kernel by installing `linux-kernel-edge-spacemit` and `linux-headers-edge-spacemit`, but wifi module still doesn't work. `bcmdhd-spacemit-sdio-dkms` is intalled though
-
Orange Pi RV2
I flashed gnome desktop from your website. GPU script yields this error: ``` Preparing to unpack .../armbian-firmware_26.2.1_all.deb ... Unpacking armbian-firmware (26.2.1) over (26.02.0-trunk) ... dpkg: error processing archive /var/cache/apt/archives/armbian-firmware_26.2.1_all.deb (--unpack): unable to open '/lib/firmware/qcom/sm8550/ayn/odin2mini/a740_zap.mbn.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/armbian-firmware_26.2.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ```
- Orange Pi RV2
-
Orange Pi RV2
Hi. I booted the image, ran the gpu script provided earlier and did a reboot. uart gets stuck at (from my memory) "running premount script". I connected monitor over hdmi, but it's just a mouse on black screen. I could switch to different tty. WiFi module doesn't seem to work either: the armbian script doesn't show on option to connect to a wifi hotspot. I noticed this in update logs: ``` Armbian 'linux-image-current-spacemit' for '6.18.21-current-spacemit': 'prerm' starting. dkms: removing: bcmdhd-spacemit-sdio 101.10.591.84.37-4 (6.18.21-current-spacemit) (riscv64) Module bcmdhd-spacemit-sdio-101.10.591.84.37-4 for kernel 6.18.21-current-spacemit (riscv64). Before uninstall, this module version was ACTIVE on this kernel. bcmdhd.ko.xz: - Uninstallation - Deleting from: /lib/modules/6.18.21-current-spacemit/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. dhd_static_buf.ko.xz: - Uninstallation - Deleting from: /lib/modules/6.18.21-current-spacemit/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod...... Deleting module bcmdhd-spacemit-sdio-101.10.591.84.37-4 completely from the DKMS tree. Armbian 'linux-image-current-spacemit' for '6.18.21-current-spacemit': 'prerm' finishing. Armbian 'linux-image-current-spacemit' for '6.18.22-current-spacemit': 'preinst' starting. Armbian 'linux-image-current-spacemit' for '6.18.22-current-spacemit': 'preinst' finishing. ``` Which IIUC means that wifi module was uninstalled. Also there is this: ``` gdm.service is not active, cannot reload. invoke-rc.d: initscript gdm3, action "reload" failed. Synchronizing state of lightdm.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install disable lightdm The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=, Also=, or Alias= settings in the [Install] section, and DefaultInstance= for template units). This means they are not meant to be enabled or disabled using systemctl. Possible reasons for having these kinds of units are: • A unit may be statically enabled by being symlinked from another unit's .wants/, .requires/, or .upholds/ directory. • A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. • A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). • In case of template units, the unit is meant to be enabled with some instance name specified. OK. ```