Suddenly lost GPU drivers? (Wine says DirectX 11 missing) - eviltoast

I often play Hearthstone on my old HP EliteBook Folio 9470m with Intel integrated graphics. Suddenly today when I try to run Hearthstone I get the error:

Failed to initialize driver

GLContext: failed to create context: Success.

GLContext: failed to register master context class: Success.

Failed to initialize graphics. Make sure you have DirectX 11 installed, have up to date drivers for your graphics card and have not disabled 3D acceleration in display settings. InitializeEngineGraphics failed

I figured that something must have gone wrong with my GPU drivers, so I tried updating to the latest Mesa drivers but that didn’t fix it. Also tried updating Wine version from lutris-GE-Proton8-8-x86_64 to lutris-GE-Proton8-10-x86_64 but that didn’t help either.

Is anyone else having similar issues? Any ideas for how to fix it?

System specs:

OS: Ubuntu 22.04.3 LTS x86_64

Host: HP EliteBook Folio 9470m A1029D1103

Kernel: 6.2.0-26-generic

Shell: bash 5.1.16

DE: GNOME 42.9

WM: Mutter

CPU: Intel i7-3687U (4) @ 3.300GHz

GPU: Intel 3rd Gen Core processor Graphics Controller

Memory: 2423MiB / 15850MiB

  • wxboss@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I ran into the same problem with Steam today, and your post caught my attention.

    I had been playing Carcassonne without any issues when I tried to launch it today and began receiving DirectX errors. Trying different Proton versions didn’t work for me either.

    I’m running an i7 11th gen on openSUSE with a GeForce RTX 3050 with similar errors to yours.

  • VHS [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I really doubt that the problem is with your actual graphic drivers, but with the wine version of directx. first, make sure you have Vulkan and DXVK installed and working on your computer as it’s required for directx 11. you could also try older wine versions, or you can see if you can force hearthstone to run under directx9 if it’s still supported:

    In the Game Settings (in the Battle.net app) you need to enable the command line argument and then type this into it: -force-d3d9

    a few years ago when i didn’t have a Vulkan-capable GPU i would have to make a lot of windows games run in D3D9

    • GrappleHat@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Thanks for the suggestion. I tried -force-d3d9 in the Battle.net client as you suggested, but I still get the same error.

      I’ll figure out how to verify that Vulkan and DXVK are working on my computer. The mysterious thing is that they were definitely working about a week ago. Not sure what’s changed…

      Again, thanks!

  • kernelPanic@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Inside lutris sidebar at the bottom, you can install the latest version. Lutris8 was updated last two years ago or so