您尚未登录。

#1 2015-04-06 21:24:34

liuc
会员
注册时间: 2014-12-29
帖子: 14

安装了amd开源驱动,如何才能启动呢

因为开源的驱动可以双显卡切换,所以选择了amd的开源驱动,参考wiki里面ati闭源驱动的安装https://wiki.archlinux.org/index.php/ATI_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
安装xf86-video-ati,lib32-mesa-libgl mesa-vdpau lib32-mesa-vdpau
因为系统中没有这个文件/etc/X11/xorg.conf.d/20-radeon.conf,然后手动添加。
在/etc/mkinitcpio.conf,加入了MODULES="radeon"
# mkinitcpio -p linux
root@liuc-arch ~ # dmesg | grep "radeon"
[ 1.077582] [drm] radeon kernel modesetting enabled.
[ 1.079272] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 1.137672] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 1.137675] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[ 1.137793] [drm] radeon: 2048M of VRAM memory ready
[ 1.137794] [drm] radeon: 1024M of GTT memory ready.
[ 1.142335] [drm] radeon: dpm initialized
[ 1.143351] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 1.146118] radeon 0000:01:00.0: WB enabled
[ 1.146122] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff880003a54c00
[ 1.146124] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff880003a54c0c
[ 1.147578] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90004bb2118
[ 1.147584] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 1.147632] radeon 0000:01:00.0: radeon: using MSI.
[ 1.147690] [drm] radeon: irq initialized.
[ 2.001863] radeon 0000:01:00.0: No connectors reported connected with modes
[ 2.011380] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[ 2.011383] radeon 0000:01:00.0: registered panic notifier
[ 2.040126] [drm] Initialized radeon 2.40.0 20080528 for 0000:01:00.0 on minor 0
[ 14.677200] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 14.682678] radeon 0000:01:00.0: WB enabled
[ 14.682685] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff880003a54c00
[ 14.682690] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff880003a54c0c
[ 14.684164] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90004bb2118


root@liuc-arch ~ # 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 6730M/6770M/7690M XT] (rev ff)


root@liuc-arch ~ # lshw -numeric -class video
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller [8086:116]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:28 memory:e0000000-e03fffff memory:d0000000-dfffffff ioport:3000(size=64)
在wiki后面的关于设置的内容没有进行,系统重启还是使用的intel集显。请问:
如何启用amd显卡并在intel与amd双显卡之间切换

离线

#2 2015-04-06 21:39:33

atmouse
会员
注册时间: 2011-08-24
帖子: 672

Re: 安装了amd开源驱动,如何才能启动呢

我没有intel cpu,
https://wiki.archlinux.org/index.php/AT … e_Graphics
https://help.ubuntu.com/community/Hybri … ch_the_GPU
这个试下,试完记得反馈下详细步骤,也许我以后也会用到

最近编辑记录 atmouse (2015-04-06 21:40:22)


Raspberry pi 3, PHA-2A/DT1770Pro,
linux-raspberrypi, systemd, pacman, vc4, xorg, qtile, chrome,

离线

页脚