mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
[Linux] Implement Feral Interactive's Gamemode for Potential Performance Increases (#17325)
Some checks failed
Generate Translation Template / Generate Translation Template (push) Failing after 55s
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Failing after 1s
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Failing after 1s
Build RPCS3 / RPCS3 FreeBSD (push) Failing after 0s
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm gcc (push) Has been cancelled
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Has been cancelled
Build RPCS3 / RPCS3 Mac Intel (push) Has been cancelled
Build RPCS3 / RPCS3 Mac Apple Silicon (push) Has been cancelled
Build RPCS3 / RPCS3 Windows (push) Has been cancelled
Build RPCS3 / RPCS3 Windows Clang (push) Has been cancelled
Some checks failed
Generate Translation Template / Generate Translation Template (push) Failing after 55s
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Failing after 1s
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Failing after 1s
Build RPCS3 / RPCS3 FreeBSD (push) Failing after 0s
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm gcc (push) Has been cancelled
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Has been cancelled
Build RPCS3 / RPCS3 Mac Intel (push) Has been cancelled
Build RPCS3 / RPCS3 Mac Apple Silicon (push) Has been cancelled
Build RPCS3 / RPCS3 Windows (push) Has been cancelled
Build RPCS3 / RPCS3 Windows Clang (push) Has been cancelled
Currently, this is a draft PR to implement Feral Interactive's Gamemode into RPCS3, which can improve game performance on certain Linux systems. At the moment, I am running into various compiler warnings when trying to include "gamemode_client.h" due to the file not using strict typings and old C-style casts. I know I can disable these flags during RPCS3's compilation but I wanted to check with the maintainers before going forward and if this feature should be implemented. It should be noted that RPCS3 only fails to compile and run if I include Feral's header file, but everything else compiles if I comment out the include. Targets Issue #11299
This commit is contained in:
parent
46150322a3
commit
ef566186be
17 changed files with 102 additions and 1 deletions
4
3rdparty/CMakeLists.txt
vendored
4
3rdparty/CMakeLists.txt
vendored
|
@ -357,6 +357,9 @@ add_subdirectory(opencv EXCLUDE_FROM_ALL)
|
|||
# FUSION
|
||||
add_subdirectory(fusion EXCLUDE_FROM_ALL)
|
||||
|
||||
# FERAL INTERACTIVE
|
||||
add_subdirectory(feralinteractive EXCLUDE_FROM_ALL)
|
||||
|
||||
# add nice ALIAS targets for ease of use
|
||||
if(USE_SYSTEM_LIBUSB)
|
||||
add_library(3rdparty::libusb ALIAS usb-1.0-shared)
|
||||
|
@ -389,3 +392,4 @@ add_library(3rdparty::miniupnpc ALIAS libminiupnpc-static)
|
|||
add_library(3rdparty::rtmidi ALIAS rtmidi)
|
||||
add_library(3rdparty::opencv ALIAS ${OPENCV_TARGET})
|
||||
add_library(3rdparty::fusion ALIAS Fusion)
|
||||
add_library(3rdparty::feralinteractive ALIAS 3rdparty_feralinteractive)
|
||||
|
|
9
3rdparty/feralinteractive/CMakeLists.txt
vendored
Normal file
9
3rdparty/feralinteractive/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Feral Interactive
|
||||
|
||||
add_library(3rdparty_feralinteractive INTERFACE)
|
||||
|
||||
if (CMAKE_SYSTEM MATCHES "Linux")
|
||||
target_include_directories(3rdparty_feralinteractive INTERFACE feralinteractive/lib)
|
||||
target_compile_definitions(3rdparty_feralinteractive INTERFACE -DGAMEMODE_AVAILABLE)
|
||||
target_link_libraries(3rdparty_feralinteractive INTERFACE feralinteractive)
|
||||
endif()
|
1
3rdparty/feralinteractive/feralinteractive
vendored
Submodule
1
3rdparty/feralinteractive/feralinteractive
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c54d6d4243b0dd0afcb49f2c9836d432da171a2b
|
Loading…
Add table
Add a link
Reference in a new issue