[Bug 16200] New: Xorg server busy-loops at start when DRI is true

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 2 07:11:12 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16200

           Summary: Xorg server busy-loops at start when DRI is true
           Product: xorg
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: cokane at cokane.org
         QAContact: xorg-team at lists.x.org


I am using the latest xorg-server from git, built against the following
packages:
  * dri2proto from git
  * drm from git
  * glproto from git
  * inputproto from git
  * kbproto from git
  * libX11 from git
  * libxcb from git
  * mesa from git

I've pulled down the latest DRM from git and build/installed the kernel modules
against the latest FreeBSD 8.0-CURRENT (June 1st, 2008).

I cannot start the Xserver using the latest radeon driver (commit
8504c6b0e40477ee544ad7f5366d569bdc53d6f0) from xf86-video-ati, when I have DRI
enabled.

The symptom is that the Xserver starts up and clears the screen (sets up the
video mode I guess), but stops in a loop (100% CPU, nearly all of it system
time) before it begins rendering to the screen. I used dcons to connect to
another box and get a message dump, and the result is that the drm driver is
running a loop printing the following to the screen (endlessly, but pausing
between each print):

[drm:pid1385:radeon_cp_idle]
[drm:pid1385:radeon_do_cp_idle]
[drm:pid1385:drm_ioctl]     returning 16
[drm:pid1385:drm_ioctl] pid=1385, cmd=0x20006444, nr=0x44, dev
0xffffff000129d600, auth=1
[drm:pid1385:radeon_cp_idle]
[drm:pid1385:radeon_do_cp_idle]
[drm:pid1385:drm_ioctl]     returning 16
[drm:pid1385:drm_ioctl] pid=1385, cmd=0x20006444, nr=0x44, dev
0xffffff000129d600, auth=1
[drm:pid1385:radeon_cp_idle]
[drm:pid1385:radeon_do_cp_idle]
[drm:pid1385:drm_ioctl]     returning 16
[drm:pid1385:drm_ioctl] pid=1385, cmd=0x20006444, nr=0x44, dev
0xffffff000129d600, auth=1

I can access the box via SSH, and it looks like Xorg just hoses my display
until I reboot the thing.

This is an RS690T on an HP Compaq 6715b notebook with a 1680x1050 flat panel.
The following is the drm probe output:
 drm0: <ATI Radeon RS690 X1270 IGP> on vgapci0
info: [drm] Initialized radeon 1.29.0 20080528

Output of "lspci -nn -s 01:05 -v":

01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon
X1200 Series] [1002:791f] (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Unknown device [103c:30c2]
        Flags: bus master, fast devsel, latency 64, IRQ 19
        Memory at c0000000 (64-bit, prefetchable)
        Memory at d0400000 (64-bit, non-prefetchable)
        I/O ports at 4000
        Memory at d0500000 (32-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
Enable-

Perhaps interesting to note is that this is an IGP chip, the drm kmod probes it
as a PCI device (specifically neither PCIY_EXPRESS or PCIY_AGP). I am not sure
if this is helpful.

Using the radeonhd driver, I can get the Xserver to come up with DRI enabled,
but I get a blank (black space) where rendering should be for glxgears, etc...
The output of glxinfo using the radeonhd driver seems to be okay.


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


More information about the xorg-driver-ati mailing list