Package Base Details: dolphin-emu-git

Git Clone URL: https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy)
Keywords: dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote
Submitter: None
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 120
Popularity: 0.25
First Submitted: 2011-08-20 13:05 (UTC)
Last Updated: 2024-05-04 01:24 (UTC)

Pinned Comments

dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 52 Next › Last »

spikerguy commented on 2023-08-09 20:00 (UTC) (edited on 2023-08-09 20:03 (UTC) by spikerguy)

Thanks @dpeukart

Compiles fine with 'pkgver='5.0.r19864.gf2b8baa82c'pkgver='5.0.r19864.gf2b8baa82c'', but cannot launch any game on rdna3 igpu. Anyone else facing this issue ? Ok it does not launch with vulkan on newer igpu's

I will follow up on your gitlab.

Riedler commented on 2023-08-07 09:18 (UTC)

thanks!

dpeukert commented on 2023-08-06 23:26 (UTC)

@Riedler, @rubin55, @spikerguy, @abouvier, @noabody, @xiota, @scatherinch, @Peter0x44 , @carlosalvatore, @cwrau: The patch should now be fixed and this package should now work with fmt 10, sorry for the delay.

cwrau commented on 2023-08-04 19:06 (UTC)

@Peter0x44's patch worked for me, would be great if the PKGBUILD could get adjusted

carlosalvatore commented on 2023-08-04 05:04 (UTC)

For me it was enough to install aur/fmt9 to build and run dolphin-emu properly.

The world(or extra)/dolphin 23.04.3-1 results in a segmentation fault when trying to start an emulation, therefore the git version is the best choice.

Hope the comment helps somebody.

Peter0x44 commented on 2023-08-02 01:20 (UTC) (edited on 2023-08-02 01:21 (UTC) by Peter0x44)

@scatherinch you just apply the changes in question to the PKGBUILD file from the repo, then run makepkg -si or whatever the AUR helper you're using expects.

EDIT: never mind, I see it is solved for you

scatherinch commented on 2023-08-01 15:23 (UTC) (edited on 2023-08-02 00:13 (UTC) by scatherinch)

@Peter0x44 I'm still kind of new to Arch. One thing I haven't scratched yet is how to build or modify packages in the way you described. However, maybe you wouldn't mind giving me a quick rundown or pointing me to a resource where I could learn to do this?

I would really like to learn and fix this issue!

EDIT: I figured it out. Seems to have solved it for now, can confirm

Peter0x44 commented on 2023-08-01 13:46 (UTC) (edited on 2023-08-01 13:56 (UTC) by Peter0x44)

@scatherinch My suggestion is (as others have mentioned) that you remove "libfmt.so" from the depends, and build dolphin-emu-git using a static fmt that dolphin provides

Here's the relevant patch to the PKGBUILD

Once this gets resolved (hopefully) this workaround won't be necessary

diff --git a/PKGBUILD b/PKGBUILD
index f7b2dc9..a542a21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ depends=(
        'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libpulse'
        'libspng' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls2' 'minizip-ng' 'pugixml'
        'qt6-base' 'qt6-svg' 'sfml' 'zlib-ng'
-       'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so'
+       'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so'
        'libminiupnpc.so' 'libsfml-network.so' 'libsfml-system.so' 'libswscale.so'
        'libudev.so' 'libusb-1.0.so'
 )
@@ -32,15 +32,13 @@ source=(
        "$pkgname-rcheevos::git+https://github.com/RetroAchievements/rcheevos.git"
        "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
        'minizip-ng.diff'
-       'fmt-10.diff'
 )
 sha512sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
-            '568ca7db64149e9ac9409947689a8390783b891e6cff7b096690771512db3e19f9d8551a8739921d8a9f6ec4a9de747811a2efc8cdd4791d715677772db7fa8e'
-            '57852e07fc6e296598a3351a2ad63ac5af8c0130e1d1d8f0f8f99d0730fe01b1cf206e31efe1837a33ff2971e08fd48e281edc4be625c4660a711062812ae0ee')
+            '568ca7db64149e9ac9409947689a8390783b891e6cff7b096690771512db3e19f9d8551a8739921d8a9f6ec4a9de747811a2efc8cdd4791d715677772db7fa8e')

 _sourcedirectory="$pkgname"

@@ -52,9 +50,6 @@ prepare() {
        # Fix minizip-ng name for Arch
        patch --forward -p1 < "$srcdir/minizip-ng.diff"

-       # Fix build with fmt 10
-       patch --forward -p1 < "$srcdir/fmt-10.diff"
-
        # Provide submodules
        declare -A _submodules=(
                [implot]='implot/implot'
@@ -89,6 +84,7 @@ build() {
                -DENABLE_AUTOUPDATE=OFF \
                -DUSE_SYSTEM_LIBS=ON \
                -DUSE_SYSTEM_LIBMGBA=OFF \
+               -DUSE_SYSTEM_FMT=OFF \
                -Wno-dev
        cmake --build 'build/'
 }

Then, you should be able to update, without any conflicts on libfmt.so.9

scatherinch commented on 2023-08-01 12:42 (UTC)

I already had this installed beforehand, but trying to -Syu returns an error claiming that updating will break this. I would like to do the update, but I don't want to lose dolphin because I think removing it to update will most assuredly prevent me from installing again from what I've been reading.

error: failed to prepare transaction (could not satisfy dependencies) :: installing fmt (10.0.0-1) breaks dependency 'libfmt.so=9-64' required by dolphin-emu-git

Therefore, I have not been able to update my system for a few days. Is there a way around this or should I just wait for this to become compatible with the new version of fmt?

xiota commented on 2023-08-01 01:09 (UTC)

Clean chroot. Successfully built after adding -DUSE_SYSTEM_FMT=OFF. No other changes to the PKGBUILD.