Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Raspberry Pi OS • Re: Pi5 and Wayland slow

$
0
0
Ah,

when running the SDL application from a terminal, try this:

SDL_VIDEODRIVER=wayland <name of SDL app to run>
But where would I put this configuration clause?
...
Wherever the command is to run your particular application. Or you could in theory add it to the user's environment by inserting it in their .profile file (i.e. /home/<username>/.profile). All the above does is set the environment variable $SDL_VIDEODRIVER to 'wayland' - the application (or SDL) then changes its behaviour accordingly.

Statistics: Posted by andrum99 — Sun Mar 10, 2024 3:08 pm



Viewing all articles
Browse latest Browse all 5224

Trending Articles