You are not logged in.

#1 2016-07-10 15:58:55

Osspial
Member
Registered: 2016-07-02
Posts: 4

Blender not allowing CUDA rendering on NVIDIA GTX 770

Running on an NVIDIA GTX 770 graphics card with the latest proprietary NVIDIA drivers, I cannot get Blender to allow CUDA rendering. This is after following the instructions listed here and rebooting multiple times. Interestingly, getting Blender to run with OpenCL as per the instructions linked does work, but this is not ideal as CUDA seems to be faster on NVIDIA cards and is also more fully-featured.

This is the output of lspci

$ lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)
	Subsystem: eVga.com. Corp. Device 2774
	Kernel driver in use: nvidia

And this is a list of all nvidia packages I currently I have installed

$ pacman -Qs nvidia
local/lib32-nvidia-libgl 367.27-1
    NVIDIA drivers libraries symlinks (32-bit)
local/lib32-nvidia-utils 367.27-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/libxnvctrl 367.27-2
    NVIDIA NV-CONTROL X extension
local/nvidia 367.27-1
    NVIDIA drivers for linux
local/nvidia-libgl 367.27-1
    NVIDIA drivers libraries symlinks
local/nvidia-settings 367.27-2
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 367.27-1
    NVIDIA drivers utilities
local/opencl-nvidia 367.27-1
    OpenCL implemention for NVIDIA

Offline

#2 2016-07-10 19:53:19

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

Osspial writes:

CUDA seems to be faster on NVIDIA

As I recall CUDA is the preferred option for Blender across the board. Much better rendering.


That being said, here is my setup (You might try trimming yours):

libvdpau 1.1.1-2
    Nvidia VDPAU library

libxnvctrl 367.27-2
    NVIDIA NV-CONTROL X extension

nvidia 367.27-1
    NVIDIA drivers for linux

nvidia-libgl 367.27-1
    NVIDIA drivers libraries symlinks

nvidia-settings 367.27-1
    Tool for configuring the NVIDIA graphics driver

nvidia-utils 367.27-1
    NVIDIA drivers utilities

xf86-video-nouveau 1.0.12-1 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards

FWIW: By all accounts xf86-video-nouveau should neither be required nor function but it is and does in my case. I researched this question with freedesktop.org- no clear explanation was determined. It works. Hence I don't trouble myself with the question. Also, when I used Blender, libxnvctrl wasn't installed- this came with a recent upgrade.


Platform= Desktop, 64-bit; GPU= NVIDIA GeForce GT-630

Last edited by madpierre (2016-07-10 20:50:45)

Offline

#3 2016-07-10 21:55:02

Osspial
Member
Registered: 2016-07-02
Posts: 4

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

madpierre wrote:

FWIW: By all accounts xf86-video-nouveau should neither be required nor function but it is and does in my case. I researched this question with freedesktop.org- no clear explanation was determined. It works. Hence I don't trouble myself with the question.

Thanks for the suggestion! However, installing xf86-video-nouveau doesn't seem to fix anything in my case.

Offline

#4 2016-07-11 01:16:15

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

It doesn't look like you have CUDA installed.


Matt

"It is very difficult to educate the educated."

Offline

#5 2016-07-11 01:18:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

AFAIK, CUDA is disabled in Blender on Arch right now because it won't build with GCC 6.

Online

#6 2016-07-11 04:59:39

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 392

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

That's correct. We've gotta wait for CUDA 8 and then use clang 3.8 to make this build.

Offline

#7 2016-07-11 05:42:00

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,340

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

You can download the latest binary build from https://builder.blender.org/ and use that to circumvent the GCC 6 issue for now. Simply uppack to /opt and use that instead for the moment.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#8 2016-07-12 16:38:14

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 392

Re: Blender not allowing CUDA rendering on NVIDIA GTX 770

I just re-enabled cuda for blender. Enjoy.

Offline

Board footer

Powered by FluxBB