Hi,各位好 本人有一台Intel核显+AMD独显的Dell笔记本,因为AMD的私有驱动不能支持新的X.Org,所以想玩游戏的时候只能加参数指定显卡( DRI_PRIME=1)。指定AMD玩游戏(Dota2/CSGO)会突然卡死,偶然间测了下,发现AMD显卡性能异常低下!有两个问题想请求下各位: 1.是我的测试方法不对吗? 2.还有办法在Debian 9 上安装AMD Catalyst Control Center么?我切不了显卡。。。
*配置信息:* roy@dev:~$ screenfetch _,met$$$$$gg. roy@dev ,g$$$$$$$$$$$$$$$P. OS: Debian 9.3 stretch ,g$$P"" """Y$$.". Kernel: x86_64 Linux 4.14.0-0.bpo.3-amd64 ,$$P' `$$$. Uptime: 1h 58m ',$$P ,ggs. `$$b: Packages: 2602 `d$$' ,$P"' . $$$ Shell: bash 4.4.12 $$P d$' , $$P Resolution: 1920x1080 $$: $$. - ,d$$' DE: Gnome $$\; Y$b._ _,d$P' WM: GNOME Shell Y$$. `.`"Y$$$$P"' WM Theme: Adwaita `$$b "-.__ GTK Theme: Adwaita [GTK2/3] `Y$$ Icon Theme: Adwaita `Y$$. Font: Noto Sans CJK SC 12 `$$b. CPU: Intel Core i7-7500U CPU @ 3.5GHz `Y$$b. GPU: Mesa DRI Intel(R) HD Graphics 620 (Kabylake GT2) `"Y$b._ RAM: 4847MiB / 19945MiB roy@dev:~$ lspci -nnk | grep -E "VGA|Dis" -A3 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) Subsystem: Dell Device [1028:0794] Kernel driver in use: i915 Kernel modules: i915 -- 01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230] [1002:666f] Subsystem: Dell Sun LE [Radeon HD 8550M / R5 M230] [1028:0794] Kernel driver in use: radeon Kernel modules: radeon, amdgpu roy@dev:~$ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x76 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting Provider 1: id: 0x4f cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 0 name:HAINAN @ pci:0000:01:00.0 *测试一下:* # Intel 集显 roy@dev:~$ DRI_PRIME=0 vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. 39719 frames in 5.0 seconds = 7943.673 FPS 37063 frames in 5.0 seconds = 7412.439 FPS 32327 frames in 5.0 seconds = 6465.186 FPS 33359 frames in 5.0 seconds = 6671.724 FPS 31272 frames in 5.0 seconds = 6254.299 FPS # AMD 独显 roy@dev:~$ DRI_PRIME=1 vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. 14097 frames in 5.0 seconds = 2819.355 FPS 16608 frames in 5.0 seconds = 3321.540 FPS 15826 frames in 5.0 seconds = 3165.040 FPS 15487 frames in 5.0 seconds = 3097.366 FPS 16625 frames in 5.0 seconds = 3324.930 FPS