pocosparc
Members-
Posts
29 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
Where do we stand right now with the mainline kernels. What works and what doesn't? I was a bit busy lately with everything and have set aside this project. I still need to fix that openVFD driver. I the latest trunk already stable enough to reflash it to eMMC? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
Thx. I am a few days off for a small vecation. Will take a look -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
I made OpenVFD work. There are some driver changes needed to get it to work. I commited everyting into ArmBoardBringUp git repo with the tutorial on how to get it to work README.txt. There are still some minor tweaks needed as currently the time is upside down (conf file changes) and also the wrong icons are on (also inversed). I will play with these after a few days, but you can try them out BTW Nice work on the video acceleration. IR remote codes are also there in order to be committed and compiled. Maybe KODI is next? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
@Deoptim@maka I tried it your way and that is installing chromium via the snap - actually installed version 123 as it GitHub thread states that since version 121 all changes are mainstream. I also added these rules to 70-snap.chromium.rules: SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3568-vpu-dec", SYMLINK+="video-dec%n" SUBSYSTEM=="media", ATTR{model}=="hantro-vpu", SYMLINK+="media-dec%n" I tried to run chromium with a flag --disable_webgpu_shared_images=1 and the chrome://gpu still reports WebGPU and Vulkan as disabled. I am not completely sure if this is ok or not, but video playback was quite ok (once the page loads) and full-screen playback (1440p) is between 35-50% on all cores. To double check everything I only recently enabled the vpu node in the device tree and I did not spend any time investigating this at that time, is this enough for the mainline drivers or do we need to add different codecs as well? &vpu { status = "okay"; }; about-gpu-2024-04-27T12-05-58-533Z.txt -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
I tried the install package from this PPA , but it is a rather old version (114.x). As I can tell I think there is HW acceleration active. I am enclosing the whole dump of chrome://gpu. The system only reports that WebGPU and video_encode are disabled - the latter I think is clear as there is no DTB tree pointing to the hw codecs (yet). Lets see what you version will bring as you need to recompile the whole thing. I will try with firefox now. chromeReport.log -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
I started with the command written above, but for some reason it does not except the right path. I am using the ZSH and also exported path to /run/user/1000 in both .zshrc and .bashrc, but it does not accept it. h96-tvbox-3566:~:% sudo glmark2-es2-wayland error: XDG_RUNTIME_DIR not set in the environment. Error: main: Could not initialize canvas I then tried it out a bit differently, but this time I got a nice 3D horse on a 1440p rotating quite fluidly. h96-tvbox-3566:~:% glmark2-es2-wayland --fullscreen ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G52 r1 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2 ======================================================= [build] use-vbo=false: FPS: 196 FrameTime: 5.102 ms [build] use-vbo=true: FPS: 205 FrameTime: 4.878 ms ======================================================= glmark2 Score: 200 ======================================================= Edit: It was the sudo fault. I now executed the whole test, while connected via ssh - every core was like 25% during the whole test. I will try with the Chrome and Firefox now. h96-tvbox-3566:~:% glmark2-es2-wayland ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G52 r1 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2 ======================================================= [build] use-vbo=false: FPS: 461 FrameTime: 2.169 ms [build] use-vbo=true: FPS: 496 FrameTime: 2.016 ms [texture] texture-filter=nearest: FPS: 1000 FrameTime: 1.000 ms [texture] texture-filter=linear: FPS: 1005 FrameTime: 0.995 ms [texture] texture-filter=mipmap: FPS: 1020 FrameTime: 0.980 ms [shading] shading=gouraud: FPS: 322 FrameTime: 3.106 ms [shading] shading=blinn-phong-inf: FPS: 280 FrameTime: 3.571 ms [shading] shading=phong: FPS: 311 FrameTime: 3.215 ms [shading] shading=cel: FPS: 315 FrameTime: 3.175 ms [bump] bump-render=high-poly: FPS: 109 FrameTime: 9.174 ms [bump] bump-render=normals: FPS: 1043 FrameTime: 0.959 ms [bump] bump-render=height: FPS: 1043 FrameTime: 0.959 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 570 FrameTime: 1.754 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 200 FrameTime: 5.000 ms [pulsar] light=false:quads=5:texture=false: FPS: 999 FrameTime: 1.001 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 210 FrameTime: 4.762 ms [desktop] effect=shadow:windows=4: FPS: 579 FrameTime: 1.727 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 59 FrameTime: 16.949> [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 59 FrameTime: 16> [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 70 FrameTime: 14.286 > [ideas] speed=duration: FPS: 308 FrameTime: 3.247 ms [jellyfish] <default>: FPS: 388 FrameTime: 2.577 ms [terrain] <default>: FPS: 25 FrameTime: 40.000 ms [shadow] <default>: FPS: 214 FrameTime: 4.673 ms [refract] <default>: FPS: 26 FrameTime: 38.462 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 788 FrameTime: 1.269 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 786 FrameTime: 1.272 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 784 FrameTime: 1.276 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 780 FrameTime: 1.282 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 769 FrameTime: 1.300 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 771 FrameTime: 1.297 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 775 FrameTime: 1.290 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 758 FrameTime: 1.319 ms ======================================================= glmark2 Score: 524 ======================================================= -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
I have installed the PPA and stuff from this thread: When I run it it produces the following trace. When playing videos all 4 cores are at 100% so I´d say it is not HW accelerated. Maybe there are also missing settings, but I have not seen any proper tutorial on how to set it up. h96-tvbox-3566:~:% chromium-browser [35467:35467:0426/133812.562432:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled. [35467:35467:0426/133813.132334:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files [35528:35528:0426/133813.233668:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr [35528:35528:0426/133813.234447:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
Currently as a desktop. Wanted to try it out, but the kernel update over apt upgrade bricked my device. So I need to reflash everything. I am still doing everything on the current 6.6 kernel. IR works I just need to create a keymap and I will test KODI out - just need to recompile it in a VM. I am still waiting for my sound bar that has SPDIF to test it out. I think currently it is not working as I saw that spdif@fe460000 is currently disabled. I am also looking for the current Linux-headers file 6.6.28 so that I can try with openvfd. I was unable to find them with the previous kernel version 6.6.27. Once I install everything back I will retry this. What is funny about this box - every reinstallation brings a new MAC address. I am also trying to set up a CasaOS - currently in YouTube mode on how to set up Cloudflare tunnels. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
@Hqnicolas I created a pull request for a working HDMI sound: https://github.com/hqnicolas/ArmBoardBringUp/pull/1/files -
@lucky62 Change your line 736 to pin->pin = of_get_named_gpio(pdev->dev.of_node, name, 0);
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
Nice! You are using ubuntu GNOME image from the armbian repo or did you build it now yourself with the right dts file? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
@Hqnicolas With this dts I was able to start a wifi with a simple symlink sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin I need to check a bit more into the chip IDs as in my honest opinion this AP6335 should be recognized as 4339 or that I try to dig up the clm_blob file that is currently missing? Bluetooth also works as hci1, because hci0 is recognized as the SDIO device - which means there are some settings in that node not completely valid. On the other hand, the wifi module has both communication lines. rk3566-h96-tvbox.dts Sadly I am not allowed to push to your git repo. If you add me to a collaboration list, then I will make the changes as a PR (my github username is kulica). Anyway, I am attaching the corrected file to this post. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
Yes it needs to be low and then the broadcom dongle host driver needs to search for any hw on the sdio, which fires the init seaquence and enables the wifi module. This dhd is for some reason not started during boot. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
It is a twofold problem. First is a base definition compiled with kernel itself, which has to simply put a LUT which ID loads which driver bin file. If it is not there, you will see a dmesg error message. So if this is not recompiled with kernel itself it won't even try to load a bin file nor will it throw any error messages. Can you check if the kernel sees any new hw device IDs? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
pocosparc replied to Hqnicolas's topic in Rockchip CPU Boxes
@Hqnicolas Do you specifically select Broadcom 43xx SDIO kernel drivers as they were not enabled per default on my side. Lets see what will come out of this build process.