我拥有一台 HP ProBook 450 G0 笔记本电脑,运行 Ubuntu 14.04 (3.16.0-33-generic x86_64)。这台特定的笔记本电脑有两个 GPU,我希望能够在它们之间切换。我正在寻找一个免费的驱动程序或实用程序来实现这一目标,但如果没有其他解决方案适用,我愿意安装专有软件。
到目前为止我尝试过的事情:
- 我尝试查找
vga_switcheroo
,但文件/sys/kernel/debug/vgaswitcheroo/switch
不存在于我的系统上。 - 我下载了官方 AMD 驱动程序并尝试使用 aptitude 安装它们,但由于缺少依赖项 ( ),它没有完成安装
fglrx-core
。 - 我发现我可以在 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)
答案1
从 lspci 输出中,我只能看到一张 Intel 显卡,请确保有一张 AMD 卡并且在 BIOS 中启用了它。您还可以使用“附加驱动程序”窗口来安装专有的 fglrx 驱动程序:
如果这样或安装fglrx
/fglrx-updates
不起作用,您可以从以下位置下载驱动程序AMD 网站(这可能会有所帮助 - 我要补充一点,当我最近不得不这样做时,我必须从存储库中清除现有的 fglrx 安装,并且ocl-icd-libopencl1
)
一旦您使用驱动程序启用了 AMD 卡(不必是 fglrx,开源驱动程序可以更好地工作),您可能能够使用vga_switcheroo如果您的内核版本早于 3.11 - 否则它可能由Radeon DPM。
答案2
显然,数据包中存在错误fglrx
。正如 J0nDaFr3aK 中指出的Ubuntu 论坛,以下几行是可行的解决方法。
sudo apt-get install libcheese*
sudo apt-get install xorg-video-abi-15
sudo apt-get install fglrx-updates
答案3
类似的 radeon 显卡也有同样的问题。
我从这里安装了主线内核版本 4.6:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/
这是安装指南:
https://wiki.ubuntu.com/Kernel/MainlineBuilds#Verifying_the_mainline_build_binaries
启动新内核后,我使用以下命令测试了该卡,并且对 radeon 显卡的更改有效:
$ DRI_PRIME=1 glxgears -info
这个答案我也发布在这里:
https://askubuntu.com/questions/778205/16-04-radeon-r7-m260-errors/780515#780515