-
Notifications
You must be signed in to change notification settings - Fork 57
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
Letting libTAS run Ruffle results in Flash game black screen #441
Comments
Your GDB output is incomplete. You need to press Enter, |
@InfoTeddy I'm not sure if I did it right, but I pressed It'd be nice if someone else would be willing to download the libTAS and Ruffle versions along with the SWF to see if they get the same black screen and GDB output
|
Ok, the |
For the record, I spent a few hours today trying to get Ruffle running that Flash game on both a VirtualBox Ubuntu VM and Hyper-V Ubuntu VM. Unfortunately, both of them gave Vulkan errors, one of which was |
I wasn't able to get dual-booting Ubuntu working after lots of errors and partitioning issues, so I'd appreciate it if someone else would try to reproduce the black screen on Ubuntu with my libTAS + Ruffle version and that Flash game download link. |
Literal dual-boot between Windows and Linux is indeed tricky to get right the first time, what about just installing Linux on a different drive without dial-boot and telling the computer to load from that once you need it? |
@vadosnaprimer I honestly don't have the patience to continue trying that, sorry. It'd be awesome if someone else who already has Ubuntu installed would check if they also get a black screen. I'll follow this WSL 2 tutorial tomorrow to try and get libTAS working on my Windows 10 PC instead. |
I am running Ubuntu natively and I get a slightly different error when running Ruffle with any swf: Attempt 1: Connected. The game window briefly pops open and then closes. |
@slamotas It's good to know that you're getting almost exactly the same error as me. Could you test that SWF download I linked and try that one too to see if you still get a slightly different error than mine with that too, or was that error from that Flash game I linked? I should've mentioned it, but when pressing the Also, the official Flash Player launcher version 32.0.0.465 (64-bit) works fine for running that SWF (you just need to press the When running that Flash player with libTAS however, the Flash player will turn a permanent black screen even before you've been offered to select a game by the Flash player, and this goes for both the Here's the error I get when pressing the Start and attach gdb button with the Flash player program in libTAS
|
I figured out that Ruffle by default uses Vulkan and that selecting the other three options don't even work on my laptop (dx11, dx12, metal). So Ruffle + the Flash game working on my Ubuntu laptop indicates to me that Vulkan is at least installed, which I wasn't sure of with my original libTAS + Ruffle + Flash game error. But I guess that I may still have a version of Vulkan installed that may be incompatible with libTAS. Running |
I get the error with any swf that I try. Vulkan is the only graphics setting that works for me as well. It seems that a pull request is currently being merged that would add OpenGL functionality on Linux, so we should keep an eye on that. |
@slamotas So even when you start Ruffle manually instead of letting libTAS start it for you, you get that Ruffle error? Maybe try |
With commits 666f727, 79fe794 and eec2657 I could run ruffle and the posted game correctly. I'm using the proprietary NVidia driver with a GTX 660, although it should not matter as long as you can run the game natively? For now I cannot test the new lavapipe Vulkan software renderer from Mesa, because Debian (aka package too old, and I don't want to install from unstable). |
@MyNameIsTrez Sorry, I meant that I got that error with libTAS. Ruffle and your swf runs fine for me outside of libTAS. I just tried out the latest automated build and it seems to be working in libTAS now! Time tracking with clock_gettime() is required. The bug in the title is fixed but there are still some other problems. I have been testing with this game, which works fine outside of libTAS. Games will save and load a state once but hang if you load a state twice. Keyboard inputs are also unresponsive. |
@clementgallet @slamotas I think I managed to download the latest version of libTAS correctly as the window's title is |
@MyNameIsTrez You should put the path of the swf in Command-line options, it will skip the file select window which is probably buggy in libTAS. |
@slamotas That unfortunately doesn't fix it for me, and it also doesn't make the terminal show a different error. :( I have tried it with |
Can you check |
@clementgallet Here you go: By the way, I've noticed that filling out the By the way, if you want we can debug this further in a Discord conversation (#MyNameIsTrez1585), and when we've figured out the problem we'd close this issue with a small summary of what had happened. |
As of the latest nightly build, Ruffle now supports OpenGL graphics (use the parameter Attempt 1: Connected. [libTAS f:1] Thread 12088 (main) ERROR: Fragment shader compilation failed with error 0:2(10): error: GLSL 1.20 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES [libTAS f:1] Thread 12088 (main) ERROR: Program link failed with error error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader And the glBindTexture error keeps repeating. Oddly, according to |
I have checked This is the error I get when pressing the
|
I made EGL code use the GL OSD, because at the time it used functions that were shared with both APIs. Now the GL code uses shaders, so I need to make a specific OSD code for GLES. |
@MyNameIsTrez Did you check natively? You may need to install the EGL libraries to run ruffle. |
The new commit fixed the errors for me, and I do get OSD now, which is nice. There are still some other bugs with Ruffle but I'll post those as separate issues. |
@clementgallet Yay, the latest interim version of libTAS starts the game without a black screen! I also ran I can use both |
Hi, so
./ruffle
and then selectingplazma_burst_fttp.swf
plays great.When I instead enter
libTAS
into a terminal, then browse to running ruffle in libTAS and pressStart
orStart and attach GDB
in libTAS I get a Ruffle window that prompts me to select the SWF I want to play.The problem is that with both
Start
andStart and attach GDB
the game immediately turns black, while this wasn't the case when running./ruffle
directly from a terminal.libTAS version: 1.4.2 from Ubuntu Software
Ruffle version: ruffle-nightly-2021_10_19-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
When I press the Start button I see this in the terminal
I'm not sure whether the
MESA-INTEL: warning: Haswell Vulkan support is incomplete
is related to my issue, but I'm running this on a crappy laptop. "Vulkan only supports more recently modern hardware, my Core i7-4790 Haswell has this problem too. I think the most recently Intel igpu with vulkan support is HD500 from 2016." from this person on Reddit.And when I press the Start and attach GDB button I see this in the terminal
Here are my laptop specs
The text was updated successfully, but these errors were encountered: