Skip to content

Instantly share code, notes, and snippets.

View Pixelsuft's full-sized avatar
:octocat:

pixelsuft‮ Pixelsuft

:octocat:
View GitHub Profile
@Pixelsuft
Pixelsuft / nodejs_text_screen.js
Last active August 3, 2022 12:36
v86 nodejs text screen example
#!/usr/bin/env node
"use strict";
var fs = require("fs");
var V86Starter = require("../build/libv86.js").V86Starter;
function readfile(path)
{
return new Uint8Array(fs.readFileSync(path)).buffer;
}
@joanbm
joanbm / nvidia-470xx-fix-linux-6.12.patch
Last active March 4, 2025 20:24
Tentative fix for NVIDIA 470.256.02 driver for Linux 6.12-rc1
From 839b964bd5be20275a4d1add020e68e407380adb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]>
Date: Sat, 17 Aug 2024 14:26:04 +0000
Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.12-rc1
Note that the fix requires enabling DRM kernel mode setting
(add the `nvidia-drm.modeset=1` parameter to the kernel command line).
(Thanks xtexChooser for the memory management fixes!)
---