Skip to content

Instantly share code, notes, and snippets.

View 7tg's full-sized avatar
🪲
Debugging

Barbaros G. 7tg

🪲
Debugging
View GitHub Profile
from statistics import mean
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
style.use('fivethirtyeight')
xs = np.array([1, 2, 3, 4, 5, 6], dtype=np.float64)
ys = np.array([5, 4, 6, 5, 6, 7], dtype=np.float64)
@7tg
7tg / install.sh
Created January 4, 2021 07:09 — forked from kaitwalla/install.sh
PopOS enhanced session install.sh
#!/bin/bash
#
# This script is for Ubuntu 20.04 Focal Fossa to download and install XRDP+XORGXRDP via
# source.
#
# Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips.
#
###############################################################################
alert("I'm working");
@7tg
7tg / README.md
Created July 31, 2026 08:27
Per-client native resolutions (+HDR) for headless Sunshine game streaming via custom EDID modes (Linux/Wayland/amdgpu)

Per-client native resolutions (+ HDR) for headless Sunshine streaming, via custom EDID modes

Stream from a Linux Sunshine host to devices with non-standard native panels — a 19.5:9 phone (2416×1080@120), a notched MacBook Air 15" M2 (2880×1864@60), a 16:10 120 Hz tablet (2560×1600@120) — at each device's exact resolution and refresh, so nothing is letterboxed or downscaled.

The trick: add custom modes to the EDID of the headless HDMI dongle the host renders to, then point per-client Sunshine apps at those modes.


The problem