Emulator Issues #13267
closedArch Linux install and crashes
0%
Description
What's the problem? Describe what went wrong.
On arch Linux, I cannot use the AUR to install the git version of dolphin. Something goes wrong in the compilation. I was able to install the official pacman version, but the second I click on a game, it crashes, saying "Segmentation fault (core dumped)"
What steps will reproduce the problem?
install either the AUR git package, or the pacman package.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes. IDK what the latest dev version would be since it is git.
Is the issue present in the latest stable version?
Yes, but this is the issue where it just crashes after trying to load a game. Version number is: 1:5.0.r19368.dadbeb4bae-1
What are your PC specifications? (CPU, GPU, Operating System, more)
Hardware is not the issue, but I think it does have something to do with the OS. endeavor OS, latest version, KDE plasma, wayland
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
here is the message that plays when I run the pacman version:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
here is the message that plays after I try to play a game:
Segmentation fault (core dumped)
here is the compile message I get trying to install the AUR git version:
In static member function ‘static constexpr _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = unsigned int; _Up = unsigned int; bool _IsMove = false]’,
inlined from ‘constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = unsigned int*; _OI = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_algobase.h:506:30,
inlined from ‘constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = unsigned int*; _OI = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_algobase.h:533:42,
inlined from ‘constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = unsigned int*; _OI = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_algobase.h:540:31,
inlined from ‘constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned int*; _OI = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_algobase.h:633:7,
inlined from ‘static _ForwardIterator std::__uninitialized_copy::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_uninitialized.h:147:27,
inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator = unsigned int*]’ at /usr/include/c++/13.1.1/bits/stl_uninitialized.h:185:15,
inlined from ‘constexpr void fmt::v9::basic_memory_buffer<T, SIZE, Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32; Allocator = std::allocator]’ at /usr/include/fmt/format.h:925:26,
inlined from ‘constexpr void fmt::v9::detail::buffer::try_reserve(size_t) [with T = unsigned int]’ at /usr/include/fmt/core.h:928:39,
inlined from ‘constexpr void fmt::v9::detail::buffer::try_reserve(size_t) [with T = unsigned int]’ at /usr/include/fmt/core.h:927:24,
inlined from ‘constexpr void fmt::v9::detail::buffer::try_resize(size_t) [with T = unsigned int]’ at /usr/include/fmt/core.h:919:16,
inlined from ‘constexpr void fmt::v9::basic_memory_buffer<T, SIZE, Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32; Allocator = std::allocator]’ at /usr/include/fmt/format.h:897:63,
inlined from ‘constexpr void fmt::v9::detail::bigint::assign(UInt) [with UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value), int>::type = 0]’ at /usr/include/fmt/format.h:2794:19,
inlined from ‘constexpr void fmt::v9::detail::bigint::operator=(Int) [with Int = int]’ at /usr/include/fmt/format.h:2815:11,
inlined from ‘constexpr void fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int, buffer&, int&)’ at /usr/include/fmt/format.h:3015:11:
/usr/include/c++/13.1.1/bits/stl_algobase.h:437:30: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ forming offset 4 is out of the bounds [0, 4] [-Warray-bounds=]
437 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: dolphin-emu-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
dolphin-emu-git - exit status 4
there is more above it, but this is what I believe I could possibly fit perhaps.
Updated by MechanicalSanity over 1 year ago
I should note that I was trying to reinstall dolphin. Before, something must've happened that just caused dolphin to not work anymore. So I tried to reinstall, but nope. Issues.
Updated by MechanicalSanity over 1 year ago
now I installed qt6-wayland, and at least I get a new error. It says that it failed to initialize video backend
Updated by MechanicalSanity over 1 year ago
Here is the error I get compiling it myself:
make[1]: *** [CMakeFiles/Makefile2:1411: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Updated by MechanicalSanity over 1 year ago
so a dolphin dev told me to create 2 separate issues, so please ignore this one. I cannot delete this issue as far as I can tell
Updated by MechanicalSanity over 1 year ago
NVM, what they said was not to create two seperate issues, they meant something else. But regardless, it turns out installing the git version of libmgba fixes it
Updated by Shijikori over 1 year ago
try launching Dolphin with the environment variable QT_QPA_PLATFORM=xcb
Dolphin is not compatible with wayland, you need to run it under XWayland/X11 (xcb).
Updated by JosJuice over 1 year ago
- Has duplicate Emulator Issues #13301: Windwaker JIT Segfault on 5.0-19433 added
Updated by k66wkv4vekfbmi over 1 year ago
Updated by JosJuice over 1 year ago
- Has duplicate Emulator Issues #13337: Emulation freezes / crashes at launch of Gamecube games when JIT is enabled added
Updated by Billiard26 10 months ago
- Status changed from New to Working as intended
Claims to have been solved with dependencies being installed.