Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2020 01:19:53 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533725 - in head/emulators/rpcs3: . files
Message-ID:  <202005030119.0431Jrg9035815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun May  3 01:19:53 2020
New Revision: 533725
URL: https://svnweb.freebsd.org/changeset/ports/533725

Log:
  emulators/rpcs3: disable LLVM for SPU on FreeBSD 11 by default
  
  Many games crash which gives bad first impression.
  
  PR:		240495

Added:
  head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h   (contents, props changed)
Modified:
  head/emulators/rpcs3/Makefile   (contents, props changed)

Modified: head/emulators/rpcs3/Makefile
==============================================================================
--- head/emulators/rpcs3/Makefile	Sun May  3 01:15:53 2020	(r533724)
+++ head/emulators/rpcs3/Makefile	Sun May  3 01:19:53 2020	(r533725)
@@ -4,6 +4,7 @@ PORTNAME=	rpcs3
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.0.10-10321 # git rev-list --count HEAD
 DISTVERSIONSUFFIX=	-g72bef8dd7
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	jbeich@FreeBSD.org

Added: head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h	Sun May  3 01:19:53 2020	(r533725)
@@ -0,0 +1,16 @@
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240495
+
+--- rpcs3/Emu/system_config.h.orig	2020-05-02 11:57:38 UTC
++++ rpcs3/Emu/system_config.h
+@@ -28,7 +28,11 @@ struct cfg_root : cfg::node
+ 		cfg::_int<0, INT32_MAX> llvm_threads{ this, "Max LLVM Compile Threads", 0 };
+ 		cfg::_bool thread_scheduler_enabled{ this, "Enable thread scheduler", thread_scheduler_enabled_def };
+ 		cfg::_bool set_daz_and_ftz{ this, "Set DAZ and FTZ", false };
++#if defined(__FreeBSD__) && __FreeBSD__ < 12
++		cfg::_enum<spu_decoder_type> spu_decoder{ this, "SPU Decoder", spu_decoder_type::asmjit };
++#else
+ 		cfg::_enum<spu_decoder_type> spu_decoder{ this, "SPU Decoder", spu_decoder_type::llvm };
++#endif
+ 		cfg::_bool lower_spu_priority{ this, "Lower SPU thread priority" };
+ 		cfg::_bool spu_debug{ this, "SPU Debug" };
+ 		cfg::_int<0, 6> preferred_spu_threads{ this, "Preferred SPU Threads", 0, true }; // Number of hardware threads dedicated to heavy simultaneous spu tasks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005030119.0431Jrg9035815>