Ubuntu에서 하이브리드 그래픽(AMD/Intel)을 작동시키는 방법은 무엇입니까?

Ubuntu에서 하이브리드 그래픽(AMD/Intel)을 작동시키는 방법은 무엇입니까?

Ubuntu 14.04(3.16.0-33-generic x86_64)를 실행하는 HP ProBook 450 G0 노트북이 있습니다. 이 특정 노트북에는 2개의 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보다 이전인 경우 - 그렇지 않은 경우 다음으로 인해 발생할 수 있습니다.라데온 DPM.

답변2

아무래도 패킷에 오류가 있는 것 같습니다 fglrx. J0nDaFr3aK가 지적한 바와 같이우분투 포럼, 다음 줄은 가능한 솔루션입니다.

sudo apt-get install libcheese*
sudo apt-get install xorg-video-abi-15
sudo apt-get install fglrx-updates

답변3

유사한 라데온 그래픽 카드에도 동일한 문제가 있습니다.

여기에서 메인라인 커널 버전 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 -정보

나는 또한 이 답변을 여기에 게시합니다.

https://askubuntu.com/questions/778205/16-04-radeon-r7-m260-errors/780515#780515

관련 정보