1
chaucerling 2015-03-13 17:34:00 +08:00
lspci | grep VGA #查看显卡信息
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (rev ff) sudo cat /sys/kernel/debug/vgaswitcheroo/switch #查看显卡状态 0:IGD:+:Pwr:0000:00:02.0 #i卡 1:DIS: :DynOff:0000:01:00.0 |
2
chaucerling 2015-03-13 17:36:36 +08:00 1
没x11估计是没安装开源驱动
https://wiki.archlinux.org/index.php/ATI_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#.E6.A6.82.E8.A7.88 先卸载闭源驱动,再安装开源驱动 sudo apt-get install xorg |
3
Solitudechn OP @chaucerling 我没有安装过任何闭源驱动,并且我不能够查看显卡当前启动状态...原因是没有/sys/kernel/debug/下的 /vgaswitcheroo 这个文件夹
返回值 # lspci | grep -i 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] |
4
chaucerling 2015-03-14 01:16:01 +08:00
|
5
chaucerling 2015-03-14 01:19:16 +08:00
忘了说,内核要 kernels >= 3.12 才有vgaswitcheroo这个模块
|
6
chaucerling 2015-03-14 01:32:38 +08:00
看错了,archlinux的wiki是说内核大于等于3.12,用开源驱动是会自动切换的
2.6.38以上的内核开始支持双显卡的切换,3.06下切换显卡的模块仍然处于debug状态 sudo mount -t debugfs debugfs /sys/kernel/debug #加载模块 |
7
Solitudechn OP @chaucerling 谢谢,现在我的内核是linux 3.16 也就是说,我的独立显卡会自动切换?在开源的驱动情况下?
|
8
chaucerling 2015-03-14 10:09:11 +08:00
@Solitudechn
应该是的 |
9
ujmxyd 2015-03-14 10:24:27 +08:00
@chaucerling 能否指出是Arhc Wiki的哪一段?大概浏览了一下,没看见类似的。
|
10
chaucerling 2015-03-14 10:45:51 +08:00
|
11
yadam 2015-03-14 13:07:13 +08:00
前一阵子配置ubuntu装成功了一次, 不知道有没有参考价值
http://yadam.sinaapp.com/article/26 |
12
yadam 2015-03-14 13:09:21 +08:00
哦 闭源的..
|
13
ujmxyd 2015-03-14 14:30:13 +08:00 via Android
@chaucerling https://help.ubuntu.com/community/HybridGraphics#Enabling_vga_switcheroo vga_switcheroo is the kernel mechanism that allows you to switch between GPUs if your machine has a hardware mux.(multiplexer,多路复用器)
http://www.x.org/wiki/RadeonFeature/#note_5 MUXed systems can be switched using vgaswitcheroo. … Most new laptops (2011+) are MUX-less. 所以不能用vga_switcheroo是因为这个笔记本是MUX-less的 但是radeon到底能不能支持MUX-less的东西我不是很确定 https://wiki.archlinux.org/index.php/hybrid_graphics#Current_Problems_2 恕我英语不好,“This is not needed for kernels version >= 3.12 with radeon DPM enabled; the open source graphics driver manages the card automatically.”的意思到底是radeon DPM能够搞定双显卡自动切换还是会检测到双显卡就自动关闭独显? |
14
ujmxyd 2015-03-14 15:57:20 +08:00 via Android
另外,“同群的人”是怎么知道的……glxinfo?
|
15
ujmxyd 2015-03-14 16:12:11 +08:00 via Android
|