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

Compiling instructions? #6137

Open
coreybruce opened this issue Jan 25, 2022 · 12 comments
Open

Compiling instructions? #6137

coreybruce opened this issue Jan 25, 2022 · 12 comments
Labels
question Further information is requested

Comments

@coreybruce
Copy link

Hey there, was just wondering if there was any compiling instruction for the desktop application as I would like to build it from source for Linux arm64 and other hardware on Linux.

@adrian17
Copy link
Collaborator

adrian17 commented Jan 25, 2022

It's right there on the main readme page :) Let us know if it doesn't actually work.

https://github.com/ruffle-rs/ruffle#building-from-source

@coreybruce
Copy link
Author

It's right there on the main readme page :) Let us know if it doesn't actually work.

https://github.com/ruffle-rs/ruffle#building-from-source

Ahh sorry about that, totally missed it as I wasn't sure if that was building commands or not as I am also more use to using make and cmake to build stuff.

I got it to work on my desktop but I noticed a couple of issues, First was when the game is running like dadnme for example I get high cpu usage

image

Another issue I noticed was when you go off focus with it the application will stop responding but you can tell it to wait to bring it back to normal.

@Toad06 Toad06 added the question Further information is requested label Jan 27, 2022
@coreybruce
Copy link
Author

Is there anything else I need to add to help resolve/report these issue?

@adrian17
Copy link
Collaborator

adrian17 commented Jan 29, 2022

Sorry, I was away.
I was in the middle of writing a long message, but then realized: can you try running cargo run with extra flag --release? Ruffle in debug mode is guaranteed to be very slow 😓 I'll update the build instructions to add these later.

@coreybruce
Copy link
Author

Hi I haven't got to check yet but was this updated and fixed?

@adrian17
Copy link
Collaborator

adrian17 commented Mar 1, 2022

Hi, not sure which issue you're referring to; if this:

I get high cpu usage

Then, as said above - please compile with --release instead.

For this:

when you go off focus with it the application will stop responding

Unfortunately, I haven't been able to reproduce this yet.

@coreybruce
Copy link
Author

Hi, not sure which issue you're referring to; if this:

I get high cpu usage

Then, as said above - please compile with --release instead.

For this:

when you go off focus with it the application will stop responding

Unfortunately, I haven't been able to reproduce this yet.

Ahh ok thanks for letting me know, I'll use --release and let you know if anything goes wrong.

@mero09-99
Copy link

Is this still open?
author never returned

@coreybruce
Copy link
Author

coreybruce commented Oct 15, 2022

Hey it's still open, didn't run into any issues but I will need to test it again on Arm64

Was the instructions updated by any chance?

@coreybruce
Copy link
Author

coreybruce commented Oct 19, 2022

won't work on Arm64 Linux, ran into this issue whe nI tried running DadnMe on the Raspberry pi 4

[2022-10-19T04:59:55Z ERROR wgpu::backend::direct] Error in Adapter::request_device: unsupported features were requested: DEPTH32FLOAT_STENCIL8
Error: Couldn't create wgpu rendering backend

Caused by:
    Requesting a device failed

@Futurama39
Copy link

This same issue is replicable on -g gl on even non compiled versions of ruffle, looks to have been introduced by #8297

@Futurama39
Copy link

also looks to be linked mainly to this issue with wgpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants