Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
madushan1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
madushan1000
1mo ago
This is sort of a solved problem with virtio native context. You can just run mesa driver in the virtual machine and proxy it's ioctl calls to host kernel gpu driver. I'm pretty sure all the major GPU drivers in mesa now supports
2.
▲
by
madushan1000
2mo ago
x86 is a horrible architecture, but most of the modern high performance processors are x86. They're only now getting around to making comparatively performant ARM chips. Not having decently performing risc-v chips right now doesn'
3.
▲
by
madushan1000
2mo ago
Two days sounds like a lot, both llama.cpp and openvino only takes a few minutes to compile on any decent modern cpu.
4.
▲
by
madushan1000
6mo ago
you can run linux on riscv without an MMU. There is mainline support for Kendryte K210 chip, so it should be possible port to this chip provided you have enough PSRAM.
5.
▲
by
madushan1000
6mo ago
Interesting that they made a new chip with BLE+BR/EDR again. all the chips after the original ESP32 were BLE only. Hope this chip has good low power options so we can use it in Bluetooth audio workloads.
6.
▲
by
madushan1000
6mo ago
I really wish uv had some sandboxing built in.
7.
▲
by
madushan1000
6mo ago
What's wrong with OCCT?
8.
▲
by
madushan1000
1y ago
Why not though, from what I can see from the docs, these databases supposed to be static and read only. At least when you use it on a device.
9.
▲
by
madushan1000
1y ago
Redox Os is a microkernel operating system, completely different from monolithic kernels like Linux or BSD. I doubt it'll be easy to get existing ZFS drivers working on it at all.
10.
▲
by
madushan1000
2y ago
check here https://review.video.fosdem.org/overview
11.
▲
by
madushan1000
3y ago
Thank you for the info. I use AMD consumer GPUs, none of them unfortunately support SR-IOV afaik, there are some developments from google around virtio-gpu(DRM native context) I've been following, I was hoping this was something simila
12.
▲
by
madushan1000
3y ago
I'm really curious about this, is it gpu para-virtualization or actual VFIO requiring built in support from the gpu hardware?
13.
▲
by
madushan1000
3y ago
AMD gpu drivers are in the linux kernel. They support even very old hardware. And linux only drops drivers when there are no users. So amd cards stay supported for basically their entire lifetime.
14.
▲
by
madushan1000
3y ago
It's also well known the driver is massive because there are hundreds of thousands of lines of auto-generated register access code in there. Not because it's inherently very complex.
15.
▲
by
madushan1000
3y ago
What do you mean? most complicated parts of the gpu driver are in userland and handled by Mesa or equivalent. Kernel drivers expose a standard interface(DRM) which userspace drivers use to upload compiled gpu programs and manage gpu memory.
16.
▲
by
madushan1000
3y ago
I think bl602 shares the wifi rf/mac layer with esp32. There is a monitor mode implementation here https://github.com/stschake/bl60x-wifimon/
17.
▲
by
madushan1000
3y ago
Virgl just sends opengl commands to the host. And it also has to copy some buffers back and forth. So it won't be as fast as vfio. But, there is a new feature called VirtGPU DRM native contexts which eliminates some of this overhead an
18.
▲
by
madushan1000
3y ago
BTW, the chip vendor is sophgo, they have a github account with a lot of open source code for these chips here https://github.com/sophgo
19.
▲
by
madushan1000
3y ago
It has hardware IRQ muxing, this is the driver ( https://github.com/smaeul/linux/commit/16eafe2078ebe9306d095... ), we already use if for booting off sdcard/ethernet/usb etc..
20.
▲
by
madushan1000
3y ago
The chip has complete-ish sdk here( https://github.com/bouffalolab/bouffalo_sdk ) we use as "documentation". Datasheet and the reference manual are incomplete.
21.
▲
by
madushan1000
3y ago
There is an effort to write linux drivers for peripherals in Pine Ox64 https://wiki.pine64.org/wiki/Ox64 , the chip(BL808) documentation is not that great. But would be a good exercise to write some drivers.
22.
▲
by
madushan1000
4y ago
Linux has a rule to "never break the userland". So if you maintain your own userland(libc/gui libs, etc..) even the latest kernel will run your old software.
23.
▲
by
madushan1000
4y ago
Chromeos uses crosvm, not qemu. Qemu uses virgl to provide opengl, but I think vulkan is still in the works. You can use crosvm on Linux too,works pretty well, it uses a newer version of virgl to provide vulkan.
24.
▲
by
madushan1000
4y ago
I guess nobody bothered to add vulkan support due to almost unusable performance without reclocking. Hopefully some work will get started with this news!
25.
▲
by
madushan1000
4y ago
Probably all their "enterprise" feature lockouts(vgpu etc..) are in the gigantic firmware that's loaded into GSP. But things that matter to desktop users probably aren't going to be locked out this way.
26.
▲
by
madushan1000
4y ago
With the kernel driver open source + redistributeble firmware I guess the graphics APIs can be provided by mesa.
27.
▲
by
madushan1000
5y ago
Not only that, we were able to reduce the total virtual machine ram where our monitoring was hosted by half and storage is more efficient too I think when we switched to victoriametrics.
28.
▲
by
madushan1000
5y ago
Checkout toby extension, unfortunately only for chrome.
29.
▲
by
madushan1000
5y ago
Also if you have secureboot on,you won't be able to load ashmem because it's not signed by default by ubuntu. That is without signing the module yourself. I have waydroid running in 21.04 without any issues.
30.
▲
by
madushan1000
5y ago
No key replacement service, but lenovo will actually sell a replacement keyboard for you[0]. And they have videos on their website on how to replace the parts. [0]: https://support.lenovo.com/us/en/partsorder
More ›