Skip to content

"Cannot create wl_display" (Wayland issue) #3447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
digisus opened this issue Feb 25, 2025 · 1 comment
Open

"Cannot create wl_display" (Wayland issue) #3447

digisus opened this issue Feb 25, 2025 · 1 comment

Comments

@digisus
Copy link

digisus commented Feb 25, 2025

Hi! I am on Debian trixie/sid with v4.5.1 via flatpak.

op@x1:~$ flatpak run net.sonic_pi.SonicPi
Starting Sonic Pi...
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Gtk-Message: 21:02:16.213: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:02:16.213: Failed to load module "canberra-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Qt: Session management error: Could not open network socket

(I find the empty "" is most irritating)

The app boots but I cannot hear anything when I click "play."

Thanks for any helpful tips!

@rbnpi
Copy link
Contributor

rbnpi commented Feb 26, 2025

Hi there. I installed a virtual trixie today using UTM on my Mac. I haven't tried the flatpack on it yet, but I did build the latest SP from source using the latest commit today #ce240b5 because it is now easy to build in linux. I needed the following steps on my new virtual trixie.
install git
clone the SP image into a convenient folder. I created dev in the home folder

git clone https://sonic-pi/sonic-pi-net
open the BUILD-LINUX.md file and scroll down to the list of debian packages required. Copy this and execute

sudo apt-get install -y build-essential git libssl-dev ruby-dev elixir erlang-dev erlang-xmerl qt6-tools-dev qt6-tools-dev-tools libqt6svg6-dev libqt6opengl6-dev supercollider-server sc3-plugins-server alsa-utils  libasound2-dev cmake ninja-build pipewire-jack libspa-0.2-jack qt6-wayland libwayland-dev libxkbcommon-dev libegl1-mesa-dev libx11-dev libxft-dev libxext-dev qpwgraph compton m4 libaubio-dev libpng-dev libboost-all-dev librtmidi-dev

open the folder sonic-pi/app and run the script

./linux-build-all.sh

Have a cup of tea and wait for the build to finish.
run your newly installed sonic pi in my case

~/dev/sonic-pi/bin/sonic-pi

NB all of the installed packages were on the iso disk I downloaded for the install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants