Project

General

Profile

Actions

Emulator Issues #13267

closed

Arch Linux install and crashes

Added by MechanicalSanity about 1 year ago. Updated 3 months ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.


Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #13301: Windwaker JIT Segfault on 5.0-19433Duplicate

Actions
Has duplicate Emulator - Emulator Issues #13337: Emulation freezes / crashes at launch of Gamecube games when JIT is enabledDuplicate

Actions
Actions #1

Updated by MechanicalSanity about 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.

Actions #2

Updated by MechanicalSanity about 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

Actions #3

Updated by MechanicalSanity about 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

Actions #4

Updated by MechanicalSanity about 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

Actions #5

Updated by MechanicalSanity about 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

Actions #6

Updated by Shijikori 12 months 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).

Actions #7

Updated by JosJuice 12 months ago

Actions #8

Updated by k66wkv4vekfbmi 12 months ago

I just tested #13301 with dev 5.0-19776 and it worked, so the issue I had there appears to have been resolved in dev. I'm posting here because #13301 was marked as a duplicate of this.

Actions #9

Updated by JosJuice 10 months ago

  • Has duplicate Emulator Issues #13337: Emulation freezes / crashes at launch of Gamecube games when JIT is enabled added
Actions #10

Updated by Billiard26 3 months ago

  • Status changed from New to Working as intended

Claims to have been solved with dependencies being installed.

Actions

Also available in: Atom PDF