xemu icon indicating copy to clipboard operation
xemu copied to clipboard

Some game don't render on intel Integrated graphics

Open Triticum0 opened this issue 3 years ago • 9 comments

Title

https://xemu.app/titles/55530043/#America-s-Army-Rise-of-a-Soldier https://xemu.app/titles/4541005b/#Burnout-3-Takedown https://xemu.app/titles/43430001/#Genma-Onimusha https://xemu.app/titles/45530019/#Project-Snowblind https://xemu.app/titles/47450002/#Phantom-Crash https://xemu.app/titles/53450027/#Puyo-Puyo-Fever https://xemu.app/titles/45530011/#Whiplash

Bug Description

The game don't render on my machine at all even when In-game nothing is rendered.

Expected Behavior

Should be able to see FVM's and menus.

xemu Version

Version: 0.6.2 Branch: master Commit: 69ceec4 Date: Wed Nov 24 02:59:42 UTC 2021 Last-known Working: Unknown

System Information

Field Value
OS Ubuntu 20.04.3 LTS
CPU Intel(R) Pentium(R) CPU 3825U @ 1.90GHz
Graphics Device Mesa Intel(R) HD Graphics (BDW GT1)
Graphics Driver Drivers: 4.6 (Core Profile) Mesa 21.0.3

Additional Context

No response

Triticum0 avatar Nov 24 '21 21:11 Triticum0

please add burnout 3 takedown

MarcoLoves360 avatar Jun 03 '22 21:06 MarcoLoves360

Done

Triticum0 avatar Jun 03 '22 21:06 Triticum0

This same thing is happening on the SteamDeck. I tested with some mesa overrides and got Burnout 3 to play the FMV's but it was slow.

Godsbane avatar Jul 25 '22 16:07 Godsbane

I can't see anything on Burnout 3 after the second loading screen on Apple Silicon (M2 MBA). Audio works and controls seem to respond. I got a choppy globe image to come up by mashing the Start button but was unable to progress further.

dmatamales avatar Jul 28 '22 01:07 dmatamales

For Linux and on my system with relatively old Intel HD 4600, this requires me to set vs_position_always_invariant to true in Mesa drirc file (usually it's ~/.drirc, Mesa usually has default configuration files in /usr/share/drirc/00-mesa-defaults.conf) as a workaround so the xemu mostly render games properly.

Fortunately that option is also an environment variables, which means it will also works if one's system setup and installation configuration made it not possible to create .drirc on their home folder.

abembritishav avatar Jul 28 '22 12:07 abembritishav

@abembritishav Would this work on windows as well? Also, do you understand what it's doing? If you do, could you write a concise write-up on the website? It would be greatly appreciated, or maybe write a step-by-step institution below, and I could add it to the website for you as I'm not totally sure what you did to fix the problem as I'm still a bit of a Linux noob.

Triticum0 avatar Jul 28 '22 14:07 Triticum0

@abembritishav Would this work on windows as well? Also, do you understand what it's doing? If you do, could you write a concise write-up on the website? It would be greatly appreciated, or maybe write a step-by-step institution below, and I could add it to the website for you as I'm not totally sure what you did to fix the problem as I'm still a bit of a Linux noob.

vs_position_always_invariant forces gl_Position output to be marked as 'invariant'. It's another optimization provided by Mesa itself. So unfortunately, this workaround doesn't work on Windows as it uses its own OpenGL driver (unless Intel somehow replaced all of their own Windows' OpenGL driver with Mesa, which isn't going to happen.)

More detailed explanation of what it does can be found here: https://gitlab.freedesktop.org/mesa/mesa/-/commit/9b577f2a887968483b88b629673d3f9904a179ff

abembritishav avatar Nov 08 '22 07:11 abembritishav

@abembritishav Would this work on windows as well? Also, do you understand what it's doing? If you do, could you write a concise write-up on the website? It would be greatly appreciated, or maybe write a step-by-step institution below, and I could add it to the website for you as I'm not totally sure what you did to fix the problem as I'm still a bit of a Linux noob.

vs_position_always_invariant forces gl_Position output to be marked as 'invariant'. It's another optimization provided by Mesa itself. So unfortunately, this workaround doesn't work on Windows as it uses its own OpenGL driver (unless Intel somehow replaced all of their own Windows' OpenGL driver with Mesa, which isn't going to happen.)

More detailed explanation of what it does can be found here: https://gitlab.freedesktop.org/mesa/mesa/-/commit/9b577f2a887968483b88b629673d3f9904a179ff

hey man i have the same igpu as you and i've heard that you can use yuzu and rpcs3 on linux , is it true ? and if it is how is the performance ? thanks .

Kaneki010 avatar Mar 23 '23 22:03 Kaneki010