我正在尝试使用开源 Radeon 驱动器(我认为这与 Gallium 相同,但如果我搞错了,请纠正我)的 13.04。这是在 4850 卡上,因此需要传统的专有驱动程序,这些驱动程序与 13.04 不兼容(我进行了 xserver 降级以在 12.04 上使用它们,但不想在 13.04 上走那条路)。
驱动程序可以正常工作,只是我无法更改风扇/电源设置。我尝试将 radeon.dpm=1 添加到 grub,但在启动时系统日志中出现此错误(并且系统显示的图像质量很差(2d?):
Aug 14 20:26:23 xxxx-xxxx kernel: [ 5.115756] radeon: `1' invalid for parameter `dpm'
以下是一些命令的信息,可能有助于识别我是否做错了什么。任何想法都将不胜感激。
lshw -c video
*-display
description: VGA compatible controller
product: RV770 [Radeon HD 4850]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:46 memory:d0000000-dfffffff memory:fe8e0000-fe8effff ioport:b000(size=256) memory:fe8c0000-fe8dffff
modinfo radeon
filename: /lib/modules/3.8.0-19-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
license: GPL and additional rights
description: ATI Radeon
author: Gareth Hughes, Keith Whitwell, others.
<bunch of firmware listing>
radeon/RV710_pfp.bin
firmware: radeon/RV730_me.bin
firmware: radeon/RV730_pfp.bin
firmware: radeon/RV770_me.bin
firmware: radeon/RV770_pfp.bin
firmware: radeon/RS780_me.bin
firmware: radeon/RS780_pfp.bin
firmware: radeon/RV670_me.bin
firmware: radeon/RV670_pfp.bin
<bunch of firmware listing>
srcversion: 9F592710CB27B4A29EE5630
<bunch of alias pci: listings>
depends: drm,drm_kms_helper,ttm,i2c-algo-bit
intree: Y
vermagic: 3.8.0-19-generic SMP mod_unload modversions
parm: no_wb:Disable AGP writeback for scratch registers (int)
parm: modeset:Disable/Enable modesetting (int)
parm: dynclks:Disable/Enable dynamic clocks (int)
parm: r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int)
parm: vramlimit:Restrict VRAM for testing (int)
parm: agpmode:AGP Mode (-1 == PCI) (int)
parm: gartsize:Size of PCIE/IGP gart to setup in megabytes (32, 64, etc) (int)
parm: benchmark:Run benchmark (int)
parm: test:Run tests (int)
parm: connector_table:Force connector table (int)
parm: tv:TV enable (0 = disable) (int)
parm: audio:Audio enable (1 = enable) (int)
parm: disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int)
parm: hw_i2c:hw i2c engine enable (0 = disable) (int)
parm: pcie_gen2:PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int)
parm: msi:MSI support (1 = enable, 0 = disable, -1 = auto) (int)
parm: lockup_timeout:GPU lockup timeout in ms (defaul 10000 = 10 seconds, 0 = disable) (int)
答案1
为什么它不起作用很简单:你使用的内核(3.8)还不支持 dpm - 使用内核 3.11 / Ubuntu 13.10
如果您使用 3.11 版的 Linux 发行版,它很可能包含 Mesa (9.2) 的更新版本,该更新版本也为 Radeon 卡提供 UVD(硬件视频加速)。
检查在 grub 中设置 radeon.dpm=1 后一切是否正常:
modinfo radeon
vermagic: 3.11.0-4-generic SMP mod_unload modversions
parm: dpm:DPM support (1 = enable, 0 = disable, -1 = auto) (int)
dmesg | grep dpm
[drm] radeon: dpm initialized
更多信息: http://www.phoronix.com/scan.php?page=news_item&px=MTQyNDE