我运行的是 Ubunru Gnome 16.04。我的笔记本电脑有 Nvidia GT 740M,我安装了 nvidia-364 驱动程序。我安装了 CUDA-TOOLS 7.5。如何为 Blender 2.77a 启用 GPU 渲染?
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Hewlett-Packard Company 3rd Gen Core processor DRAM Controller
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: ivb_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=01, subordinate=06, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: d2000000-d2ffffff
Prefetchable memory behind bridge: 00000000a0000000-00000000bfffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company 3rd Gen Core processor Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at d3000000 (64-bit, non-prefetchable) [size=4M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB xHCI Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 25
Memory at d3700000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family MEI Controller
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at d3714000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB Enhanced Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d3719000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at d3710000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 17
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
Memory behind bridge: d3600000-d36fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18
Bus: primary=00, secondary=08, subordinate=0d, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d1000000-d1ffffff
Prefetchable memory behind bridge: 00000000d0000000-00000000d0ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 19
Bus: primary=00, secondary=0e, subordinate=0e, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d3500000-d35fffff
Prefetchable memory behind bridge: 00000000d3400000-00000000d34fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB Enhanced Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at d3718000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company HM77 Express Chipset LPC Controller
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 27
I/O ports at 5088 [size=8]
I/O ports at 5094 [size=4]
I/O ports at 5080 [size=8]
I/O ports at 5090 [size=4]
I/O ports at 5060 [size=32]
Memory at d3717000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family SMBus Controller
Flags: medium devsel, IRQ 10
Memory at d3715000 (64-bit, non-prefetchable) [size=256]
I/O ports at 5040 [size=32]
Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
Subsystem: Hewlett-Packard Company GK208M [GeForce GT 740M]
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
[virtual] Expansion ROM at b2000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_364_drm, nvidia_364
07:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
DeviceName: Intel(R) Wi-Fi Link 2330
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at d3600000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d1000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
DeviceName: Hanksville Gbe Lan Connection
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 28
I/O ports at 2000 [size=256]
Memory at d3500000 (64-bit, non-prefetchable) [size=4K]
Memory at d3400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
答案1
非常感谢,我在 Ubuntu Gnome 16.04 中为我的 GT740M 修复了这个问题
- 打开终端并输入 sudo apt-get install nvidia-364
- 然后我从它的网站下载了搅拌机
- 解压后,我在现有文件夹中打开了终端(在文件夹内单击鼠标右键,然后选择“在终端中打开”)
- 输入 sudo ./blender
- 然后,您将获得 GPU 渲染(用户首选项--->系统---->CUDA)
感谢所有人的帮助
答案2
Blender 默认不启用 Cycles 的 GPU 渲染。在场景顶部选择 Cycles 作为渲染引擎,因为默认的 Blender 内部渲染器无法使用 GPU。
要启用 GPU 渲染,请进入“用户偏好设置”,然后在“系统”选项卡下选择要使用的计算设备。接下来,对于每个场景,您可以在“渲染”属性中配置使用 CPU 或 GPU 渲染。
答案3
尝试通过首先运行以下命令来更新您的 NVIDIA 图形驱动程序:
sudo apt update && sudo apt upgrade
然后运行:
sudo apt install nvidia-current && sudo apt install nvidia-current-updates
根据搅拌机网站,你只需要着色器模型 2.0 或更高版本来支持 Cycles,并且根据英伟达,您的卡支持型号 3.0,所以这不是问题。
我的笔记本电脑有 650M,可以在它和英特尔显卡之间切换。有一次我不得不启动 Nvidia 控制面板并强制它指定 Blender 使用 Nvidia 卡,因为它默认使用英特尔芯片。这是在 Windows 下,我不知道 Nvidia 是否在 Linux 下提供这种切换功能。