| | 1 | = Fairies Wishlist = |
| | 2 | |
| | 3 | FFmpeg Fairy automatically tests and reviews FFmpeg pull requests and Issues. Some bugs and pull requests require hardware or operating environments that are not currently available to the Fairies. |
| | 4 | |
| | 5 | Besides Fairy, we would also like to have these systems available to developers and for CI (when the hw is powerfull enough). |
| | 6 | |
| | 7 | This page lists categories of hardware and environments that would be useful. |
| | 8 | |
| | 9 | == Preferred way to provide hardware == |
| | 10 | |
| | 11 | The preferred contribution is **an SSH account on a machine where Podman is available**. |
| | 12 | |
| | 13 | This is preferable to donating physical hardware because: |
| | 14 | |
| | 15 | * the hardware remains maintained by its owner; |
| | 16 | * FFmpeg does not need to host, repair, upgrade, or replace it; |
| | 17 | * the owner can keep the host operating system and drivers up to date; |
| | 18 | * Fairy can create disposable containers for individual tests; |
| | 19 | * unusual or expensive hardware can remain useful to its owner while also being available for FFmpeg testing. |
| | 20 | |
| | 21 | The host does not need to be dedicated to FFmpeg. |
| | 22 | |
| | 23 | The relevant hardware devices should be accessible from containers where practical, for example through `/dev/dri`, `/dev/snd`, NVIDIA container support, or similar mechanisms. |
| | 24 | |
| | 25 | '''Security warning:''' the containers will execute FFmpeg code from **untrusted pull requests**. The account and Podman setup therefore need to be configured such that code running inside these containers cannot compromise the host, other users, credentials, or unrelated data. |
| | 26 | |
| | 27 | Providing unrestricted SSH access to a machine containing valuable data is **not** what we are asking for. |
| | 28 | |
| | 29 | == Currently available == |
| | 30 | |
| | 31 | Fairy currently has access to: |
| | 32 | |
| | 33 | * x86-64 system with an **AMD Ryzen 9 5950X** and **NVIDIA GeForce RTX 5090** |
| | 34 | |
| | 35 | * useful for general x86-64 testing |
| | 36 | * CUDA |
| | 37 | * NVENC / NVDEC |
| | 38 | * NVIDIA-related hardware acceleration |
| | 39 | * **Ampere Arm64** system |
| | 40 | |
| | 41 | * useful for native AArch64 / Arm64 testing |
| | 42 | |
| | 43 | These systems already cover a significant amount of generic CPU and modern NVIDIA testing. Additional systems are most useful when they provide a substantially different hardware, driver, architecture, or I/O environment. |
| | 44 | |
| | 45 | == Wishlist == |
| | 46 | |
| | 47 | === Intel GPUs === |
| | 48 | |
| | 49 | A Intel GPU system would be useful for testing: |
| | 50 | |
| | 51 | * VA-API |
| | 52 | * QSV |
| | 53 | * oneVPL |
| | 54 | * Intel media drivers |
| | 55 | * hardware decode, encode, filtering, and zero-copy paths |
| | 56 | |
| | 57 | === AMD GPUs and APUs === |
| | 58 | |
| | 59 | An AMD GPU system would be useful for testing: |
| | 60 | |
| | 61 | * AMF |
| | 62 | * VA-API on AMD |
| | 63 | * hardware encoding and decoding |
| | 64 | * hardware filters |
| | 65 | * GPU format conversion |
| | 66 | * interactions between FFmpeg and different AMD driver generations |
| | 67 | |
| | 68 | === Other CPU architectures === |
| | 69 | |
| | 70 | Native systems for architectures other than x86-64 and AArch64 are useful, especially where emulation does not accurately reproduce architecture-specific behavior or performance. |
| | 71 | |
| | 72 | Examples of useful categories include: |
| | 73 | |
| | 74 | * 32-bit ARM |
| | 75 | * RISC-V |
| | 76 | * POWER |
| | 77 | * big-endian architectures |
| | 78 | * other architectures supported by FFmpeg |
| | 79 | |
| | 80 | Modern systems are not required. Stable machines that can compile and run current FFmpeg are useful. |
| | 81 | |
| | 82 | === Video capture hardware === |
| | 83 | |
| | 84 | Machines with real capture devices are useful, including: |
| | 85 | |
| | 86 | * V4L2 cameras |
| | 87 | * USB webcams |
| | 88 | * capture cards |
| | 89 | * professional video capture devices |
| | 90 | |
| | 91 | === Network cameras and streaming devices === |
| | 92 | |
| | 93 | Network-connected media hardware can expose interoperability problems that are difficult to reproduce with software alone. |
| | 94 | |
| | 95 | Useful categories include: |
| | 96 | |
| | 97 | * IP cameras |
| | 98 | * RTSP cameras |
| | 99 | * RTMP-capable cameras |
| | 100 | * surveillance cameras |
| | 101 | * hardware encoders |
| | 102 | * streaming appliances |
| | 103 | |
| | 104 | These can be useful even if the device itself cannot be passed into Podman, provided the Fairy container can communicate with it over the network. |
| | 105 | |
| | 106 | == What makes a machine useful? == |
| | 107 | |
| | 108 | A useful Fairy machine does not need to be powerful. |
| | 109 | |
| | 110 | What matters most is that it provides an environment we cannot otherwise test. |
| | 111 | |
| | 112 | For example, an old integrated GPU exposing a driver bug may be more useful than another current high-end system. |
| | 113 | |
| | 114 | Particularly useful systems are those which provide one or more of: |
| | 115 | |
| | 116 | * a hardware generation not already covered; |
| | 117 | * an unusual CPU architecture; |
| | 118 | * a hardware acceleration API not already covered; |
| | 119 | * real audio/video capture hardware; |
| | 120 | * network media devices; |
| | 121 | * vendor-specific drivers; |
| | 122 | * old hardware on which current FFmpeg is still expected to work. |
| | 123 | |
| | 124 | == Windows / MacOSX == |
| | 125 | |
| | 126 | podman does not work on MacOSX / Windows in a useful way. So a different isolation |
| | 127 | layer needs to be used. That is this would require a small change to fairy in addition to |
| | 128 | ssh access to the machine. |
| | 129 | |
| | 130 | == Offering access == |
| | 131 | |
| | 132 | If you have hardware or an environment that might be useful, please contact the FFmpeg developers (either ffmpeg-devel or fairy at ffmpeg.org) |
| | 133 | |
| | 134 | The ideal setup is: |
| | 135 | |
| | 136 | * SSH access; |
| | 137 | * Podman available; |
| | 138 | * sufficient storage and memory to build and run FFmpeg; |
| | 139 | * relevant devices available to the container; |
| | 140 | * no valuable secrets or unrelated user data reachable from the test environment; |
| | 141 | * permission to execute arbitrary code submitted in FFmpeg pull requests. |
| | 142 | |
| | 143 | Physical hardware donations can also be useful, but remote access to owner-maintained hardware is generally preferable because it substantially reduces the maintenance burden on the FFmpeg project. |