[Bug 40576] HD4290 (Asus M4A89GTD/Pro onboard): no DRI (/dev/dri/card0) with CONFIG_DRM_RADEON_KMS enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 2 07:50:12 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40576

--- Comment #3 from RandomCore <freedesktop at erben.com> 2011-09-02 07:50:12 PDT ---
ok, one by one.

1) /lib/firmware/radeon

I installed firmware-linux-nonfree (Debian v0.33), added the necessary lines to
the kernel .config to have them all included.

Booting with this (radeon.modeset=0 or =1) was not different or better then
without.

2) PCI Quirks

I added CONFIG_PCI_QUIRKS=y to my .config

This got me some difference:

a) a 30s lag where the firmware should install:

 $ grep "drm\|radeon" dmesg_bootlog_20110902_1624-kms-fw-pciquirks 
 [drm] Initialized drm 1.1.0 20060810
 [drm] radeon defaulting to kernel modesetting.
 [drm] radeon kernel modesetting enabled.
 fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
 radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
 radeon 0000:01:05.0: setting latency timer to 64
 [drm] initializing kernel modesetting (RS880 0x1002:0x9714).
 [drm] register mmio base: 0xFE6F0000
 [drm] register mmio size: 65536
 radeon 0000:01:05.0: VRAM: 368M 0x00000000C0000000 - 0x00000000D6FFFFFF (368M
used)
 radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
 [drm] Detected VRAM RAM=368M, BAR=256M
 [drm] RAM width 32bits DDR
 [drm] radeon: 368M of VRAM memory ready
 [drm] radeon: 512M of GTT memory ready.
 [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
 [drm] Driver supports precise vblank timestamp query.
 [drm] radeon: irq initialized.
 [drm] GART: num cpu pages 131072, num gpu pages 131072
 [drm] Loading RS780 Microcode

--->> 30s waiting <<---

 r600_cp: Failed to load firmware "radeon/R600_rlc.bin"
 [drm:r600_startup] *ERROR* Failed to load firmware!
 radeon 0000:01:05.0: disabling GPU acceleration
 radeon 0000:01:05.0: ffff88021f00f800 unpin not necessary
 radeon 0000:01:05.0: ffff88021f00f800 unpin not necessary
 [drm] Radeon Display Connectors
 [drm] Connector 0:
 [drm]   VGA
 [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
 [drm]   Encoders:
 [drm]     CRT1: INTERNAL_KLDSCP_DAC1
 [drm] Connector 1:
 [drm]   DVI-D
 [drm]   HPD3
 [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
 [drm]   Encoders:
 [drm]     DFP1: INTERNAL_KLDSCP_LVTMA
 [drm] radeon: power management initialized
 [drm] fb mappable at 0xD0040000
 [drm] vram apper at 0xD0000000
 [drm] size 9216000
 [drm] fb depth is 24
 [drm]    pitch is 7680
 fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
 fbcon: radeondrmfb (fb1) is primary device
 fb1: radeondrmfb frame buffer device
 drm: registered panic notifier
 [drm] Initialized radeon 2.10.0 20080528 for 0000:01:05.0 on minor 0

b) Xorg seems to be faster (glxgears shows around 730 FPS now == 15% increase).
Here's the (relevant part of the) log:

 $ grep "DRI" /var/log/Xorg.0.log
 [   139.748] (II) RADEON(0): Front buffer size: 9600K
 [   139.748] (II) RADEON(0): VRAM usage limit set to 218959K
 [   139.803] (==) RADEON(0): Backing store disabled
 [   139.803] (WW) RADEON(0): Direct rendering disabled
 [   139.803] (II) RADEON(0): Acceleration disabled
 [   139.803] (==) RADEON(0): DPMS enabled
 [   139.803] (==) RADEON(0): Silken mouse enabled
 [   139.805] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR
disabled message.
 [   139.805] (--) RandR disabled
 [   139.805] (II) Initializing built-in extension Generic Event Extension
 [   139.805] (II) Initializing built-in extension SHAPE
 [   139.805] (II) Initializing built-in extension MIT-SHM
 [   139.805] (II) Initializing built-in extension XInputExtension
 [   139.805] (II) Initializing built-in extension XTEST
 [   139.805] (II) Initializing built-in extension BIG-REQUESTS
 [   139.805] (II) Initializing built-in extension SYNC
 [   139.805] (II) Initializing built-in extension XKEYBOARD
 [   139.805] (II) Initializing built-in extension XC-MISC
 [   139.805] (II) Initializing built-in extension SECURITY
 [   139.805] (II) Initializing built-in extension XINERAMA
 [   139.805] (II) Initializing built-in extension XFIXES
 [   139.805] (II) Initializing built-in extension RENDER
 [   139.805] (II) Initializing built-in extension RANDR
 [   139.805] (II) Initializing built-in extension COMPOSITE
 [   139.805] (II) Initializing built-in extension DAMAGE
 [   139.807] (II) SELinux: Disabled on system
 [   139.227] (II) Loading extension XFree86-DRI
 [   139.239] (II) Loading extension DRI2
 [   139.816] (II) AIGLX: Screen 0 is not DRI2 capable
 [   139.816] (II) AIGLX: Screen 0 is not DRI capable
 [   139.962] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Otherwise no (EE) in there and no more (WW) lines.

So, many thanks for this improvement alone (factor 12 against software renderer
only).

How can I address this firmware problem ("Failed to load firmware")? Why is it
the R600_rlc.bin and not the R700_rlc.bin? Is there a newer/better one around?

Anything more I can do or test?

cu, RandomCore

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list