PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

The program does not start

Open Loqures opened this issue 2 years ago • 17 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 issues by using the search function of the issue tracker

Screenshots of crash/graphical issue, version and options menu

пізда

What are your system specifications and configuration?

DxDiag.txt

How to reproduce the issue

  1. I start the client
  2. At the time of loading (it says something about pixels) - the client closes
  3. The end

Character build code

No response

Loqures avatar Dec 04 '23 20:12 Loqures

https://github.com/zao/PathOfBuilding-SimpleGraphic/releases/tag/angle-2022-08-23

This dont help me

Loqures avatar Dec 04 '23 20:12 Loqures

File Explorer -> right-click Path of Building.exe -> Properties -> Compatibility -> Change high DPI settings -> check Override high DPI scaling behavior. Scaling performed by: -> select System (Enhanced)

Could you try this?

Nightblade avatar Dec 05 '23 00:12 Nightblade

File Explorer -> right-click Path of Building.exe -> Properties -> Compatibility -> Change high DPI settings -> check Override high DPI scaling behavior. Scaling performed by: -> select System (Enhanced)

Could you try this?

Tried it now - it didn't help =(

Loqures avatar Dec 05 '23 04:12 Loqures

And can the program not work because I have Win 10 and Microsoft Edge is installed instead of Internet Explorer? Can there be visual conflicts because of this? Because I was given the idea that it was the explorer that was missing. Because, for example, the other day, shortcut icons started to disappear, they become dull white. I was told this because of the lack of an explorer, such bullshit. Maybe you need it for work? What is the probability of this?

Loqures avatar Dec 05 '23 10:12 Loqures

You're OK there -- PoB doesn't need IE or Edge.

Nightblade avatar Dec 05 '23 10:12 Nightblade

My primary suspicion is that you have a laptop with two GPUs, one that seems to be an integrated AMD APU and one discrete NVidia GPU. That kind of configuration has historically been a problem for regular OpenGL that tends to have implementations that don't quite handle coexistence too well. I also note that you have quite old drivers for your AMD GPU - it might be worth installing proper current ones from AMD if you're relying on stock ones from Windows Update currently.

The updated PoB runtime (by yours truly) is way better at handling this kind of scenario and has way better driver support as it uses DirectX behind ANGLE. What differed when you tried the DLLs from that runtime rather than the stock ones? Note that you can't update PoB once those are in place as it will try to downgrade itself again to the original files.

On your system behaviour with broken icons - heaven knows what's up with that but it most probably doesn't have anything to do with these problems.

zao avatar Dec 05 '23 10:12 zao

My primary suspicion is that you have a laptop with two GPUs, one that seems to be an integrated AMD APU and one discrete NVidia GPU. That kind of configuration has historically been a problem for regular OpenGL that tends to have implementations that don't quite handle coexistence too well. I also note that you have quite old drivers for your AMD GPU - it might be worth installing proper current ones from AMD if you're relying on stock ones from Windows Update currently.

The updated PoB runtime (by yours truly) is way better at handling this kind of scenario and has way better driver support as it uses DirectX behind ANGLE. What differed when you tried the DLLs from that runtime rather than the stock ones? Note that you can't update PoB once those are in place as it will try to downgrade itself again to the original files.

On your system behaviour with broken icons - heaven knows what's up with that but it most probably doesn't have anything to do with these problems.

Updated all amd drivers. Rebooted. All the same - the problem remained.

Loqures avatar Dec 05 '23 10:12 Loqures

image After unpacking all the files from that topic, the program started. But when I try to update it - I get the same problem.

Loqures avatar Dec 05 '23 10:12 Loqures

Do not update it!

Nightblade avatar Dec 05 '23 11:12 Nightblade

Updating it essentially removes the fix.

Paliak avatar Dec 05 '23 11:12 Paliak

u

That is, it turns out that you have to manually download the client of the program all the time - and drop these files?

Loqures avatar Dec 05 '23 12:12 Loqures

The files you obtained were a preview of upcoming improvements to the runtime of ours that Path of Building runs on. I rolled that release so that we could see if it helped with problems like these, which it did. There's work underway to bring these changes (and even more cool stuff like 64-bit and newer LuaJIT) into the main releases but it needs a bit more work and packaging to be ready.

There was an opt-in beta a few months ago that had all the neat new runtime stuff, but that's not updated with any changes to Path of Building itself, so it's of limited use.

Right now, until the mythical day when I/we finish this work, I recommend that you use this alternate runtime and refrain from interacting with the update button. If there's an actual real update, perform that and replace the runtime again once it fails to start.

Another thing to look at is if you can configure in your OS which GPU you wish to launch a program with - not sure if there's any such functionality for your particular kind of setup.

zao avatar Dec 05 '23 12:12 zao

The files you obtained were a preview of upcoming improvements to the runtime of ours that Path of Building runs on. I rolled that release so that we could see if it helped with problems like these, which it did. There's work underway to bring these changes (and even more cool stuff like 64-bit and newer LuaJIT) into the main releases but it needs a bit more work and packaging to be ready.

There was an opt-in beta a few months ago that had all the neat new runtime stuff, but that's not updated with any changes to Path of Building itself, so it's of limited use.

Right now, until the mythical day when I/we finish this work, I recommend that you use this alternate runtime and refrain from interacting with the update button. If there's an actual real update, perform that and replace the runtime again once it fails to start.

Another thing to look at is if you can configure in your OS which GPU you wish to launch a program with - not sure if there's any such functionality for your particular kind of setup.

Thank you!

Loqures avatar Dec 05 '23 13:12 Loqures

I just updated the beta branch so you should be able to use that option in PoB and get updates again. It's a manual process, but I'm going to try to keep that beta branch in step with the latest code and the updated SimpleGraphic.dll

Wires77 avatar Dec 07 '23 06:12 Wires77

I just updated the beta branch so you should be able to use that option in PoB and get updates again. It's a manual process, but I'm going to try to keep that beta branch in step with the latest code and the updated SimpleGraphic.dll

I don't know how to navigate Github, to be honest. Can you please guide me or give me a link?

Loqures avatar Dec 07 '23 11:12 Loqures

I just updated the beta branch so you should be able to use that option in PoB and get updates again. It's a manual process, but I'm going to try to keep that beta branch in step with the latest code and the updated SimpleGraphic.dll

I don't know how to navigate Github, to be honest. Can you please guide me or give me a link?

If you go to options in PoB, there's an option to opt in to beta releases. Check that box, then check for updates. It'll have the updated SimpleGraphic.dll so you don't have to replace it every time manually

Wires77 avatar Dec 07 '23 13:12 Wires77

I just updated the beta branch so you should be able to use that option in PoB and get updates again. It's a manual process, but I'm going to try to keep that beta branch in step with the latest code and the updated SimpleGraphic.dll

I don't know how to navigate Github, to be honest. Can you please guide me or give me a link?

If you go to options in PoB, there's an option to opt in to beta releases. Check that box, then check for updates. It'll have the updated SimpleGraphic.dll so you don't have to replace it every time manually

Thank you very much! Now it works fine! You saved me!

Loqures avatar Dec 08 '23 08:12 Loqures