Cannot start blender with GPU #70981

Closed
opened 2019-10-21 05:34:08 +02:00 by Dinh Tu · 21 comments

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?

crash.txt

blender-2.76_crash.txt

**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? [crash.txt](https://archive.blender.org/developer/F7843091/crash.txt) [blender-2.76_crash.txt](https://archive.blender.org/developer/F7843090/blender-2.76_crash.txt)
Author

Added subscriber: @dviettu

Added subscriber: @dviettu

Added subscriber: @Pinus

Added subscriber: @Pinus

No problems here with Linux Mint 18.3 (Ubuntu Xenial 16.04) with Nvidia GTX 1070 and 384.xxx driver.
Try the latest Blender-Version of 2.81 : https://builder.blender.org/download/

No problems here with Linux Mint 18.3 (Ubuntu Xenial 16.04) with Nvidia GTX 1070 and 384.xxx driver. Try the latest Blender-Version of 2.81 : https://builder.blender.org/download/

Added subscriber: @nokipaike

Added subscriber: @nokipaike

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

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.

http://cdimage.ubuntu.com/ubuntustudio/releases/19.10/release/

@ 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. http://cdimage.ubuntu.com/ubuntustudio/releases/19.10/release/

@ 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.

@ 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.....

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

DRI_PRIME=1 ./blender
@Pinus I think there is little to do here if it fails to update drivers..... @dviettu if you are on a hybrid gpu machine, then start blender like this ``` DRI_PRIME=1 ./blender ```
Author

Dear @Pinus , @nokipaike ,
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/libglx.so
[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

Dear @Pinus , @nokipaike , 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/libglx.so > [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**

@ 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):

http://www.linuxandubuntu.com/home/how-to-install-latest-nvidia-drivers-in-linux

and here you can find additional information:
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

@ 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): http://www.linuxandubuntu.com/home/how-to-install-latest-nvidia-drivers-in-linux and here you can find additional information: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Author

@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 http://www.linuxandubuntu.com/home/how-to-install-latest-nvidia-drivers-in-linux, 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 , 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 http://www.linuxandubuntu.com/home/how-to-install-latest-nvidia-drivers-in-linux, 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 ...

@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:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

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

@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: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html Maybe one of the Blender developers has an idea ...
Bastien Montagne was assigned by Pinus 2019-11-01 13:52:08 +01:00

Added subscribers: @dfelinto, @jesterking

Added subscribers: @dfelinto, @jesterking

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

@Pinus that kind of random assignment is very close to spamming. That’s just a warning, for now. CC @dfelinto & @jesterking
Bastien Montagne removed their assignment 2019-11-01 14:31:23 +01:00

Added subscriber: @mont29

Added subscriber: @mont29

Added subscriber: @merlinstail

Added subscriber: @merlinstail

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:

nvidia-smi

... and finally:

glxinfo | grep version
There is a very good write up on installing Nvidia drivers on Ubuntu for your version available, [this Github Gist page ](https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07). 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: ``` nvidia-smi ``` ... and finally: ``` glxinfo | grep version ```
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Jeroen Bakker self-assigned this 2020-01-07 16:50:32 +01:00
Member

I vote to close this issue, as this is a bug tracker and not a support channel. Use user support channels for these kind of questions.

I vote to close this issue, as this is a bug tracker and not a support channel. Use user support channels for these kind of questions.

Thanks for your report indeed, but as Jeroen has said, we handle only bugs here. For help using Blender, please try one of the community websites: https://www.blender.org/community/

Thanks for your report indeed, but as Jeroen has said, we handle only bugs here. For help using Blender, please try one of the community websites: https://www.blender.org/community/
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#70981
No description provided.