如何使用混合显卡 Radeon 7970M 启用 Unity 3D?

如何使用混合显卡 Radeon 7970M 启用 Unity 3D?

当我登录 Ubuntu 12.04 时,我没有获得 Unity 3D,尽管我认为我在登录屏幕上看到了 3D 加速。我不想使用 FGLRX 驱动程序,默认驱动程序似乎不起作用,而“(发布后更新)”驱动程序甚至拒绝安装。

我的笔记本电脑有一块集成的英特尔卡,我很乐意专门使用它(当我想做图形密集型工作时,我会启动 Windows)。笔记本电脑中还有一块 HD 7970M 显卡,我想有时利用它会很好,但我当然不希望它一直运行。

有人知道如何正确启用 Unity 3D 吗?以下是一些调试信息:

unity_support_测试:

$ /usr/lib/nux/unity_support_test -p
Error: GLX is not available on the system

glxinfo:

$ glxinfo
name of display: :0
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".

左手边:

$ sudo lshw -c video
  *-display UNCLAIMED     
       description: VGA compatible controller
       product: Advanced Micro Devices [AMD] nee ATI
       vendor: Hynix Semiconductor (Hyundai Electronics)
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller cap_list
       configuration: latency=0
       resources: memory:e0000000-efffffff memory:f7b00000-f7b3ffff ioport:e000(size=256) memory:f7b40000-f7b5ffff
  *-display
       description: VGA compatible controller
       product: Ivy Bridge Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:44 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)

lspci:

$ lspci | grep VGA   
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 6800

答案1

对于 GLX 问题,请发布此命令的输出:

LIBGL_DEBUG=详细 glxinfo

如果您只想使用 Intel 卡,请确保 ATI 卡已关闭。为此,您可以使用 vgaswitcheroo 机制。您可以在此处找到有关自动执行该过程的详细说明:

http://ubuntuforums.org/showthread.php?p=11867169#post11867169

相关内容