Project

General

Profile

Actions

Emulator Issues #6663

closed

No rendering on i686 ArchLinux

Added by google over 10 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What went wrong?
When running any game, the game window is black and doesn’t display anything. Both CPU and GPU cores emulation seems to work since my CPU is at 200%. Even OSD (framerate, OpenGL vendor string, etc.) doesn’t get displayed.

What did you expect to happen instead?
For the game window to display anything the game image. :)

What steps will reproduce the problem?

  1. Launch Dolphin
  2. Run any game

Which versions of Dolphin did you test on?
4.0 release from ArchLinux’ community repository, and 4.0-88 built myself on that same system, both installed system-wide.

Which version of Dolphin used to work?
3.5

What are your PC specifications (example: Operating System, CPU and GPU)?
ArchLinux i686 userland running on ArchLinux’ x86_64 kernel
Intel(R) Core(TM) i3-2357M CPU @ 1.30GHz
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (HD3000)

64 or 32 bit Operating System?
32

64 or 32 bit Dolphin?
32

Any other relevant information (e.g. logs, screenshots, configuration
files)
Everything works fine in an x86_64 userland, using the exact same configuration (which is the default one).
The renderer doesn’t matter, even the software renderer doesn’t display anything.
With both renderers, apitrace doesn’t get any buffer swap, as if everything was rendered in a single frame.
I use Mesa’s i965 DRI on Linux’ i915 DRM, but the same happen when I use llvmpipe or swrast as my OpenGL driver.
Disabling dual-core, or enabling XFB doesn’t change anything.
I get “FPS: 0 - VPS: 4 - 9%” in the title of the window.

I’ll stay here in case you need more information.

Actions #1

Updated by vuohioksennus over 10 years ago

I guess I have the same issue with 4.0 in Rosa Desktop Fresh R1 i586. And I found that after switching from JIT to Interpreter games start to work (no more black screen) but in Interpreter mode everything is too slow to play.

Actions #2

Updated by google over 10 years ago

I just bisected, and the first bad commit is d334a9bc23a7641143937042658f64fc9c1b7a92 “Fix stack misalignment issues.”

Btw it works fine using the pure interpreter here too.

Actions #3

Updated by delroth over 10 years ago

  • Status changed from New to Accepted
  • Priority set to Urgent
  • Operating system N/A added

Should have been fixed by https://code.google.com/p/dolphin-emu/source/detail?r=6209067daa5121e383d173f7272bbf20bc108047 which will be patched in 4.0.1. Can you try this commit?

Assigning comex, this needs to be fixed in the next 3 days for 4.0.1.

Actions #4

Updated by vuohioksennus over 10 years ago

For me revision 6209067daa5121e383d173f7272bbf20bc108047 doesn't solve the issue.

Actions #5

Updated by comexk over 10 years ago

Please test whether branch 4.0.1-stackalign-fix solves the problem (this is independent from the fix for master).

Actions #6

Updated by vuohioksennus over 10 years ago

Tried revision b78a811744f96dc1feae4f8520a9c25c2a6e9825 (branch 4.0.1-stackalign-fix with latest commit "Fix ThunkManager::ProtectFunction on x86"). The issue is still there.

Actions #7

Updated by comexk over 10 years ago

Derp.

Actions #8

Updated by comexk over 10 years ago

2ca42e0497bab9719a05f43378aa7be4e5dfe2c1 should fix it properly.

Actions #9

Updated by vuohioksennus over 10 years ago

Yes, now both JIT and JITIL work again on 32 bit linux. Thanx.

Actions #10

Updated by delroth over 10 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF