我目前正在测试fitlet-XA10-LAN 准系统使用 ubuntu 14.04.2 x64。一切似乎都运行良好,但我无法让 3d 加速工作。“lspci -v”表示该盒子有一个
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon APU XX-2450M with R3 Graphics] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 0123
Flags: bus master, fast devsel, latency 0, IRQ 105
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=8M]
I/O ports at f000 [size=256]
Memory at fea00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at fea40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] #19
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] #13
Capabilities: [2d0] #1b
Kernel driver in use: fglrx_pci
dmesg | grep fglrx 说
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: module verification failed: signature and/or required key missing - tainting kernel
<6>[fglrx] Maximum main memory to use for locked dma buffers: 3410 MBytes.
<6>[fglrx] vendor: 1002 device: 9855 revision: 2 count: 1
<6>[fglrx] ioport: bar 4, base 0xf000, size: 0x100
<6>[fglrx] Kernel PAT support is enabled
<6>[fglrx] module loaded - fglrx 15.20.2 [Feb 27 2015] with 1 minors
X11 确实启动了,但是 glxinfo 和 fglrxinfo 都给我
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12
查看 /var/log/Xorg.0.log 显示
[ 13.143]
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 13.144] X Protocol Version 11, Revision 0
[ 13.144] Build Operating System: Linux 3.2.0-70-generic x86_64 Ubuntu
[ 13.144] Current Operating System: Linux phoenix-fitlet 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64
[ 13.145] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-30-generic.efi.signed root=UUID=ebd77b2f-3205-46a7-a21c-4394814e98e6 ro biosdevname=0
[ 13.145] Build Date: 12 February 2015 11:11:26PM
[ 13.146] xorg-server 2:1.16.0-1ubuntu1.2~trusty2 (For technical support please see http://www.ubuntu.com/support)
[ 13.146] Current version of pixman: 0.30.2
...
[ 13.334] (II) AMD Proprietary Linux Driver Version Identifier:15.20.2
[ 13.334] (II) AMD Proprietary Linux Driver Release Identifier: UNSUPPORTED-15.20.1013
[ 13.334] (II) AMD Proprietary Linux Driver Build Date: Feb 27 2015 03:27:32
[ 13.334] (II) RADEON: Driver for ATI Radeon chipsets:
ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
...
KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
KABINI, KABINI, KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
...
[ 13.375] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 13.375] (II) FBDEV: driver for framebuffer: fbdev
[ 13.376] (II) VESA: driver for VESA chipsets: vesa
[ 13.376] (++) using VT number 7
[ 13.376] (WW) Falling back to old probe method for fglrx
[ 13.510] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 13.522] ukiDynamicMajor: found major device number 248
[ 13.527] (EE) No supported AMD display adapters were found
[ 13.529] (II) [KMS] drm report modesetting isn't supported.
[ 13.529] (EE) open /dev/dri/card0: No such file or directory
[ 13.529] (WW) Falling back to old probe method for modesetting
[ 13.529] (EE) open /dev/dri/card0: No such file or directory
[ 13.529] (II) Loading sub module "fbdevhw"
[ 13.529] (II) LoadModule: "fbdevhw"
[ 13.530] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
当我的 /etc/X11/xorg.conf 不存在时,或者当我使用“amdconfig --initial”使其看起来像这样时,就会发生这种情况:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:0:1:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
有趣的是,aticonfig/amdconfig 将该卡检测为 R6。
# aticonfig --list-adapters
* 0. 00:01.0 AMD Radeon(TM) R6 Graphics
* - Default adapter
我已经尝试过旧版本的 fglrx,我尝试在 ubuntu 中安装 fglrx 或 fglrx-updates 包,我尝试使用 AMD 安装程序构建 ubuntu 包。总是同样的问题。查看最新 AMD 版本中支持的卡列表,似乎有 R3。
我确实找到了这一页在 phoronix 上,他似乎使用了 X Server 1.15.1 和 fglrx 13.35.5 来使其工作。但我有 xorg 1.16,不确定如何降级才能尝试。
我错过了什么,我还能尝试什么?
谢谢!
答案1
哦。答案可以在fitlet 维基。较新的 fglrx 驱动程序 (15.200) 似乎不支持该卡,这是一个错误。因此,您必须使用 fglrx 13.350。这对于 ubuntu 14.04*.2* 来说很麻烦,因为包含较新的 xorg-abi,此旧驱动程序不再与之兼容对我来说,我可以使用找到的说明来解决这个问题这里。
剩下的问题是,为什么我之前尝试使用 13.350 没有成功。我不知道。