[Bug 40576] New: 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 05:03:28 PDT 2011


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

           Summary: HD4290 (Asus M4A89GTD/Pro onboard): no DRI
                    (/dev/dri/card0) with CONFIG_DRM_RADEON_KMS enabled
           Product: DRI
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: freedesktop at erben.com


I have a Debian (somewhere between unstable and testing) and a homebrewn kernel
(v3.0.1 with vserver 2.3.1-pre9) on my M4A89GTD/Pro. The M4A89GTD/Pro has
HD4290 on-board graphics (RS880). There's no other graphic card installed. For
bootup I have a vesa console framebuffer configured but no radeon (couldn't get
it to work). If I set in my kernel .config file

 CONFIG_DRM_RADEON=y
 CONFIG_DRM_RADEON_KMS=y

a dmesg shows:

 [drm] Initialized drm 1.1.0 20060810
 [drm] radeon defaulting to kernel modesetting.
 [drm] radeon kernel modesetting enabled.
 checking generic (d0000000 280000) vs hw (d0000000 10000000)
 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: BAR 6: can't assign [??? 0x00000000 flags 0x0] (bogus
alignment)
 [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
 radeon 0000:01:05.0: Fatal error during GPU init
 [drm] radeon: finishing device.

Unnecessary to tell, that there are no /dev/dri/* around then. If I unset
CONFIG_DRM_RADEON_KMS I get:

 [drm] Initialized drm 1.1.0 20060810
 [drm] radeon defaulting to userspace modesetting.
 pci 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
 pci 0000:01:05.0: setting latency timer to 64
 [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
 [drm] No driver support for vblank timestamp query.
 [drm] Initialized radeon 1.33.0 20080528 for 0000:01:05.0 on minor 0
 ... (much later, at the end) ...
 [drm] Setting GART location based on new memory map
 [drm] Loading RS780 CP Microcode
 [drm] Resetting GPU
 [drm] writeback test succeeded in 1 usecs
 [drm] Resetting GPU

and /dev/dri/card0 is present. The Problem however is that the libGL (Debian
libgl1-mesa-glx v7.11-5, xorg v1:7.5+8) has Problems with that:

 $ LIBGL_DEBUG=verbose /usr/bin/glxinfo -b

 libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
 libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r600_dri.so
 libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 4, (OK)
 drmOpenByBusid: Searching for BusID pci:0000:01:05.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 4, (OK)
 drmOpenByBusid: drmOpenMinor returns 4
 drmOpenByBusid: Interface 1.4 failed, trying 1.1
 drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
 libGL error: Calling driver entry point failed
 libGL error: reverting to software direct rendering
 ...

The performance of X (measured with glxgears) without KMS (~630 FPS) is better
than with KMS and no DRI (~85 FPS), but there should be more.

Do you have any idea, what I can change?
Or, can I do more to help analyzing this?

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