Hello! I have a problem with graphics initialization

Questions about Wine on Linux
Post Reply
BlackCatDev
Newbie
Newbie
Posts: 2
Joined: Mon Mar 29, 2021 4:32 am

Hello! I have a problem with graphics initialization

Post by BlackCatDev » Mon Mar 29, 2021 4:47 am

Hello! I have a problem with graphics initialization

I decided to install nvidia drivers instead of nouveau (nouveau has artifacts in games) and the games and some programs won't start.

Error:
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

My wine version: 6.4 staging

My system;

OS: Ubuntu 20.04 focal
Kernel: x86_64 Linux 5.8.0-48-generic
Shell: zsh 5.8
Resolution: 1280x1024
DE: KDE 5.68.0 / Plasma 5.18.5
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze-dark
Disk: 39G / 148G (28%)
CPU: Intel Pentium Dual E2200 @ 2x 2.203GHz
GPU: GeForce GT 220
RAM: 1336MiB / 1986MiB

Thank you in advance)

invisible kid
Level 3
Level 3
Posts: 63
Joined: Tue Dec 24, 2019 3:23 pm

Re: Hello! I have a problem with graphics initialization

Post by invisible kid » Mon Mar 29, 2021 7:40 am

I don't represent wine in any way, but I have experience with nvidia and linux.
How did you install the nvidia drivers? A distro package? Or a .run package from nvidia? I install via the .run package from invidia. What is giving you the error message? Is XWindow starting up okay or is that giving the error? After I install the nvidia drivers(which compile against my linux kernel source), I have access to a program called nvidia-settings. Do you have that?

Sometimes I use Debian and I remember going through a list of steps to switch from nouveau to nvidia. I forget the details, but you may need to make changes to config files and such removing any artifacts of the nouveau installation. But I would start by making sure X is using nvidia. Use whatever tools you have to verify which driver is actually being used(I would use nvidia-settings).

BlackCatDev
Newbie
Newbie
Posts: 2
Joined: Mon Mar 29, 2021 4:32 am

Re: Hello! I have a problem with graphics initialization

Post by BlackCatDev » Mon Mar 29, 2021 10:08 am

Yes, I have nvidia-settings and the nvidia driver from the ppa (I installed using ubuntu-drivers autoinstall command & nvidia - xconfig after adding the ppa)

Post Reply