My heart, on canvas

My heart, on canvas
My wife just called my Switch 2 a Game Boy. I’d request that everyone please respect my privacy during this difficult time
People always ask me what it’s like to be right all the time and I always tell them: single.
A great thing about being on the East Coast is that you get to use Claude before the West Coast wakes up and crushes the capacity
It’s amazing how our brains can just compute jacobians, am I right?
A complete guide for 4k HDR gaming, 3D audio, and Xbox controller support
This guide covers the complete setup process for gaming on Ubuntu 25.04 with an NVIDIA RTX 4090, including HDR support, spatial audio, and Xbox Elite 2 controller configuration. These instructions are based on real-world testing and successful implementations.
# Add the official graphics drivers PPA for newest drivers
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
# Check available drivers
ubuntu-drivers devices
# Install NVIDIA 575 driver (proprietary - required for HDR support)
sudo apt install nvidia-driver-575
# Important: Do NOT use the open-source nouveau or NVK drivers as they don't support HDR or ray tracing
Create the NVIDIA configuration file:
sudo nano /etc/modprobe.d/nvidia-drm.conf
Add this line:
options nvidia-drm modeset=1
Update initramfs and reboot:
sudo update-initramfs -u
sudo reboot
# Check driver version
nvidia-smi
# Verify DRM modeset is enabled
cat /sys/module/nvidia_drm/parameters/modeset
# Should output "Y"
# Verify you're using proprietary driver, not NVK
glxinfo | grep "OpenGL renderer"
# Should show: NVIDIA GeForce RTX 4090/PCIe/SSE2
# NOT: NVK
Ubuntu 25.04 includes native HDR support through GNOME 48. While this enables HDR for the desktop, games do not recognize this HDR support directly.
Important Note: Even with HDR enabled in GNOME, games did not detect HDR capability without using Gamescope. The GNOME compositor’s HDR implementation is not recognized by games running through Wine/Proton at the time of writing.
To get HDR working in games, you must use Gamescope as a wrapper. Gamescope provides the HDR signaling that games can detect and use.
sudo apt install gamescope
For all games requiring HDR, use this launch command in Steam:
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait DXVK_HDR=1 gamescope -W 3840 -H 2160 -w 3840 -h 2160 -r 160 --hdr-enabled --hdr-debug-force-output -f -- %command%
Command breakdown:
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait
– Prevents frame presentation hangsDXVK_HDR=1
– Enables HDR in DirectX translation layergamescope
– The wrapper that provides HDR support-W 3840 -H 2160
– Output resolution (4K)-w 3840 -h 2160
– Game internal resolution (4K native)-r 160
– Refresh rate limit--hdr-enabled
– Enable HDR mode--hdr-debug-force-output
– Force HDR output even if game doesn’t request it-f
– Fullscreen modeNote: Without Gamescope, games will not detect HDR capability even though the desktop has HDR enabled. This is a limitation of the current GNOME HDR implementation.
Getting Diablo 4 working with HDR and ray tracing requires installing Battle.net through Steam using Proton, then launching with Gamescope.
Battle.net-Setup.exe
to a known location (e.g., ~/Downloads/
)Battle.net-Setup.exe
and click “Add Selected Programs”# It will be in a path like: ~/.steam/steam/steamapps/compatdata/[STEAM_ID]/pfx/drive_c/Program Files (x86)/Battle.net/Battle.net.exe
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait DXVK_HDR=1 gamescope -W 3840 -H 2160 -w 3840 -h 2160 -r 160 --hdr-enabled --hdr-debug-force-output -f -- %command%
Critical: The Battle.net-Setup.exe entry creates the Proton prefix (folder structure) that Diablo 4 needs. You must keep it but can hide it:
Ray tracing requires the proprietary NVIDIA driver (575). If ray tracing options are grayed out:
glxinfo | grep "OpenGL renderer" # Must show: NVIDIA GeForce RTX 4090/PCIe/SSE2 # NOT: NVK
# Core audio packages
sudo apt install pipewire pipewire-pulse pipewire-alsa wireplumber
sudo apt install pavucontrol helvum alsa-utils
# OpenAL for 3D positional audio
sudo apt install libopenal1 libopenal-data openal-info
# Audio effects processor
sudo apt install easyeffects
Create OpenAL configuration:
mkdir -p ~/.config/openal
nano ~/.config/openal/alsoft.conf
Add this configuration:
[general]
hrtf = true
hrtf-mode = full
frequency = 48000
channels = stereo
sample-type = float32
[pulse]
allow-moves = true adjust-latency = true fix-rate = true
[hrtf]
search-path = /usr/share/openal/hrtf search-path = ~/.local/share/openal/hrtf
Create a safe virtual surround configuration:
# Create virtual surround sink
pactl load-module module-remap-sink \
sink_name=virtual-surround \
sink_properties=device.description="Virtual 5.1 Surround" \
master=@DEFAULT_SINK@ \
channels=6 \
channel_map=front-left,front-right,front-center,lfe,rear-left,rear-right \
remix=no
easyeffects
# Test surround sound
speaker-test -t wav -c 6
# For Steam games, add to launch options if needed:
PULSE_LATENCY_MSEC=60 %command%
The xpadneo driver provides better Xbox controller support:
# Install dependencies
sudo apt install dkms linux-headers-$(uname -r)
# Clone and install xpadneo
git clone https://github.com/atar-axis/xpadneo.git
cd xpadneo
sudo ./install.sh
If Steam doesn’t detect your controller:
# Add user to input group
sudo usermod -a -G input $USER
# Log out and back in for changes to take effect
# Test controller at system level
sudo apt install joystick
jstest /dev/input/js0
# Force Steam to use Linux joystick interface
SDL_JOYSTICK_HIDAPI=0 steam
For persistent fix, add to ~/.bashrc
:
export SDL_JOYSTICK_HIDAPI=0
Set CPU to performance mode while gaming:
sudo apt install cpupower
sudo cpupower frequency-set -g performance
# Set GPU to maximum performance
sudo nvidia-smi -pm 1
sudo nvidia-smi -pl 450 # Set power limit (adjust for your card)
For X11 sessions, disable compositor effects:
# Add to game launch options
__GL_YIELD="USLEEP" %command%
bluetoothctl devices
cat /proc/bus/input/devices | grep Xbox
SDL_JOYSTICK_HIDAPI=0 steam
ls -la /dev/input/js*
systemctl --user restart pipewire pipewire-pulse wireplumber
pactl list short sinks
pkill -f pipewire
pkill -f wireplumber
pkill -f easyeffects
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait
in the launch command should fix this# Check NVIDIA driver
nvidia-smi
# Verify DRM modeset
cat /sys/module/nvidia_drm/parameters/modeset
# Test controller
jstest /dev/input/js0
# Check audio setup
pactl list short sinks
speaker-test -t wav -c 6
# Monitor GPU performance
nvidia-smi dmon -s pucvmet
For all games requiring HDR, use this single command:
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait DXVK_HDR=1 gamescope -W 3840 -H 2160 -w 3840 -h 2160 -r 160 --hdr-enabled --hdr-debug-force-output -f -- %command%
This setup has been tested and confirmed working with:
Happy gaming on Linux!
https://ground.news/article/researchers-say-ai-designed-antibiotics-could-defeat-superbugs-gonorrhoea-and-mrsa?utm_source=mobile-app&utm_medium=article-share
Vampire Survivors is better than it has any right to be. Normally I’m not a huge fan of Roguelikes but this has to be the perfect handheld mobile game
“It’s not a race” said the loser of the race