[gentoo-user] Not getting video hardware acceleration

2011-01-31 Thread Walter Dnes
  The system is an AMD-based Acer Aspire One 14 laptop with 4-gigs of
ram, running 64-bit mode.  The video card, according to lspci -v...

01:05.0 VGA compatible controller: ATI Technologies Inc Device 9712
(prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 0372
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at c000 (32-bit, prefetchable) [size=256M]
I/O ports at 9000 [size=256]
Memory at d010 (32-bit, non-prefetchable) [size=64K]
Memory at d000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at unassigned [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: radeon

01:05.1 Audio device: ATI Technologies Inc Device 970f
Subsystem: Acer Incorporated [ALI] Device 0372
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at d011 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: HDA Intel

  mplayer can only run -vo x11, not -vo xv which I see on every
other Gentoo machine I've had.  Video playback suffers accordingly.
Here's a snippet from dmesg bootup stuff that looks relavant, especially
the last 6 lines... 

[0.250870] [drm] Initialized drm 1.1.0 20060810
[0.250972] [drm] radeon defaulting to kernel modesetting.
[0.251009] [drm] radeon kernel modesetting enabled.
[0.251160] radeon :01:05.0: PCI INT A - GSI 18 (level, low) - IRQ 18
[0.251204] radeon :01:05.0: setting latency timer to 64
[0.253225] [drm] initializing kernel modesetting (RS880 0x1002:0x9712).
[0.253339] [drm] register mmio base: 0xD010
[0.253376] [drm] register mmio size: 65536
[0.253512] ATOM BIOS: Acer_JE40HM42DN
[0.253584] radeon :01:05.0: VRAM: 256M 0xC000 - 0xCFFF (256M 
used)
[0.253632] radeon :01:05.0: GTT: 512M 0xA000 - 0xBFFF
[0.253814] [drm] Detected VRAM RAM=256M, BAR=256M
[0.253856] [drm] RAM width 32bits DDR
[0.253972] [TTM] Zone  kernel: Available graphics memory: 1899810 kiB.
[0.254010] [TTM] Initializing pool allocator.
[0.254061] [drm] radeon: 256M of VRAM memory ready
[0.254099] [drm] radeon: 512M of GTT memory ready.
[0.254174] [drm] radeon: irq initialized.
[0.254212] [drm] GART: num cpu pages 131072, num gpu pages 131072
[0.255276] [drm] Loading RS780 Microcode
[   60.896232] r600_cp: Failed to load firmware radeon/R600_rlc.bin
[   60.896274] [drm:r600_startup] *ERROR* Failed to load firmware!
[   60.896313] radeon :01:05.0: disabling GPU acceleration
[   60.897418] radeon :01:05.0: 88013ea6bc00 unpin not necessary
[   60.897456] radeon :01:05.0: 88013ea6bc00 unpin not necessary

  Any ideas what's going wrong, and especially how to fix it?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Not getting video hardware acceleration

2011-01-31 Thread Mick
On Monday 31 January 2011 19:28:27 Walter Dnes wrote:
   The system is an AMD-based Acer Aspire One 14 laptop with 4-gigs of
 ram, running 64-bit mode.  The video card, according to lspci -v...
 
 01:05.0 VGA compatible controller: ATI Technologies Inc Device 9712
 (prog-if 00 [VGA controller])
 Subsystem: Acer Incorporated [ALI] Device 0372
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Memory at c000 (32-bit, prefetchable) [size=256M]
 I/O ports at 9000 [size=256]
 Memory at d010 (32-bit, non-prefetchable) [size=64K]
 Memory at d000 (32-bit, non-prefetchable) [size=1M]
 Expansion ROM at unassigned [disabled]
 Capabilities: [50] Power Management version 3
 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
 Kernel driver in use: radeon
 
 01:05.1 Audio device: ATI Technologies Inc Device 970f
 Subsystem: Acer Incorporated [ALI] Device 0372
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at d011 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 3
 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
 Kernel driver in use: HDA Intel
 
   mplayer can only run -vo x11, not -vo xv which I see on every
 other Gentoo machine I've had.  Video playback suffers accordingly.
 Here's a snippet from dmesg bootup stuff that looks relavant, especially
 the last 6 lines...
 
 [0.250870] [drm] Initialized drm 1.1.0 20060810
 [0.250972] [drm] radeon defaulting to kernel modesetting.
 [0.251009] [drm] radeon kernel modesetting enabled.
 [0.251160] radeon :01:05.0: PCI INT A - GSI 18 (level, low) - IRQ
 18 [0.251204] radeon :01:05.0: setting latency timer to 64
 [0.253225] [drm] initializing kernel modesetting (RS880 0x1002:0x9712).
 [0.253339] [drm] register mmio base: 0xD010
 [0.253376] [drm] register mmio size: 65536
 [0.253512] ATOM BIOS: Acer_JE40HM42DN
 [0.253584] radeon :01:05.0: VRAM: 256M 0xC000 - 0xCFFF
 (256M used) [0.253632] radeon :01:05.0: GTT: 512M 0xA000 -
 0xBFFF [0.253814] [drm] Detected VRAM RAM=256M, BAR=256M
 [0.253856] [drm] RAM width 32bits DDR
 [0.253972] [TTM] Zone  kernel: Available graphics memory: 1899810 kiB.
 [0.254010] [TTM] Initializing pool allocator.
 [0.254061] [drm] radeon: 256M of VRAM memory ready
 [0.254099] [drm] radeon: 512M of GTT memory ready.
 [0.254174] [drm] radeon: irq initialized.
 [0.254212] [drm] GART: num cpu pages 131072, num gpu pages 131072
 [0.255276] [drm] Loading RS780 Microcode
 [   60.896232] r600_cp: Failed to load firmware radeon/R600_rlc.bin
 [   60.896274] [drm:r600_startup] *ERROR* Failed to load firmware!
 [   60.896313] radeon :01:05.0: disabling GPU acceleration
 [   60.897418] radeon :01:05.0: 88013ea6bc00 unpin not necessary
 [   60.897456] radeon :01:05.0: 88013ea6bc00 unpin not necessary
 
   Any ideas what's going wrong, and especially how to fix it?

Have you followed the instructions on this page re: radeon-ucode and the 
kernel configuration

http://www.gentoo.org/doc/en/xorg-config.xml

If so, what does ls -la /lib/firmware/radeon/ show?  Is R600_rlc.bin showing 
up in there?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Not getting video hardware acceleration

2011-01-31 Thread Walter Dnes
On Mon, Jan 31, 2011 at 07:49:13PM +, Mick wrote
 Have you followed the instructions on this page re: radeon-ucode and the 
 kernel configuration
 
 http://www.gentoo.org/doc/en/xorg-config.xml
 
 If so, what does ls -la /lib/firmware/radeon/ show?  Is R600_rlc.bin
 showing up in there?

  Thanks, that was it.  I didn't realize that Radeon drivers involved
loading firmware blobs.  I thought that was for proprietary drivers like
nvidia or fglrx.  Anyhow, it works now and keeps up with live high-def
TV playback from my HDHomerun tuner box.  I have one or two more items
to deal with before the laptop is 100% functional under linux, but
that'll be another thread.

-- 
Walter Dnes waltd...@waltdnes.org