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

[BUG] Hardware acceleration broken on certain GPUs #57

Open
saweiss opened this issue Mar 21, 2019 · 5 comments
Open

[BUG] Hardware acceleration broken on certain GPUs #57

saweiss opened this issue Mar 21, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@saweiss
Copy link

saweiss commented Mar 21, 2019

Bug 描述
At least on my particular computer and OS (see specs below), I get the error message, "Laya3D init error,must support webGL!" in a pop-up shortly after I click Launch Game. I figured out that I could get past that error message if I opened the app with the following command in a terminal:

$ open -a Majsoul\ Plus --args --ignore-gpu-blacklist

So, by using Electron command line argument for ignoring the GPU blacklist, I was able to log into majsoul. However, when I went to spectate a game, I got a bunch of black bars over the screen (see image below). Turning off GPU acceleration in the settings did not help. In fact, even when ignoring the GPU blacklist, I got the webGL error message again. Any ideas what I can try to get majsoul-plus working on this particular computer? I got it working on another Mac, but I'm pretty sure it's because it has a non-blacklisted GPU.

如何重现
以下为重现步骤:

  1. Use a Mac with a blacklisted GPU (see specs below for example).
  2. Use the above command to open majsoul-plus without GPU blacklisting.
  3. Trying launching a majsoul game with all combinations of the GPU related toggles in the majsoul settings pane ("Disable GPU acceleration" and "Enable GPU in-process"). The error message only appears when the "Disable GPU acceleration" button is toggled.

预期行为
I expect majsoul-plus to work comparably to how it runs in Chrome. In other words, no black bars and other bad renderings.

截图
Black bars over game

客户端信息 (请完善以下信息):

  • 操作系统: macOS Sierra v10.12.6 on MacBook Pro (13-inch, Early 2011)
  • 系统架构: x86
  • 版本号: majsoul-plus v1.11.1 and v1.11.2

备注
For what it's worth, I get the same black bar overlay when I try to run majsoul in Firefox. For some reason, even though hardware acceleration is enabled in both Chrome and Firefox on my computer, majsoul plays fine in Chrome, but not Firefox.

@saweiss saweiss added the bug Something isn't working label Mar 21, 2019
@iamapig120
Copy link
Member

Could you tell me your Chrome version ? Thank you.

@saweiss
Copy link
Author

saweiss commented Mar 21, 2019

I am using Chrome Version 73.0.3683.86 (Official Build) (64-bit). Thanks!

@iamapig120
Copy link
Member

I am using Chrome Version 73.0.3683.86 (Official Build) (64-bit). Thanks!

Got it

@saweiss
Copy link
Author

saweiss commented Mar 21, 2019

Perhaps it would help to have a print-out of my chrome://gpu/ page:
chrome---gpu.pdf

@Yesterday17
Copy link
Member

Does this issue exist in the latest release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants