ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.6k stars 809 forks source link

some parts not rendered in canvas if turnoff hardware acceleration #17463

Open hi098123 opened 2 months ago

hi098123 commented 2 months ago

Describe the bug

Explanations and examples in the attached file.

Chrome(or Edge, Chromium etc) without hardware acceleration + fixed element covers the player 2024.08.11.zip 2024 08 11

Expected behavior

Problem with screen not rendering when scrolling to a specific location

Content Location

It doesn't matter

Affected platform

Self-hosted version

Operating system

windows

Browser

chrome, edge

Additional information

No response

n0samu commented 2 months ago

I am unable to reproduce this (I tried in Edge on Windows 10 with your attached HTML file)

Croworbit commented 2 months ago

I thought ruffle needs hardware acceleration to work so turning it off to me seems unintuitive

hi098123 commented 2 months ago

https://github.com/user-attachments/assets/3d171b23-e361-4fd5-8233-afae4e5a236d

Devtools - performance - Load profile Trace-20240812T132123.json screenshot and trace callstack (at 924.38ms ~ 957.77 ms)

n0samu commented 2 months ago

This looks like a problem with the browser itself, maybe in combination with your specific hardware.