我使用的是默认的开源驱动程序,当我运行
# cat /sys/kernel/debug/vgaswitcheroo/switch我总是有我的离散AMD适配器作为DynOff。我试过了
echo ON > /sys/kernel/debug/vgaswitcheroo/switch但什么都没发生。我该怎么办?
发布于 2015-11-20 21:37:14
GRUB_CMDLINE_LINUX_DEFAULT,在radeon.runpm=0后面加上像GRUB_CMDLINE_LINUX_DEFAULT=这样的“安静的飞溅radeon.runpm=0”/etc/rc.local,请添加回显关闭>/sys/内核/调试/vgaswitcheroo/开关发布于 2018-01-14 01:23:36
我的套ATI离散混合工作。
# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]
gedit /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.runpm=0"
GRUB_CMDLINE_LINUX_DEFAULT="radeon.runpm=0"
GRUB_CMDLINE_LINUX=""
cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Pwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0在文件env中添加DRI_PRIME=1字符串,以便在应用程序中使用ATI图形卡。
gedit /etc/bash.bashrc
DRI_PRIME=1
gedit /etc/environment
DRI_PRIME=1
gedit /etc/profile
DRI_PRIME=1最后,默认情况下,它与所有应用程序一起使用。
# glxheads
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
glxheads xdisplayname ...
Example:
glxheads :0 mars:0 venus:1
Name: :0.0
Display: 0x55a68ea5b670
Window: 0x4200002
Context: 0x55a68ea6cd80
GL_VERSION: 3.0 Mesa 17.2.2
GL_VENDOR: X.Org
GL_RENDERER: AMD TURKS (DRM 2.50.0 / 4.13.0-25-generic, LLVM 5.0.0)https://askubuntu.com/questions/648426
复制相似问题