Skip to content

Conversation

@oSoMoN
Copy link

@oSoMoN oSoMoN commented Jun 25, 2025

This is to account for Steam settings that allow restricting the maximum game recording video height to 480px, 720px, 800px, 1080px, 1200px or 1440px.

On a LCD Steam Deck with a vertical screen resolution of 800px, we need at least 3 textures (to capture at 480px, 720px or 800px). The previous default of 2 textures would trigger a crash when recording a video after cycling through all three possible maximum heights in the settings.

…bdce9)

This is to account for Steam settings that allow restricting the maximum game
recording video height to 480px, 720px, 800px, 1080px, 1200px or 1440px.

On a LCD Steam Deck with a vertical screen resolution of 800px, we need at
least 3 textures (to capture at 480px, 720px or 800px). The previous default
of 2 textures would trigger a crash when recording a video after cycling
through all three possible maximum heights in the settings.
@misyltoad
Copy link
Collaborator

We should clear the array when the state changes probably.

@oSoMoN
Copy link
Author

oSoMoN commented Jul 3, 2025

We should clear the array when the state changes probably.

Or when the param_changed event is handled.

But I'm not sure how to make the pipewire thread notify steamcompmgr of that event. The paint_pipewire() function does check whether the shared pipewire buffer is stale, but changed params don't invalidate the buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants