Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

sway: export SDL_VIDEODRIVER env var to fix ppsspp (wayland+sdl) #3067

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

stolen
Copy link
Contributor

@stolen stolen commented Mar 24, 2024

fix ppsspp segfault with sway by exporting SDL_VIDEODRIVER=wayland env variable

Description

ppsspp got a segmentation fault when initializing video output while sway was running.
turned out SDL needs an environment variable to work with wayland.

weston already had this, this PR sets the variable in profile.d/050-sway too

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested Locally?

  • fresh install (dd), first boot RG503, Tools -> Start PPSSPP

Test Configuration:

  • Build OS name and version: Ubuntu 22.04.4 LTS
  • Docker (Y/N): Y
  • JELOS Branch: dev
  • Any additional information that may be useful:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Note: This PR template is adapted from embeddedartistry

@sydarn sydarn merged commit 8f410bc into JustEnoughLinuxOS:dev Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants