-
First connect whatever display you want to use Moonlight on. I'll be using a 65" Roku TV. I connected it to my laptop running Fedora and after my system detected it I use
for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; doneto find which directory has the EDID file for me it'sHDMI-A-1 -
Copy that edid file to your home directory
cp /sys/class/drm/card0-HDMI-A-1/edid ~/. Now get that edid file over to your Bazzite (streaming machine). I used LocalSend to transfer it. -
Create a directory to store this new edid file
sudo mkdir -p /usr/local/lib/firmwarethen place the file in theresudo mv ./edid.bin /usr/local/lib/firmware/ -
Add this new edid to your kernel args
sudo rpm-ostree kargs --append-if-missing="firmware_class.path=/usr/local/lib/firmware drm.edid_firmware=HDMI-A-1:edid.bin video=HDMI-A-1:e" -
Reboot
systemctl reboot. After you log back into Bazzite open up your Display Configuration window (right-click on desktop) and notice you h
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Drive\shell] | |
| @="none" | |
| [-HKEY_CLASSES_ROOT\Drive\shell\open] | |
| [HKEY_CLASSES_ROOT\Directory] | |
| @="File Folder" |
| use std::{f32::consts::PI, sync::Arc}; | |
| use realfft::{num_complex::Complex, RealFftPlanner, RealToComplex}; | |
| const N: usize = 1024; | |
| const SR: f32 = 44100.; | |
| pub struct Spectrum { | |
| fft: Arc<dyn RealToComplex<f32>>, | |
| real_buf: Vec<f32>, |
| cmake_minimum_required(VERSION 3.15) | |
| project(gain) # <-- change me | |
| # this CMakeLists.txt has a "gain_auv2" target that | |
| # converts the "gain.clap" file into AUv2 plugin "gain.component". | |
| # assumes the "gain.clap" file is located next to this CMakeLists.txt | |
| set(CLAP_PLUGIN_PATH "${CMAKE_CURRENT_SOURCE_DIR}/gain.clap") # <-- change me | |
| # the following lines are required to build AU SDK on macOS |
| [ | |
| // Navigation | |
| { | |
| "key": "ctrl-h", | |
| "command": "workbench.action.navigateLeft" | |
| }, | |
| { | |
| "key": "ctrl-l", | |
| "command": "workbench.action.navigateRight" | |
| }, |
| # update v1.1 (see revisions for older version; this has a smoother appearance for both DirectWrite and GDI) | |
| # Use with latest testing version of MacType only. | |
| # Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps. | |
| # Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome | |
| # Additional suggested tweak: use Winaero Tweaker (https://winaero.com/winaero-tweaker/) to change every system font to "Segoe UI Variable Small", if you are using Windows 11. This will make fonts in Win32 UI's consistent with WinUI UI's, where Segoe UI Variable is used. (Windows doesn't use Segoe UI Variable for those by default because the legacy ClearType re |
- Must Read/Watch Basics About Real-Time Audio Programming
- "Real-time audio programming 101: time waits for nothing": http://www.rossbencina.com/code/real-time-audio-programming-101-time-waits-for-nothing
- Video: Fabian Renn-Giles & Dave Rowland - Real-time 101
- Rust Audio Top Level Website: https://rust.audio/
- Awesome Audio DSP Link List: https://github.com/BillyDM/Awesome-Audio-DSP
This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.
Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.
You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.
To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).
Simular Guides
- (My) Perfect Gaming VM Setup with GPU Passthrough – Virtualization Server Part 14
- Configuring GPU Passthrough with VFIO on Fedora 30 notes
Usefull Commands
lspci -nnklist pci devicessudo grub2-mkconfig -o /etc/grub2-efi.cfgupdates the grubsudo call-a-friend @ballascalls the best knowledge base, fuck wiki 🤣
| # https://stackoverflow.com/questions/45833873/enable-win10-inbuild-hotspot-by-cmd-batch-powershell/60444585#answer-60444585 | |
| [Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null | |
| Add-Type -AssemblyName System.Runtime.WindowsRuntime | |
| $asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0] | |
| Function Await($WinRtTask, $ResultType) { | |
| $asTask = $asTaskGeneric.MakeGenericMethod($ResultType) | |
| $netTask = $asTask.Invoke($null, @($WinRtTask)) | |
| $netTask.Wait(-1) | Out-Null | |
| $netTask.Result |