Page MenuHome

Cannot start blender with GPU
Open, Needs Triage by DeveloperPublic


System Information
Operating system: Ubuntu16.04
Graphics card: Geforce Gtx 1080 ti

Blender Version
Broken: 2.80 (latest version on the Home page)
Worked: None

Short description of error
I cannot start the executable file from the tar package downloaded from Blender page.
My driver is nvidia-384 (version 384.130)
It tells that OpenGL 3.3 or higher is required.
But after updated the driver to 430.29 (installed from source, via apt install), this error still occurred (see the crash.txt for detail)

I tried to install the driver version 430.50 from NVIDIA home page (*.run file), but it gives me the error: "You appear to be running an X server; please exit X before installing). I searched for some solutions and follow but still no help.

I tried install Blender 2.76 from source (via apt install), and using my original driver (nvidia-384) but it also failed. See the blender-2.76_crash.txt for detail.

How can I launch Blender 2.8 using my GPU?


OpenGL Error

Event Timeline

Dinh Tu (dviettu) changed Type from Bug to OpenGL Error.Oct 21 2019, 1:18 PM
Pinus added a subscriber: Pinus.Oct 21 2019, 5:01 PM

No problems here with Linux Mint 18.3 (Ubuntu Xenial 16.04) with Nvidia GTX 1070 and driver.
Try the latest Blender-Version of 2.81 :

maybe ubuntu, and in particular the drivers are too old here ...

@ noki
no, Ubuntu 16.04 Xenial is a LTS-Version.
Mint 18.3 based on 16.04, and Blender 2.80 and 2.81 work here without any problems with Nvidia 384.130.
Im wondering why Dinh get a warning about OpenGL Version ??? (broken driver installation?)

@ dinh
does your GTX 1080 work on Win 8.1 or 10?
Wich Kernel is installed on your Ubuntu 16.04?

Test-Szenario: Download Ubuntu Studio 19.10-64bit iso image, and run Linux from this Live CD/DVD
(or better from a Live USB-Stick) and start Blender 2.80, and then please report the result, thx.

Pinus added a comment.EditedOct 22 2019, 1:24 AM

@ Dinh
try running blender with --debug-gpu-force-workarounds => and start Blender again.

Important question, do you use a Notebook/Laptop with Hybrid-Graphic ?

With this command you can check the X-Server: grep glx /var/log/Xorg.0.log => please report the result.

@Pinus I think there is little to do here if it fails to update drivers.....

@Dinh Tu (dviettu) if you are on a hybrid gpu machine, then start blender like this

DRI_PRIME=1 ./blender

Dear @Pinus , @noki paike (amonpaike) ,
Thank you for your suggestions.

My environment is a Desktop PC, which is a hybrid gpu machine (2 Geforce Gtx 1080 ti cards).
I try the command suggested by noki : DRI_PRIME=1 ./blender
But it still gave the same error.

The output of the command: grep glx /var/log/Xorg.0.log:

[657792.409] (II) LoadModule: "glx"
[657792.410] (II) Loading /usr/lib/xorg/modules/extensions/
[657792.410] (II) Module glx: vendor="X.Org Foundation"

About the Live Ubuntu, I'm sorry but I cannot try this suggestion. Because my PC is in a server room, and I cannot work directly with it. I used VNC to work remotely with it. Does this cause any problem?

My PC's kernel version is: 4.15.0-51-generic

Pinus added a comment.Mon, Oct 28, 2:18 PM

@ Dinh
Access via VNC should not be the problem. For me, this still looks like a driver problem.

But first try it again with the latest version of 2.81 Beta (from today)

You have full control over the server with the Ubuntu installation?
If so, then try the following, but be careful and make a backup (timeshift):

and here you can find additional information:

@Pinus ,

I tried with the version 2.81 Beta but it still gave the same error.

I also tried updated the driver to nvidia-430 version followed, but it does not help either (still that error).

I can use GPUs to train Neural Network model (with CUDA installed) normally. But I think somehow that Blender could not recognize my GPUs, I don't know why ...

Pinus added a comment.EditedFri, Nov 1, 1:49 PM

@Dinh Tu (dviettu)
so as not to overlook the obvious, have you selected in Preferences => System => Cycle Render Devices => CUDA
both graphics cards?

Is your Linux system running in a virtual machine? (VM-Ware or VirtualBox)

Are the two GPUs connected in SLI mode (physical bridge and / or per driver)? (does not realy work in Linux)

Have you ever tried/selected the Nouveau driver?

I have no idea why your GPU is not recognized, I suspect that something may have failed with your Nvidia driver installation. You could try to completely remove the Nvidia driver from the system (purge) and clean all installation directories manually; But beware that is not trivial, if you do it wrong you destroy your system. Do a back-up with timeshift!

If that does not help, then you can only reinstall Ubuntu, or better Mint ;-)

Here are a few infos about Blender and GPU:

Maybe one of the Blender developers has an idea ...

@Pinus that kind of random assignment is very close to spamming. That’s just a warning, for now. CC @Dalai Felinto (dfelinto) & @Nathan Letwory (jesterking)

There is a very good write up on installing Nvidia drivers on Ubuntu for your version available, this Github Gist page.

The same autho r has information about running in hybrid.

It would be helpful if you can run the following command line and post the output here:

lspci | grep VGA

If that looks okay then also:


... and finally:

glxinfo | grep version