00cc9309cb
de6e324bdseparate emu thread10d3daf86Roms List improvements95d202f37Let's make the rom list process on a separate thread so the emulator doesnt take ages to load.fc306967fWow the ROM Header was just completely busted. Game list view works nowbad1691eefuck this shit2b59e5f46game list in progressd26417b83remappable inputs in progressac4af8106inpute72abc240update readme430139dc9Qt6 frontend3080d4d45Fix this small bug too08cd13b85Cop0 unused functions do not actually pose a threat (as per manual). They don't do anything, so shall we.61bb4fb44make idle loop detection a little more specific with where the load goesb037de4c3SAZDFsdff12e81e73eneed to figure out why n64-systemtest loops indefinitely at some address that appears to be valid (i think it's me not invalidating the cache properly)204f0e13bidle skipping seems to work!cb8bb634asdkfjlasdf58e5c89c1Fix compilation issue on my machine (no idea)24fb2898eattempting more serious idle skipping214719577Place rsp.Step inside cached interpreter. Gains about 3 more fpsbb97dcc23mmmmm920b77d38wjkhasdfjhkasdf430ccdab4it's a start...4f42a673aCached interpreter plays Mario 64. Start looking into RSP as wellc9a030787idle skipping works!5fbda03cenew idea366637abaIdle skipping... maybe?609fa2fb0Cache instructions implemented but broken lmao. Commented out for nowe140a6d12- Stop using inheritance for CPU, instead use composition. - Introduce KAIZEN_JIT_ENABLED optional define instead of relying on __aarch64__ and the like. - More cache work68e613057prep cache impl811b4d809fix clang formatfda755f7didkd5024ebbfsmall MI refactor in preparation of (eventually) implementing the RDRAM interface properly694b45341Merge commit '206dcdedf195fb320913584180edb12c7731e396' as 'external/SDL'206dcdedfSquashed 'external/SDL/' content from commit 4d17b99d0a4d16e1cb4need to update sdl848b19920Fix compilation errordb61b5299Merge commit 'e94a94559f28e49678fbcf72199a5258137b0fe9' as 'external/imgui'e94a94559Squashed 'external/imgui/' content from commit 02e9b8cac52edb3757need to update imguic1a705e86Emulate weird JALR behaviour4b4c32f4bFix exception for "unusable COP1" in 4 instructions i missed accidentally (again)df5828142Bug putting 0s in the log everywheref8b580048Make isviewer a sink to file8241e9735Fix exception for "unusable COP1" in 4 instructions i missed accidentallyb29715f20small changesd9a620bc1make use of my new small utility library0d1aa938eAdd 'external/ircolib/' from commit 'ce3cd726c8df8388d554abf8bb55d55020eb4450'e64eb40b3Fuck git git-subtree-dir: external/ircolib git-subtree-split:de6e324bde
104 lines
4.3 KiB
Markdown
104 lines
4.3 KiB
Markdown
Linux
|
|
================================================================================
|
|
|
|
By default SDL will only link against glibc, the rest of the features will be
|
|
enabled dynamically at runtime depending on the available features on the target
|
|
system. So, for example if you built SDL with XRandR support and the target
|
|
system does not have the XRandR libraries installed, it will be disabled
|
|
at runtime, and you won't get a missing library error, at least with the
|
|
default configuration parameters.
|
|
|
|
SDL is [not designed to be used in setuid or setgid executables](README-platforms.md#setuid).
|
|
|
|
Build Dependencies
|
|
--------------------------------------------------------------------------------
|
|
|
|
Ubuntu 18.04, all available features enabled:
|
|
|
|
sudo apt-get install build-essential git make \
|
|
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
|
|
libaudio-dev libfribidi-dev libjack-dev libsndio-dev libx11-dev libxext-dev \
|
|
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
|
|
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
|
|
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev libthai-dev
|
|
|
|
Ubuntu 22.04+ can also add `libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev` to that command line.
|
|
|
|
Fedora 35, all available features enabled:
|
|
|
|
sudo dnf install gcc git-core make cmake \
|
|
alsa-lib-devel fribidi-devel pulseaudio-libs-devel pipewire-devel \
|
|
libX11-devel libXext-devel libXrandr-devel libXcursor-devel libXfixes-devel \
|
|
libXi-devel libXScrnSaver-devel libXtst-devel dbus-devel ibus-devel \
|
|
systemd-devel mesa-libGL-devel libxkbcommon-devel mesa-libGLES-devel \
|
|
mesa-libEGL-devel vulkan-devel wayland-devel wayland-protocols-devel \
|
|
libdrm-devel mesa-libgbm-devel libusb1-devel libdecor-devel \
|
|
pipewire-jack-audio-connection-kit-devel libthai-devel
|
|
|
|
Fedora 39+ can also add `liburing-devel` to that command line.
|
|
|
|
Fedora 40+ needs `zlib-ng-compat-static` to be added to that command line.
|
|
|
|
NOTES:
|
|
- The sndio audio target is unavailable on Fedora (but probably not what you
|
|
should want to use anyhow).
|
|
|
|
openSUSE Tumbleweed:
|
|
|
|
sudo zypper in libunwind-devel libusb-1_0-devel Mesa-libGL-devel libxkbcommon-devel libdrm-devel \
|
|
libgbm-devel pipewire-devel libpulse-devel sndio-devel Mesa-libEGL-devel alsa-devel xwayland-devel \
|
|
wayland-devel wayland-protocols-devel libthai-devel fribidi-devel
|
|
|
|
Arch:
|
|
|
|
sudo pacman -S alsa-lib cmake hidapi ibus jack libdecor libthai fribidi libgl libpulse libusb libx11 libxcursor libxext libxfixes libxi libxinerama libxkbcommon libxrandr libxrender libxss libxtst mesa ninja pipewire sndio vulkan-driver vulkan-headers wayland wayland-protocols
|
|
|
|
|
|
Joystick does not work
|
|
--------------------------------------------------------------------------------
|
|
|
|
If you compiled or are using a version of SDL with udev support (and you should!)
|
|
there's a few issues that may cause SDL to fail to detect your joystick. To
|
|
debug this, start by installing the evtest utility. On Ubuntu/Debian:
|
|
|
|
sudo apt-get install evtest
|
|
|
|
Then run:
|
|
|
|
sudo evtest
|
|
|
|
You'll hopefully see your joystick listed along with a name like "/dev/input/eventXX"
|
|
Now run:
|
|
|
|
cat /dev/input/event/XX
|
|
|
|
If you get a permission error, you need to set a udev rule to change the mode of
|
|
your device (see below)
|
|
|
|
Also, try:
|
|
|
|
sudo udevadm info --query=all --name=input/eventXX
|
|
|
|
If you see a line stating ID_INPUT_JOYSTICK=1, great, if you don't see it,
|
|
you need to set up an udev rule to force this variable.
|
|
|
|
A combined rule for the Saitek Pro Flight Rudder Pedals to fix both issues looks
|
|
like:
|
|
|
|
SUBSYSTEM=="input", ATTRS{idProduct}=="0763", ATTRS{idVendor}=="06a3", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
|
|
SUBSYSTEM=="input", ATTRS{idProduct}=="0764", ATTRS{idVendor}=="06a3", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
|
|
|
|
You can set up similar rules for your device by changing the values listed in
|
|
idProduct and idVendor. To obtain these values, try:
|
|
|
|
sudo udevadm info -a --name=input/eventXX | grep idVendor
|
|
sudo udevadm info -a --name=input/eventXX | grep idProduct
|
|
|
|
If multiple values come up for each of these, the one you want is the first one of each.
|
|
|
|
On other systems which ship with an older udev (such as CentOS), you may need
|
|
to set up a rule such as:
|
|
|
|
SUBSYSTEM=="input", ENV{ID_CLASS}=="joystick", ENV{ID_INPUT_JOYSTICK}="1"
|
|
|