Skip to content

Instantly share code, notes, and snippets.

@inferrna
inferrna / crocus_nine_bad.md
Last active September 9, 2023 18:20
List of DX9 games incompatible with crocus mesa driver + galliumnine on intel 2nd gen GPU
Game Operating System Wine version Platform Notes
Spec Ops: The Line Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Black screen after intro videos
Vampire the Masquerade: Bloodlines Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Gog Black screen after intro videos
Styx: Master of Shadows Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Black screen after intro videos, then crash (Use -force-d3d9 option to force DX9 mode)
Painkiller: Black Edition Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Menus OK, but crashes starting first level
Bioshock Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Load to menu then crash (Use -dx9 option to force DX9 mode)
Crysis Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Just crashes at start (Use -dx9 option to force DX9 mode)
@inferrna
inferrna / crocus_nine.md
Last active September 10, 2023 07:48
List of DX9 games compatible with crocus mesa driver + galliumnine on intel 2nd gen GPU
🚀 Game Operating System Wine version Platform Notes
👍 Hitman: Blood Money Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Runs with rare graphics glitches in cutscenes
👍 Beyond Good and Evil Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam
👍 Bully: Scholarship Edition Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam Runs just fine. Use -force-d3d9 option to force DX9 mode
👍 Fallout: New Vegas (PCR) Ubuntu 20.04 lutris-GE-Proton8-14-x86_64 Steam
@inferrna
inferrna / multilayer.rs
Last active August 4, 2020 16:06
Try to build multilayer perceptron based on https://github.com/raskr/rust-autograd
extern crate autograd as ag;
extern crate ndarray;
use ag::{ndarray_ext as arr, NdArray};
use ag::optimizers::adam;
use ag::rand::seq::SliceRandom;
use ag::tensor::Variable;
use ag::ndarray::s;
use rand::RngCore;
use std::ops::{Mul, Add, Div};
@inferrna
inferrna / get_morph.patch
Last active July 28, 2017 10:54
Patch for produce morph-label-set, morphology-map and char_ngram_map files from syntaxnet train process.
diff --git a/syntaxnet/syntaxnet/lexicon_builder.cc b/syntaxnet/syntaxnet/lexicon_builder.cc
index f1346a8..e9fb413 100644
--- a/syntaxnet/syntaxnet/lexicon_builder.cc
+++ b/syntaxnet/syntaxnet/lexicon_builder.cc
@@ -18,6 +18,7 @@ limitations under the License.
#include "syntaxnet/affix.h"
#include "syntaxnet/dictionary.pb.h"
+#include "syntaxnet/morphology_label_set.h"
#include "syntaxnet/feature_extractor.h"
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1912.5)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 2
$ OFFSET32_BIT=1 CLANG_HOME=/usr/lib/llvm-3.8 py.test -svx test/tf/test_tf.py======================================================================== test session starts =========================================================================
platform linux -- Python 3.5.2, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python3
cachedir: .cache
rootdir: /media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl, inifile: pytest.ini
collected 2 items
test/tf/test_tf.py::test_cwise_sqrt context <pyopencl.Context at 0x222ece0 on <pyopencl.Device 'Pitcairn' on 'AMD Accelerated Parallel Processing' at 0x22b9f30>>
options []
opt_options []
iropencl_options []
struct class_Eigen__array {
int f0[1];
};
struct Eigen__internal__scalar_sqrt_op {
char f0;
};
struct Eigen__DSizes {
struct class_Eigen__array f0;
};
struct Eigen__TensorEvaluator_3 {
$ make run-tests
[ 1%] Built target clew
[ 8%] Built target patch-hostside
[ 16%] Built target easycl
[ 56%] Built target clblast
[ 78%] Built target cocl
Scanning dependencies of target run-singlebuffer
Scanning dependencies of target run-teststream
Scanning dependencies of target run-testnullpointer
Scanning dependencies of target run-testpartialcopy
@inferrna
inferrna / out.py
Last active November 28, 2016 16:35
$ OFFSET32_BIT=1 CLANG_HOME=/usr/lib/llvm-3.8 py.test -svx test/test_compile.py -k pointerpointer.cu-myte6kernel
======================================================================== test session starts =========================================================================
platform linux -- Python 3.5.2, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python3
cachedir: .cache
rootdir: /media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl, inifile: pytest.ini
collecting 0 itemsmarking xfail
marking xfail
marking xfail
marking xfail
collected 9 items
============================= test session starts ==============================
platform linux -- Python 3.5.2, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python3
cachedir: .cache
rootdir: /media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl, inifile: pytest.ini
collecting ... collected 2132 items
test/test_addressspace.py::test_getelementptr_struct_local PASSED
test/test_addressspace.py::test_getelementptr_struct_global PASSED
test/test_alloca.py::test_alloca PASSED
test/test_branching.py::test_test_if PASSED