About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
unkernel
tsiry-sandratraina.com
/
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
An experimental port of NetBSD, FreeBSD, OpenBSD, and XNU to unkernel
unkernel.dev
unkernel
linux
freebsd
netbsd
wasm
+5 more
unkernel
linux
freebsd
netbsd
wasm
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
unkernel
/
test
/
gpu
10 files
at
native/wasmtime-host
Pooya Parsa
·
gl: keep textures that WebGL refuses off used sampler units, so that such a draw lands (#27)
·
5d ago
c5ec8fdd
check.mjs
js, web: a display size change reaches the guest's DRM mode: updateDisplaySize() on a running machine (inline and worker mode) raises virtio-gpu's display event when the fitted size differs from what the driver read, so the guest gets a hotplug with the new preferred mode (64 to 4095 a side, the EDID's pixel clock kept); the page calls it 300 ms after the stage's size last changed; X has no udev to hear the hotplug, so the X demo follows it with xrandr
1w ago
feedback.c
gl: keep textures that WebGL refuses off used sampler units, so that such a draw lands (#27)
5d ago
flip-check.mjs
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
1w ago
int-attrib.c
gl: window images and WebGL2 fixes in the renderer: vm.gl.gpu.image() gives a resource as an ImageBitmap with alpha, without readback (kw_vgpu_blit; the context now has alpha and presentation writes it opaque), for a page compositor showing guest dmabufs by resource id; snapshots are refused only while a 3D resource exists or a context has submitted commands, and a restored device recreates an idle context; a failed 3D command records its reason (stats.lastError), a lost WebGL context fails every command at once, and the blit clears the GL errors it leaves; virglrenderer patches 14 to 16: border clamp maps to edge clamp, vertex inputs and colour outputs are typed on WebGL2 (Firefox's WebRender draws with integer attributes: its context went into error and its window stayed transparent), integer colour buffers are cleared with glClearBuffer
1w ago
kms-dumb.c
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
1w ago
kms-flip.c
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
1w ago
kms-hotplug.c
js, web: a display size change reaches the guest's DRM mode: updateDisplaySize() on a running machine (inline and worker mode) raises virtio-gpu's display event when the fitted size differs from what the driver read, so the guest gets a hotplug with the new preferred mode (64 to 4095 a side, the EDID's pixel clock kept); the page calls it 300 ms after the stage's size last changed; X has no udev to hear the hotplug, so the X demo follows it with xrandr
1w ago
msaa.c
gl: multisampling on WebGL2 (virglrenderer patch 17): multisample resources become multisample renderbuffers on a host without multisample textures, so Mesa offers 4 samples, ANGLE in the guest's Chromium gets its ES 3.0 context and Chromium composites and runs WebGL on the GPU (it exited its GPU process and fell back to software); the chromium hook names Mesa's EGL packages where they are missing
1w ago
prime.c
gl: window images and WebGL2 fixes in the renderer: vm.gl.gpu.image() gives a resource as an ImageBitmap with alpha, without readback (kw_vgpu_blit; the context now has alpha and presentation writes it opaque), for a page compositor showing guest dmabufs by resource id; snapshots are refused only while a 3D resource exists or a context has submitted commands, and a restored device recreates an idle context; a failed 3D command records its reason (stats.lastError), a lost WebGL context fails every command at once, and the blit clears the GL errors it leaves; virglrenderer patches 14 to 16: border clamp maps to edge clamp, vertex inputs and colour outputs are typed on WebGL2 (Firefox's WebRender draws with integer attributes: its context went into error and its window stayed transparent), integer colour buffers are cleared with glClearBuffer
1w ago
window-image.c
gl: window images and WebGL2 fixes in the renderer: vm.gl.gpu.image() gives a resource as an ImageBitmap with alpha, without readback (kw_vgpu_blit; the context now has alpha and presentation writes it opaque), for a page compositor showing guest dmabufs by resource id; snapshots are refused only while a 3D resource exists or a context has submitted commands, and a restored device recreates an idle context; a failed 3D command records its reason (stats.lastError), a lost WebGL context fails every command at once, and the blit clears the GL errors it leaves; virglrenderer patches 14 to 16: border clamp maps to edge clamp, vertex inputs and colour outputs are typed on WebGL2 (Firefox's WebRender draws with integer attributes: its context went into error and its window stayed transparent), integer colour buffers are cleared with glClearBuffer
1w ago