Laptop
如何讓混合顯卡(AMD/Intel)在 Ubuntu 上執行?
我擁有一台執行 Ubuntu 14.04(3.16.0-33-generic x86_64)的 HP ProBook 450 G0 筆記型電腦。這台特殊的筆記型電腦有兩個 GPU,我希望能夠在它們之間切換。我正在尋找可以讓我實現這一目標的免費驅動程序或實用程序,但如果沒有其他解決方案適用,我願意安裝專有軟體。
到目前為止我嘗試過的事情:
- 我嘗試定位
vga_switcheroo
,但/sys/kernel/debug/vgaswitcheroo/switch
我的系統上不存在文件。fglrx-core
我下載了官方的 AMD 驅動程序並嘗試使用 aptitude 安裝它們,但由於缺少依賴項 ( ) ,它沒有完成安裝。- 我發現我可以在 BIOS 中禁用獨立顯卡。
輸出
lspci
:00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) 00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev ff) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01) 03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe 03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
輸出
lshw -C display
:*-display description: VGA compatible controller product: 3rd Gen Core processor 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:50 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:4000(size=64)
從 lspci 輸出中我只能看到一張 Intel 顯卡,請確保有一張 AMD 卡並且在 BIOS 中啟用了它。您還可以使用 Additional Drivers 視窗安裝專有的 fglrx 驅動程序:
如果那樣或安裝
fglrx
/fglrx-updates
不起作用,您可以從AMD 的站點下載驅動程序(這可能會有所幫助 - 我會補充說,當我最近必須這樣做時,我必須從 repo 中清除現有的 fglrx 安裝並且ocl-icd-libopencl1
)一旦您使用驅動程序啟用了 AMD 卡(不必是 fglrx,開源的可以更好地工作),如果您的核心早於 3.11,您可能可以使用vga_switcheroo - 否則它可能由管理Radeon DPM。