Emulator Issues #13702
openDolphin won't load at all.
0%
Description
Game Name?
Not applicable.
Game ID? (right click the game in the game list, Properties, Info tab)
Not applicable.
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
Not applicable.
What's the problem? Describe what went wrong.
I just now compiled Dolphin on Ubuntu 20.04.6 LTS, using all the instructions from the Dolphin Emulator's GitHub page.
However, upon running it I get:
sonicandtailscd@****-PC:~/Documents/Projects/dolphin-build/Binaries$ ./dolphin-emu -d
An error occurred.
Condition: icon.availableSizes().size() > 0
File: /home/sonicandtailscd/Documents/Projects/dolphin/Source/Core/DolphinQt/Resources.cpp
Line: 53
Function: LoadNamedIcon
Ignore and continue?
Illegal instruction (core dumped)
I've researched this, and it looks like this allows you to just skip the error and it works fine... NOT FOR ME! I get a crash. ;-;
What steps will reproduce the problem?
Here's what I did:
- Install the necessary dependencies:
sudo add-apt-repository ppa:okirby/qt6-backports; sudo apt update; sudo apt install build-essential git cmake ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libevdev-dev libusb-1.0-0-dev libxrandr-dev libxi-dev libpangocairo-1.0-0 qt6-base-private-dev libqt6svg6-dev libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev libcurl4-openssl-dev
- Went to my projects folder:
cd ~/Documents/Projects
- Made a build folder:
mkdir dolphin-build
- Cloned Dolphin:
git clone https://github.com/dolphin-emu/dolphin.git; cd dolphin
- Get the sub-modules:
git -c submodule."Externals/Qt".update=none -c submodule."Externals/FFmpeg-bin".update=none -c submodule."Externals/libadrenotools".update=none submodule update --init --recursive; git pull --recurse-submodules
- Install GCC and G++:
sudo apt install g++-11 gcc-11
- Moved to
../dolphin_build
(cd ../dolphin_build
) - Ran CMake:
cmake ../dolphin -DLINUX_LOCAL_DEV=true -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-march=native -DCMAKE_C_FLAGS=-march=native
(yes, optimized mode) - Compiled the emulator:
make -j2
(why not withmake -j$(nproc)
? Well,nproc
gave me 2 sooo) - Once done, ran:
./dolphin_emu
(inside./Binaries
) - Get the instant crash with no way out.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
I'm not sure, I only tested the Stable release.
Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.
This is the latest release. Dolphin 2412-36
If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
Not applicable, this is the latest release.
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
This is not applicable.
What are your PC specifications? (CPU, GPU, Operating System, more)
This is what I got from running neofetch
:
sonicandtailscd@SystemOS-PC
---------------------------
OS: Ubuntu 20.04.6 LTS x86_64
Kernel: 5.15.0-122-generic
Uptime: 1 hour, 43 mins
Packages: 2715 (dpkg), 12 (snap)
Shell: bash 5.0.17
Resolution: 1680x1050, 1366x768
DE: GNOME
WM: Mutter
... Some lines removed to protect privacy ...
Terminal: gnome-terminal
CPU: Intel Celeron G540 (2) @ 2.500GHz
GPU: NVIDIA GeForce GT 520
GPU: Intel 2nd Generation Core Processor Family
Memory: 2622MiB / 3812MiB
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
I don't believe so (for now at least).
Files
Updated by Dentomologist 3 days ago
It looks like you've missed the step after make
where (from the build directory) you do cp -r ../Data/Sys/ Binaries/
(or make a symlink if you prefer).
Updated by SonicandTailsCD about 24 hours ago
Dentomologist wrote in #note-1:
It looks like you've missed the step after
make
where (from the build directory) you docp -r ../Data/Sys/ Binaries/
(or make a symlink if you prefer).
Ah, that was the issue! Thanks! Problem solved. :)