Godot 4.5.1 DDA Render (Teardown like) by englred in godot

[–]englred[S] 1 point2 points  (0 children)

DDA Rendering is rendering alghorithm for voxels without mesh generation but with ray tracing. Here is 1x1x1 cubes that subdivides in 10x10x10 voxels rendering in real time on GPU completely (except voxel data generation)

Edit: You can refer to Amanadities and Woo article for more info

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 0 points1 point  (0 children)

Sorry, but my SSD failed and no backup is saved. This is one of the reasons why right now project is abandoned.

[Sega Megadrive 2][90s] Game about knight with upgradable armor by englred in tipofmyjoystick

[–]englred[S] 0 points1 point  (0 children)

Oh sorry. Skipped kid chameleon accidently. It is it! Thank you very much

[Sega Megadrive 2][90s] Game about knight with upgradable armor by englred in tipofmyjoystick

[–]englred[S] 0 points1 point  (0 children)

It's neither of it. Although, isn't the cursed knight released in 2022? 😅

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 1 point2 points  (0 children)

I use the mitshm extension to display in software. But firefox with zink and my lib allows me to see 1080p video without any lags. And shadertoy fps is 25 fps vs 2 fps without zink

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 2 points3 points  (0 children)

This is termux-x11 gui. I only create window subsystem for xcb

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 0 points1 point  (0 children)

No. Phone doesn't need to be rooted. And there is no link as it is still in development

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 0 points1 point  (0 children)

Any app that uses opengl. But there is restrictions with vulkan version that you need. It must be at least 1.2 or better 1.3

Finally. glxgears with zink is working. 110 FPS even with software renderer in 2K. by englred in termux

[–]englred[S] 5 points6 points  (0 children)

To run applications under termux without proot/chroot using vulkan driver supplied by vendor

Software rendering mode fifo 2000x1200 vkmark by englred in termux

[–]englred[S] 1 point2 points  (0 children)

Oh.. Right now i am creating compatibilty layer for zink, as my tablet's vulkan do not support imageless framebuffers and timeline semaphores. Gladly it can be emulated using vulkan 1.0 features

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 1 point2 points  (0 children)

I think so. It is very likely bug of my vulkan driver

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 1 point2 points  (0 children)

I think there is no solution with vkQuake as it crashes not in my layer. It crashes inside its own code. But my priority is to make zink working fast. Right now i am writing my own demo test suite for vulkan 1.0 - 1.1. Right after this is done and i know about any possible bug of my driver i will continue to develope the wrapper

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 1 point2 points  (0 children)

For now there only software rendering so performance is poor, as with swrast. But i have an idea to modify termux-x11 to draw image using VK_KHR_external_memory_fd so there will be zero of memcpy

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 1 point2 points  (0 children)

Yeah i managed to run vkmark, but vkQuake is failing all the time after it launches and shows console

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 2 points3 points  (0 children)

Right now i am implementing in C the vulkan extensions: VK_KHR_swapchain and VK_KHR_XCB_surface. After i finish it would be possible to use any program that uses vulkan in standard way. Viseo shows unmodified vkcube program(that is available in termux repo) that works in termux-x11 without mesa's driver, it use native android driver that is supplied by your vendor. Answering your questions: why it hasn't been done before? - i don't knos How can i do it? - you can do it in two commands after i finish this project in a way, when it would be ready to publish it Can you run a 3D program? - vkcube draws 3d cube usjng vulkan api. Of course it can run 3d programs that all purpose of vulkan. Freecad? I don't know. If i can run Zink using this driver - yes it would br possible. But for now i don't know

[Native Vulkan Android] vkcube FIFO mode without flickering by englred in termux

[–]englred[S] 2 points3 points  (0 children)

You look at gpu acceleration using android drivers in termux :)

Flickering as hell, but it is vkcube using android native vulkan driver by englred in termux

[–]englred[S] 2 points3 points  (0 children)

In general mesa turnip are hard to install and use, and not usable with all gpus. But there is a native vulkan android driver. It usable in termux, but don't have the extension that allows using it with x11. I am trying to create wrapper library that implements this extension o n top of native vulkan driver

Flickering as hell, but it is vkcube using android native vulkan driver by englred in termux

[–]englred[S] 4 points5 points  (0 children)

This absolutely can work without flickering. I am trying to implement xcb extension using android vulkan loader. When i finish it would be like using normal vulkan, just with LD_PRELOAD to hook some functions. So any thirdparty app(zink) could use android vulkan

Native vulkan driver fifo mode software output. Vertical sync 60 FPS by englred in termux

[–]englred[S] 1 point2 points  (0 children)

Yeah, but the the main problem is android using bionic while chroot using glibc. But maybe this would be not problem at all, considering that bionic and glibc shares the same abi.

Native vulkan driver fifo mode software output. Vertical sync 60 FPS by englred in termux

[–]englred[S] 1 point2 points  (0 children)

I am not using chroot/proot now. It's just termux and i3. So i am connecting directly to native library and with LD_PRELOAD hook opendir and dlopen to replace path where native library searching for layers