Cxbx-reloaded: LLE NV2A: AMD Instability

Created on 17 Jun 2018  路  3Comments  路  Source: Cxbx-Reloaded/Cxbx-Reloaded

It's suspected that OpenGL drivers for AMD GPU's are crash prone when calls are made from more than one thread.

To solve this, we could refactor our LLE nv2a pgraph renderer such, that all OpenGL calls are made through the command queue handling thread.

Any OpenGL calls not currently done from that thread (like initialization and Xbox to host framebuffer copies) can be moved to emulator-specific commands, one for each call or set of calls.

LLE enhancement graphics

Most helpful comment

It's suspected that OpenGL drivers for AMD GPU's are crash prone when calls are made from more than one thread.

This would break a ton of programs and definitely isn't the case.

I'd suspect that the GL context is not transferred correctly (which may or may not be an upstream issue in XQEMU already) between threads though. That's the only logical explanation I can come up with.

All 3 comments

It's suspected that OpenGL drivers for AMD GPU's are crash prone when calls are made from more than one thread.

This would break a ton of programs and definitely isn't the case.

I'd suspect that the GL context is not transferred correctly (which may or may not be an upstream issue in XQEMU already) between threads though. That's the only logical explanation I can come up with.

Probably best to create a small test case to prove the issue?

Since we no longer support LLE GPU, this issue does no longer apply. Closing as "won't do".

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AzurikRiseOfPerathia picture AzurikRiseOfPerathia  路  4Comments

PatrickvL picture PatrickvL  路  4Comments

childishbeat picture childishbeat  路  4Comments

PatrickvL picture PatrickvL  路  3Comments

PatrickvL picture PatrickvL  路  3Comments