我使用的是 Manjaro KDE 版本。我的系统配备 Skylake i5 处理器和混合显卡。
System: Host: aditya-laptop Kernel: 4.4.8-1-MANJARO x86_64 (64 bit gcc: 5.3.0)
Desktop: KDE Plasma 5.6.3 (Qt 5.6.0) Distro: Manjaro Linux
Machine: System: HP product: HP Notebook v: Type1ProductConfigId
Mobo: HP model: 8136 v: 31.36 Bios: Insyde v: F.1F date: 01/18/2016
CPU: Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9603
clock speeds: max: 2800 MHz 1: 699 MHz 2: 2694 MHz 3: 750 MHz 4: 750 MHz
Graphics: Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
bus-ID: 01:00.0
Display Server: X.Org 1.17.4 drivers: ati,radeon,intel Resolution: [email protected]
GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
GLX Version: 3.0 Mesa 11.2.1 Direct Rendering: Yes
对于早期版本的内核 4.4 以及驱动程序,PRIME 卸载可以通过命令正常工作xrandr --setprovideroffloadsink radeon Intel
但是现在更新内核和xf86驱动程序后,它不起作用。
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x66 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x3f cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:HAINAN @ pci:0000:01:00.0
$ xrandr --setprovideroffloadsink 0x3f 0x66
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x3f
Serial number of failed request: 16
Current serial number in output stream: 17
我不知道问题到底出在哪里,因为许多软件包都已更新,其中包括内核以及xf86-video-intel
软件包xf86-video-ati
。我还安装了linux4.6内核,但我也遇到了同样的问题。