-
Notifications
You must be signed in to change notification settings - Fork 114
Switch SDL Videodriver between Wayland and x11
Stephan Raabe edited this page Jul 31, 2024
·
2 revisions
Some games are using old SDL version that is compiled without Wayland support. That means they will not likely want to run - crash on startup - if SDL_VIDEODRIVER is set to Wayland.
You can switch between wayland and x11 in the file ~/dotfiles/hypr/conf/custom.conf:
# SDL version
env = SDL_VIDEODRIVER,wayland
# env = SDL_VIDEODRIVER,x11
Please note: In versions before 2.9.5RL you find the entry in ~/dotfiles/hypr/conf/ml4w.conf
env = GDK_BACKEND,wayland,x11,* env = SDL_VIDEODRIVER,wayland env = CLUTTER_BACKEND,wayland
Please move env = SDL_VIDEODRIVER,wayland to your custom.conf
- Installation
- Update
- Uninstall
- Installation options
- Installation in a KVM Virtual Machine
- Protect your configuration and customize the installation
- Activate another ML4W Dotfiles installation
- Automate the installation and update
- Using the ML4W Dotfiles on other Distributions
- Hyprland and NVIDIA
- Switch SDL Videodriver between Wayland and X11