Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The libTAS overlay with Ruffle turns black with -g gl and isn't present with -g vulkan #444

Closed
MyNameIsTrez opened this issue Oct 26, 2021 · 2 comments

Comments

@MyNameIsTrez
Copy link

MyNameIsTrez commented Oct 26, 2021

Setup information

libTAS version: libtas_1.4.2_c83a69f_amd64
Ruffle version: ruffle-nightly-2021_10_26-linux-x86_64
Here's the SWF file I'm trying to play (inside of a .zip because GitHub doesn't allow uploading a .swf directly): plazma_burst_fttp.zip

With Ruffle option -g gl

By checking the Pause box in libTAS it shows the first frame with the libTAS overlay, and when I move the mouse around it updates the X and Y coordinates:
Screenshot from 2021-10-26 19-24-03

When I press the v key to advance a frame libTAS says that the game's on frame 2, but the frame counter in the top-left corner doesn't update from 1 -> 2, and the mouse coordinates don't update anymore when I move the mouse.

When I press v again, libTAS says that the game's on frame 3, but the libTAS overlay has turned to black boxes and stays that way for the rest of the game:
Screenshot from 2021-10-26 19-22-37

With Ruffle option -g vulkan

No libTAS overlay at all:
image

@MyNameIsTrez MyNameIsTrez changed the title The libTAS overlay with Ruffle turns black with -g gl and is invisible with -g vulkan The libTAS overlay with Ruffle turns black with -g gl and isn't present with -g vulkan Oct 26, 2021
clementgallet added a commit that referenced this issue Nov 20, 2021
Ruffle was using glBindSampler() to change the sampler of a texture unit
so we switch back to default sampler for our OSD texture
@clementgallet
Copy link
Owner

GL OSD is fixed by 852f740. There is currently no OSD for Vulkan, and given how verbose Vulkan is, I won't work on it for now.

@clementgallet
Copy link
Owner

Closing for now. Vulkan is not very useful because software rendering is still early

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

No branches or pull requests

2 participants