How to fix battle.net (with Wine) error "Failed to create a graphics context"

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
toyyoda
Posts: 11
Joined: Mon Dec 02, 2019 11:58 am

How to fix battle.net (with Wine) error "Failed to create a graphics context"

#1 Post by toyyoda »

So apparently with MX19 64-bit, the Nvidia 32-bit driver libraries are not installed by default and are not installed through the Nvidia driver installer utility in MX Tools (at least for the 390 driver, can't test the others). So if you are getting the error "Failed to create graphics context" when trying to run the battle.net launcher with Wine, or your 32-bit Steam games don't work, or some other 32-bit OpenGl application isn't working for you, you need to install the nvidia-driver-libs-i386:i386 package. Here are the steps:

1. Open Synaptic Package Manager
2. Click the "Architecture" button at the bottom left corner.
3. Choose "arch: i386" from the left panel
4. Mark for installation the package "nvidia-driver-libs-i386:i386" (or its legacy equivalent, ex: nvidia-legacy-390xx-driver-libs-i386:i386)
5. Click Apply.

Now your 32-bt OpenGl apps should work.
Last edited by toyyoda on Mon Dec 02, 2019 5:22 pm, edited 1 time in total.

User avatar
Stevo
Developer
Posts: 14843
Joined: Fri Dec 15, 2006 7:07 pm

Re: How to fix battle.net (with Wine) error "Failed to create a graphics context"

#2 Post by Stevo »

Can you attach a zip of your /var/log/ddm.log file so we can see what the Nvidia Installer did? Thanks!

toyyoda
Posts: 11
Joined: Mon Dec 02, 2019 11:58 am

Re: How to fix battle.net (with Wine) error "Failed to create a graphics context"

#3 Post by toyyoda »

Stevo wrote: Mon Dec 02, 2019 4:10 pm Can you attach a zip of your /var/log/ddm.log file so we can see what the Nvidia Installer did? Thanks!
dolphin_oracle is taking a look at it. I posted a request for the nvidia installer to install the 32-bit libraries by default in the MX repos section of the forum and he said it should be doing that already. ddm.log is in that thread: viewtopic.php?f=55&t=54501

Post Reply

Return to “Tips & Tricks by users (not for help)”