Grim Dawn failed to initiate graphics engine

many errors are showing up in the run log. the log file screenshot of the program running included
0094:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDF480.
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDD188.
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDD188.
0094:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDF480.
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDD188.
0094:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0094:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 05EDD188.
couldnt initialize openGL, i'm guessing thats the problem right there ..... how do i test opengl natively in flatpak? also, the DXVK option in the game config is selected so shouldnt it be using vulkan, not opengl?
No description
115 Replies
protestant-coral
protestant-coralOP2y ago
complete last run log
rival-black
rival-black2y ago
This looks sideloaded because the log is missing all indications that it was downloaded from GOG through Heroic And you’re logged out in the Heroic app
protestant-coral
protestant-coralOP2y ago
correct it took me over 14hrs just to download 2 versions of wineGE and mono no ways am i going to try actively download the installer
protestant-coral
protestant-coralOP2y ago
i am no longer getting opengl initialization errors now it creates a blank screen and freezes the errors in the log are:
0060:err:hid:udev_bus_init UDEV monitor creation failed
00b4:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
00b4:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
00e0:err:ole:start_rpcss Failed to open RpcSs service
00e0:err:ole:start_rpcss Failed to open RpcSs service
0060:err:hid:udev_bus_init UDEV monitor creation failed
00b4:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
00b4:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
00e0:err:ole:start_rpcss Failed to open RpcSs service
00e0:err:ole:start_rpcss Failed to open RpcSs service
rival-black
rival-black2y ago
I’m not going to be of any assistance without a proper log that includes all of the configuration information. That comes with properly loaded games. I will say the proper way to do it is to log in to GOG and then use the import game function, not sideloaded function Where you start to install, but then click import game
protestant-coral
protestant-coralOP2y ago
i didnt import the game, i installed it via heroic i just used an already downloaded copy of the installer, instead of trying to download it during the install and having who knows how many failures and who knows what that will do to the install process downloading the wine-GE-proton-8.xx version took over 8 attempts (14+ hrs) and thats only a 80MB file NOT 3+ GB if ur asking for the heroic log where it built the wineprefix instead of the game specific last run log, (which i found the address for inside the heroic log) then u will have to tell me where to retrieve the older logs from i use a proper download manager for downloads so that i have a resume function when it crashes, so that i can avoid needing to download the same file 6+ times as i was forced to do for the wine edition i am NOT going to even try doing an online install for a complete gog game and need to restart it like 40 times (if i'm lucky)!
foreign-sapphire
foreign-sapphire2y ago
right, but the full logs give us all the info about how you have things configured and installed. Without them, you will have to tell us manually about every detail of how its configured like from the looks of this, you dont have dxvk enabled
underlying-yellow
underlying-yellow2y ago
this is the complete list of redistributables DirectX, MSVC2010, MSVC2010_x64, MSVC2012, MSVC2012_x64, MSVC2013, MSVC2013_x64, MSVC2015, MSVC2015_x64 offline installer should've installed them there is a possiblity that DirectX overwrote DXVK dlls try disabling and enabling dxvk also try setting windows 7 as version in winecfg @borgrel
protestant-coral
protestant-coralOP2y ago
which log? from what i can understand there are at least 2 separate logs, the heroic log (which u can access through settings -> log) which logs the wineprefix creation and might log the install process (i'm not sure) and the game last-run log (which u can access through ~/.var/app/com.heroic..../..../GameConfig/xxx.log) i did post the full log of the last run, both the one that was giving the failed to initialise error (here - attached as text but u can click on the double arrows next to expand to view the entire log without downloading it - https://discord.com/channels/812703221789097985/1150210465113329745/1150210875098148975) and the full log of when it just gives a blank screen (and here - attached as text and visible below the preformatted text bos where i placed extracts - https://discord.com/channels/812703221789097985/1150210465113329745/1150352671690207372) if u want the heroic log for the install, it might no longer be visible in settings -> log because ive been fiddling, u either need to tell me where to fetch the older heroic log or tell me that i need to reinstall so u can see that log yeah, i think so too, its one of the questions i asked in my original post, how do i check? do u want me to manually winetricks these into the prefix?
underlying-yellow
underlying-yellow2y ago
offline installer should've installed them
protestant-coral
protestant-coralOP2y ago
untick dxvk in grim dawn(settings) and then immediately retick or untick, try run and then retick (and maybe try rerun?)
underlying-yellow
underlying-yellow2y ago
unticking and then ticking it again should suffice
protestant-coral
protestant-coralOP2y ago
how do i check?
underlying-yellow
underlying-yellow2y ago
not sure, but try that dxvk and winecfg thing first
protestant-coral
protestant-coralOP2y ago
unticking and reticking brought back the cant initialise error
underlying-yellow
underlying-yellow2y ago
Lutris script installs those vcrun2010 vcrun2012 vcrun2013 vcrun2015 d3dcompiler_43 d3dcompiler_47 give that a shot I guess
protestant-coral
protestant-coralOP2y ago
just changed to win 7 .....it does look like all the MSVC are included
No description
underlying-yellow
underlying-yellow2y ago
try d3dcompiler stuff then
protestant-coral
protestant-coralOP2y ago
tested with win7 rebooting to fix the cant initialize error
underlying-yellow
underlying-yellow2y ago
btw, make sure you have up to date flatpak runtimes $ flatpak update if you are on nvidia especially
protestant-coral
protestant-coralOP2y ago
yeah, nvidia is kicking my ass atm it only needed to update freedesktop.platform
ID Branch Op Remote Download
1. [✓] org.freedesktop.Platform.GL.default 23.08 i flathub 1.0 kB / 159.0 MB
2. [✓] org.freedesktop.Platform.GL.default 23.08-extra i flathub 1.0 kB / 159.0 MB
3. [✓] org.freedesktop.Sdk.Locale 23.08 i flathub 1.0 kB / 361.9 MB
ID Branch Op Remote Download
1. [✓] org.freedesktop.Platform.GL.default 23.08 i flathub 1.0 kB / 159.0 MB
2. [✓] org.freedesktop.Platform.GL.default 23.08-extra i flathub 1.0 kB / 159.0 MB
3. [✓] org.freedesktop.Sdk.Locale 23.08 i flathub 1.0 kB / 361.9 MB
ok, still getting couldnt initialize graphics error on win7 even after reboot
Winetricks returned the following error during execution:
Error: spawn /home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks ENOENT
Winetricks returned the following error during execution:
Error: spawn /home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks ENOENT
??? i clicked on the winetricks button next to winecfg on the grim dawn(settings) UI
unwilling-turquoise
unwilling-turquoise2y ago
Does the file mentioned there exist?
protestant-coral
protestant-coralOP2y ago
this is all it says
No description
protestant-coral
protestant-coralOP2y ago
there is no winetricks folder at that address
unwilling-turquoise
unwilling-turquoise2y ago
It would be a file not folder But it doesn't exist? Interesting
protestant-coral
protestant-coralOP2y ago
borgrel@coffeehouse:~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools$ ls
dxvk proton vkd3d wine
borgrel@coffeehouse:~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools$ ls
dxvk proton vkd3d wine
unwilling-turquoise
unwilling-turquoise2y ago
Interesting Hey @Linguin, any idea about this? Maybe they should reinstall heroic? Or its a bug with the flatpak?
underlying-yellow
underlying-yellow2y ago
I guess our winetricks code just sucks
unwilling-turquoise
unwilling-turquoise2y ago
Shouldn't there be a winetricks binary there though?
protestant-coral
protestant-coralOP2y ago
should i just drop the flatpak and give the .deb a try? (there is a .deb right?)
unwilling-turquoise
unwilling-turquoise2y ago
You can try it, but the flatpak is usually what we reccomend, it should work Before that @borgrel maybe you can reinstall heroic flatpak and see if that helps? If not, its a bug I guess
protestant-coral
protestant-coralOP2y ago
do i need to do some kind of a purge, or some kind of an uninstall first? or just install over?
unwilling-turquoise
unwilling-turquoise2y ago
Can't you do flatpak reinstall heroic?
underlying-yellow
underlying-yellow2y ago
flatpak install --reinstall com.heroicgameslauncher.hgl
unwilling-turquoise
unwilling-turquoise2y ago
Oh That
protestant-coral
protestant-coralOP2y ago
arigato
underlying-yellow
underlying-yellow2y ago
どういたしまして
unwilling-turquoise
unwilling-turquoise2y ago
Wha?
underlying-yellow
underlying-yellow2y ago
you're welcome in Japanese
protestant-coral
protestant-coralOP2y ago
he says ur mother owes him a cheese burger
borgrel@coffeehouse:~$ flatpak install --reinstall com.heroicgameslauncher.hgl
Looking for matches…


ID Branch Op Remote Download
1. [✓] com.heroicgameslauncher.hgl stable i flathub 1.0 kB / 151.0 MB

Installation complete.
borgrel@coffeehouse:~$
borgrel@coffeehouse:~$ flatpak install --reinstall com.heroicgameslauncher.hgl
Looking for matches…


ID Branch Op Remote Download
1. [✓] com.heroicgameslauncher.hgl stable i flathub 1.0 kB / 151.0 MB

Installation complete.
borgrel@coffeehouse:~$
still no winetricks is it supposed to only d/l 1kB?
underlying-yellow
underlying-yellow2y ago
it has the package cached
protestant-coral
protestant-coralOP2y ago
i always get suminasen deshita and douitashi mashite confused ......
underlying-yellow
underlying-yellow2y ago
I'm still learning 😛
protestant-coral
protestant-coralOP2y ago
i cant find a good learning source i have tried dozens of supposed learning apps/programs i know 100's if not thousands of phrases from watching an ungodly amount of anime when i was at uni but i cant form even a single sentence where/how do u look up if the current flatpak release is borked? can i install an older version?
underlying-yellow
underlying-yellow2y ago
I wouldn't say it's borked winetricks has this bug in general, timeout is set to 1 second on the request, this may be the cause of missing winetricks
protestant-coral
protestant-coralOP2y ago
yeah, definitely my latency is often even 1200+ms and i cant just use the standard winetricks script but the reinstall should have retested all undownloaded portions? how do i manually add d3cxompiler_43 and d3dcompiler_47 without winetricks? @Linguin
underlying-yellow
underlying-yellow2y ago
maybe download winetricks script and place it in the expected location this is part of DirectX redistributable
protestant-coral
protestant-coralOP2y ago
maybe download winetricks script and place it in the expected location
how can u replace a binary with a script?? to interact with a script programatically u hijack the standard output and standard error streams to interact with a binary u implement an API .....these 2 are mutually exclusive @Linguin
underlying-yellow
underlying-yellow2y ago
winetricks is a bash script there is no binary
protestant-coral
protestant-coralOP2y ago
cool, i will see if i can pull that off any idea of what version i need?
foreign-sapphire
foreign-sapphire2y ago
Basically side loaded game logs do not show enough info about the game and its config. Unlike a game loaded by legendary or gogdl, which shows us your whole configuration. Im mostly lamenting that sideloaded games dont give enough logging. And that there's nothing you can really do to get the logs I was after Hence since this is a gog game, full logs out of a normally installed gog game will be more clear than the side loaded one.
protestant-coral
protestant-coralOP2y ago
Ah, thanks for explaining Is there any way to get the gogdl config WITHOUT needing to download the installer during install?
underlying-yellow
underlying-yellow2y ago
gogdl doesn't use installers you can use import feature though
protestant-coral
protestant-coralOP2y ago
Import feature?
underlying-yellow
underlying-yellow2y ago
yeah just click on install on the game page and then import you will be prompted to select game directory
protestant-coral
protestant-coralOP2y ago
what i am doing is clicking on add game on the library, typing in game name, waiting 5mins for it to fetch a game icon, clicking on run installer first and then select executable ....game page?
underlying-yellow
underlying-yellow2y ago
gogdl is only used when using built in gog integration
protestant-coral
protestant-coralOP2y ago
nods, and is there a way to allow gogdl to provide the install script without needing to download everything at that time?
unwilling-turquoise
unwilling-turquoise2y ago
@borgrel why can't you just use import game? (Not side load/add game, import)
protestant-coral
protestant-coralOP2y ago
There is no import option on the add game ui?
foreign-sapphire
foreign-sapphire2y ago
it shows up when you try to install
foreign-sapphire
foreign-sapphire2y ago
No description
unwilling-turquoise
unwilling-turquoise2y ago
You need to be logged in with gog account, u go to install the game and then hit import, as allora said
protestant-coral
protestant-coralOP2y ago
And what will import do?
foreign-sapphire
foreign-sapphire2y ago
pull it from an already installed location
unwilling-turquoise
unwilling-turquoise2y ago
Yeah, and it will launch it as a gog game using gogdl
protestant-coral
protestant-coralOP2y ago
So the normal process would be to use the install option, download the game from gog using gogdl, Configure it correctly using gogdl And then on future occasions for example an OS upgrade or a hdd swap use import to bypass the download step by telling heroic that "this prefix has alrdy been configured by gogdl" ??? .... So how do I bypass the download phase by installing the game manually using my Installers and then using import to tell heroic "this has alrdy been configured the way u like, have at it" ?? Am I miss understanding import? Will it magically reconfigure the prefix that I manually set up with wineHQ to match heroic protocols?
foreign-sapphire
foreign-sapphire2y ago
unless you dont back up the prefix, it will regenerate the prefix the prefix and the game install directory are not the same thing you can sort of think of it as the prefix is the data for the wine environment, and the game data is stored separately in its own folder so if you back up your prefix and your game and then bring them to a new computer or reinstall the os, the the most you'd have to do is import the game files, and configure the game settings to look at the right prefix folder
protestant-coral
protestant-coralOP2y ago
Yes I understand that, but that still requires that the backed up prefix was generated by gogdl I'm pretty sure u can't use the import feature for a game prefix created by lutris or wineHQ or PlayOnLinux? Because that's exactly what import is, a way to reference a previously correctly configured install I'm not trying to recover a previous heroic install
foreign-sapphire
foreign-sapphire2y ago
i mean prefixes are generally generated, but they arent really reaching out to the internet for that, if thats your concern?
protestant-coral
protestant-coralOP2y ago
I am trying to move from PoL and wineHQ to heroic (mainly because PoL STILL hasn't implemented a wine7 or above prefix) And I have ZERO interest in trying to redownload 500+ GB with a 1MB line
foreign-sapphire
foreign-sapphire2y ago
importing is pulling the game data, which IS what you are looking for if you've got the game installed already. heroic will generate its own prefix, which is fine probably outside of its a per game prefix so .. size can become a concern
protestant-coral
protestant-coralOP2y ago
OK, thanks
foreign-sapphire
foreign-sapphire2y ago
not surewhat PoL is tho anyway yeah if you have the game installed, you can import it when you click the "install" button in heroic, and pick its folder.. after that, it should generate a prefix in heroic's prefix location by default, when you run it.
unwilling-turquoise
unwilling-turquoise2y ago
it's really old play on linux was most popular before proton became a thing
foreign-sapphire
foreign-sapphire2y ago
ah
protestant-coral
protestant-coralOP2y ago
ok, i have no idea whats happening ......its now using vulkan, even though i havent got winetricks working yet now the error is
(wine:769): GStreamer-WARNING **: 20:14:37.334: Failed to load plugin '/home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-14/lib64/gstreamer-1.0/libgstdeinterlace.so': /home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-14/lib64/gstreamer-1.0/libgstdeinterlace.so: wrong ELF class: ELFCLASS64
(wine:769): GStreamer-WARNING **: 20:14:37.334: Failed to load plugin '/home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-14/lib64/gstreamer-1.0/libgstdeinterlace.so': /home/borgrel/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-14/lib64/gstreamer-1.0/libgstdeinterlace.so: wrong ELF class: ELFCLASS64
protestant-coral
protestant-coralOP2y ago
conscious-sapphire
conscious-sapphire2y ago
if you switched to a different version of heroic it might be a good idea to delete the prefix and start over?
protestant-coral
protestant-coralOP2y ago
pls read the entire thread not switching versions in fact, first time user on first time install, on clean linux install already been asked to flatpak install --reinstall heroic no change there are dozens of semi random behaviours that are cropping up i'm sure there is a single root cause for all of them hopefully u can work out what it is
conscious-sapphire
conscious-sapphire2y ago
i have read the thread. it is a different version of heroic because it's from a different source. deleting the wine prefix is not the same as reinstalling heroic i did mix up a couple people, i see now that you weren't the person that switch sources that was someone else can you send a picture of the game's settings page?
protestant-coral
protestant-coralOP2y ago
No description
foreign-sapphire
foreign-sapphire2y ago
ou of curiosity are any of those gstreamer files there like in the folder i forget you are using flatpak right?
protestant-coral
protestant-coralOP2y ago
nods
foreign-sapphire
foreign-sapphire2y ago
does it just spam that log? i didnt download the full thing haha (at work) cuz like ime, its ok to not get any of the decode stuff, but sometimes games dont like it if they cant play their movies this is maybe the real issue
warn: Skipping Vulkan 1.2 adapter: NVIDIA GeForce GTX 1660 warn: Skipping CPU adapter: llvmpipe (LLVM 15.0.7, 256 bits) warn: DXVK: No adapters found. Please check your device filter settings and Vulkan setup. A Vulkan 1.3 capable driver is required.
underlying-yellow
underlying-yellow2y ago
hmm, Heroic should pull older DXVK if that's really the case
unwilling-turquoise
unwilling-turquoise2y ago
You need to update your Nvidia driver in flatpak and remove the old one I guess
foreign-sapphire
foreign-sapphire2y ago
could the fact that its sideloaded mean it bypassed some stuff?
underlying-yellow
underlying-yellow2y ago
it shouldn't
protestant-coral
protestant-coralOP2y ago
it wasnt even trying to use dxvk (as u can see in the old logs) until after i deleted the newest nvidia driver (ubuntu 20 and nvidia 535 drivers dont like each other .... its all over the net and i spent a week after installing my OS fighting with that issue itself, my OS is currently running on 470 as was recommended by the only person that helped enough to fix the problem
foreign-sapphire
foreign-sapphire2y ago
well definitely seems to be the case that its bailing on finding adapters because vulkan version
protestant-coral
protestant-coralOP2y ago
yeah ....... the 1660 should be able to handle vulkan 1.3 .... ok, confirmed 470 only supports vulkan 1.2 anybody know which is the first nvidia driver version that supports vulkan 1.3?
foreign-sapphire
foreign-sapphire2y ago
probably not one that ubuntu will make easy to use 🙃
underlying-yellow
underlying-yellow2y ago
re enable dxvk it should rollback to 1.10 even on the outdated driver
foreign-sapphire
foreign-sapphire2y ago
wonde rhow it got in there in the first place
protestant-coral
protestant-coralOP2y ago
u sir, r a genius ...... it loaded a picture still wierd but hopefully thats a simple resolution fix gives enthusiastic kiss so at the end of the day, the problem is effing ubuntu 20
conscious-sapphire
conscious-sapphire2y ago
it always is
rival-black
rival-black2y ago
525 supports the 1660 (non-ti right?) ref: https://www.nvidia.com/Download/driverResults.aspx/205863/en-us/
underlying-yellow
underlying-yellow2y ago
nvidia suggests 535 for me
underlying-yellow
underlying-yellow2y ago
Download the latest official NVIDIA drivers
Download the latest official NVIDIA drivers
protestant-coral
protestant-coralOP2y ago
even 535 supports 1660 the problem isnt the nvidia driver but for some reason (something to do with a new kernal feature - defered rendering or something) ubuntu 20 doesnt agree with the nvidia 500-ish drivers
foreign-sapphire
foreign-sapphire2y ago
the issue is definitely ubuntu haha personally .. i really dont like it for games haha
protestant-coral
protestant-coralOP2y ago
unfortunately, gaming is not my primary use for the machine
unwilling-turquoise
unwilling-turquoise2y ago
@borgrel of course if youre happy with Ubuntu stick with it, but you could try Nobara/fedora or popos I personally use nixos but its more advanced. EndeavorOS can be good but a bit unstabke because its arch-based Opensuse tumbleweed is fine too
protestant-coral
protestant-coralOP2y ago
using zorin ...... an ubuntu derivitive they doing impressive work on things like a combined software manager for apt+snap+flatpak ..... natively integrated wine (no joke take a simple windows program like a calculator and double click the exe and it just runs) obviously games are a differant story
unwilling-turquoise
unwilling-turquoise2y ago
Zorin is not that good imo Outdated gnome, has premium version, etc
protestant-coral
protestant-coralOP2y ago
as for archbased, i did a stage1 gentoo install in university just to proove i can now i use whats easy and relaxed thanks
unwilling-turquoise
unwilling-turquoise2y ago
For the wine thing isn't that the same in a regular distro with wine installed?
protestant-coral
protestant-coralOP2y ago
nope, u'll still need to create a shell script or xdg launcher or ur choice of poison to run wine xxxx to run the exe as for old gnome? its running 38, latest gnome is 43 thats close enough to the edge, thanks
foreign-sapphire
foreign-sapphire2y ago
tbh arch is all the benefits of gentoo without all the annoyance of configuring every little thing and waiting for it to compile but iused gentoo and arch for years, and arch is my "im too lazy for gentoo" answer
protestant-coral
protestant-coralOP2y ago
do i need to mark this thread as solved, or archived or locked or something?
unwilling-turquoise
unwilling-turquoise2y ago
Ive done it
underlying-yellow
underlying-yellow2y ago
good that it ended up working 😄
unwilling-turquoise
unwilling-turquoise2y ago
yep exactly
protestant-coral
protestant-coralOP2y ago
i just needed enough time to test all 1000's of combinations of what could be wrong the help needed is more about how to navigate the UI, and knowledge of expected behaviour from everything i have read about heroic its superior to lutris, pol and winehq in every way i was certain i would get it working eventually (i got all the others running eventually) many thanks everybody

Did you find this page helpful?