Last active
October 15, 2023 23:19
-
-
Save matu3ba/cfd9289a01810b5204af2334e4025d97 to your computer and use it in GitHub Desktop.
arcan DRI driver not from this Mesa build: dont mix old + new drivers! TODO best solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_nix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# arcandev/arcan/b.sh | |
set -eou pipefail | |
cmake -DVIDEO_PLATFORM=egl-dri -DSTATIC_SQLITE=ON -DSTATIC_OPENAL=ON \ | |
-DSTATIC_FREETYPE=ON -DBUILD_PRESET="everything" ../src | |
make -j 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DRI driver not from this Mesa build ('23.0.3' vs '23.1.7') | |
failed to bind extensions | |
DRI driver not from this Mesa build ('23.0.3' vs '23.1.7') | |
failed to bind extensions | |
DRI driver not from this Mesa build ('23.0.3' vs '23.1.7') | |
failed to bind extensions | |
DRI driver not from this Mesa build ('23.0.3' vs '23.1.7') | |
failed to bind extensions | |
platform_video_init() failed. | |
Error: couldn't initialize video subsystem. Check permissions, try other video platform options (-f, -w, -h) | |
Video platform configuration options: | |
(use ARCAN_VIDEO_XXX=val for env, or arcan_db add_appl_kv arcan video_xxx for db) | |
ignore_dirty - always update regardless of 'dirty' state | |
[ for multiple devices, append _n to key (e.g. device_2=) ] - | |
display_device=/path/to/dev - for multiple devices suffix with _n (n = 2,3..) | |
draw_device=/path/to/dev - set to display device unless provided | |
device_legacy - force-revert to legacy modeset | |
device_libs=lib1:lib2 - libs used for device | |
device_connector=ind - primary display connector index | |
device_wait - loop until an active connector is found | |
device_nodpms - set to disable power management controls | |
device_direct_scanout - enable direct rendertarget scanout | |
display_context=1 - set outer shared headless context, per display contexts | |
Graphics platform configuration options: | |
(use ARCAN_GRAPHICS_XXX=val for env, graphics_xxx=val for db) | |
Video platform initialization failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arcandev/ | |
arcan/ | |
arcan.wiki/ | |
durden/ | |
shell.nix | |
.envrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# arcandev/arcan/run.sh | |
# Run arcan durden | |
./arcan -T ../data/scripts -p ../data/resources ../../durden/durden |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# arcandev | |
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/01441e14af5e29c9d27ace398e6dd0b293e25a54.tar.gz") {} }: | |
pkgs.stdenvNoCC.mkDerivation { | |
name = "shell"; | |
nativeBuildInputs = with pkgs; [ | |
#time | |
#zlib | |
cmake | |
gdb | |
#libxml2 | |
ninja | |
pkg-config | |
#python3 | |
qemu | |
valgrind | |
#wasmtime | |
sqlite | |
openal | |
SDL2 | |
luajit | |
mesa #gbm | |
#kms | |
freetype | |
libxkbcommon | |
libvlc | |
ffmpeg | |
leptonica | |
tesseract | |
libvncserver | |
libusb1 | |
mupdf | |
# llvm 7 | |
# llvm | |
# lld | |
# clang | |
#]; | |
] ++ (with llvmPackages_16; [ | |
clang | |
clang-unwrapped | |
lld | |
llvm | |
]); | |
#hardeningDisable = [ "all" ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment