GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).
_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.
Using affinity to set 'max-threads' addresses both these problems.
--
v11: winegstreamer: Set 'max_threads' to 4 for 32-bit processors.
winegstreamer: Use thread_count to determine 'max-threads' value.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5923
GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).
_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.
Using affinity to set 'max-threads' addresses both these problems.
--
v10: winegstreamer: Set 'max_threads' to 4 for 32-bit processors.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5923
GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).
_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.
Using affinity to set 'max-threads' addresses both these problems.
--
v9: winegstreamer: Set MAX_THREADS to 4 for i386.
winegstreamer: Use thread_count to determine 'max-threads' value.
winegstreamer: Use process affinity to calculate thread_count.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5923
--
v5: winegstreamer: Respect video format padding for input buffers too.
winegstreamer: Normalize video processor and color converter apertures.
winegstreamer: Normalize both input and output media types stride at once.
winegstreamer: Use video info stride in buffer meta rather than videoflip.
winegstreamer: Keep the input caps on the transform.
winegstreamer: Use a new wg_video_buffer_pool class to add buffer meta.
winegstreamer: Only use pool and set buffer meta for raw video frames.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5972
GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).
_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.
Using affinity to set 'max-threads' addresses both these problems.
--
v8: winegstreamer: Set MAX_THREADS to 4 for i386.
winegstreamer: Use thread_count to determine 'max-threads' value.
winegstreamer: Use process affinity to calculate thread_count.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5923