Skip to content
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

Dolphin fails with Segmentation Fault on fresh install Raspberry PI 4 Model B #206

Closed
White-waluigi opened this issue Jan 14, 2024 · 6 comments
Assignees

Comments

@White-waluigi
Copy link

White-waluigi commented Jan 14, 2024

I have a RPI 4 Model B with RPI OS 32bit and installed PiKiss. I tried to install dolphin but it gave me a Segementation fault:

Press [ENTER] to run the emulator...
./scripts/emus/dolphin.sh: line 14: 3145 Segmentation fault /usr/local/bin/dolphin-emu

I tried to find more Information but unfortunately a log file was not created.

It did create a file .dolphin-emu/Wii/sys/uid.sys which is empty. I did not find a log.

I also get Segementation Fault if I run it directdly

@jmcerrejon jmcerrejon self-assigned this Jan 14, 2024
@jmcerrejon
Copy link
Owner

I guess you are trying on RPi OS 32-Bit (not available on 64-bit).

@White-waluigi
Copy link
Author

White-waluigi commented Jan 14, 2024

Yes the 32 bit version.

@jmcerrejon
Copy link
Owner

I'm burning the OS 32-bit version and check it out. Keep you informed.

@jmcerrejon
Copy link
Owner

I'm checking my script and is outdated (2020!). It was not compiled by myself, but I see instructions to do it and It does not seem difficult. I'll try to compile it next week. Try another emulator in the meantime 😅

@White-waluigi
Copy link
Author

White-waluigi commented Jan 22, 2024

Got it running with these instructions on 64bit:

sudo apt update

sudo apt upgrade

sudo apt install --no-install-recommends ca-certificates qtbase5-dev qtbase5-private-dev git cmake make gcc g++ pkg-config libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxi-dev libxrandr-dev libudev-dev libevdev-dev libsfml-dev libminiupnpc-dev libmbedtls-dev libcurl4-openssl-dev libhidapi-dev libsystemd-dev libbluetooth-dev libasound2-dev libpulse-dev libpugixml-dev libbz2-dev libzstd-dev liblzo2-dev libpng-dev libusb-1.0-0-dev gettext

sudo apt install mesa-vulkan-drivers

sudo apt install qt6-base-dev qt6-svg-dev qt6-base-private-dev

git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu

cd dolphin-emu

git submodule update --init --recursive
mkdir build
cd build
cmake ..

make -j4

sudo make install

sudo reboot

32bit doesn't work since it needs atomic operations which I assume aren't available in 32 bit

@jmcerrejon
Copy link
Owner

Fixed at 3f4d237

Thank for you help, @White-waluigi!. ☺️

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

No branches or pull requests

2 participants