7Ji / archrepo

A pacman repo focusing on Arch as media center, for ArchLinux on x86_64 and ArchLinux ARM on aarch64, updated hourly
GNU Affero General Public License v3.0
25 stars 5 forks source link

linux-aarch64-rockchip-bsp5.10-joshua-git display output issues #32

Closed kwankiu closed 2 months ago

kwankiu commented 2 months ago

linux-aarch64-rockchip-bsp5.10-joshua-git is current broken as it was built from a commit that was work-in-progress after a rebase to a new rockchip sdk, there are newer commits that fixes the issue after that build and it currently needs a rebuild to work properly.

(more specifically, FYI, it was that rockchip sdk is using mali blob g21 that the kernel built with g21 support, newer commits of the kernel reverted to g18 as there were issues with g21, as a result, using this WIP g21 kernel build with a g18 blob makes it unusable.)

7Ji commented 2 months ago

But it is at 5.10.209.r1089407.g88db26e6-1, git commit 88db26e6, which is the branch head of the upstream jammy branch, no?

> pacman -Si linux-aarch64-rockchip-bsp5.10-joshua-git
Repository      : 7Ji
Name            : linux-aarch64-rockchip-bsp5.10-joshua-git
Version         : 5.10.209.r1089407.g88db26e6-1
Description     : The linux-rockchip kernel, with patches picked by Joshua Riek focusing on RK3588
Architecture    : aarch64
URL             : https://github.com/Joshua-Riek
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : coreutils  kmod  initramfs
Optional Deps   : wireless-regdb: to set the correct wireless channels of your country
Conflicts With  : None
Replaces        : None
Download Size   : 21.42 MiB
Installed Size  : 100.74 MiB
Packager        : Guoxin Pu <pugokushin@gmail.com>
Build Date      : Sun 14 Jul 2024 11:14:36 AM CST
Validated By    : SHA-256 Sum
kwankiu commented 2 months ago

But it is at 5.10.209.r1089407.g88db26e6-1, git commit 88db26e6, which is the branch head of the upstream jammy branch, no?

> pacman -Si linux-aarch64-rockchip-bsp5.10-joshua-git
Repository      : 7Ji
Name            : linux-aarch64-rockchip-bsp5.10-joshua-git
Version         : 5.10.209.r1089407.g88db26e6-1
Description     : The linux-rockchip kernel, with patches picked by Joshua Riek focusing on RK3588
Architecture    : aarch64
URL             : https://github.com/Joshua-Riek
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : coreutils  kmod  initramfs
Optional Deps   : wireless-regdb: to set the correct wireless channels of your country
Conflicts With  : None
Replaces        : None
Download Size   : 21.42 MiB
Installed Size  : 100.74 MiB
Packager        : Guoxin Pu <pugokushin@gmail.com>
Build Date      : Sun 14 Jul 2024 11:14:36 AM CST
Validated By    : SHA-256 Sum

Oh right, that seems like already using the latest commit. I have tested this kernel on radxa rock 5b, cm5, and khadas edge 2 and have no luck getting it work, there are no display output until the system reaches gdm and it stuck once you enter password. I have talked to joshua and he pointed out that commit.

kwankiu commented 2 months ago

@7Ji @wyf9661 @hbiyik FYI,

tested joshua's ubuntu image on my rock 5b and there's no display output issue (however experienced reduced performance in glmark2 with panfork)

on arch linux, using this package (linux-aarch64-rockchip-bsp5.10-joshua-git) with panfork, libmali, mali-g610-valhall-firmware as well as joshua firmware provided by this repository:

7Ji commented 2 months ago

There probably are some driver dependency issues, try to use mkinitcpio with a fallback profile or booster with universal: true config.

JFLim1 commented 2 months ago

Tried linux-aarch64-rockchip-bsp5.10-joshua-git on Opi5-Plus a week ago. It just boot into a "Black or Blank Screen". Stuck there.

JFLim1 commented 2 months ago

Hi @7Ji @kwankiu,

Upgraded to latest linux-aarch64-rockchip-bsp5.10-joshua-git-headers-5.10.209.r1089409.g897fcc76-1-aarch64.pkg.tar.zst. It boot to a "Black Screen".

Also noticed "vmlinuz-linux-aarch64-rockchip-bsp5.10-joshua-git" is listed as "binary" instead of DOS Executable.

image

kwankiu commented 2 months ago

Hi @7Ji @kwankiu,

Upgraded to latest linux-aarch64-rockchip-bsp5.10-joshua-git-headers-5.10.209.r1089409.g897fcc76-1-aarch64.pkg.tar.zst. It boot to a "Black Screen".

Also noticed "vmlinuz-linux-aarch64-rockchip-bsp5.10-joshua-git" is listed as "binary" instead of DOS Executable.

image

@7Ji @JFLim1 @w568w, seems like we are using the wrong config,

on BSP6.1, we have updated the config location: https://github.com/7Ji-PKGBUILDs/linux-aarch64-rockchip-bsp6.1-joshua-git/commit/c400af58a0b27bb5e5f2e3122c441896f32d618f

I have applied this change to the BSP5.10, I think that would likely fix the issue.

JFLim1 commented 2 months ago

I have applied this change to the BSP5.10, I think that would likely fix the issue.

Hi @kwankiu, Tested linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209.r1089412.gdf2b5066-1-aarch64.pkg.tar.zst Still boot to "Black Screen", will test again when a new kernel linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209 with new "config" is released.

On Opi5-Plus with RTL8852BE-CG WiFi module (by Xulong Software) stable and fast WiFi connection so far only on kernel 5.10.y. Kernel-6.1 somehow WiFi connection is not that stable or fast enough.

kwankiu commented 2 months ago

I have applied this change to the BSP5.10, I think that would likely fix the issue.

Hi @kwankiu, Tested linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209.r1089412.gdf2b5066-1-aarch64.pkg.tar.zst Still boot to "Black Screen", will test again when a new kernel linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209 with new "config" is released.

On Opi5-Plus with RTL8852BE-CG WiFi module (by Xulong Software) stable and fast WiFi connection so far only on kernel 5.10.y. Kernel-6.1 somehow WiFi connection is not that stable or fast enough.

@7Ji can you rebuild this package?

7Ji commented 2 months ago

The one on the releaae page is already built from latest commit 976423a47b0ce5fe3a470453d25f831e3c7ae8bd

Samuel @.***> 于 2024年8月3日周六 01:48写道:

I have applied this change https://github.com/7Ji-PKGBUILDs/linux-aarch64-rockchip-bsp5.10-joshua-git/commit/976423a47b0ce5fe3a470453d25f831e3c7ae8bd to the BSP5.10, I think that would likely fix the issue.

Hi @kwankiu https://github.com/kwankiu, Tested linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209.r1089412.gdf2b5066-1-aarch64.pkg.tar.zst https://github.com/7Ji/archrepo/releases/download/aarch64/linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209.r1089412.gdf2b5066-1-aarch64.pkg.tar.zst Still boot to "Black Screen", will test again when a new kernel linux-aarch64-rockchip-bsp5.10-joshua-git-5.10.209 with new "config" is released.

On Opi5-Plus with RTL8852BE-CG WiFi module (by Xulong Software) stable and fast WiFi connection so far only on kernel 5.10.y. Kernel-6.1 somehow WiFi connection is not that stable or fast enough.

@7Ji https://github.com/7Ji can you rebuild this package?

— Reply to this email directly, view it on GitHub https://github.com/7Ji/archrepo/issues/32#issuecomment-2265869619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2CYEXFI7C7PVLDQLSA4LTZPPA7FAVCNFSM6AAAAABLC2OUV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVHA3DSNRRHE . You are receiving this because you were mentioned.Message ID: @.***>

kwankiu commented 2 months ago

The one on the releaae page is already built from latest commit 976423a47b0ce5fe3a470453d25f831e3c7ae8bd

Thanks, i will test it out, the vmlinuz looks normal from the latest build. I thought it wasnt updated as the package was uploaded less than an hour after I apply this change.

Btw, just curious, are you currently building on OPI5 or on Oracle Cloud (4 OCPU 24G RAM?)? How long does it takes you to build this kernel?

kwankiu commented 2 months ago

@JFLim1, tested the latest 5.10 on the Khadas Edge 2 and it works. Make sure you have the correct boot config, mali firmware and panfork. image

JFLim1 commented 2 months ago

@7Ji @kwankiu,

The new rebuild linux-aarch64-rockchip-bsp5.10-joshua-git 5.10.209.r1089412.gdf2b5066-1 boot successfully. Thank you.