PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
3.98k stars 2.08k forks source link

Missing Simplegraphic.cfg #2849

Closed Lordkabul closed 3 years ago

Lordkabul commented 3 years ago

I keep getting this report every time i try to load. I have tried updating drivers as well as uninstalled and reinstalled POB. I am not a programmer but love this program. Capture

image

pundm commented 3 years ago

Hey, so have you checked if the file is in the folder? I can paste you the contents of mine for a test, maybe try to create it manually under:

C:\Users\David\AppData\Roaming\Path of Building Community\SimpleGraphic

filename: SimpleGraphic.cfg

set con_log "0" set r_compress "0" set r_screenshotFormat "jpg" set r_layerDebug "0" set con_fontSize "14" set vid_mode "8" set vid_resizable "3" set vid_display "-1" set vid_fullscreen "0" set vid_last "1920,1017,0,23,1"

Could you also pls read up on this: https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues/2784#issuecomment-841346417 and see if this helps?

Lordkabul commented 3 years ago

thank you so much that worked


From: pundm @.> Sent: Monday, June 7, 2021 3:36 AM To: PathOfBuildingCommunity/PathOfBuilding @.> Cc: Lordkabul @.>; Author @.> Subject: Re: [PathOfBuildingCommunity/PathOfBuilding] Missing Simplegraphic.cfg (#2849)

Hey, so have you checked if the file is in the folder? I can paste you the contents of mine for a test, maybe try to create it manually under:

C:\Users\David\AppData\Roaming\Path of Building Community\SimpleGraphic

SimpleGraphic.cfg

set con_log "0" set r_compress "0" set r_screenshotFormat "jpg" set r_layerDebug "0" set con_fontSize "14" set vid_mode "8" set vid_resizable "3" set vid_display "-1" set vid_fullscreen "0" set vid_last "1920,1017,0,23,1"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPathOfBuildingCommunity%2FPathOfBuilding%2Fissues%2F2849%23issuecomment-855727133&data=04%7C01%7C%7Ca883f7fe371449844c2508d9298f53d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586517824017154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roWpP1JJcP5ClMFZhL8yqSdBw7NBkLWeYNBMlvpSNqo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUMAUYV6K7W2J3G6A7FUATDTRSAIJANCNFSM46GN6KKA&data=04%7C01%7C%7Ca883f7fe371449844c2508d9298f53d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586517824027144%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=n6TbSVSIe8%2Ftf8XDbHZRmvgOKogbTZq8X7szOyPhA04%3D&reserved=0.

zao commented 3 years ago

Which part of pundm's suggestion was it that did the trick, the new DLL or creation of the config file?

Lordkabul commented 3 years ago

Creation of the config file

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Lars @.> Sent: Monday, June 7, 2021 1:52 PM To: @.> Cc: @.>; @.> Subject: Re: [PathOfBuildingCommunity/PathOfBuilding] Missing Simplegraphic.cfg (#2849)

Which part of pundm's suggestion was it that did the trick, the new DLL or creation of the config file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPathOfBuildingCommunity%2FPathOfBuilding%2Fissues%2F2849%23issuecomment-856178225&data=04%7C01%7C%7C162f3683bc854d44485c08d929e571ab%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586887688947987%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N851HIroGUJ9uL0Arus3pZs2DgtrWfIpLKEneJE8weU%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUMAUYWO7ZMS52JSFHSCE3DTRUIP7ANCNFSM46GN6KKA&data=04%7C01%7C%7C162f3683bc854d44485c08d929e571ab%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586887688957988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kD6pAZ7gc1uqpfQdhCX%2BYnnhJuYF1wB%2BOETMlyNqkO0%3D&reserved=0.

Lordkabul commented 3 years ago

Well that fix worked for the next time I logged in …. Now I am getting this one

@.***D75BE3.1ABBFB70]

It seems like all my simplegraphic files are just screwed

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Lars @.> Sent: Monday, June 7, 2021 1:52 PM To: @.> Cc: @.>; @.> Subject: Re: [PathOfBuildingCommunity/PathOfBuilding] Missing Simplegraphic.cfg (#2849)

Which part of pundm's suggestion was it that did the trick, the new DLL or creation of the config file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPathOfBuildingCommunity%2FPathOfBuilding%2Fissues%2F2849%23issuecomment-856178225&data=04%7C01%7C%7C162f3683bc854d44485c08d929e571ab%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586887688947987%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N851HIroGUJ9uL0Arus3pZs2DgtrWfIpLKEneJE8weU%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUMAUYWO7ZMS52JSFHSCE3DTRUIP7ANCNFSM46GN6KKA&data=04%7C01%7C%7C162f3683bc854d44485c08d929e571ab%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637586887688957988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kD6pAZ7gc1uqpfQdhCX%2BYnnhJuYF1wB%2BOETMlyNqkO0%3D&reserved=0.

zao commented 3 years ago

I'm guessing you tried attaching an image here but it got lost when using email to respond to the issue?

Please use the GitHub web interface to show it.

Lordkabul commented 3 years ago

yeah sorry so this is the new message i am getting --

image

I am not sure what is happening ... i have used POB for over a year and never had a problem until last week.

zao commented 3 years ago

The thing that is happening here is that for some reason when Path of Building is trying to initialize OpenGL for drawing, it gets stuck, typically in the graphics driver.

This can sometimes be due to some settings in the control panel for your graphics driver, or something that it has enabled on your behalf, like enabling Geforce Experience or using an older AMD GPU in "compute" mode instead of "graphics" mode.

Could you give the alternative SimpleGraphic DLL linked earlier in the issue a try to see if it changes what happens here?

Lordkabul commented 3 years ago

i do have geforce experience enabled is that the problem?

zao commented 3 years ago

GFE shouldn't be a problem in itself but this startup problem surfaces every now and then and we're trying to find a good solution to it, including some big changes to how we initialize graphics.

Lordkabul commented 3 years ago

well that must be the problem then ... i did update my driver through geforce experience and that coincides with the issues

zao commented 3 years ago

If the problem is still happening, could you please follow these steps and report back if it changes anything?

  1. Download my alternate SimpleGraphic.dll from https://github.com/zao/PathOfBuilding-SimpleGraphic/actions/runs/842555056
  2. Move away the old one in the Path of Building directory.
  3. Put the new DLL in its place.
  4. Start Path of Building normally.

If if starts successfully, it's going to think there's an update as this file differs from the stock DLL.

Lordkabul commented 3 years ago

ok as pathetic as this sounds how do i download this file? sorry i am not familiar with github

zao commented 3 years ago

At the bottom of that page is a list of Artifacts, with one item, SimpleGraphic.dll. If you are signed in, you should be able to click on the filename to download a zip containing the file.

It looks like this: image

Lordkabul commented 3 years ago

yes it did exactly as you thought.... stuck on checking for update

when it dinally completed i get this ...

image

zao commented 3 years ago

But it did start normally with the new file in place?

If it works, please don't apply the "update". Doing so will put back the old one that doesn't work on your system.

Lordkabul commented 3 years ago

no it did not start .... it just ran through a series of downloads on its own and then would not start up just displayed what i placed above

zao commented 3 years ago

Could you again try putting the new file in and see if it reaches the main window? I appreciate the effort you're making here in testing this out.

Lordkabul commented 3 years ago

i get the same message ... i also tried deleting POB and reinstalling ... then replacing the .dll i file ... i get this

image

zao commented 3 years ago

Something is very odd here. This output signifies that it's not using the file at that point.

I have prepared a custom standalone installation of PoB that never updates and which has the modified DLL in it. If you would be willing to give it a try for testing, download it from:

https://zao.se/~zao/poe/pob/custom-pob-2.3.0.zip

You would unzip it somewhere separate on your disk like the Desktop and launch it by doubleclicking on Path of Building.exe.

Lordkabul commented 3 years ago

I appreciate your working with me on this ... so i uninstalled POB and then extracted thsi file to my desktop. When running this time i get the following

image

zao commented 3 years ago

I've made a build with more diagnostic information and stack traces, please give it a go: https://zao.se/~zao/poe/pob/custom-pob-2.3.0-g34006c8.zip

Lordkabul commented 3 years ago

Here is my error message now

image

zao commented 3 years ago

This stack trace is quite valuable, it suggests that the crash is happening within what appears to be the driver for an Intel integrated GPU.

Could you please tell me a bit about the computer you're running this on? What CPU is it? Does the machine have some sort of hybrid Intel/NVIDIA graphics like "Optimus"?

If so, what driver version are the Intel drivers, are they a bit old or do they seem up to date? You should be able to tell either by looking in dxdiag.exe or in your Device Manager.

Lordkabul commented 3 years ago

Device name DESKTOP-6T4O7CD Processor Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.59 GHz Installed RAM 32.0 GB (31.8 GB usable) Device ID 96F4B556-F42E-42B2-994C-C3FA48BC28C1 Product ID 00325-81688-13373-AAOEM System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display

Lordkabul commented 3 years ago

Nvidia GeForce RTX2060 graphics

zao commented 3 years ago

Could you please report which driver version you have for your Intel GPU? It'll show either if you run dxdiag.exe and look on the Display tabs until you find one with an "Intel(R) UHD Graphics 630" device, or if you open the device under "Display adapters" in Device Manager and look at the Driver tab.

devmgr-igpu dxdiag-igpu

Lordkabul commented 3 years ago

Capture

zao commented 3 years ago

What are the different devices and driver versions for each of those displays? You may copy/paste the text here if you wish. Is this some sort of docked laptop computer?

Lordkabul commented 3 years ago

yes it is a docked laptop with two external displays iother than the laptop Display 1 Display2 Display3 Display 4

zao commented 3 years ago

Thanks for this information and sorry for the delay in getting back to you.

I don't have any clear solution or workaround here, the situation with OpenGL and Intel drivers is a bit weird to begin with and the additional indirection via a docking station makes it even worse.

It is possible that one of the following things may change something:

From the Path of Building side, there's not too much that can be changed currently. OpenGL on Windows does not have any native way to indicate which GPU to use.

Lordkabul commented 3 years ago

well thank you so much Lars .... the option to choose my GPU worked. As i chose to let it use the integrated graphics instead of NVidia the program runs fine