Lines 4-10
Link Here
|
4 |
Users are encouraged to compile the port on their systems with |
4 |
Users are encouraged to compile the port on their systems with |
5 |
|
5 |
|
6 |
CFLAGS ?= -O3 |
6 |
CFLAGS ?= -O3 |
7 |
CPUTYPE ?= native |
7 |
CPUTYPE ?= native | ... | x86-64-v3 | ... | skylake | ... |
8 |
WITH_LTO = yes |
8 |
WITH_LTO = yes |
9 |
|
9 |
|
10 |
This can improve the performance of demanding cores like the N64. |
10 |
This can improve the performance of demanding cores like the N64. |
Lines 13-32
NVIDIA GPU users with versions >= 535 of the x11/nvidia-driver could encounter
Link Here
|
13 |
crashes or freezes while using the N64 core, see |
13 |
crashes or freezes while using the N64 core, see |
14 |
https://github.com/ares-emulator/ares/issues/1547 and |
14 |
https://github.com/ares-emulator/ares/issues/1547 and |
15 |
https://github.com/Themaister/Granite/issues/133. As a workaround either try to |
15 |
https://github.com/Themaister/Granite/issues/133. As a workaround either try to |
16 |
compile the port with the NVIDIA option set, or disable the NVIDIA shader disk |
16 |
compile the port with the NVIDIA option set (recommended), or disable the NVIDIA |
17 |
cache at start with |
17 |
shader disk cache at startup with |
18 |
|
18 |
|
19 |
$ __GL_SHADER_DISK_CACHE=0 ares |
19 |
$ __GL_SHADER_DISK_CACHE=0 ares |
20 |
|
20 |
|
|
|
21 |
The port provides the HOTKEYS option. This applies an inofficial patch which |
22 |
locks all hotkey execution in the unpaused state of the emulator. This can be a |
23 |
convenience for gamepad-only users who want to assign hotkey actions to gamepad |
24 |
buttons but who don't have enough free unassigned buttons left on the gamepad. |
25 |
|
21 |
ares uses librashader for its shader support. This library is not available in |
26 |
ares uses librashader for its shader support. This library is not available in |
22 |
the FreeBSD ports tree yet, but it is being worked on, see |
27 |
the FreeBSD ports tree yet, but it is being worked on, see |
23 |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280470. In the meantime users |
28 |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280470. In the meantime users |
24 |
have to compile the library themselves if they want to actually use shaders: |
29 |
have to compile the library themselves if they want to actually use shaders: |
25 |
|
30 |
|
26 |
$ doas pkg install rust-nightly |
31 |
$ doas pkg install rust-nightly |
27 |
$ fetch https://github.com/SnowflakePowered/librashader/archive/refs/tags/librashader-v0.3.0.tar.gz |
32 |
$ fetch https://github.com/SnowflakePowered/librashader/archive/refs/tags/librashader-v%%LIBRASHADER%%.tar.gz |
28 |
$ tar -xf librashader-v0.3.0.tar.gz |
33 |
$ tar -xf librashader-v%%LIBRASHADER%%.tar.gz |
29 |
$ cd librashader-librashader-v0.3.0 |
34 |
$ cd librashader-librashader-v%%LIBRASHADER%% |
30 |
$ cargo run -p librashader-build-script -- --profile release |
35 |
$ cargo run -p librashader-build-script -- --profile release |
31 |
$ doas cp target/release/librashader.so %%LOCALBASE%%/lib |
36 |
$ doas cp target/release/librashader.so %%LOCALBASE%%/lib |
32 |
|
37 |
|
33 |
- |
|
|