Package Details: duckstation-git 0.1.r6679.g17b9736-1

Git Clone URL: https://aur.archlinux.org/duckstation-git.git (read-only, click to copy)
Package Base: duckstation-git
Description: A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)
Upstream URL: https://github.com/stenzek/duckstation
Keywords: emulator game gaming psone
Licenses: GPL-3.0-only
Conflicts: duckstation
Provides: duckstation
Submitter: jackdroido
Maintainer: eugene
Last Packager: eugene
Votes: 22
Popularity: 1.97
First Submitted: 2020-04-25 18:24 (UTC)
Last Updated: 2024-04-26 20:40 (UTC)

Required by (0)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

FabioLolix commented on 2023-08-12 19:58 (UTC)

I can confirm the build problem which more precisely is:

/home/fabio/Dev/pkg_make/TOBUILD/duckstation-git/src/duckstation/src/util/../common/log.h:70:39: error: format not a string literal and no format arguments [-Werror=format-security]
   70 | #define Log_DevPrintf(...) Log::Writef(___LogChannel___, __func__, LOGLEVEL_DEV, __VA_ARGS__)
      |                            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/fabio/Dev/pkg_make/TOBUILD/duckstation-git/src/duckstation/src/util/cd_image_chd.cpp:166:7: note: in expansion of macro 'Log_DevPrintf'
  166 |       Log_DevPrintf(fmt::format("Found parent CHD '{}' for '{}'.", Path::GetFileName(fd.FileName), Path::GetFileName(filename)).c_str());
      |       ^~~~~~~~~~~~~
cc1plus: some warnings being treated as errors

and can be bypassed by adding right after build():

  CFLAGS+=" -Wno-error=format-security"
  CXXFLAGS+=" -Wno-error=format-security"
  export CFLAGS
  export CXXFLAGS

xAsh commented on 2023-08-12 19:38 (UTC)

can't build since latest commit (FAILED: src/util/CMakeFiles/util.dir/cd_image_chd.cpp.o)

exploder-jimmy commented on 2023-07-25 22:18 (UTC)

added jack2 in makedepends and optdepends. It builds with it in a clean CHROOT. You might want to remove it though as the jack2 package conflicts with pipewire-jack if the latter is installed and the user is not building in a clean CHROOT. Otherwise it operates just fine.

@loathingkernel, Wouldn't it make sense to add jack instead of jack2 there?
Since both jack2 and pipewire-jack provides jack, and their provides=() arrays are exactly the same.

Or does duckstation ignore pipewire-jack during build time for some reason?

scatherinch commented on 2023-04-27 04:15 (UTC) (edited on 2023-04-27 04:25 (UTC) by scatherinch)

Hello,

I have tried installing this package several times on new installations and when I do, there is a problem:

When I go to set up my controller profiles, SOMETIMES they will appear in the proper order they should be in (etc: Shared, 1, 2, 3, and so on), but there are many times when the controller profiles appear out of order when I make a new controller profile (Shared, 2, 4, 1, 3, so forth). As you can imagine, this is very agitating. I am trying to figure out why it happens.

Do you know why this phenomenon occurs and how I can make it so where the profiles are ordered properly?

loathingkernel commented on 2023-03-28 00:09 (UTC) (edited on 2023-03-28 11:33 (UTC) by loathingkernel)

Hi, I took the liberty of cleaning up the PKGBUILD. You can find it here https://github.com/loathingKernel/PKGBUILDs/tree/master/aur/duckstation-git .

Some notes about the changes.

  • gtk3 seems to be completely unused and it was removed.
  • libpulse, sndio and libdrm added to optdepends too.
  • added libglvnd, libxrandr, libx11 and wayland as explicit dependecies because namcap or building in a clean CHROOT were complaining
  • added hicolor-icon-theme because the icon was moved into the hicolor theme directory structure. That way other themes can override it.
  • added qt6-wayland as makedepend and optdepend, it is needed to run Qt6 applications under a wayland session
  • added jack2 in makedepends and optdepends. It builds with it in a clean CHROOT. You might want to remove it though as the jack2 package conflicts with pipewire-jack if the latter is installed and the user is not building in a clean CHROOT. Otherwise it operates just fine.

  • added duckstation-qt.desktop, it is just cleaner to distribute it as a file with the package instead of a here-script

  • added duckstation-qt.sh to be installed in /usr/bin/ instead of symlinking the executable.

  • I changed the cmake options to more closely follow upstream's AppImage. Namely, duckstation is built with clang/llvm and with CMAKE_INTERPROCEDURAL_OPTIMIZATION (effectively LTO) enabled.

  • Upstream is explicit about the options in their CMake invocation so adjusted to that.
  • USE_DRMKMS was turned on and the relevant dependency added to make/optdepends

visious commented on 2023-01-24 19:07 (UTC) (edited on 2023-01-24 19:41 (UTC) by visious)

Hi all, in case duckstation is unable to run a game, try in terminal the bellow command:

USE_GLX=1 duckstation-qt

OR

Edite the Menu Enty: Menu > Games > DuckStation

env USE_GLX=1 duckstation-qt %f

visious commented on 2022-12-30 02:41 (UTC) (edited on 2022-12-30 02:51 (UTC) by visious)

Hi all. While I'm typing in the terminal "sudo journalctl -p 3 -xb" I'm getting this: https://pastebin.com/WkrN36PA When I'm trying to run a game, Duckstation is not working anymore.

Neko-san commented on 2022-10-03 19:26 (UTC)

The patch is no longer needed; upstream chamged that line to something slightly different to resolve the issue despite not having the issues page publicly available; compiles fine now

Neko-san commented on 2022-10-03 19:15 (UTC)

@Episilon I'll check it in a minute and post a fix