PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Graphics display issue in 2.50 running under wine

Open stredger opened this issue 11 months ago • 3 comments

Check version

  • [x] I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • [x] I've checked for duplicate open and closed issues by using the search function of the issue tracker

What platform are you running Path of Building on?

Linux - Wine

How is Path of Building expected to behave?

Rendering is unaffected by version update

How does Path of Building behave?

Display issues with panels and some images when running under wine. Admittedly an older wine version as I am running wine under MacOS 12.6.7 but these are the most up to date releases my machine supports.

Seems like the update to simplegraphics 2.2 (https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/8441/commits/4a7361cac8f439953615dccf0661f4b905337344) causes a display issue when running under wine.

If i replace the SimpleGraphics dll with the old version from 2.49 the issue resolves. There are no errors in the console with either .dll

How to reproduce the issue

  1. Open PoB under wine

PoB for PoE1 build code


Screenshots

Current behavior

Image

With old simplegraphics dll

Image

stredger avatar Feb 15 '25 20:02 stredger

I'm not familiar with the flavour of Wine you're using there, I assume it's Crossover based on the menu bar.

I outlined my testing and solutions in https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues/196#issuecomment-2599223858, using Kegworks with a CX engine and D3DMetal/GPTK enabled. The latter is required for correct rendering, Wine's own D3D can't handle the rendering techniques of our new SimpleGraphic.

Replacing the DLL with an old one isn't a viable workaround long-term, we make actually meaningful changes there aside from the updated renderer.

zao avatar Feb 15 '25 23:02 zao

Yea, unfortunately my machine is quite old and I cant use kegworks as it requires macOS 10.15.4+. Im also realistic though and completely understand if this gets closed and the solution is "use an up to date wine"

stredger avatar Feb 16 '25 00:02 stredger

On Linux we opted to use OpenGL as the ANGLE backend to work around the D3D11 support in standard Wine being a bit wonky. This is unfortunately not an option on macOS as Apple doesn't support a high enough OpenGL version.

As I understand it, D3DMetal and GPTK won't run on what I presume is an Intel-based mac. I've been suggested that DXVK may be an option but I don't know if it would apply or even help.

If nothing else works, there are the third party PoB ports that are based around pobfrontend, assuming those are still being updated.

zao avatar Feb 16 '25 01:02 zao

Closing as more-or-less resolved (and stale).

Nightblade avatar Oct 21 '25 11:10 Nightblade