使用集显做显示,使用独显做机器学习,那么xorg.conf如何配置?
如果配不好,那么会卡在欢迎登录界面,据说也会限制风扇调速的功能。
既然GPT时代了,那么我们就用AI加速一下,直接lspci | grep -i vga
得到类似下面的东西,
04:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
3b:00.0 VGA compatible controller: NVIDIA Corporation Device 2230 (rev a1)
86:00.0 VGA compatible controller: NVIDIA Corporation Device 2230 (rev a1)
af:00.0 VGA compatible controller: NVIDIA Corporation Device 2230 (rev a1)
d8:00.0 VGA compatible controller: NVIDIA Corporation Device 2230 (rev a1)
其中第一条是集显,其他的都是独立显卡。
将上述信息丢给AI,并跟他说要生成xorg.conf,其中用集显做显示,哇啦,结果如下:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
Screen 3 "Screen3" RightOf "Screen2"
Screen 4 "Screen4" RightOf "Screen3"
EndSection
Section "Device"
Identifier "ASPEED Graphics"